Fix typo in macro name
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4
5 2014-07-02  Will Newton  <will.newton@linaro.org>
6
7         * malloc/obstack.c: Merge from gnulib master.
8         [HAVE_CONFIG_H]: Remove conditional code.
9         [!_LIBC]: Include config.h.
10         [!ELIDE_CODE]: Don't include inttypes.h, include
11         stdint.h unconditionally.
12         (print_and_abort): Mark as _Noreturn.
13         (_obstack_allocated_p): Mark as __attribute_pure__.
14         (obstack_free): Rename to __obstack_free.
15         [!__attribute__]: Remove conditional code.
16         * malloc/obstack.h: Merge from gnulib master.
17         [__cplusplus]: Move conditional down.
18         [!__attribute_pure__]: Define __attribute_pure__ here
19         if it is not already defined.
20         (_obstack_memory_used): Mark as __attribute_pure__.
21         [!__obstack_free]: Define as obstack_free.
22         [__GNUC__]: Remove check for ancient NeXT gcc.
23
24 2014-07-02  Will Newton  <will.newton@linaro.org>
25             Paul Eggert  <eggert@cs.ucla.edu>
26
27         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28
29 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30
31         * resolv/gethnamaddr.c: Add comment warning that the file is
32         not maintained.
33
34 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
35
36         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37         entries.
38
39         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40         entry for aio_cancel and aio_cancel64.
41         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
42         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
43         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
49         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
50         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
51         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
52         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
53         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
54
55 2014-07-01  Roland McGrath  <roland@hack.frob.com>
56
57         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
58         * nptl/pthread_mutex_lock.c: Likewise.
59         * nptl/pthread_mutex_timedlock.c: Likewise.
60         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
61
62 2014-07-01  Richard henderson  <rth@redhat.com>
63
64         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
65         (__isnan, __isnanl): Remove.
66         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
67
68         * sysdeps/alpha/fpu/libm-test-ulps: Update.
69
70 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
71
72         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
73
74 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
75
76         * resolv/nss_dns/dns-host.c (getanswer_r)
77         [MULTI_PTRS_ARE_ALIASES]: Remove code.
78
79 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
80
81         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
82         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
83         undefine.
84         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
85         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
86
87 2014-07-01  Roland McGrath <roland@hack.frob.com>
88
89         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
90         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
91
92         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
93         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
94
95         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
96         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
97         ... here.
98         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
99         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
100
101         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
102         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
103         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
104         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
105
106         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
107         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
108         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
109         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
110         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
111         Moved ...
112         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
113         ... here.
114         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
115         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
116         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
117         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
118         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
119         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
120         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
121         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
122         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
123         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
124         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
125         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
126         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
127         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
128         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
129         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
130         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
131         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
132         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
133         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
134         ... here.
135         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
136         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
137         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
138         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
139         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
140         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
141         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
142         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
143
144 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
145
146         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
147         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
148         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
149         Add sysdep.
150
151 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
152
153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
154
155 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
156
157         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
158         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
159
160         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
161
162         * sysdeps/arm/libm-test-ulps: Regenerated.
163
164 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
165             Roland McGrath <roland@hack.frob.com>
166
167         * test-skeleton.c (signal_handler): Kill the whole process group
168         before killing the child individually.
169         (main): Report any failure on `setpgid'.
170
171 2014-06-30  Roland McGrath  <roland@hack.frob.com>
172
173         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
174         from _TLS_H to _ARM_NPTL_TLS_H.
175         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
176         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
177
178 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
179
180         [BZ #16539]
181         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
182         (__expm1l): Return argument unchanged when small but not
183         subnormal.
184
185         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
186         include macro name.
187         (_FP_UNPACK_RAW_1_P): Likewise.
188         (_FP_PACK_RAW_1): Likewise.
189         (_FP_PACK_RAW_1_P): Likewise.
190         (_FP_MUL_MEAT_1_wide): Likewise.
191         (_FP_MUL_MEAT_DW_1_hard): Likewise.
192         (_FP_MUL_MEAT_1_hard): Likewise.
193         (_FP_DIV_MEAT_1_imm): Likewise.
194         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
195         (_FP_DIV_MEAT_1_udiv): Likewise.
196         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
197         (_FP_UNPACK_RAW_2): Likewise.
198         (_FP_UNPACK_RAW_2_P): Likewise.
199         (_FP_PACK_RAW_2): Likewise.
200         (_FP_PACK_RAW_2_P): Likewise.
201         (_FP_MUL_MEAT_DW_2_wide): Likewise.
202         (_FP_MUL_MEAT_2_wide): Likewise.
203         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
204         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
205         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
206         (_FP_MUL_MEAT_2_gmp): Likewise.
207         (_FP_DIV_MEAT_2_udiv): Likewise.
208         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
209         (_FP_FRAC_SRL_4): Likewise.
210         (_FP_FRAC_SRST_4): Likewise.
211         (_FP_FRAC_SRS_4): Likewise.
212         (_FP_UNPACK_RAW_4): Likewise.
213         (_FP_UNPACK_RAW_4_P): Likewise.
214         (_FP_PACK_RAW_4): Likewise.
215         (_FP_PACK_RAW_4_P): Likewise.
216         (_FP_MUL_MEAT_DW_4_wide): Likewise.
217         (_FP_MUL_MEAT_4_wide): Likewise.
218         (_FP_MUL_MEAT_4_gmp): Likewise.
219         (umul_ppppmnnn): Likewise.
220         (_FP_DIV_MEAT_4_udiv): Likewise.
221         (__FP_FRAC_ADD_4): Likewise.
222         (__FP_FRAC_SUB_3): Likewise.
223         (__FP_FRAC_SUB_4): Likewise.
224         (__FP_FRAC_DEC_3): Likewise.
225         (__FP_FRAC_DEC_4): Likewise.
226         (__FP_FRAC_ADDI_4): Likewise.
227         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
228         (_FP_FRAC_SRL_8): Likewise.
229         (_FP_FRAC_SRS_8): Likewise.
230
231         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
232         include macro name.
233         (FP_UNPACK_RAW_EP): Likewise.
234         (FP_PACK_RAW_E): Likewise.
235         (FP_PACK_RAW_EP): Likewise.
236         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
237         (_FP_ISSIGNAN): Likewise.
238         (_FP_ADD_INTERNAL): Likewise.
239         (_FP_FMA): Likewise.
240         (_FP_CMP): Likewise.
241         (_FP_SQRT): Likewise.
242         (_FP_TO_INT): Likewise.
243         (_FP_FROM_INT): Likewise.
244         (FP_EXTEND): Likewise.
245         (_FP_DIV_MEAT_N_loop): Likewise.
246
247 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
248
249         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
250         throughout.
251
252 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
253
254         [BZ #17097]
255         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
256         result with correct sign in case of exponents that produce
257         overflow except for X very close to 1.
258
259 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
260
261         mktime: merge #if/#ifdef usage from glibc
262         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
263         as that works with both Glibc's and Gnulib's style.
264         See thread starting at Siddhesh Poyarekar's bug report at:
265         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
266
267 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
268
269         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
270         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
271         * sysdeps/tile/tilegx/memmove.c: Remove file.
272
273 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
274
275         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
276         abi-name definition.
277         * scripts/soversions.awk: Do not handle or generate ABI lines.
278         * shlib-versions: Remove ABI entries.
279         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
280         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
281
282 2014-06-27  Roland McGrath  <roland@hack.frob.com>
283
284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
285         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
286         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
287         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
289         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
291         Moved ...
292         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
293         ... here.
294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
295         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
297         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
298         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
299         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
301         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
303         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
305         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
307         Moved ...
308         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
310         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
312         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
314         Moved ...
315         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
317         Moved ...
318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
320         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
322         Moved ...
323         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
325         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
327         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
329         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
331         Moved ...
332         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
334         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
335         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
336         Moved ...
337         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
339         Moved ...
340         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
342         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
344         Moved ...
345         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
346         ... here.
347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
348         Identical file removed.
349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
350         Moved ...
351         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
353         Identical file removed.
354         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
355         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
357         Moved ...
358         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
359         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
360         Identical file removed.
361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
362         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
364         Identical file removed.
365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
366         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
368         Identical file removed.
369         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
370         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
371         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
372         Identical file removed.
373         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
374         Moved ...
375         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
376         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
377         Identical file removed.
378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
379         Moved ...
380         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
381         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
382         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
384         Identical file removed.
385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
386         Moved ...
387         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
388         ... here.
389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
390         Identical file removed.
391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
392         Moved ...
393         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
395         Identical file removed.
396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
397         Moved ...
398         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
400         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
402         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
404         Moved ...
405         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
406         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
407         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
408
409         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
410         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
411         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
412         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
413         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
414
415 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
416
417         [BZ #17092]
418         * nscd/nscd.c (monitor_child): Return exit status of child
419         instead of return value from wait syscall.
420
421 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
422
423         * configure.ac (libc_commonpagesize): Remove variable.
424         (libc_relro_required): Likewise.
425         (libc_cv_z_relro): Remove configure test.
426         * configure: Regenerated.
427         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
428         variable.
429         (libc_relro_required): Likewise.
430         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
431         (libc_relro_required): Likewise.
432         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
433         (libc_relro_required): Likewise.
434         * sysdeps/arm/preconfigure: Regenerated.
435         * sysdeps/ia64/preconfigure: Remove file.
436         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
437         variable.
438         (libc_relro_required): Likewise.
439
440         [BZ #16561]
441         [BZ #16562]
442         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
443         (__ieee754_yn): Set FE_TONEAREST mode internally and then
444         recompute overflowing results in original rounding mode.
445         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
446         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
447         recompute overflowing results in original rounding mode.
448         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
449         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
450         recompute overflowing results in original rounding mode.
451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
452         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
453         recompute overflowing results in original rounding mode.
454         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
455         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
456         recompute overflowing results in original rounding mode.
457         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
458         (libc_feholdsetround_ctx): New macro.
459         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
460         * sysdeps/i386/fpu/libm-test-ulps: Update.
461         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
462
463 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
464
465         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
466         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
467         corresponding .cpsetup call.
468
469 2014-06-26  Roland McGrath  <roland@hack.frob.com>
470
471         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
472         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
473         * sysdeps/arm/Makefile [$(subdir) = csu]
474         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
475         (static-only-routines): Add aeabi_read_tp here.
476         (shared-only-routines): Add libc-aeabi_read_tp here.
477         (CFLAGS-libc-start.c): Add -fexceptions here.
478         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
479         (sysdep_routines, static-only-routines, shared-only-routines):
480         Don't add to these here.
481         (CFLAGS-libc-start.c): Likewise.
482
483         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
484         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
485         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
486         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
487         * sysdeps/arm/Makefile [$(subdir) = rt]
488         (librt-sysdep_routines, librt-shared-only-routines):
489         Append rt-aeabi_unwind_cpp_pr1 here.
490         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
491         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
492         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
493         (libpthread-sysdep_routines, libpthread-shared-only-routines):
494         Append nptl-aeabi_unwind_cpp_pr1 here.
495         (tests): Filter out tst-cleanupx4 here.
496         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
497         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
498         Don't do those here.
499
500 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
501
502         * scripts/list-sources.sh: Do not handle ports specially.
503
504 2014-06-26  Roland McGrath  <roland@hack.frob.com>
505
506         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
507         * sysdeps/arm/feupdateenv.c: Likewise.
508
509         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
510
511 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
512
513         * manual/texinfo.tex: Update to version 2014-05-05.10 with
514         trailing whitespace removed.
515         * scripts/config.guess: Update to version 2014-03-23.
516         * scripts/config.sub: Update to version 2014-05-01
517         * scripts/install-sh: Update to version 2013-12-25.23.
518         * scripts/move-if-change: Update from gnulib.
519
520 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
521
522         * debug/memmove_chk.c: Remove pagecopy.h include.
523
524 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
525
526         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
527         identical to gnulib mktime.
528
529 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
530
531         * configure.ac: Do not test for machine being rs6000.  Do not test
532         for powerpc*-*soft.
533         * configure: Regenerated.
534
535         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
536         test.
537         * configure: Regenerated.
538         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
539         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
540         Remove configure test.
541         * sysdeps/arm/configure: Regenerated.
542         * sysdeps/nptl/configure.ac: Do not check
543         libc_cv_asm_cfi_directives.
544         * sysdeps/nptl/configure: Regenerated.
545         * sysdeps/x86_64/nptl/configure.ac: Remove file.
546         * sysdeps/x86_64/nptl/configure: Remove generated file.
547         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
548         unconditional.
549         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
550
551 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
552
553         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
554         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
555         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
556         it is defined.
557
558         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
559         instead of whether it is defined.
560         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
561         * sysdeps/hppa/dl-machine.h: Likewise.
562         * sysdeps/ia64/dl-machine.h: Likewise.
563         * sysdeps/m68k/dl-machine.h: Likewise.
564         * sysdeps/microblaze/dl-machine.h: Likewise.
565         * sysdeps/mips/dl-machine.: Likewise.
566         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
567         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
568         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
569         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
570         * sysdeps/sh/dl-machine.h: Likewise.
571         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
572         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
573         * sysdeps/tile/dl-machine.h: Likewise.
574         * sysdeps/x86_64/dl-machine.h: Likewise.
575
576         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
577         code.
578         (verify_persistent_db): Likewise.
579
580 2014-06-26  Roland McGrath  <roland@hack.frob.com>
581
582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
583         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
585         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
587         Moved ...
588         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
589         ... here.
590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
591         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
593         Identical file removed.
594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
595         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
597         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
599         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
601         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
603         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
605         Moved ...
606         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
608         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
610         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
612         Moved ...
613         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
615         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
617         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
619         Identical file removed.
620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
621         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
623         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
625         Moved ...
626         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
627         ... here.
628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
629         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
631         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
633         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
635         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
637         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
639         Moved ...
640         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
642         Moved ...
643         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
645         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
647         Moved ...
648         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
650         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
651
652         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
653         folded into ...
654         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
655         * sysdeps/unix/sysv/linux/s390/Versions
656         (libpthread: GLIBC_2.19): New version set.
657         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
658         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
659         (librt: GLIBC_2.3.3): New version set.
660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
661         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
662         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
663         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
664         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
665         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
666         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
667         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
668         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
669         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
670         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
671         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
672         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
673         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
674         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
675         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
676         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
677         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
678         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
679         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
680         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
681         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
682         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
683         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
684         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
685         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
686         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
687         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
688         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
689         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
690         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
691         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
696         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
697         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
698         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
699         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
700         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
702         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
703         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
704         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
705
706         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
707         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
708         (__libc_vfork): Define the function under this name.
709         [!NOT_IN_libc] (__vfork): Make this an alias.
710         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
712         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
713         (__libc_vfork): Define the function under this name.
714         [!NOT_IN_libc] (__vfork): Make this an alias.
715         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
716         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
717         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
719         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
720         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
721
722         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
723         code that was previously under [RESET_PID].
724         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
725         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
726         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
727
728         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
729         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
730         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
731         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
732         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
733         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
734         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
735         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
736         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
737         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
738         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
739         Moved ...
740         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
741         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
742         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
743         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
744         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
745         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
746         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
747         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
748         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
749         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
750         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
751         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
752         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
753         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
754         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
755         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
756         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
757         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
758         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
759         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
760         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
761         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
762         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
763         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
764         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
765         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
766         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
767         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
768         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
769
770 2014-06-25  Roland McGrath  <roland@hack.frob.com>
771
772         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
773         that was previously under [RESET_PID].
774         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
775
776 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
777
778         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
779         not undefine and redefine.
780         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
781         [O_CLOEXEC]: Make code unconditional.
782         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
783         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
784         <kernel-features.h>.
785         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
786         conditional variable definition.
787         (shm_open) [O_CLOEXEC]: Make code unconditional.
788         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
789         code.
790
791         * configure.ac (USE_REGPARMS): Don't define here.
792         * configure: Regenerated.
793         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
794         * sysdeps/i386/configure: Regenerated.
795
796         * nptl/createthread.c: Don't include kernel-features.h.
797         * nptl/pthread_cancel.c: Likewise.
798         * nptl/pthread_condattr_setclock.c: Likewise.
799         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
800         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
801         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
802         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
803         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
804         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
805         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
807         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
808         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
809         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
810         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
811         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
812         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
813         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
814         * nscd/gai.c: Likewise.
815         * nss/nss_db/db-open.c: Likewise.
816         * sysdeps/generic/ldsodefs.h: Likewise.
817         * sysdeps/sh/nptl/tls.h: Likewise.
818         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
819         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
820         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
821         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
822         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
823         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
824         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
825         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
826         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
827         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
828         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
829         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
830         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
831         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
832         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
833         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
834         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
835         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
836         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
837         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
838         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
840         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
841         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
844         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
846         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
847         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
848         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
849         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
850         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
851         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
852         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
853         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
854         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
855         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
856         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
857         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
858         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
859         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
860         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
861         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
862         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
863         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
864         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
865         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
866         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
867         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
868         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
869         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
870         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
871         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
872         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
873         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
874         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
875         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
898         * sysdeps/unix/sysv/linux/pread.c: Likewise.
899         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
900         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
901         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
902         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
903         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
904         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
905         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
906         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
907         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
908         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
909         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
910         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
911         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
912         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
913         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
914         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
915         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
916         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
917         * sysdeps/unix/sysv/linux/system.c: Likewise.
918         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
919         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
920         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
921         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
922         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
923         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
924         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
925
926         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
927         * configure: Regenerated.
928         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
929
930         * configure.ac (base_machine): Do not set specially for particular
931         machines here.
932         * configure: Regenerated.
933         * sysdeps/powerpc/preconfigure: Move machine and base_machine
934         settings from configure.ac.
935         * sysdeps/i386/preconfigure: New file.
936         * sysdeps/s390/preconfigure: Likewise.
937         * sysdeps/sh/preconfigure: Likewise.
938         * sysdeps/sparc/preconfigure: Likewise.
939
940 2014-06-25  Roland McGrath  <roland@hack.frob.com>
941
942         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
943         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
944         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
945         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
946         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
947         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
948         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
949         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
950         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
951         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
952         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
953         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
954         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
955         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
956         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
957         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
958         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
959         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
960         * sysdeps/sparc/sparc64/Makefile: ... appended here.
961
962         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
963         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
964         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
965         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
966         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
967         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
968         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
969         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
970         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
971         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
972         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
973         * sysdeps/sparc/sparc32/sem_post.c: ... here.
974         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
975         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
976         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
977         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
978         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
979         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
980         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
981         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
982         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
983         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
984         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
985         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
986         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
987         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
988         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
989         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
991         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
992         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
993         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
994         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
995         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
996         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
997         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
998         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
999         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1000
1001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1002         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1004         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1006         Moved ...
1007         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1008         ... here.
1009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1010         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1012         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1014         Moved ...
1015         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1017         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1019         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1021         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1023         Moved ...
1024         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1026         Moved ...
1027         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1029         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1031         Moved ...
1032         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1034         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1036         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1038         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1040         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1042         Moved ...
1043         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1044         ... here.
1045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1046         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1048         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1050         Moved ...
1051         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1053         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1055         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1057         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1059         Moved ...
1060         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1062         Moved ...
1063         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1065         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1067         Moved ...
1068         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1070         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1072         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1073
1074 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1075
1076         * timezone/checktab.awk: Update from tzcode 2014e.
1077         * timezone/private.h: Likewise.
1078         * timezone/tzfile.h: Likewise.
1079         * timezone/zdump.c: Likewise.
1080         * timezone/zic.c: Likewise.
1081
1082         * sysdeps/unix/sysv/linux/kernel-features.h
1083         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1084         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1085         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1086         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1087         Remove conditional code.
1088
1089 2014-06-25  Will Newton  <will.newton@linaro.org>
1090
1091         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1092         (_dl_arm_cap_flags): Add HWCAP2 values.
1093         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1094         (_DL_HWCAP_COUNT): Increase to 37.
1095         (_DL_HWCAP_LAST): New define.
1096         (_DL_HWCAP2_LAST): New define.
1097         (_dl_procinfo): Add support for printing
1098         AT_HWCAP2 entries.
1099         (_dl_string_hwcap): Use _dl_hwcap_string.
1100
1101 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1102
1103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1104
1105 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1106
1107         * README: Do not mention ports directory.
1108
1109         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1110         Remove macro.
1111         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1112         <kernel-features.h>.
1113         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1114         conditional variable definition.
1115         (__futimes): Update comment.
1116         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1117         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1118
1119         [BZ #16560]
1120         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1121         arguments close to 0.
1122         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1123         Likewise.
1124         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1125         Likewise.
1126         * math/auto-libm-test-in: Add more tests of exp10.
1127         * math/auto-libm-test-out: Regenerated.
1128         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1129
1130         * sysdeps/unix/sysv/linux/kernel-features.h
1131         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1132         * sysdeps/unix/sysv/linux/readv.c: Do not include
1133         <kernel-features.h>.
1134         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1135         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1136         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1137         unconditional.
1138         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1139         conditional code.
1140         * sysdeps/unix/sysv/linux/writev.c: Do not include
1141         <kernel-features.h>.
1142         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1143         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1144         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1145         unconditional.
1146         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1147         conditional code.
1148
1149 2014-06-25  Will Newton  <will.newton@linaro.org>
1150
1151         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1152         comment changes throughout the file.  Remove checks
1153         for HAVE_*_H definitions that are not required.
1154         (__gen_tempname): Call abort if an unknown kind value is
1155         passed.
1156
1157 2014-06-25  Andreas Schwab  <schwab@suse.de>
1158
1159         [BZ #17086]
1160         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1161         scalbln, scalblnf, scalblnl in libc.
1162
1163 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1164
1165         [BZ #17086]
1166         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1167         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1168         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1169
1170 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1171
1172         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1173         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1174         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1175         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1176         Update #include.
1177         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1178         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1179         Update #include.
1180         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1181         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1182         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1183         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1184         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1185         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1186         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1187         * sysdeps/x86/bits/semaphore.h: ... here.
1188         * sysdeps/x86/nptl/elide.h: Moved ...
1189         * sysdeps/x86/elide.h: ... here.
1190         * sysdeps/x86_64/nptl/Implies: File removed.
1191         * sysdeps/i386/nptl/Implies: File removed.
1192
1193 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1194
1195         [BZ #16539]
1196         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1197         return the argument for normal arguments with exponent below -64.
1198         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1199         Likewise.
1200         * math/auto-libm-test-in: Add another test of expm1.
1201         * math/auto-libm-test-out: Regenerated.
1202
1203         [BZ #16287]
1204         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1205         calling __erfcl for arguments at least 16.
1206         * math/auto-libm-test-in: Add more tests of erf.
1207         * math/auto-libm-test-out: Regenerated.
1208
1209         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1210         individual architectures.
1211         * sysdeps/unix/sysv/linux/configure: Regenerated.
1212         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1213         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1214         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1215         (ldd_rewrite_script): Define variable.
1216         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1218         file.
1219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1220         generated file.
1221         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1222         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1223         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1224         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1225         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1226         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1227         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1228         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1229
1230 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1231
1232         [BZ #17084]
1233         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1234         Rename member __data.d to __data.__elision_data.
1235
1236 2014-06-24  Wilco  <wdijkstr@arm.com>
1237
1238         * NEWS: Add 16918 to fixed bug list.
1239
1240 2014-06-24  Wilco  <wdijkstr@arm.com>
1241
1242         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1243
1244 2014-06-24  Wilco  <wdijkstr@arm.com>
1245
1246         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1247         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1248         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1249         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1250         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1251         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1252         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1253         Use _FPU_MASK_RM.
1254
1255 2014-06-24  Wilco  <wdijkstr@arm.com>
1256
1257         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1258
1259 2014-06-24  Wilco  <wdijkstr@arm.com>
1260
1261         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1262         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1263         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1264         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1265
1266 2014-06-24  Wilco  <wdijkstr@arm.com>
1267
1268         [BZ #16918]
1269         * sysdeps/arm/feupdateenv.c (feupdateenv):
1270         Rewrite to reduce FPSCR accesses and fix return value.
1271
1272 2014-06-24  Wilco  <wdijkstr@arm.com>
1273
1274         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1275         Optimize to avoid unnecessary FPSCR writes.
1276         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1277         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1278         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1279         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1280
1281 2014-06-24  Wilco  <wdijkstr@arm.com>
1282
1283         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1284         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1285         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1286         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1287         Call libc_fetestexcept_vfp.
1288         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1289         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1290         __SOFTFP__ ifdef so that they can be built for softfp.
1291
1292 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1293
1294         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1295         argument type signed char.
1296
1297         * Makerules (check-abi): Dump diff of symlist if the test
1298         fails.
1299
1300 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1301
1302         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1303         using abort.
1304
1305         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1306         Remove unused variable ST.
1307
1308 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1309
1310         [BZ #16354]
1311         [BZ #17061]
1312         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1313         small arguments before calling __expm1.
1314         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1315         small arguments before calling __expm1f.
1316         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1317         small arguments before calling __expm1l.
1318         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1319         Likewise.
1320         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1321         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1322         spurious underflow for some cosh tests.
1323         * math/auto-libm-test-out: Regenerated.
1324         * sysdeps/i386/fpu/libm-test-ulps: Update.
1325
1326         [BZ #17050]
1327         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1328         (__ieee754_y1): Set errno if return value overflows.
1329         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1330         (__ieee754_y1f): Set errno if return value overflows.
1331         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1332         (__ieee754_y1l): Set errno if return value overflows.
1333         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1334         (__ieee754_y1l): Set errno if return value overflows.
1335         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1336         * math/auto-libm-test-out: Regenerated.
1337
1338         * math/gen-auto-libm-tests.c: Document use of
1339         ignore-zero-inf-sign.
1340         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1341         (input_flags): Add ignore-zero-inf-sign.
1342         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1343         * math/gen-libm-test.pl (generate_testfile): Handle
1344         ignore-zero-inf-sign.
1345         * math/auto-libm-test-in: Mark some cpow tests with
1346         ignore-zero-inf-sign and some with xfail-rounding.
1347         * math/auto-libm-test-out: Regenerated.
1348         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1349         * sysdeps/i386/fpu/libm-test-ulps: Update.
1350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1351
1352         [BZ #16315]
1353         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1354         overflowing or underflowing operations take place with sign of
1355         result.
1356         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1357         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1358         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1359         (__ieee754_pow): Recompute overflowing and underflowing results in
1360         original rounding mode.
1361         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1362         (__powl_helper): Allow negative argument X and scale negated value
1363         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1364         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1365         overflowing or underflowing operations take place with sign of
1366         result.
1367         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1368         Include <math.h>.
1369         * math/auto-libm-test-in: Add more tests of pow.
1370         * math/auto-libm-test-out: Regenerated.
1371         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1372         (pow_tonearest_test_data): Remove.
1373         (pow_test_tonearest): Likewise.
1374         (pow_towardzero_test_data): Likewise.
1375         (pow_test_towardzero): Likewise.
1376         (pow_downward_test_data): Likewise.
1377         (pow_test_downward): Likewise.
1378         (pow_upward_test_data): Likewise.
1379         (pow_test_upward): Likewise.
1380         (main): Don't call removed functions.
1381         * sysdeps/i386/fpu/libm-test-ulps: Update.
1382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1383
1384 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1385
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1387         Moved ...
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1390         Moved ...
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1393         Moved ...
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1396         Moved ...
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1399         File removed.
1400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1401         File removed.
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1403         File removed.
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1405         File removed.
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1407         File removed.
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1409         File removed.
1410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1411         File removed.
1412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1413         File removed.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1415         File removed.
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1417         File removed.
1418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1419         File removed.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1421         File removed.
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1423         Moved ...
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1426         Moved ...
1427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1428         ... here.
1429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1430         Moved ...
1431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1433         Moved ...
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1436         Moved ...
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1439         Moved ...
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1442         Moved ...
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1445         Moved ...
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1448         Moved ...
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1452         ... here.
1453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1454         Moved ...
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1457         Moved ...
1458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1459         ... here.
1460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1461         Moved ...
1462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1463         ... here.
1464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1465         Moved ...
1466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1467         ... here.
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1469         Moved ...
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1472         Moved ...
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1477         Moved ...
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1479         ... here.
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1481         Moved ...
1482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1483         ... here.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1485         Moved ...
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1488         Moved ...
1489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1491         Moved ...
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1494         Moved ...
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1497         Moved ...
1498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1499         ... here.
1500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1501         Moved ...
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1504         Moved ...
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1507         Moved ...
1508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1510         Moved ...
1511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1515         Moved ...
1516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1518         Moved ...
1519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1521         Moved ...
1522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1523         ... here.
1524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1525         Moved ...
1526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1527         ... here.
1528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1529         Moved ...
1530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1531         ... here.
1532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1533         Moved ...
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1536         Moved ...
1537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1539         Moved ...
1540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1542         Moved ...
1543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1544         ... here.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1546         Moved ...
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1548         ... here.
1549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1550         Moved ...
1551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1552         ... here.
1553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1554         Moved ...
1555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1557         Moved ...
1558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1559
1560 2014-06-23  Will Newton  <will.newton@linaro.org>
1561             Wilco  <wdijkstr@arm.com>
1562
1563         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1564         implementation.  Include get-rounding-mode.h.
1565         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1566         [!libc_feholdsetround_noex_ctx]: Define
1567         libc_feholdsetround_noex_ctx.
1568         [!libc_feholdsetround_noexf_ctx]: Define
1569         libc_feholdsetround_noexf_ctx.
1570         [!libc_feholdsetround_noexl_ctx]: Define
1571         libc_feholdsetround_noexl_ctx.
1572         (libc_feholdsetround_ctx): New function.
1573         (libc_feresetround_ctx): New function.
1574         (libc_feholdsetround_noex_ctx): New function.
1575         (libc_feresetround_noex_ctx): New function.
1576
1577 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1578
1579         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1580         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1581         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1582         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1583         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1584         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1585
1586         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1587         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1588         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1589         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1590         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1591         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1592         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1593         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1595         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1596         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1597         Moved ...
1598         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1599         ... here.
1600         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1601         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1602         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1603         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1604         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1605         Moved ...
1606         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1607         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1608         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1610         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1614         Moved ...
1615         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1617         Moved ...
1618         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1620         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1622         Moved ...
1623         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1624         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1625         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1626         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1627         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1628         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1629         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1630         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1631         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1632         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1633         Moved ...
1634         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1635         ... here.
1636         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1637         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1638         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1639         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1640         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1641         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1642         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1643         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1644         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1645         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1647         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1649         Moved ...
1650         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1651         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1652         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1654         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1656         Moved ...
1657         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1658         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1659         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1660         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1661         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1662
1663         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1664         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1665         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1666         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1667         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1668         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1669         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1670         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1672         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1673         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1674         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1675         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1676         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1677         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1678         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1679         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1680         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1681         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1682         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1683         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1684         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1685         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1686         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1687         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1688         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1689         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1690         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1691
1692 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1693
1694         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1695         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1696         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1697         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1698         (IPV6_PMTUDISC_INTERFACE): Likewise.
1699         (IPV6_PMTUDISC_OMIT): Likewise.
1700
1701 2014-06-23  Andreas Schwab  <schwab@suse.de>
1702
1703         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1704         Remove unused errout label.
1705
1706 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1707
1708         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1709         macro: hardware supports Vector Crypto instructions.
1710
1711 2014-06-23  Will Newton  <will.newton@linaro.org>
1712
1713         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1714         rather than __builtin_expect.
1715
1716         * elf/dl-lookup.c (undefined_msg): Remove variable.
1717         (_dl_lookup_symbol_x): Replace undefined_msg with string
1718         literal.
1719
1720         * elf/dl-lookup.c (do_lookup_unique): New function.
1721         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1722         to a separate function.
1723
1724 2014-06-23  Andreas Schwab  <schwab@suse.de>
1725
1726         [BZ #17079]
1727         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1728         before reading the next line.
1729
1730 2014-06-23  Will Newton  <will.newton@linaro.org>
1731
1732         * test-skeleton.c (signal_handler): Use printf and %m
1733         rather than perror.  Use printf rather than fprintf to
1734         stderr.  Use puts rather than fputs to stderr.
1735         (main): Likewise.
1736
1737 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1738
1739         * nscd/nscd.c (thread_info_t): Remove typedef.
1740         (thread_info): Remove variable.
1741
1742 2014-06-21  Allan McRae  <allan@archlinux.org>
1743
1744         * NEWS: Mention CVE-2014-4043.
1745
1746 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1747
1748         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1749         * nptl/smp.h: ... here.
1750
1751         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1752
1753         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1754         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1755         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1756         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1757
1758         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1759         * nptl/stack-aliasing.h: New file.
1760         * sysdeps/i386/i686/stack-aliasing.h: New file.
1761         * sysdeps/i386/i686/nptl/Makefile: File removed.
1762         * sysdeps/x86_64/stack-aliasing.h: New file.
1763         * sysdeps/x86_64/nptl/Makefile
1764         (CFLAGS-pthread_create.c): Variable removed.
1765
1766         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1767         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1768         old file.
1769         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1770         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1771         old file.
1772
1773 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1774
1775         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1776         (__ASSUME_SIGFRAME_V2): Remove macro.
1777         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1778         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1779         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1780         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1781         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1782         Declare as function.  Remove conditional macro definitions.
1783         (__default_rt_sa_restorer): Likewise.
1784         (__default_sa_restorer_v1): Remove declaration.
1785         (__default_sa_restorer_v2): Likewise.
1786         (__default_rt_sa_restorer_v1): Likewise.
1787         (__default_rt_sa_restorer_v2): Likewise.
1788         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1789         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1790         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1791
1792 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1793
1794         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1795         (libpthread-routines): Add sysdep.
1796         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1797         * sysdeps/unix/sysv/linux/sparc/Versions
1798         (libpthread: GLIBC_2.3.3): New version set.
1799         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1800         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1801         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1802         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1803         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1804         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1805         Moved ...
1806         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1807         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1808         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1809         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1810         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1811         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1812         * sysdeps/sparc/nptl/sem_init.c: ... here.
1813         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1814         * sysdeps/sparc/nptl/sem_post.c: ... here.
1815         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1816         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1817         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1818         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1819         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1821         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1822         (libpthread-routines): Add cpu_relax.
1823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1824         File removed.
1825         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1826         (librt: GLIBC_2.3.3): New version set.
1827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1828         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1829         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1830         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1833         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1835         Moved ...
1836         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1838         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1840         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1842         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1844         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1846         Moved ...
1847         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1848         Update #include.
1849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1850         Moved ...
1851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1852         Update #include.
1853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1854         Moved ...
1855         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1856         Update #include.
1857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1858         Moved ...
1859         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1860         Update #include.
1861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1862         Moved ...
1863         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1864         Update #include.
1865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1866         Moved ...
1867         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1868         Update #include.
1869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1870         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1876         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1878         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1880         Moved ...
1881         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1883         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1885         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1886
1887 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1888
1889         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1890         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1891         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1892         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1893         * nscd/nscd.c: Likewise.
1894         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1895         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1896         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1897         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1898
1899         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1900         <kernel-features.h>.
1901         (init_mq_netlink): Remove conditional have_sock_cloexec
1902         definitions.  Remove code conditional on have_sock_cloexec < 0.
1903         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1904         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1905         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1906         <kernel-features.h>.
1907         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1908         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1909
1910 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1911
1912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1913         Add tests for memset_chk and memset.
1914
1915         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1916         with AVX2_Usable.
1917
1918 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1919
1920         [BZ #16046]
1921         * elf/tst-dl-iter-static.c: New file.
1922         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1923
1924         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1925         error.
1926
1927 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1928
1929         * sysdeps/unix/sysv/linux/kernel-features.h
1930         (__ASSUME_F_GETOWN_EX): Remove macro.
1931         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1932         <kernel-features.h>.
1933         (miss_F_GETOWN_EX): Remove variable or macro.
1934         (do_fcntl): Do not check miss_F_GETOWN_EX.
1935         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1936
1937         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1938         Remove macro.
1939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1940         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1941         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1942
1943         * sysdeps/unix/sysv/linux/kernel-features.h
1944         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1945         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1946         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1947         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1948
1949 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1950
1951         [BZ #17075]
1952         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1953         Fix calculation of the symbol's value.
1954         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1955         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1956         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1957         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1958         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1959         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1960         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1961         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1962         (modules-names): Add `tst-armtlsdescmod',
1963         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1964         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1965         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1966         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1967         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1968         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1969         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1970         ($(objpfx)tst-armtlsdescloc): New dependency.
1971         ($(objpfx)tst-armtlsdescextnow): Likewise.
1972         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1973         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1974         TLS scheme support.
1975         * sysdeps/arm/configure: Regenerate.
1976
1977 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1978
1979         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1980         (__atfct_seterrno_2): Likewise.
1981         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1982         <kernel-features.h>.
1983         (__ASSUME_ATFCTS): Do not undefine and redefine.
1984         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1985         (__have_atfcts): Remove conditional definition.
1986         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1987         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1988         unreachable if [__ASSUME_ATFCTS].
1989         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1990         not undefine and redefine.
1991         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1992         <kernel-features.h>.
1993         (faccessat) [__NR_faccessat]: Make code unconditional.
1994         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1995         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1996         <kernel-features.h>.
1997         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1998         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1999         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2000         <kernel-features.h>.
2001         (fchownat) [__NR_fchownat]: Make code unconditional.
2002         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2003         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2004         <kernel-features.h>.
2005         (futimesat) [__NR_futimesat]: Make code unconditional.
2006         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2007         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2008         <kernel-features.h>.
2009         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2010         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2011         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2012         <kernel-features.h>.
2013         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2014         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2015         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2016         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2017         <kernel-features.h>.
2018         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2019         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2020         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2021         <kernel-features.h>.
2022         (linkat) [__NR_linkat]: Make code unconditional.
2023         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2024         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2025         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2026         <kernel-features.h>.
2027         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2028         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2029         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2030         <kernel-features.h>.
2031         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2032         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2033         * sysdeps/unix/sysv/linux/openat.c: Do not include
2034         <kernel-features.h>.
2035         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2036         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2037         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2038         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2039         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2040         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2041         <kernel-features.h>.
2042         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2043         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2044         result of INLINE_SYSCALL directly, not via int variable.
2045         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2046         <kernel-features.h>.
2047         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2048         (renameat) [__NR_renameat]: Make code unconditional.
2049         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2050         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2051         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2052         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2053         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2054         (__ASSUME_ATFCTS): Do not undefine and redefine.
2055         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2056         <kernel-features.h>.
2057         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2058         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2059         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2060         <kernel-features.h>.
2061         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2062         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2063         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2064         (__ASSUME_ATFCTS): Do not undefine and redefine.
2065         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2066         <kernel-features.h>.
2067         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2068         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2069         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2070         <kernel-features.h>.
2071         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2072         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2073
2074 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2075
2076         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2077
2078 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2079
2080         [BZ #17069]
2081         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2082         constructed tree before returning error.
2083         * posix/bug-regexp36.c: Expand test case.
2084
2085 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2086
2087         [BZ #6803]
2088         * math/libm-test.inc (scalbln_test_date):
2089         Add errno expectations.
2090         * math/w_scalblnf.c: New File.
2091         Add wrapper which checks for setting errno to ERANGE.
2092         Add weak_alias for corresponding scalbln function.
2093         * math/w_scalbln.c: Likewise.
2094         * math/w_scalblnl.c: Likewise.
2095         * math/Makefile (libm-calls): Add w_scalbln.
2096         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2097         Remove weak_alias for corresponding scalbln function.
2098         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2099         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2100         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2101         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2102         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2103         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2104         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2105         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2106         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2107         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2108         Remove long_double_symbol for scalblnl function in libm, libc.
2109         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2110         Add wrapper which checks for setting errno to ERANGE.
2111         Add long_double_symbol for scalblnl function in libm, libc.
2112         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2113         Remove long_double_symbol for scalblnl in libm.
2114         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2115         Add wrapper which checks for setting errno to ERANGE.
2116         Add long_double_symbol for scalblnl function in libm.
2117         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2118         Do not use wrapper because of own implementation.
2119
2120 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2121
2122         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2123         3 bytes for __pad1 for x32.
2124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2125
2126 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2127             H.J. Lu  <hongjiu.lu@intel.com>
2128
2129         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2130         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2131         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2132         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2133         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2134
2135 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2136
2137         [BZ #17069]
2138         * posix/regcomp.c (parse_expression): Deallocate partially
2139         constructed tree before returning error.
2140         * posix/Makefile.c (tests): Add bug-regex36.
2141         (generated): Add bug-regex36.mtrace.
2142         (tests-special): Add $(objpfx)bug-regex36-mem.out
2143         (bug-regex36-ENV): New variable.
2144         ($(objpfx)bug-regex36-mem.out): New rule.
2145         * posix/bug-regex36.c: New file.
2146
2147 2014-06-19  Will Newton  <will.newton@linaro.org>
2148
2149         * malloc/malloc.c (systrim): If extra is zero then return
2150         early.
2151
2152 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2153
2154         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2155
2156 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2157
2158         * sysdeps/aarch64/strchr.S: New file.
2159
2160 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2161
2162         [BZ #17022]
2163         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2164         from arguments -2 or below.
2165         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2166         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2167
2168 2014-06-18  Andreas Schwab  <schwab@suse.de>
2169
2170         [BZ #17062]
2171         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2172         of a bracket expr not to run off the end of the string.
2173         * posix/Makefile (tests): Add tst-fnmatch3.
2174         * posix/tst-fnmatch3.c: New file.
2175
2176 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2177
2178         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2179         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2180         [$(cross-compiling) = no]: Likewise.
2181         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2182         [$(cross-compiling) = no]: Likewise.
2183
2184 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2185
2186         [BZ #17031]
2187         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2188         double, adjusted for any remainder from the high double.
2189         * math/libm-test.inc (nearbyint): Add tests.
2190         (rint): Likewise.
2191
2192 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2193
2194         * nptl/sysdeps/powerpc/Makefile: Moved ...
2195         * sysdeps/powerpc/nptl/Makefile: ... here.
2196         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2197         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2198         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2199         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2200         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2201         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2202         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2203         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2204         * nptl/sysdeps/powerpc/tls.h: Moved ...
2205         * sysdeps/powerpc/nptl/tls.h: ... here.
2206
2207 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2208
2209         [BZ #16681]
2210         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2211         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2212         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2213         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2214         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2215         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2216         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2217         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2218         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2219
2220 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2221
2222         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2223
2224 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2225
2226         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2227         defined operator.
2228
2229         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2230         $TIMEOUTFACTOR.
2231
2232 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2233
2234         [BZ #17058]
2235         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2236         non-executed part of the test.
2237
2238 2014-06-16  Andreas Schwab  <schwab@suse.de>
2239
2240         * string/bits/string2.h (strdup, strndup): Update feature guard.
2241
2242 2014-06-14  David S. Miller  <davem@davemloft.net>
2243
2244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2245
2246 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2247
2248         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2249         that was previously under [RESET_PID].
2250         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2251
2252         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2253         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2254         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2255         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2256         (__libc_vfork): New strong alias.
2257         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2258
2259 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2260
2261         * sysdeps/generic/elide.h: New file.
2262
2263 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2264
2265         * Makefile (installed-headers): Adjust path of pthread.h header.
2266
2267 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2268
2269         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2270         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2271         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2272         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2273
2274         * nptl/sysdeps/s390/Makefile: Moved ...
2275         * sysdeps/s390/nptl/Makefile: ... here.
2276         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2277         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2278         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2279         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2280         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2281         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2282         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2283         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2284         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2285         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2286         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2287         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2288         * nptl/sysdeps/s390/tls.h: Moved ...
2289         * sysdeps/s390/nptl/tls.h: ... here.
2290
2291         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2292         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2293
2294 2014-06-13  David S. Miller  <davem@davemloft.net>
2295
2296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2299         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2303         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2304         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2305         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2306         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2307         Remove RESET_PID cpp guards.
2308         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2309         Remove RESET_PID cpp guards.
2310         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2311
2312 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2313
2314         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2315         __sp to uintptr_t.
2316
2317 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2318
2319         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2320         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2321         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2322         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2324         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2325         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2328         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2329         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2330         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2334         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2336         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2337         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2338         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2339
2340         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2341         (pthread_rwlock_rdlock): Add elision.
2342         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2343         (pthread_rwlock_wrlock): Add elision.
2344         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2345         (pthread_rwlock_trywrlock): Add elision.
2346         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2347         (pthread_rwlock_tryrdlock): Add elision.
2348         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2349         (pthread_rwlock_tryrdlock): Add elision unlock.
2350         * nptl/sysdeps/pthread/pthread.h:
2351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2352         (PTHREAD_RWLOCK_INITIALIZER,
2353         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2354         Handle new elision field.
2355         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2356         * sysdeps/arm/nptl/bits/pthreadtypes.h
2357         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2358         * sysdeps/sh/nptl/bits/pthreadtypes.h
2359         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2360         * sysdeps/tile/nptl/bits/pthreadtypes.h
2361         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2362         * sysdeps/a/nptl/bits/pthreadtypes.h
2363         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2364         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2365         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2366         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2368         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2369         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2370         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2371         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2372         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2373         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2374         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2375         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2376         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2377         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2378         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2380         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2381         (elision_init): Set try_xbegin to zero when no RTM.
2382         * sysdeps/x86/nptl/bits/pthreadtypes.h
2383         (pthread_rwlock_t): Change __pad1 to __rwelision.
2384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2385
2386 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2387
2388         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2389         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2390         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2391         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2392
2393 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2394
2395         [BZ #16996]
2396         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2397         that the cached result has been set before returning it.
2398
2399 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2400
2401         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2402         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2403         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2404         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2405         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2406         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2407
2408         * nptl/sysdeps/sparc/Makefile: Moved ...
2409         * sysdeps/sparc/nptl/Makefile: ... here.
2410         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2411         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2412         * nptl/sysdeps/sparc/tls.h: Moved ...
2413         * sysdeps/sparc/nptl/tls.h: ... here.
2414         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2415         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2416         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2417         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2418         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2419         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2420         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2421         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2422         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2423         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2424         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2425         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2426         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2427         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2428         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2429         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2430         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2431         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2432         Update #include.
2433         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2434         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2435         Update #include.
2436         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2437         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2438         Update #include.
2439         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2440         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2441         Update #include.
2442
2443         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2444
2445         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2446         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2447
2448         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2449         (struct list_links): Type removed.
2450         (struct thread_node, struct timer_node): Replace struct list_links
2451         with struct list_head.
2452         (list_unlink_ip): Likewise.
2453         * sysdeps/pthread/timer_routines.c
2454         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2455         (list_append, list_insbefore): Likewise.
2456         (list_init): Function removed.
2457         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2458         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2459         * sysdeps/pthread/Makefile: ... here, new file.
2460
2461         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2462         * sysdeps/nptl/Implies: ... here.
2463         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2464         * nptl/sysdeps/pthread/list.h: Moved ...
2465         * include/list.h: ... here.
2466         * nptl/sysdeps/pthread/createthread.c: Moved ...
2467         * nptl/createthread.c: ... here.
2468         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2469         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2470         * nptl/pt-longjmp.c: ... here.
2471         * nptl/sysdeps/pthread/Makefile: Moved ...
2472         * sysdeps/nptl/Makefile: ... here.
2473         * nptl/sysdeps/pthread/Subdirs: Moved ...
2474         * sysdeps/nptl/Subdirs: ... here.
2475         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2476         * sysdeps/nptl/aio_misc.h: ... here.
2477         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2478         * sysdeps/nptl/bits/libc-lock.h: ... here.
2479         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2480         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2481         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2482         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2483         * nptl/sysdeps/pthread/configure: Moved ...
2484         * sysdeps/nptl/configure: ... here.
2485         * nptl/sysdeps/pthread/configure.ac: Moved ...
2486         * sysdeps/nptl/configure.ac: ... here.
2487         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2488         * sysdeps/nptl/gai_misc.h: ... here.
2489         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2490         * sysdeps/nptl/librt-cancellation.c: ... here.
2491         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2492         * sysdeps/nptl/malloc-machine.h: ... here.
2493         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2494         * sysdeps/nptl/pthread-functions.h: ... here.
2495         * nptl/sysdeps/pthread/pthread.h: Moved ...
2496         * sysdeps/nptl/pthread.h: ... here.
2497         * nptl/sysdeps/pthread/setxid.h: Moved ...
2498         * sysdeps/nptl/setxid.h: ... here.
2499         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2500         * sysdeps/nptl/sigfillset.c: ... here.
2501         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2502         * sysdeps/nptl/tcb-offsets.h: ... here.
2503         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2504         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2505         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2506         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2507         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2508         * sysdeps/pthread/allocalim.h: ... here.
2509         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2510         * sysdeps/pthread/bits/sigthread.h: ... here.
2511         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2512         * sysdeps/pthread/flockfile.c: ... here.
2513         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2514         * sysdeps/pthread/ftrylockfile.c: ... here.
2515         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2516         * sysdeps/pthread/funlockfile.c: ... here.
2517         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2518         * sysdeps/pthread/posix-timer.h: ... here.
2519         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2520         * sysdeps/pthread/timer_create.c: ... here.
2521         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2522         * sysdeps/pthread/timer_delete.c: ... here.
2523         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2524         * sysdeps/pthread/timer_getoverr.c: ... here.
2525         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2526         * sysdeps/pthread/timer_gettime.c: ... here.
2527         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2528         * sysdeps/pthread/timer_routines.c: ... here.
2529         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2530         * sysdeps/pthread/timer_settime.c: ... here.
2531         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2532         * sysdeps/pthread/tst-timer.c: ... here.
2533         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2534         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2535
2536         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2537         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2538
2539         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2540         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2541         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2542         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2543         Update #include target.
2544         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2545         * sysdeps/i386/i686/nptl/Makefile: ... here.
2546         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2547         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2548         Update #include target.
2549         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2550         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2551         * nptl/sysdeps/i386/Makefile: Moved ...
2552         * sysdeps/i386/nptl/Makefile: ... here.
2553         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2554         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2555         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2556         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2557         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2558         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2559         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2560         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2561         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2562         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2563         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2564         * nptl/sysdeps/i386/tls.h: Moved ...
2565         * sysdeps/i386/nptl/tls.h: ... here.
2566
2567         * sysdeps/sh/Makefile [$(subdir) = csu]
2568         (gen-as-const-headers): Add tcb-offsets.sym.
2569         * nptl/sysdeps/sh/Makefile: File removed.
2570         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2571         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2572         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2573         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2574         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2575         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2576         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2577         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2578         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2579         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2580         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2581         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2582         * nptl/sysdeps/sh/tls.h: Moved ...
2583         * sysdeps/sh/nptl/tls.h: ... here.
2584         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2585         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2586         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2587         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2588         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2589         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2590         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2591         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2592         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2593         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2594         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2595         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2596         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2597         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2598         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2599         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2600         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2601         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2602         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2603         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2604         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2605         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2606         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2607         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2608         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2609         Moved ...
2610         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2612         Moved ...
2613         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2614         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2615         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2616         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2618         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2619         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2620         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2621         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2622         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2623         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2624         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2625         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2626         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2627         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2628         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2629         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2630         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2631         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2632
2633 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2634
2635         * posix/spawn_faction_addopen.c: Include string.h.
2636
2637 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2638
2639         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2640         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2641         * nptl/sysdeps/x86_64/Makefile: Moved ...
2642         * sysdeps/x86_64/nptl/Makefile: ... here.
2643         * nptl/sysdeps/x86_64/configure: Moved ...
2644         * sysdeps/x86_64/nptl/configure: ... here.
2645         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2646         * sysdeps/x86_64/nptl/configure.ac: ... here.
2647         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2648         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2649         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2650         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2651         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2652         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2653         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2654         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2655         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2656         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2657         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2658         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2659         * nptl/sysdeps/x86_64/tls.h: Moved ...
2660         * sysdeps/x86_64/nptl/tls.h: ... here.
2661         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2662         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2663         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2664         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2665
2666         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2667
2668 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2669
2670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2671
2672 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2673
2674         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2675         type.
2676         [POSIX] (off_t): Likewise.
2677         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2678         [POSIX] (S_ISBLK): Require macro.
2679         [POSIX] (S_ISCHR): Likewise.
2680         [POSIX] (S_ISDIR): Likewise.
2681         [POSIX] (S_ISFIFO): Likewise.
2682         [POSIX] (S_ISREG): Likewise.
2683         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2684         optional-macro.
2685         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2686         type.
2687         [POSIX] (time_t): Likewise.
2688         [POSIX] (timer_t): Likewise.
2689
2690 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2691
2692         [BZ #17048]
2693         * posix/spawn_int.h (struct __spawn_action): Make the path string
2694         non-const to support deallocation.
2695         * posix/spawn_faction_addopen.c
2696         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2697         * posix/spawn_faction_destroy.c
2698         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2699         path in all spawn_do_open actions.
2700         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2701         posix_spawn_file_actions_addopen.
2702
2703 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2704
2705         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2706         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2707         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2708         conditional code always true.
2709         (__libc_vfork): New alias.
2710
2711 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2712
2713         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2714         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2715
2716         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2717
2718         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2719         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2720
2721         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2722         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2723
2724         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2725         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2726
2727 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2728
2729         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2730         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2731         multiarch strcmp for PPC64.
2732         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2733         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2735         multiarch optimizations.
2736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2737         (__libc_ifunc_impl_list): Likewise.
2738
2739 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2740
2741         * benchtests/scripts/validate_benchout.py: New script.
2742         * benchtests/Makefile (bench-func): Call it.
2743         * benchtests/scripts/benchout.schema.json: New file.
2744
2745 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2746
2747         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2748         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2749         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2750         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2751         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2752         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2753         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2754         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2755         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2756         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2757         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2758         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2759         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2760         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2761         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2762         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2764         Moved ...
2765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2766         ... here.
2767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2768         Moved ...
2769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2771         Moved ...
2772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2773         ... here.
2774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2775         Moved ...
2776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2777         ... here.
2778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2779         Moved ...
2780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2782         Moved ...
2783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2784         ... here.
2785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2786         Moved ...
2787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2788         ... here.
2789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2790         Moved ...
2791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2793         Moved ...
2794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2795         ... here.
2796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2797         Moved ...
2798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2799         ... here.
2800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2801         Moved ...
2802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2803         ... here.
2804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2805         Moved ...
2806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2808         Moved ...
2809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2810         ... here.
2811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2812         Moved ...
2813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2814         ... here.
2815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2816         Moved ...
2817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2818         ... here.
2819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2820         Moved ...
2821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2823         Moved ...
2824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2825         ... here.
2826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2827         Moved ...
2828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2829         ... here.
2830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2831         Moved ...
2832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2834         Moved ...
2835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2836         ... here.
2837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2838         Moved ...
2839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2841         Moved ...
2842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2844         Moved ...
2845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2846         ... here.
2847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2848         Moved ...
2849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2850         ... here.
2851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2852         Moved ...
2853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2854         ... here.
2855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2856         Moved ...
2857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2859         Moved ...
2860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2861         ... here.
2862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2863         Moved ...
2864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2865         ... here.
2866         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2867         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2868         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2869         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2871         Moved ...
2872         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2873         ... here.
2874         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2875         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2877         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2878         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2879         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2880         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2881         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2883         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2885         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2886         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2887         Moved ...
2888         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2890         Moved ...
2891         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2892         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2893         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2894         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2895         Moved ...
2896         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2897         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2898         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2899         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2900         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2901         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2902         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2903
2904 2014-06-10  Wilco  <wdijkstr@arm.com>
2905
2906         * math/test-fenv-return.c: New file.
2907         * math/Makefile: Add new test test-fenv-return.
2908
2909 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2910
2911         [BZ #17042]
2912         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2913         when x - 1 is zero.
2914         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2915         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2916         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2917         0.0L for an argument of 1.0L.
2918         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2919         Likewise.
2920         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2921         value when x - 1 is zero.
2922         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2923         * sysdeps/i386/fpu/libm-test-ulps: Update.
2924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2925
2926 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2927
2928         [BZ #15119]
2929         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2930
2931 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2932
2933         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2934         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2935
2936 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2937
2938         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2939         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2940
2941         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2942         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2943
2944         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2945         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2946
2947         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2948         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2949
2950         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2951         if not already defined.
2952         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2953         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2954         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2955         (TLS_INIT_TP): Use it.
2956         (TLS_DEFINE_INIT_TP): New macro.
2957         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2958
2959 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2960
2961         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2962         constant.
2963         [POSIX] (IXANY): Likewise.
2964         [POSIX] (OLCUC): Likewise.
2965         [POSIX || POSIX2008] (CBAUD): Do not allow.
2966         [POSIX || POSIX2008] (DEFECHO): Likewise.
2967         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2968         [POSIX || POSIX2008] (ECHOKE): Likewise.
2969         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2970         [POSIX || POSIX2008] (EXTA): Likewise.
2971         [POSIX || POSIX2008] (EXTB): Likewise.
2972         [POSIX || POSIX2008] (FLUSHO): Likewise.
2973         [POSIX || POSIX2008] (LOBLK): Likewise.
2974         [POSIX || POSIX2008] (PENDIN): Likewise.
2975         [POSIX || POSIX2008] (SWTCH): Likewise.
2976         [POSIX || POSIX2008] (VDISCARD): Likewise.
2977         [POSIX || POSIX2008] (VDSUSP): Likewise.
2978         [POSIX || POSIX2008] (VLNEXT): Likewise.
2979         [POSIX || POSIX2008] (VREPRINT): Likewise.
2980         [POSIX || POSIX2008] (VSTATUS): Likewise.
2981         [POSIX || POSIX2008] (VWERASE): Likewise.
2982         (B*): Change to B[0123456789]*.
2983         * conform/data/time.h-data [POSIX || UNIX98]
2984         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2985         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2986         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2987         [POSIX] (tm_*): Do not allow.
2988
2989 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2990
2991         * Makefile (install): Don't set LANGUAGE.
2992         * Makefile.in (install): Likewise.
2993         * assert/Makefile (test-assert-ENV): Remove variable.
2994         (test-assert-perr-ENV): Likewise.
2995         * elf/Makefile (neededtest4-ENV): Likewise.
2996         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2997         [$(cross-compiling) = no]: Don't set LANGUAGE.
2998         * io/ftwtest-sh (LANG): Remove variable.
2999         * libio/Makefile (tst-widetext-ENV): Likewise.
3000         * manual/install.texi (Running make install): Don't refer to
3001         environment settings for make install.
3002         * INSTALL: Regenerated.
3003         * nptl/tst-tls6.sh: Don't set LANG.
3004         * posix/globtest.sh (LANG): Remove variable.
3005         * string/Makefile (tester-ENV): Likewise.
3006         (inl-tester-ENV): Likewise.
3007         (noinl-tester-ENV): Likewise.
3008         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3009         [$(cross-compiling) = no]: Don't set LANGUAGE.
3010         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3011         without explicit environment settings.
3012
3013 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3014
3015         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3016         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3017         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3018         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3019
3020 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3021
3022         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3023         other files in the crypt directory.
3024         * crypt/crypt.c: Remove duplicate includes.
3025         * crypt/crypt-entry.c: Likewise.
3026         * crypt/crypt_util.c: Likewise.
3027
3028 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3029
3030         * Makeconfig (run-program-env): New variable.
3031         (run-program-prefix-before-env): Likewise.
3032         (run-program-prefix-after-env): Likewise.
3033         (run-program-prefix): Define in terms of new variables.
3034         (built-program-cmd-before-env): New variable.
3035         (built-program-cmd-after-env): Likewise.
3036         (built-program-cmd): Define in terms of new variables.
3037         (test-program-prefix-before-env): New variable.
3038         (test-program-prefix-after-env): Likewise.
3039         (test-program-prefix): Define in terms of new variables.
3040         (test-program-cmd-before-env): New variable.
3041         (test-program-cmd-after-env): Likewise.
3042         (test-program-cmd): Define in terms of new variables.
3043         * Rules (make-test-out): Use $(run-program-env).
3044         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3045         (help): Do not mention environment variables.  Mention
3046         --timeoutfactor option.
3047         (timeoutfactor): New variable.
3048         (blacklist_exports): Remove function.
3049         (exports): Remove variable.
3050         (command): Do not include ${exports}.
3051         * manual/install.texi (Configuring and compiling): Do not mention
3052         test wrappers preserving environment variables.  Mention that last
3053         assignment to a variable must take precedence.
3054         * INSTALL: Regenerated.
3055         * benchtests/Makefile (run-bench): Use $(run-program-env).
3056         * catgets/Makefile ($(objpfx)test1.cat): Use
3057         $(built-program-cmd-before-env), $(run-program-env) and
3058         $(built-program-cmd-after-env).
3059         ($(objpfx)test2.cat): Do not specify environment variables
3060         explicitly.
3061         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3062         $(run-program-env) and $(built-program-cmd-after-env).
3063         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3064         $(run-program-env) and $(test-program-cmd-after-env).
3065         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3066         explicitly.
3067         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3068         run_program_env and test_program_cmd_after_env arguments.
3069         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3070         * elf/tst-pathopt.sh: Use run_program_env argument.
3071         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3072         $(test-wrapper-env) and $(run-program-env).
3073         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3074         run_program_env arguments.
3075         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3076         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3077         $(test-program-prefix-before-env), $(run-program-env) and
3078         $(test-program-prefix-after-env).
3079         ($(objpfx)tst-gettext2.out): Likewise.
3080         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3081         run_program_env and test_program_prefix_after_env arguments.
3082         * intl/tst-gettext2.sh: Likewise.
3083         * intl/tst-gettext4.sh: Do not set environment variables
3084         explicitly.
3085         * intl/tst-gettext6.sh: Likewise.
3086         * intl/tst-translit.sh: Likewise.
3087         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3088         $(test-program-prefix-before-env), $(run-program-env) and
3089         $(test-program-prefix-after-env).
3090         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3091         run_program_env and test_program_prefix_after_env arguments.
3092         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3093         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3094         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3095         explicitly with each use of ${test_wrapper_env}.
3096         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3097         $(test-program-prefix-before-env), $(run-program-env) and
3098         $(test-program-prefix-after-env).
3099         * posix/tst-getconf.sh: Do not set environment variables
3100         explicitly.
3101         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3102         run_program_env and test_program_prefix_after_env arguments.
3103         * stdio-common/tst-printf.sh: Do not set environment variables
3104         explicitly.
3105         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3106         $(test-program-prefix-before-env), $(run-program-env) and
3107         $(test-program-prefix-after-env).
3108         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3109         run_program_env and test_program_prefix_after_env arguments.
3110         Split $test calls into $test_pre and $test.
3111         * timezone/Makefile (build-testdata): Use
3112         $(built-program-cmd-before-env), $(run-program-env) and
3113         $(built-program-cmd-after-env).
3114
3115 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3116
3117         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3118         strlen for non SHARED builds.
3119
3120 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3121
3122         * nptl/allocatestack.c (check_list): Inlined function...
3123         (__reclaim_stacks): ... here.
3124
3125 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3126
3127         [BZ #15698]
3128         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3129         memory overrun.
3130
3131 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3132
3133         * Rules (make-test-out): Include
3134         LOCPATH=$(common-objpfx)localedata in default environment.
3135         * debug/Makefile (tst-chk1-ENV): Remove variable.
3136         (tst-chk2-ENV): Likewise.
3137         (tst-chk3-ENV): Likewise.
3138         (tst-chk4-ENV): Likewise.
3139         (tst-chk5-ENV): Likewise.
3140         (tst-chk6-ENV): Likewise.
3141         (tst-lfschk1-ENV): Likewise.
3142         (tst-lfschk2-ENV): Likewise.
3143         (tst-lfschk3-ENV): Likewise.
3144         (tst-lfschk4-ENV): Likewise.
3145         (tst-lfschk5-ENV): Likewise.
3146         (tst-lfschk6-ENV): Likewise.
3147         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3148         (tst-iconv7-ENV): Likewise.
3149         * intl/Makefile (LOCPATH-ENV): Likewise.
3150         (tst-codeset-ENV): Likewise.
3151         (tst-gettext3-ENV): Likewise.
3152         (tst-gettext5-ENV): Likewise.
3153         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3154         (tst-fopenloc-ENV): Likewise.
3155         (tst-fgetws-ENV): Remove variable.
3156         (tst-ungetwc1-ENV): Likewise.
3157         (tst-ungetwc2-ENV): Likewise.
3158         (bug-ungetwc2-ENV): Likewise.
3159         (tst-swscanf-ENV): Likewise.
3160         (bug-ftell-ENV): Likewise.
3161         (tst-fgetwc-ENV): Likewise.
3162         (tst-fseek-ENV): Likewise.
3163         (tst-ftell-partial-wide-ENV): Likewise.
3164         (tst-ftell-active-handler-ENV): Likewise.
3165         (tst-ftell-append-ENV): Likewise.
3166         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3167         (tst-regexloc-ENV): Likewise.
3168         (bug-regex1-ENV): Likewise.
3169         (tst-regex-ENV): Likewise.
3170         (tst-regex2-ENV): Likewise.
3171         (bug-regex5-ENV): Likewise.
3172         (bug-regex6-ENV): Likewise.
3173         (bug-regex17-ENV): Likewise.
3174         (bug-regex18-ENV): Likewise.
3175         (bug-regex19-ENV): Likewise.
3176         (bug-regex20-ENV): Likewise.
3177         (bug-regex22-ENV): Likewise.
3178         (bug-regex23-ENV): Likewise.
3179         (bug-regex25-ENV): Likewise.
3180         (bug-regex26-ENV): Likewise.
3181         (bug-regex30-ENV): Likewise.
3182         (bug-regex32-ENV): Likewise.
3183         (bug-regex33-ENV): Likewise.
3184         (bug-regex34-ENV): Likewise.
3185         (bug-regex35-ENV): Likewise.
3186         (tst-rxspencer-ENV): Likewise.
3187         (tst-rxspencer-no-utf8-ENV): Likewise.
3188         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3189         (tst-sscanf-ENV): Likewise.
3190         (tst-swprintf-ENV): Likewise.
3191         (tst-swscanf-ENV): Likewise.
3192         (test-vfprintf-ENV): Likewise.
3193         (scanf13-ENV): Likewise.
3194         (bug14-ENV): Likewise.
3195         (tst-grouping-ENV): Likewise.
3196         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3197         (tst-strtod3-ENV): Likewise.
3198         (tst-strtod4-ENV): Likewise.
3199         (tst-strtod5-ENV): Likewise.
3200         (testmb2-ENV): Likewise./
3201         * string/Makefile (tst-strxfrm-ENV): Likewise.
3202         (tst-strxfrm2-ENV): Likewise.
3203         (bug-strcoll1-ENV): Likewise.
3204         (test-strcasecmp-ENV): Likewise.
3205         (test-strncasecmp-ENV): Likewise.
3206         * time/Makefile (tst-strptime-ENV): Likewise.
3207         (tst-ftime_l-ENV): Likewise.
3208         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3209         (tst-mbrtowc-ENV): Likewise.
3210         (tst-wcrtomb-ENV): Likewise.
3211         (tst-mbrtowc2-ENV): Likewise.
3212         (tst-c16c32-1-ENV): Likewise.
3213         (tst-mbsnrtowcs-ENV): Likewise.
3214
3215 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3216
3217         * manual/resource.texi (How to get information about the memory
3218         subsystem?): Fix typo.
3219         Reported by Peon de la Parra Ivan <peon@keba.com>
3220
3221 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3222
3223         [BZ #16882]
3224         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3225         (pthread_spin_lock): Branch out of spin loop to proper location.
3226         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3227         (pthread_spin_lock): Likewise.
3228
3229         * nptl/tst-spin4.c: New test.
3230         * nptl/Makefile (tests): Add tst-spin4.
3231
3232 2014-06-03  Andreas Schwab  <schwab@suse.de>
3233
3234         [BZ #15946]
3235         * resolv/res_send.c (send_dg): Reload file descriptor after
3236         calling reopen.
3237
3238 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3239
3240         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3241
3242 2014-06-03  Richard Henderson  <rth@redhat.com>
3243
3244         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3245         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3246         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3247         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3248         in the SAVE_PID block.
3249         (__libc_vfork): New alias.
3250         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3251
3252         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3253         child in registers, not on the stack.  Remove RESET_PID conditionals.
3254         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3255
3256 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3257
3258         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3259
3260 2014-06-03  Wilco  <wdijkstr@arm.com>
3261
3262         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3263         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3264         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3265         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3266         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3267         Likewise.
3268
3269 2014-06-03  Wilco  <wdijkstr@arm.com>
3270
3271         * sysdeps/aarch64/fpu/math_private.h
3272         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3273         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3274         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3275         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3276         Fix declarations.
3277
3278 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3279
3280         * crypt/crypt-private.h: Include ufc-crypt.h.
3281         (__b64_from_24bit): Declare extern.
3282         * crypt/crypt_util.c(__b64_from_24bit): New function.
3283         (b64t): New static const variable.
3284         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3285         (b64t): Remove variable.
3286         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3287         * crypt/sha256-crypt.c: Include crypt-private.h.
3288         (b64t): Remove variable.
3289         (__sha256_crypt_r): Remove b64_from_24bit and replace
3290         with __b64_from_24bit.
3291         * crypt/sha512-crypt.c: Likewise.
3292
3293 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3294
3295         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3296         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3297         Label the code __libc_vfork rather than __vfork.
3298         [!NOT_IN_libc] (vfork): Define as weak alias.
3299         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3300         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3301         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3302
3303 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3304
3305         * malloc/malloc.c (malloc_info): Fix format specifier for
3306         n_mmaps.
3307
3308 2014-06-02  Wilco  <wdijkstr@arm.com>
3309
3310         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3311         FPCR write.
3312
3313 2014-06-02  Wilco  <wdijkstr@arm.com>
3314
3315         [BZ #17009]
3316         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3317         Rewrite to reduce FPCR/FPSR accesses.
3318
3319 2014-06-01  David S. Miller  <davem@davemloft.net>
3320
3321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3322
3323 2014-05-31  David S. Miller  <davem@davemloft.net>
3324
3325         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3326         to occur in round to nearest mode when |x| >= 2.0
3327
3328 2014-05-30  Richard Henderson  <rth@twiddle.net>
3329
3330         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3331         (PSEUDO_RET_NOERRNO): Remove.
3332         (ret): Don't redefine.
3333         (ret_NOERRNO): Define in terms of ret.
3334         (ret_ERRVAL): Likewise.
3335
3336         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3337         use of PSEUDO_RET; perform the error check directly.
3338
3339 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3340
3341         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3342         with __int128_t.
3343
3344 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3345
3346         * malloc/malloc (malloc_info): Fix formatting.
3347
3348 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3349             Roland McGrath  <roland@hack.frob.com>
3350
3351         * malloc/malloc (malloc_info): Also print mmapped statistics.
3352
3353 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3354
3355         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3356         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3357
3358 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3359
3360         * malloc/malloc.c (malloc_info): Inline mi_arena.
3361
3362 2014-05-29  Richard Henderson  <rth@twiddle.net>
3363
3364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3365         Remove comma before expanding ASM_ARGS_##nr.
3366         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3367         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3368         of ASM_ARGS_##nr.
3369         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3370         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3371         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3372         (ASM_ARGS_1): Add leading comma.
3373
3374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3375         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3376         to __errno_location.
3377         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3378         Remove the expected plt for __errno_location.
3379
3380         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3381         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3382         call to __read_tp.
3383
3384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3385         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3386         it and break it down.
3387         (DOCARGS_0, DOCARGS_1): Do nothing.
3388         (DOCARGS_2): Update to store into the new stack frame.
3389         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3390         (UNDOCARGS_1): Update to restore from the new stack frame.
3391         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3392         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3393
3394         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3395         (SINGLE_THREAD_P): New parameter for result regno.
3396         (PSEUDO): Update to match; use cbz instead of beq.
3397
3398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3399         Use ENTRY to define the _nocancel entry point.  Share the syscall
3400         and syscall error check paths with the cancel path.
3401         (PSEUDO_END): New.
3402
3403         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3404         whitespace; tabs before and after asm mnemonics.
3405
3406 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3407
3408         [BZ #15132]
3409         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3410         Call fstat64 or stat64 internally, depending on arguments passed.
3411         Replace stat buffer argument with file descriptor argument.
3412         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3413         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3414         Pass fd to __internal_statvfs instead of calling fstat64.
3415         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3416         Pass fd to __internal_statvfs64 instead of calling fstat64.
3417         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3418         Pass -1 to __internal_statvfs instead of calling stat64.
3419         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3420         Pass -1 to __internal_statvfs64 instead of calling stat64.
3421
3422 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3423
3424         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3425         that was previously under [RESET_PID].
3426         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3427
3428         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3429         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3430
3431 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3432
3433         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3434
3435         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3436         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3437
3438 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3439
3440         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3441
3442 2014-05-27  Andreas Schwab  <schwab@suse.de>
3443
3444         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3445         TLS_INIT_TP macro.
3446         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3447         * elf/rtld.c (init_tls, dl_main): Likewise.
3448         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3449         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3450         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3451         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3452         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3453         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3454         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3455         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3456         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3457         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3458         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3459         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3460         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3461         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3462         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3463         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3464         * sysdeps/generic/tls.h: Update description.
3465
3466 2014-05-27  Will Newton  <will.newton@linaro.org>
3467
3468         [BZ #16990]
3469         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3470         and restore r2 rather than just restoring.
3471
3472 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3473
3474         [BZ #16724]
3475         * libio/tst-ftell-append.c: New test case.
3476         * libio/Makefile (tests): Add test case.
3477         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3478         append mode.
3479         * libio/wfileops.c (do_ftell_wide): Likewise.
3480
3481 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3482
3483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3484
3485         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3486         ...
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3489         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3490         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3491         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3492         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3493         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3494         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3495         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3496         Moved ...
3497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3498         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3499         Moved ...
3500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3501         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3502         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3503         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3504         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3505         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3506         ...
3507         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3508         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3509         Moved ...
3510         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3511         here.
3512         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3513         ...
3514         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3515         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3516         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3517
3518         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3519         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3520         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3521         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3522
3523         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3524         merge into ...
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3526         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3527         ...
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3530         ...
3531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3532         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3533         Moved ...
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3535         here.
3536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3537         Moved ...
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3540         Moved ...
3541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3542
3543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3544         conditional [RESET_PID].
3545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3547         removed.
3548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3549         removed.
3550
3551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3552         <tcb-offsets.h>.
3553         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3554         (__libc_vfork): New strong alias.
3555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3556         removed.
3557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3558         Removed.
3559
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3561         <tcb-offsets.h>.
3562         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3563         (__libc_vfork): New strong alias.
3564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3565         removed.
3566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3567         removed.
3568
3569 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3570
3571         * malloc/malloc.c (mi_arena): New function.
3572         (malloc_info): Remove nested function mi_arena. Call non-nosted
3573         function mi_arena.
3574
3575 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3576
3577         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3578         by insrwi.
3579         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3580         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3581         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3582         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3583         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3584         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3585         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3586
3587 2014-05-26  Andreas Schwab  <schwab@suse.de>
3588
3589         [BZ #16984]
3590         * locale/programs/repertoire.c (repertoire_read): Add slash
3591         between I18NPATH element and file name.
3592         * locale/programs/locfile.c (locfile_read): Likewise.
3593
3594 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3595
3596         * nptl/pthread_mutexattr_settype.c
3597         (__pthread_mutexattr_settype):
3598         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3599
3600 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3601
3602         * nptl/tst-mutex5 (do_test):
3603         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3604
3605 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3606
3607         * benchtests/README: Document 'init' directive.
3608         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3609         BENCH_INIT.
3610         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3611         (parse_file): Recognize 'init' directive.
3612
3613 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3614
3615         [BZ #16796]
3616         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3617         alignment of struct pthread.
3618
3619 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3620
3621         [BZ #16878]
3622         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3623         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3624         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3625         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3626
3627 2014-05-25  Richard Henderson  <rth@twiddle.net>
3628
3629         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3630         (SINGLE_THREAD_P_PIC): Remove.
3631         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3632         (SINGLE_THREAD_P_PIC): Remove.
3633
3634         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3635         branch to syscall error ...
3636         (PSEUDO): ... here.
3637         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3638         from __local_syscall_error to .Lsyscall_error.
3639         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3640         (SYSCALL_ERROR): Update label name.
3641
3642         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3643         Do not use DOARGS/UNDOARGS.
3644         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3645         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3646         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3647         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3648         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3649
3650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3651         block comment.
3652
3653         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3654         define if !NOT_IN_libc.
3655         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3656         define with non-default symbol versions.
3657
3658 2014-05-23  Richard Henderson  <rth@twiddle.net>
3659
3660         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3661         (vfork, __vfork): Define via compat_symbol.
3662
3663         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3664         [!HAVE_IFUNC] (vfork_compat): Remove.
3665         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3666
3667 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3668
3669         [BZ #16978]
3670         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3671         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3672         variable.
3673
3674 2014-05-23  Richard Henderson  <rth@twiddle.net>
3675
3676         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3677         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3678         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3679         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3680
3681         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3682         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3683         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3684         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3685         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3686         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3687         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3688         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3689         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3690         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3691         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3692         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3693         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3694         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3695         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3696         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3698         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3699         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3700         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3701         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3702         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3703         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3704         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3705         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3706         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3707         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3708         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3709         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3710         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3711         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3712         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3713         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3714         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3715         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3716         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3717         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3718         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3719         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3720         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3721         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3722         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3723         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3724         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3725         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3726         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3727         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3728         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3729         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3730         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3731         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3732         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3733         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3734         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3735         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3736         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3737
3738         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3739         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3740         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3741         before exiting on error.
3742         (__libc_vfork): New strong alias.
3743         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3744         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3745
3746         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3747         that was previously under [RESET_PID].
3748         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3749
3750         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3751
3752 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3753
3754         [BZ #16977]
3755         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3756         value when x - 1 is zero.
3757         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3758         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3759         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3760         0.0L for an argument of 1.0L.
3761         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3762         Likewise.
3763         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3764         value when x - 1 is zero.
3765         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3766         * sysdeps/i386/fpu/libm-test-ulps: Update.
3767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3768
3769 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3770
3771         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3772         alphasort and versionsort.
3773
3774 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3775
3776         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3777         macro.
3778         [copysignf]: Likewise.
3779
3780 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3781
3782         * crypt/md5-crypt.c: Fix formatting.
3783
3784 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3785
3786         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3787         (b64_from_24bit): New function.
3788
3789 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3790
3791         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3792         libc_hidden_builtin_def to ifunc.
3793         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3794         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3795
3796 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3797
3798         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3799         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3800
3801 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3802
3803         * nscd/Depend (linuxthreads): Remove.
3804         (nptl): Add.
3805         * resolv/Depend (linuxthreads): Remove.
3806         * rt/Depend (linuxthreads): Remove.
3807
3808         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3809         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3810         $(common-objpfx)elf/.
3811         (link-libc-before-gnulib): Likewise.
3812         (elfobjdir): Remove variable.
3813         * Makefile (install): Use $(elf-objpfx) instead of
3814         $(common-objpfx)elf/.
3815         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3816         $(elfobjdir)/.
3817         (link-libc-deps): Likewise.
3818         ($(common-objpfx)libc.so): Likewise.
3819         ($(common-objpfx)linkobj/libc.so): Likewise.
3820         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3821         instead of $(common-objpfx)elf/.
3822         (symbolic-link-list): Likewise.
3823         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3824         [$(cross-compiling) = no]: Likewise.
3825         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3826         $(elfobjdir)/.
3827         (static-gnulib-arch): Likewise.
3828         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3829         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3830         $(common-objpfx)elf/.
3831
3832 2014-05-21  Richard Henderson  <rth@redhat.com>
3833
3834         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3835         (SINGLE_THREAD_P): Use the correct width load.  Fold
3836         into the ldr offset.
3837
3838         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3839         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3840
3841 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3842
3843         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3844         (libgcc_s_resume): Use __attribute_used__.
3845         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3846         Likewise.
3847
3848 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3849
3850         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3851         optimization when used with float constants.
3852
3853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3854
3855 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3856
3857         [BZ #16915]
3858         * locale/nl_langinfo_l.c: Make direct reference to every
3859         _nl_current_CATEGORY symbol.
3860         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3861         (tests-static): Add tst-langinfo-static.
3862         (tests-special): Add tst-langinfo-static.out.
3863         ($(objpfx)tst-langinfo.out): Redirect output.
3864         ($(objpfx)tst-langinfo-static.out): New.
3865         * localedata/tst-langinfo.sh: Send output to stdout.
3866         * localedata/tst-langinfo-static.c: New file.
3867
3868         [BZ #16965]
3869         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3870         when the shift amount is modulo the limb size.
3871
3872 2014-05-20  Richard Henderson  <rth@redhat.com>
3873
3874         [BZ #16967]
3875         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3876         Change type of sa_flags from unsigned int to int.
3877
3878         [BZ #16966]
3879         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3880
3881         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3882
3883 2014-05-20  Will Newton  <will.newton@linaro.org>
3884
3885         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3886         Test the return value of the system call in the nocancel case.
3887
3888 2014-05-20  Will Newton  <will.newton@linaro.org>
3889             Yvan Roux  <yvan.roux@linaro.org>
3890
3891         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3892         #include of asm/ptrace.h.
3893         (PTRACE_GET_THREAD_AREA): Remove #undef.
3894         (PTRACE_GETHBPREGS): Likewise.
3895         (PTRACE_SETHBPREGS): Likewise.
3896         (struct user_regs_struct): New structure.
3897         (struct user_fpsimd_struct): New structure.
3898         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3899         #include of asm/ptrace.h and second #include of sys/user.h.
3900         (PTRACE_GET_THREAD_AREA): Remove #undef.
3901         (PTRACE_GETHBPREGS): Likewise.
3902         (PTRACE_SETHBPREGS): Likewise.
3903         (ELF_NGREG): Use new struct user_regs_struct.
3904         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3905
3906 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3907
3908         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3909         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3910
3911 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3912
3913         [BZ #16958]
3914         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3915         membar to avoid block loads/stores to overlap previous stores.
3916
3917 2014-05-17  Richard Henderson  <rth@redhat.com>
3918
3919         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3920         Create the __##syscall_name##_nocancel entry point.
3921         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3922         Remove; let the sysdep-cancel.h code create it.
3923
3924 2014-05-17  David S. Miller  <davem@davemloft.net>
3925
3926         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3927         Protect with __USE_GNU.
3928         (TIOCSET_TEMPT): Likewise.
3929         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3930         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3931         these are already provided in bits/ioctl-types.h
3932
3933 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3934
3935         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3936         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3937
3938         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3939         Use wait4 regardless of [__NR_waitpid].
3940
3941 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3942
3943         PR libgcc/60166
3944         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3945         (_FP_NANSIGN_Q): Set the quiet bit.
3946
3947 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3948
3949         * benchtests/Makefile
3950         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3951         not $(common-objpfx)math/libm.so.
3952         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3953         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3954         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3955         $(common-objpfx)dlfcn/libdl.so.
3956         ($(objpfx)tst-audit8): Depend on $(libm), not
3957         $(common-objpfx)math/libm.so.
3958         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3959         not $(common-objpfx)dlfcn/libdl.so.
3960         * math/Makefile
3961         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3962         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3963         [$(build-shared) = yes].
3964         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3965         $(common-objpfx)nptl/libpthread.so.
3966         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3967         $(common-objpfx)math/libm.so$(libm.so-version) or
3968         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3969         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3970         $(common-objpfx)dlfcn/libdl.so.
3971         * setjmp/Makefile (link-libm): Remove variable.
3972         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3973         * stdio-common/Makefile (link-libm): Remove variable.
3974         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3975         * stdlib/Makefile (link-libm): Remove variable.
3976         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3977         ($(objpfx)tst-strtod-round): Likewise.
3978         ($(objpfx)tst-tininess): Likewise.
3979         ($(objpfx)tst-strtod-underflow): Likewise.
3980         ($(objpfx)tst-strtod6): Likewise.
3981         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3982         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3983         $(common-objpfx)dlfcn/libdl.so.
3984
3985 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3986
3987         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3988         BSD terminal modes definitions.
3989
3990 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3991
3992         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3993         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3994
3995         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3996         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3997         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3998         Don't do #include_next.
3999         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4000         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4001         Don't do #include_next.
4002         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4003         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4004         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4005         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4006
4007 2014-05-16  Allan McRae  <allan@archlinux.org>
4008
4009         * po/sv.po: Update Swedish translation from translation project.
4010
4011         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4012         in sed expression.
4013
4014 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4015
4016         [BZ #16917]
4017         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4018         errno if the TIOCGPTN ioctl fails with an error different than
4019         EINVAL.
4020         * login/tst-ptsname.c: New file.
4021         * login/Makefile (tests): Add tst-ptsname.
4022
4023         [BZ #16943]
4024         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4025         and prlimit64.
4026
4027 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4028
4029         [BZ #16849]
4030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4031         herrno to return EAI_AGAIN.
4032
4033 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4034
4035         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4036         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4037         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4038         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4039         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4040         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4041         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4042         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4043         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4044         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4045         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4046         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4047         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4048         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4049         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4050         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4051         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4052         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4053         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4054         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4055         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4056         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4057         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4058         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4059         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4060         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4061         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4062         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4063         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4064         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4066         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4068         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4070         Moved ...
4071         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4073         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4075         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4077         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4079         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4081         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4083         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4085         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4087         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4089         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4091         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4093         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4095         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4097         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4099         Moved ...
4100         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4102         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4104         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4106         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4108         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4110         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4111         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4112         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4114         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4116         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4118         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4120         Moved ...
4121         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4123         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4124
4125         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4126         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4127         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4128         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4129         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4130         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4131         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4132         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4133         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4134         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4135         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4136         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4137         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4138         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4139         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4140         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4141         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4142         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4143         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4144         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4145         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4146         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4147         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4148         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4149         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4150         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4151         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4152         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4153         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4154         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4155         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4156
4157         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4158         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4159
4160         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4161         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4162         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4163         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4164         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4165         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4166         Moved ...
4167         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4168         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4169         Moved ...
4170         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4171         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4172         Moved ...
4173         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4174         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4175         Moved ...
4176         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4177         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4178         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4179         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4180         Moved ...
4181         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4183         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4185         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4187         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4188         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4189         Moved ...
4190         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4192         Moved ...
4193         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4194         ... here.
4195         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4196         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4197         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4198         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4199         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4200         Moved ...
4201         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4202         ... here.
4203         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4204         Moved ...
4205         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4206         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4207         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4208         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4209         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4210         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4211         Moved ...
4212         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4214         Moved ...
4215         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4216         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4217         Moved ...
4218         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4219         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4220         Moved ...
4221         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4222         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4223         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4224         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4225         Moved ...
4226         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4227         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4228         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4229         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4230         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4231         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4232         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4234         Moved ...
4235         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4237         Moved ...
4238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4239         ... here.
4240         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4241         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4242         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4243         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4244         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4245         Moved ...
4246         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4247         ... here.
4248         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4249         Moved ...
4250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4251         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4252         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4253         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4254         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4255         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4256         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4257         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4258         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4259         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4260         Moved ...
4261         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4262         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4263         Moved ...
4264         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4265         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4266         Moved ...
4267         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4268         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4269         Moved ...
4270         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4271         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4272         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4273         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4274         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4276         Moved ...
4277         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4278         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4279         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4280         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4282         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4283         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4284         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4285         Moved ...
4286         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4288         Moved ...
4289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4290         ... here.
4291         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4292         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4293         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4294         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4295         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4296         Moved ...
4297         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4298         ... here.
4299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4300         Moved ...
4301         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4302         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4303         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4304         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4305         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4306         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4307         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4308         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4309         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4310         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4311         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4312
4313         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4314         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4315
4316         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4317         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4318
4319         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4320         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4321         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4322         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4323         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4324         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4325         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4326         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4327         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4328         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4329         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4330         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4331         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4332         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4333         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4335         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4337         Moved ...
4338         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4339         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4342         Moved ...
4343         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4344         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4347         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4349         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4351         Moved ...
4352         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4354         Moved ...
4355         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4356         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4357         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4359         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4361         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4362         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4363         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4364         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4365         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4366         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4367         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4368         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4369         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4370         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4371         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4372
4373         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4374         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4375         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4376         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4377         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4378
4379         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4380         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4381         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4382         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4383         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4384         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4385         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4386         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4387         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4388         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4389
4390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4392
4393         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4394         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4395         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4396         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4397         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4398         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4399         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4400         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4401         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4402         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4403         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4404         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4405         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4406         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4408         Update #include.
4409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4410         Likewise.
4411         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4412         Likewise.
4413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4414         Likewise.
4415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4416         Likewise.
4417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4418         Likewise.
4419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4420         Likewise.
4421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4422         Likewise.
4423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4424         Likewise.
4425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4426         Likewise.
4427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4432         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4433         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4435         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4437         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4439         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4441         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4442
4443         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4444         that was previously under [RESET_PID].
4445         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4446         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4447         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4448
4449         * sysdeps/i386/nptl/Implies: New file.
4450         * sysdeps/x86_64/nptl/Implies: New file.
4451         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4452         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4453         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4454         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4455
4456         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4457         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4458         (__libc_vfork): New strong alias.
4459         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4460         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4461
4462         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4463         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4464         (__libc_vfork): New strong alias.
4465         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4466         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4467
4468         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4469         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4470         (__libc_vfork): New strong alias.
4471         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4472         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4473         * nptl/pt-vfork.c: New file.
4474         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4475         (libpthread: GLIBC_2.20): New version set (empty).
4476
4477 2014-05-14  Will Newton  <will.newton@linaro.org>
4478
4479         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4480         rather than #if.
4481
4482 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4483
4484         [BZ #16564]
4485         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4486         arguments with exponent 65 or above.
4487         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4488         arguments 0x1p113L or above.
4489         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4490         to arguments 0x1p107L or above.
4491         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4492         positive arguments with exponent 65 or above.
4493         * math/auto-libm-test-in: Add more tests of log1p.
4494         * math/auto-libm-test-out: Regenerated.
4495
4496         [BZ #16928]
4497         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4498         non-finite arguments is +0.
4499         * math/s_cacosf.c (__cacosf): Likewise.
4500         * math/s_cacosl.c (__cacosl): Likewise.
4501         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4502         * sysdeps/i386/fpu/libm-test-ulps: Update.
4503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4504
4505         [BZ #16927]
4506         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4507         value.
4508         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4509         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4510         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4511         for explicit high bit of mantissa when testing for argument equal
4512         to 1.
4513         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4514         * sysdeps/i386/fpu/libm-test-ulps: Update.
4515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4516
4517         [BZ #16516]
4518         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4519         (__erf): Scale by 16 instead of 8 in potentially underflowing
4520         case.  Ensure exception if result actually underflows.
4521         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4522         (__erff): Scale by 16 instead of 8 in potentially underflowing
4523         case.  Ensure exception if result actually underflows.
4524         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4525         (efx8): Remove variable.
4526         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4527         case.  Ensure exception if result actually underflows.
4528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4529         (efx8): Remove variable.
4530         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4531         case.  Ensure exception if result actually underflows.
4532         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4533         (efx8): Remove variable.
4534         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4535         case.  Ensure exception if result actually underflows.
4536         * math/auto-libm-test-in: Add more tests of erf.
4537         * math/auto-libm-test-out: Regenerated.
4538
4539 2014-05-14  Andreas Schwab  <schwab@suse.de>
4540
4541         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4542         Remove code conditionalized on USE___THREAD.
4543
4544         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4545         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4546         not definedness.
4547
4548 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4549
4550         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4551         Define unconditionally.
4552         (__ASSUME_O_CLOEXEC): Likewise.
4553         (__ASSUME_SOCK_CLOEXEC): Likewise.
4554         (__ASSUME_IN_NONBLOCK): Likewise.
4555         (__ASSUME_PIPE2): Likewise.
4556         (__ASSUME_EVENTFD2): Likewise.
4557         (__ASSUME_SIGNALFD4): Likewise.
4558         (__ASSUME_DUP3): Likewise.
4559         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4560         (__ASSUME_DUP3): Do not define.
4561         (__ASSUME_EVENTFD2): Likewise.
4562         (__ASSUME_IN_NONBLOCK): Likewise.
4563         (__ASSUME_O_CLOEXEC): Likewise.
4564         (__ASSUME_PIPE2): Likewise.
4565         (__ASSUME_SIGNALFD4): Likewise.
4566         (__ASSUME_SOCK_CLOEXEC): Likewise.
4567         (__ASSUME_UTIMES): Undefine.
4568         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4569         (__ASSUME_UTIMES): Do not define.
4570         (__ASSUME_O_CLOEXEC): Likewise.
4571         (__ASSUME_SOCK_CLOEXEC): Likewise.
4572         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4573         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4574         0x020621].
4575         (__ASSUME_PIPE2): Likewise.
4576         (__ASSUME_EVENTFD2): Likewise.
4577         (__ASSUME_SIGNALFD4): Likewise.
4578         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4579         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4580         Do not define.
4581         (__ASSUME_EVENTFD2): Likewise.
4582         (__ASSUME_SIGNALFD4): Likewise.
4583         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4584         (__ASSUME_32BITUIDS): Likewise.
4585         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4586         (__ASSUME_IPC64): Likewise.
4587         (__ASSUME_ST_INO_64_BIT): Likewise.
4588         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4589         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4590         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4591         (__ASSUME_UTIMES): Do not define.
4592         (__ASSUME_PSELECT): Likewise.
4593         (__ASSUME_PPOLL): Likewise.
4594         (__ASSUME_O_CLOEXEC): Likewise.
4595         (__ASSUME_SOCK_CLOEXEC): Likewise.
4596         (__ASSUME_IN_NONBLOCK): Likewise.
4597         (__ASSUME_PIPE2): Likewise.
4598         (__ASSUME_EVENTFD2): Likewise.
4599         (__ASSUME_SIGNALFD4): Likewise.
4600         (__ASSUME_DUP3): Likewise.
4601         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4602         (__ASSUME_UTIMES): Likewise.
4603         (__ASSUME_O_CLOEXEC): Likewise.
4604         (__ASSUME_SOCK_CLOEXEC): Likewise.
4605         (__ASSUME_IN_NONBLOCK): Likewise.
4606         (__ASSUME_PIPE2): Likewise.
4607         (__ASSUME_EVENTFD2): Likewise.
4608         (__ASSUME_SIGNALFD4): Likewise.
4609         (__ASSUME_DUP3): Likewise.
4610         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4611         (__ASSUME_UTIMES): Likewise.
4612         (__ASSUME_O_CLOEXEC): Likewise.
4613         (__ASSUME_SOCK_CLOEXEC): Likewise.
4614         (__ASSUME_IN_NONBLOCK): Likewise.
4615         (__ASSUME_PIPE2): Likewise.
4616         (__ASSUME_EVENTFD2): Likewise.
4617         (__ASSUME_SIGNALFD4): Likewise.
4618         (__ASSUME_DUP3): Likewise.
4619         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4620         Likewise.
4621         (__ASSUME_UTIMES): Likewise.
4622         (__ASSUME_EVENTFD2): Likewise.
4623         (__ASSUME_SIGNALFD4): Likewise.
4624         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4625         (__ASSUME_O_CLOEXEC): Likewise.
4626         (__ASSUME_SOCK_CLOEXEC): Likewise.
4627         (__ASSUME_IN_NONBLOCK): Likewise.
4628         (__ASSUME_PIPE2): Likewise.
4629         (__ASSUME_EVENTFD2): Likewise.
4630         (__ASSUME_SIGNALFD4): Likewise.
4631         (__ASSUME_DUP3): Likewise.
4632         (__ASSUME_UTIMES): Undefine.
4633
4634         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4635         feclearexcept.  Remove symbol versioning code.
4636         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4637         symbol versioning code.
4638         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4639         symbol versioning code.
4640         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4641         feupdateenv.  Remove symbol versioning code.
4642         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4643         fegetexceptflag.  Remove symbol versioning code.
4644         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4645         fesetexceptflag.  Remove symbol versioning code.
4646         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4647         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4648         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4649         (__posix_fadvise64_l32): Remove prototype.
4650         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4651         code.
4652
4653 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4654
4655         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4656         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4657         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4658         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4659
4660 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4661
4662         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4663         current working directory
4664
4665 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4666
4667         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4668         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4669         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4670         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4671         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4672         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4673         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4674         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4675         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4676         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4677         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4678         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4679         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4680         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4681         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4682         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4683         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4684         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4685         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4686         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4687         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4688         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4689         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4690         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4691         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4692         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4693         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4694         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4695         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4696         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4697         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4698         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4699         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4700         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4701         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4702         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4703         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4704         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4705         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4706         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4707         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4708         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4709
4710         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4711         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4712
4713         * sysdeps/unix/sysv/linux/arm/Makefile
4714         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4715         Add rt-aeabi_unwind_cpp_pr1.
4716         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4717         Add nptl-aeabi_unwind_cpp_pr1.
4718         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4719         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4720         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4721         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4722         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4723         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4724
4725         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4726         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4727         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4728         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4729
4730         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4731         Deconditionalize the code that was previously under [RESET_PID].
4732         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4733
4734         * sysdeps/generic/exit-thread.h: New file.
4735         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4736         * include/unistd.h (__exit_thread): Remove declaration.
4737         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4738         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4739         * csu/libc-start.c: Include <exit-thread.h>.
4740         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4741         * nptl/pthread_create.c: Include <exit-thread.h>.
4742         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4743         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4744         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4745         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4746         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4747         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4748         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4749         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4750         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4751         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4752         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4753         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4754         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4755         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4756         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4757         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4758         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4759
4760 2014-05-13  Andreas Schwab  <schwab@suse.de>
4761
4762         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4763
4764 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4765
4766         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4767         (__ASSUME_UTIMES): Do not condition on kernel version.
4768         (__ASSUME_PSELECT): Define unconditionally.
4769         (__ASSUME_PPOLL): Likewise.
4770         (__ASSUME_ATFCTS): Likewise.
4771         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4772         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4773         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4774         (__ASSUME_UTIMENSAT): Define unconditionally.
4775         (__ASSUME_PRIVATE_FUTEX): Likewise.
4776         (__ASSUME_FALLOCATE): Likewise.
4777         (__ASSUME_O_CLOEXEC): Likewise.
4778         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4779         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4780         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4781         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4782         (__ASSUME_IN_NONBLOCK): Likewise.
4783         (__ASSUME_PIPE2): Likewise.
4784         (__ASSUME_EVENTFD2): Likewise.
4785         (__ASSUME_SIGNALFD4): Likewise.
4786         (__ASSUME_DUP3): Likewise.
4787         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4788         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4789         (__ASSUME_AT_RANDOM): Likewise.
4790         (__ASSUME_PREADV): Likewise.
4791         (__ASSUME_PWRITEV): Likewise.
4792         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4793         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4794         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4795         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4796         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4797         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4798         (__ASSUME_O_CLOEXEC): Define unconditionally.
4799         (__ASSUME_PSELECT): Do not undefine conditionally.
4800         (__ASSUME_PPOLL): Likewise.
4801         (__ASSUME_ATFCTS): Likewise.
4802         (__ASSUME_SET_ROBUST_LIST): Likewise.
4803         (__ASSUME_UTIMENSAT): Likewise.
4804         (__ASSUME_FDATASYNC): Define unconditionally.
4805         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4806         (__ASSUME_SIGFRAME_V2): Likewise.
4807         )__ASSUME_EVENTFD2): Likewise.
4808         (__ASSUME_SIGNALFD4): Likewise.
4809         (__ASSUME_PSELECT): Do not undefine conditionally.
4810         (__ASSUME_PPOLL): Likewise.
4811         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4812         (__ASSUME_PSELECT): Define unconditionally.
4813         (__ASSUME_PPOLL): Likewise.
4814         (__ASSUME_O_CLOEXEC): Likewise.
4815         (__ASSUME_SOCK_CLOEXEC): Likewise.
4816         (__ASSUME_IN_NONBLOCK): Likewise.
4817         (__ASSUME_PIPE2): Likewise.
4818         (__ASSUME_EVENTFD2): Likewise.
4819         (__ASSUME_SIGNALFD4): Likewise.
4820         (__ASSUME_DUP3): Likewise.
4821         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4822         (__ASSUME_O_CLOEXEC): Likewise.
4823         (__ASSUME_SOCK_CLOEXEC): Likewise.
4824         (__ASSUME_IN_NONBLOCK): Likewise.
4825         (__ASSUME_PIPE2): Likewise.
4826         (__ASSUME_EVENTFD2): Likewise.
4827         (__ASSUME_SIGNALFD4): Likewise.
4828         (__ASSUME_DUP3): Likewise.
4829         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4830         (__ASSUME_EVENTFD2): Likewise.
4831         (__ASSUME_SIGNALFD4): Likewise.
4832         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4833
4834 2014-05-12  Andreas Schwab  <schwab@suse.de>
4835
4836         [BZ #16932]
4837         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4838         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4839         than maximum RPC packet size.
4840         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4841         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4842         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4843         (_nss_nis_getservbyport_r): Likewise.
4844
4845 2014-05-12  Will Newton  <will.newton@linaro.org>
4846
4847         * malloc/Makefile (tests): Add tst-mallopt.
4848         * malloc/tst-mallopt.c: New file.
4849
4850 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4851
4852         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4853         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4854
4855 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4856
4857         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4858         (tst-tlsmod6.so): Likewise.
4859
4860 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4861
4862         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4863
4864 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4865
4866         [BZ #16064]
4867         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4868         and <dl-procinfo.h>.
4869         (__fegetenv): Save SSE state in envp->__eip if supported.
4870         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4871         envp->__eip if supported.
4872         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4873         and <dl-procinfo.h>.
4874         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4875         __data_offset and __data_selector in environment to 0.  Set SSE
4876         state if supported.
4877         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4878         test-fenv-sse.
4879         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4880         -mfpmath=sse.
4881         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4882
4883 2014-05-09  Will Newton  <will.newton@linaro.org>
4884
4885         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4886         and libc_relro_required for ARM.
4887         * sysdeps/arm/preconfigure: Regenerate.
4888
4889 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4890             Stefan Liebler  <stli@linux.vnet.ibm.com>
4891
4892         * config.make.in (enable-lock-elision): New Makefile variable.
4893         * configure.ac: Likewise.
4894         * configure: Regenerate.
4895         * sysdeps/s390/configure.ac:
4896         Add check for gcc transactions support.
4897         * sysdeps/s390/configure: Regenerate.
4898         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4899         Build elision files if enabled.
4900         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4901         Add lock elision support for s390.
4902         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4903         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4904         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4905         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4906         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4907         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4908         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4909         Likewise.
4910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4911         Likewise.
4912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4913         Likewise.
4914         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4915         Likewise.
4916         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4917         (__lll_timedlock_elision, __lll_lock_elision)
4918         (__lll_unlock_elision, __lll_trylock_elision)
4919         (lll_timedlock_elision, lll_lock_elision)
4920         (lll_unlock_elision, lll_trylock_elision): Add.
4921         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4922         (pthread_mutex_t): Add lock elision support for s390.
4923
4924 2014-05-14  Wilco  <wdijkstr@arm.com>
4925
4926         * sysdeps/arm/fclrexcpt.c: Cleanup.
4927         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4928         * sysdeps/arm/feenablxcpt.c: Cleanup.
4929         * sysdeps/arm/fegetenv.c: Cleanup.
4930         * sysdeps/arm/fegetexcept.c: Cleanup.
4931         * sysdeps/arm/fegetround.c: Cleanup.
4932         * sysdeps/arm/feholdexcpt.c: Cleanup.
4933         * sysdeps/arm/fesetenv.c: Cleanup.
4934         * sysdeps/arm/fesetround.c: Cleanup.
4935         * sysdeps/arm/feupdateenv.c: Cleanup.
4936         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4937         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4938         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4939         * sysdeps/arm/ftestexcept.c: Cleanup.
4940         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4941         * sysdeps/arm/setfpucw.c: Cleanup.
4942
4943 2014-05-09  Will Newton  <will.newton@linaro.org>
4944
4945         * sysdeps/arm/armv7/strcmp.S: New file.
4946         * NEWS: Mention addition of ARMv7 optimized strcmp.
4947
4948 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4949
4950         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4951         look for %.ac rather than %.in.
4952
4953         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4954         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4955         * sysdeps/mach/hurd/configure: Regenerated.
4956         * sysdeps/unix/sysv/linux/configure: Regenerated.
4957
4958         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4959
4960 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4961
4962         [BZ# 16922]
4963         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4964         (LONG_SUB): Ditto.
4965         (PTR_SUB): Ditto.
4966
4967 2014-05-07  Andreas Schwab  <schwab@suse.de>
4968
4969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4970         when skipping over non-matching result from nscd.
4971
4972 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4973
4974         [BZ #16876]
4975         * nptl/sockperf.c (client): Check socket return value.
4976
4977         [BZ #16877]
4978         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4979         nscd security class.
4980
4981 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4982
4983         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4984         * sysdeps/arm/unwind.h: ... here.
4985
4986 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4987
4988         [BZ# 16916]
4989         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4990         Define.
4991
4992 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4993
4994         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4995         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4996         multiarch strncpy for PPC64.
4997         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4998         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5000         multiarch optimizations.
5001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5002         (__libc_ifunc_impl_list): Likewise.
5003         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5004         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5005         multiarch stpncpy for PPC64.
5006         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5007         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5008
5009 2014-05-06  Andreas Schwab  <schwab@suse.de>
5010
5011         [BZ #16912]
5012         * gmon/mcount.c (_MCOUNT_DECL): Use
5013         atomic_compare_and_exchange_bool_acq instead of
5014         catomic_compare_and_exchange_bool_acq.
5015
5016 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5017
5018         * elf/Makefile (others, install-bin): Remove pldd.
5019         (pldd-modules): Variable removed.
5020         ($(objpfx)pldd): Target removed.
5021         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5022         (others, install-bin): Append pldd here.
5023         ($(objpfx)pldd): New target.
5024
5025         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5026         to 0, so the first #if test emitted later doesn't see it undefined.
5027         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5028         * sysdeps/gnu/errlist.c: Regenerated.
5029
5030 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5031
5032         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5033         [libc_hidden_builtin_def]: Define to empty value.
5034         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5035         [libc_hidden_builtin_def]: Likewise.
5036         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5037         [libc_hidden_builtin_def]: Likewise.
5038         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5039         [libc_hidden_builtin_def]: Likewise.
5040         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5041         __redirect_memcpy and define ifunc as default hidden symbol.
5042         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5043         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5044
5045 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5046
5047         * locale/iso-4217.def: Reintroduce XDR currency.
5048
5049 2014-05-04  Allan McRae  <allan@archlinux.org>
5050
5051         * po/eo.po: Update Esperanto translation from translation project.
5052
5053 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5054
5055         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5056         and FEATURE_INDEX_MAX to 1.
5057         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5058
5059 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5060
5061         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5062         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5063         * iconvdata/big5.c (ONE_DIRECTION): Define.
5064         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5065         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5066         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5067         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5068         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5069         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5070         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5071         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5072         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5073         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5074         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5075         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5076         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5077         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5078         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5079         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5080         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5081         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5082         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5083         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5084         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5085         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5086         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5087         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5088         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5089         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5090         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5091         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5092         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5093         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5094         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5095         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5096         * iconvdata/johab.c (ONE_DIRECTION): Define.
5097         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5098         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5099         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5100         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5101         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5102         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5103         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5104         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5105         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5106         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5107
5108 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5109
5110         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5111         (_IO_JUMPS_OFFSET): Define to 0.
5112
5113         * nptl/sysdeps/pthread/bits/libc-lock.h
5114         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5115         (__libc_lock_define_initialized_recursive): Always define using
5116         initializer.  Modern compilers treat uninitialized (implicit zero) and
5117         explicit zero initializers the same (i.e. put the datum in bss).
5118
5119 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5120
5121         * nscd/nscd-client.h: Include <string.h>.
5122
5123 2014-05-01  David S. Miller  <davem@davemloft.net>
5124
5125         [BZ #16885]
5126         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5127         multiple zero bytes exist at the end of a string.
5128         Reported by Aurelien Jarno <aurelien@aurel32.net>
5129
5130         * string/test-strcmp.c (check): Add explicit test for situations where
5131         there are multiple zero bytes after the first.
5132
5133 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5134
5135         [BZ #16890]
5136         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5137         when compiling wprintf.
5138         * stdio-common/tstdiomisc.c (t3): New function.
5139         (main): Call it.
5140
5141 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5142
5143         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5144         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5145         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5146         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5147
5148 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5149
5150         * stdlib/longlong.h: Updated from GCC.
5151
5152 2014-05-01  Will Newton  <will.newton@linaro.org>
5153             Bernard Ogden  <bernie.ogden@linaro.org>
5154
5155         * NEWS: Update fixed bug list.
5156
5157         [BZ #15119]
5158         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5159
5160 2014-04-30  David S. Miller  <davem@davemloft.net>
5161
5162         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5163         (libc_feholdexcept_setround_sparc_ctx): New function.
5164         (libc_fesetenv_sparc_ctx): Likewise.
5165         (libc_feupdateenv_sparc_ctx): Likewise.
5166         (libc_feholdsetround_sparc_ctx): Likewise.
5167         (libc_feholdexcept_setround_ctx): Define.
5168         (libc_feholdexcept_setroundf_ctx): Likewise.
5169         (libc_feholdexcept_setroundl_ctx): Likewise.
5170         (libc_fesetenv_ctx): Likewise.
5171         (libc_fesetenvf_ctx): Likewise.
5172         (libc_fesetenvl_ctx): Likewise.
5173         (libc_feupdateenv_ctx): Likewise.
5174         (libc_feupdateenvf_ctx): Likewise.
5175         (libc_feupdateenvl_ctx): Likewise.
5176         (libc_feresetround_ctx): Likewise.
5177         (libc_feresetroundf_ctx): Likewise.
5178         (libc_feresetroundl_ctx): Likewise.
5179         (libc_feholdsetround_ctx): Likewise.
5180         (libc_feholdsetroundf_ctx): Likewise.
5181         (libc_feholdsetroundl_ctx): Likewise.
5182
5183         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5184         with __USE_GNU instead of XOPEN cpp guards.
5185
5186         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5187         0.
5188
5189         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5190         with XOPEN cpp guards.
5191
5192 2014-04-30  Julian Brown  <julian@codesourcery.com>
5193
5194         [BZ #16888]
5195         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5196         handling.
5197
5198 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5199
5200         [BZ #9894]
5201         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5202         Change to 2.6.32.
5203         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5204         * sysdeps/unix/sysv/linux/configure: Regenerated.
5205         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5206         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5207         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5208         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5209         * README: Update reference to required Linux kernel version.
5210         * manual/install.texi (Linux): Update reference to required Linux
5211         kernel headers version.
5212         * INSTALL: Regenerated.
5213
5214         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5215         header inclusion.
5216         [POSIX] (limits.h): Likewise.
5217         [POSIX] (math.h): Likewise.
5218         [POSIX] (sys/wait.h): Likewise.
5219         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5220         function.
5221         [POSIX] (stddef.h): Do not allow header inclusion.
5222
5223 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5224
5225         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5226
5227 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5228
5229         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5230         Return immediately after lll_futex_wake.
5231
5232 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5233
5234         [BZ #16791]
5235         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5236         structure.
5237         (datahead_init_pos): Call datahead_init_common early.
5238         (datahead_init_neg): Likewise.
5239
5240         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5241         datahead_init_neg): New functions.
5242         * nscd/aicache.c (addhstaiX): Use them.
5243         * nscd/grpcache.c (cache_addgr): Likewise.
5244         * nscd/hstcache.c (cache_addhst): Likewise.
5245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5246         * nscd/netgroupcache.c (do_notfound): Likewise.
5247         (addgetnetgrentX): Likewise.
5248         (addinnetgrX): Likewise.
5249         * nscd/pwdcache.c (cache_addpw): Likewise.
5250         * nscd/servicescache.c (cache_addserv): Likewise.
5251
5252 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5253             Atsushi Onoe  <atsushi@onoe.org>
5254
5255         [BZ #14308]
5256         [BZ #12994]
5257         [BZ #13651]
5258         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5259         one response is valid.
5260         * resolv/res_send.c (send_dg): Check for validity of other
5261         response if the current response is a referral.
5262
5263 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5264
5265         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5266
5267 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5268
5269         [BZ #16823]
5270         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5271         Always divide by positive zero when computing -Inf result.
5272         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5273         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5274
5275 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5276
5277         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5278         FPSCR if value do not change.
5279         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5280         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5281         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5282         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5283         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5284         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5285         function.
5286
5287 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5288
5289         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5290         * sysdeps/unix/sysv/linux/hppa: Move directory from
5291         ports/systeps/unix/sysv/linux/hppa.
5292         * README: Update listing for hppa-*-linux-gnu.
5293
5294 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5295
5296         [BZ #16754]
5297         * manual/stdio.texi (Hook functions): Fix types of stream hook
5298         functions.
5299         [BZ #16854]
5300         * socket/sys/socket.h: Fix typo in comment.
5301
5302 2014-04-28  Wilco  <wdijkstr@arm.com>
5303
5304         * sysdeps/arm/fenv_private.h: New file.
5305         * sysdeps/arm/math_private.h: New file.
5306         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5307
5308 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5309
5310         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5311         with __int128_t.
5312         (La_x86_64_retval): Likewise.
5313
5314 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5315
5316         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5317         fpsr if value didn't change.
5318         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5319         to fpcr if value didn't change.
5320         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5321         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5322         fpsr or fpcr if value didn't change.
5323         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5324         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5325         fpcr if value didn't change.
5326         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5327         to fpsr if value didn't change.
5328
5329 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5330
5331         * nptl/tst-sem3.c: Use test-skeleton.c
5332         (main): Rename to do_test.  Use return instead of
5333         exit.
5334         * nptl/tst-sem4.c: Use test-skeleton.c
5335         (main): Rename to do_test.
5336
5337 2014-04-22  David S. Miller  <davem@davemloft.net>
5338
5339         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5340         (struct sigaction): New struct member __glibc_reserved0, change
5341         type of sa_flags to int.
5342
5343 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5344
5345         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5346         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5347
5348 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5349
5350         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5351         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5352
5353 2014-04-22  Will Newton  <will.newton@linaro.org>
5354             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5355
5356         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5357         (__longjmp): Add longjmp and longjmp_target SystemTap
5358         probes.
5359         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5360         (__sigsetjmp): Add setjmp SystemTap probe.
5361
5362 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5363
5364         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5365         match manual order.
5366
5367 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5368
5369         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5370
5371         * sysdeps/powerpc/fpu/fenv_private.h
5372         (libc_feholdexcept_setroundl_ctx): Define to
5373         libc_feholdexcept_setround_ppc_ctx.
5374         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5375         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5376         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5377         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5378
5379 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5380
5381         * sysdeps/aarch64/math-tests.h: New file.
5382
5383 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5384
5385         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5386         New.
5387         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5388         Check and set bit_AVX2_Usable.
5389         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5390         macro.
5391         (bit_AVX2): Likewise.
5392         (index_AVX2_Usable): Likewise.
5393         (CPUID_AVX2): Likewise.
5394         (HAS_AVX2): Likewise.
5395
5396 2014-04-17  Will Newton  <will.newton@linaro.org>
5397
5398         * manual/setjmp.texi (System V contexts): Add note that
5399         calling setcontext on a context created by a call to a
5400         signal handler is undefined.  Update text to note that
5401         setcontext from a signal handler is possible but not
5402         recommended.
5403
5404         [BZ #16629]
5405         * stdlib/tst-setcontext.c: Include signal.h.
5406         (main): Check that the signal stack before and
5407         after swapcontext is the same.
5408
5409         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5410         Re-implement to restore registers in user code and avoid
5411         rt_sigreturn system call.
5412
5413 2014-04-17  Wilco  <wdijkstr@arm.com>
5414
5415         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5416         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5417         * math/test-fenv.c: Skip exception trap tests on targets which only
5418         support non-stop mode.
5419
5420 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5421             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5422
5423         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5424         (libc_feholdsetround_aarch64_ctx)
5425         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5426         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5427         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5428         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5429         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5430         (libc_feresetround_noexl_ctx): Define.
5431
5432 2014-04-16  Richard Henderson  <rth@redhat.com>
5433
5434         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5435
5436         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5437         unwind tables.
5438
5439         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5440         const from the non-libc, non-ldso copy.
5441
5442         * sysdeps/alpha/libm-test-ulps: Regenerate.
5443
5444 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5445             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5446
5447         * sysdeps/aarch64/fpu/math_private.h: New file.
5448
5449 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5450
5451         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5452
5453 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5454
5455         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5456         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5458         Intel MPX bound registers before _dl_profile_fixup.
5459         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5460         registers after _dl_profile_fixup.  Save and restore bound
5461         registers bnd0/bnd1 when calling _dl_call_pltexit.
5462         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5463         (LR_BND_OFFSET): Likewise.
5464         (LRV_BND0_OFFSET): Likewise.
5465         (LRV_BND1_OFFSET): Likewise.
5466
5467 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5468
5469         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5470         to...
5471         * sysdeps/mach/hurd/i386/tls.h: ... here.
5472         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5473         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5474         fields.
5475
5476 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5477
5478         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5479
5480 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5481
5482         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5483
5484 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5485
5486         [BZ #14770]
5487         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5488         * sysdeps/s390/configure: Regenerate.
5489
5490         [BZ #16824]
5491         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5492         Set round-to-nearest internally to reduce error accumulation.
5493
5494 2014-04-16  Alan Modra  <amodra@gmail.com>
5495
5496         [BZ #16740]
5497         [BZ #16619]
5498         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5499         * math/libm-test.inc (frexp_test_data): Add tests.
5500         * NEWS: Update fixed bug list.
5501
5502 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5503
5504         * benchtests/Makefile: Depend on libraries in build directory.
5505         (bench-math): Separate out math tests.
5506         (bench-pthread): Separate out pthread tests.
5507         (bench): Include math and pthread tests.
5508
5509 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5510
5511         [BZ #16831]
5512         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5513         _dl_debug_initialize.
5514
5515         * configure.ac: Remove SELinux header check.
5516         * configure: Regenerate.
5517         * nscd/selinux.c (perms): Array of const char* to permission names.
5518         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5519         default policy. Call string_to_security_class and string_to_av_perm to
5520         translate strings. Enforce default policy and call avs_has_perm with
5521         results of translated strings.
5522
5523 2014-04-13  David S. Miller  <davem@davemloft.net>
5524
5525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5526
5527 2014-04-12  Allan McRae  <allan@archlinux.org>
5528
5529         [BZ #16838]
5530         * manual/string.texi (Collation Functions): Fix qsort argument
5531         order in example.
5532         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5533
5534 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5535
5536         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5537         Make the test a no-op if there are no exceptions defined.
5538
5539 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5540
5541         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5542         enable-hardcoded-path-in-tests
5543
5544 2014-04-11  Will Newton  <will.newton@linaro.org>
5545
5546         * benchtests/Makefile (extra-objs): Add json-lib.o.
5547         (bench-func): Tidy up JSON output.
5548         * benchtests/bench-skeleton.c: Include json-lib.h.
5549         (main): Use JSON library functions to do output of
5550         benchmark results.
5551         * benchtests/bench-timing-type.c (main): Output the
5552         timing type simply, leaving formatting to the user.
5553         * benchtests/json-lib.c: New file.
5554         * benchtests/json-lib.h: Likewise.
5555
5556 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5557
5558         [BZ #15215]
5559         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5560         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5561         memory barriers.  Add comments.
5562         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5563         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5564         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5565         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5566         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5567         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5568
5569 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5570
5571         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5572         * sysdeps/s390/s390-64/configure.ac: ... this ...
5573         * sysdeps/s390/configure.ac: ... to here.
5574         * sysdeps/s390/s390-32/configure: Delete file.
5575         * sysdeps/s390/s390-64/configure: Delete file.
5576         * sysdeps/s390/configure: Regenerate.
5577
5578 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5579
5580         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5581
5582 2014-04-11  Will Newton  <will.newton@linaro.org>
5583
5584         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5585         to zero if it is not defined elsewhere.  (mtrim): Test
5586         the value of MALLOC_DEBUG with #if rather than #ifdef.
5587
5588 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5589
5590         * benchtests/pthread_once-inputs: New file.
5591         * benchtests/pthread_once-source.c: New file.
5592         * benchtests/README: Update documentation.
5593
5594 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5595             H.J. Lu  <hongjiu.lu@intel.com>
5596
5597         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5598         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5599         * sysdeps/x86_64/configure: Regenerated.
5600         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5601         macro.
5602         (REGISTER_SAVE_RAX): Likewise.
5603         (REGISTER_SAVE_RCX): Likewise.
5604         (REGISTER_SAVE_RDX): Likewise.
5605         (REGISTER_SAVE_RSI): Likewise.
5606         (REGISTER_SAVE_RDI): Likewise.
5607         (REGISTER_SAVE_R8): Likewise.
5608         (REGISTER_SAVE_R9): Likewise.
5609         (REGISTER_SAVE_BND0): Likewise.
5610         (REGISTER_SAVE_BND1): Likewise.
5611         (REGISTER_SAVE_BND2): Likewise.
5612         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5613         bound registers when calling _dl_fixup.
5614
5615 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5616
5617         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5618         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5619         of its definition.
5620         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5621         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5622         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5623         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5624         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5625         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5626         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5627
5628 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5629
5630         [BZ #15514]
5631         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5632         pathconf(_PC_NAME_MAX).
5633
5634 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5635
5636         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5637         Remove macro usage.
5638         (__PTHREAD_SPINS): Move definition to ...
5639         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5640         (__PTHREAD_SPINS): ... here.
5641         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5642         (__PTHREAD_SPIN): Likewise.
5643         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5644         (__PTHREAD_SPIN): Likewise.
5645         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5646         (__PTHREAD_SPIN): Likewise.
5647         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5648         (__PTHREAD_SPIN): Likewise.
5649         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5650         (__PTHREAD_SPIN): Likewise.
5651         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5652         (__PTHREAD_SPIN): Likewise.
5653         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5654         (__PTHREAD_SPIN): Likewise.
5655         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5656         (__PTHREAD_SPIN): Likewise.
5657         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5658         (__PTHREAD_SPIN): Likewise.
5659         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5660         (__PTHREAD_SPIN): Likewise.
5661         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5662         (__PTHREAD_SPIN): Likewise.
5663         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5664         (__PTHREAD_SPIN): Likewise.
5665
5666         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5667         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5668         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5669         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5670         imply folder.
5671         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5672         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5673         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5674         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5675         correct imply path.
5676         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5677         strlen symbol for non multi-arch builds.
5678         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5679         missing hidden_def and weak_alias.
5680
5681 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5682
5683         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5684
5685 2014-04-07  Will Newton  <will.newton@linaro.org>
5686
5687         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5688         and contents.  [!_LIBC] Remove #ifndef and contents.
5689         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5690         * string/memccpy.c (__memccpy): Use ANSI prototype.
5691         * string/memfrob.c (memfrob): Likewise.
5692         * string/strcoll.c (STRCOLL): Likewise.
5693         * string/strlen.c (strlen): Likewise.
5694         * string/strtok.c (STRTOK): Likewise.
5695         * string/strcat.c: Remove unused #include of memcopy.h.
5696         (strcat): Use ANSI prototype.
5697         * string/strchr.c: Remove unused #include of memcopy.h.
5698         (strchr): Use ANSI prototype.
5699         * string/strcmp.c: Remove unused #include of memcopy.h.
5700         (strcmp): Use ANSI prototype.
5701         * string/strcpy.c: Remove unused #include of memcopy.h.
5702         (strcpy): Use ANSI prototype.
5703
5704 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5705
5706         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5707         * config.make.in (config-extra-cppflags): Set it from
5708         libc_extra_cppflags.
5709         * configure.ac (libc_extra_cflags): Make it accumulate over
5710         configure fragments.
5711         (libc_extra_cppflags): New flag.
5712         * configure. Regenerate.
5713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5714         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5715         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5717
5718         [BZ #16815]
5719         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5720         result for FE_DOWNWARD rounding mode.
5721         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5722         Likewise.
5723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5724
5725 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5726
5727         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5728         in function argument name.
5729
5730 2014-04-03  David Svoboda  <svoboda@cert.org>
5731
5732         [BZ #5666]
5733         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5734         explicitly.
5735
5736 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5737
5738         * elf/dl-unmap-segments.h: New file.
5739         * sysdeps/generic/ldsodefs.h
5740         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5741         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5742         * elf/dl-fptr.c: Likewise.
5743         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5744         * sysdeps/aarch64/tlsdesc.c: Likewise.
5745         * sysdeps/arm/tlsdesc.c: Likewise.
5746         * sysdeps/i386/tlsdesc.c: Likewise.
5747         * sysdeps/tile/dl-runtime.c: Likewise.
5748         * sysdeps/x86_64/tlsdesc.c: Likewise.
5749         * elf/dl-load.h: New file.
5750         * elf/dl-load.c: Include it.
5751         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5752         Macros moved to dl-load.h.
5753         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5754         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5755         Use _dl_unmap_segments in place of __munmap.
5756         Break out segment-mapping loop into ...
5757         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5758
5759 2014-04-03  Will Newton  <will.newton@linaro.org>
5760
5761         * elf/dl-lookup.c (do_lookup_x): Remove comment
5762         referring to nested function and move variable
5763         declarations down to before first use.
5764
5765 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5766
5767         [BZ #16799]
5768         [BZ #16800]
5769         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5770         with 0 numerator.
5771         * math/s_catanf.c (__catanf): Likewise.
5772         * math/s_catanh.c (__catanh): Likewise.
5773         * math/s_catanhf.c (__catanhf): Likewise.
5774         * math/s_catanhl.c (__catanhl): Likewise.
5775         * math/s_catanl.c (__catanl): Likewise.
5776         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5777         by positive zero when computing -Inf result.
5778         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5779         (catanh_test): Likewise.
5780         * sysdeps/i386/fpu/libm-test-ulps: Update.
5781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5782
5783         [BZ #16789]
5784         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5785         instead of using underflowing value in computing result.
5786         * math/s_clog10.c (__clog10): Likewise.
5787         * math/s_clog10f.c (__clog10f): Likewise.
5788         * math/s_clog10l.c (__clog10l): Likewise.
5789         * math/s_clogf.c (__clogf): Likewise.
5790         * math/s_clogl.c (__clogl): Likewise.
5791         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5792         (clog10_test): Likewise.
5793         * sysdeps/i386/fpu/libm-test-ulps: Update.
5794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5795
5796 2014-04-02  Alan Modra  <amodra@gmail.com>
5797
5798         [BZ #16739]
5799         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5800         output when value is near a power of two.  Use int64_t for lx and
5801         remove casts.  Use decimal rather than hex exponent constants.
5802         Don't use long double multiplication when double will suffice.
5803         * math/libm-test.inc (nextafter_test_data): Add tests.
5804         * NEWS: Add 16739 and 16786 to bug list.
5805
5806         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5807
5808         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5809
5810 2014-04-01  Will Newton  <will.newton@linaro.org>
5811
5812         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5813         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5814
5815 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5816
5817         [BZ #13347]
5818         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5819         * nptl/tst-setuid2.c: New file.
5820         * nptl/Makefile (xtests): Add tst-setuid2.
5821
5822 2014-04-01  Alan Modra  <amodra@gmail.com>
5823
5824         [BZ #16786]
5825         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5826
5827 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5828
5829         [BZ #6803]
5830         [BZ #6804]
5831         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5832         set errno as appropriate.
5833         * math/w_scalbf.c (__scalbf): Likewise.
5834         * math/w_scalbl.c (__scalbl): Likewise.
5835         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5836         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5837         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5838         Add more NaN tests.
5839
5840         [BZ #16349]
5841         * math/w_atan2.c: Include <errno.h>.
5842         (__atan2): Set errno for result underflowing to zero.
5843         * math/w_atan2f.c: Include <errno.h>.
5844         (__atan2f): Set errno for result underflowing to zero.
5845         * math/w_atan2l.c: Include <errno.h>.
5846         (__atan2l): Set errno for result underflowing to zero.
5847         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5848         tests.
5849         * math/auto-libm-test-out: Regenerated.
5850
5851 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5852
5853         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5854         Encode instruction correctly in little endian.
5855         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5856         Likewise.
5857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5858         Likewise.
5859         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5860         Likewise.
5861         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5862         Likewise.
5863
5864 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5865
5866         [BZ #9894]
5867         * sysdeps/unix/sysv/linux/kernel-features.h
5868         [__sparc__ && !__arch64__ && !__sparc_v9__]
5869         (__ASSUME_SET_ROBUST_LIST): Do not define.
5870         [__sparc__ && !__arch64__ && !__sparc_v9__]
5871         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5872         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5873         Likewise.
5874         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5875         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5876         (__ASSUME_REQUEUE_PI): Likewise.
5877         (__ASSUME_SET_ROBUST_LIST): Likewise.
5878         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5879         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5880         Undefine.
5881         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5882         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5883         Likewise.
5884         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5885         Likewise.
5886         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5887         Likewise.
5888         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5889         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5890         Undefine.
5891         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5892         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5893         Likewise.
5894
5895         [BZ #16648]
5896         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5898         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5899
5900 2014-03-31  Will Newton  <will.newton@linaro.org>
5901
5902         * benchtests/Makefile (bench): Add ffs and ffsll to list
5903         of tests.
5904         * benchtests/ffs-inputs: New file.
5905         * benchtests/ffsll-inputs: Likewise.
5906
5907 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5908
5909         [BZ #16770]
5910         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5911         too large before casting to int.
5912         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5913         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5914         * math/libm-test.inc (scalb_test_data): Add more tests.
5915
5916 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5917
5918         * benchtests/Makefile (DETAILED_OPT): New make option.
5919         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5920         set.
5921         * benchtests/bench-skeleton.c: Include stdbool.h.
5922         (main): Store and print timings per input.
5923         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5924         member to each argument value.
5925         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5926         (_print_arg_data): Initialize per-input timing to 0.
5927
5928         * benchtests/Makefile (timing-type): New binary.
5929         (bench-clean): Also remove bench-timing-type.
5930         (bench): New target for timing-type.
5931         (bench-func): Print output in JSON format.
5932         * benchtests/bench-skeleton.c (main): Print output in JSON
5933         format.
5934         * benchtests/bench-timing-type.c: New file.
5935         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5936         (TIMING_PRINT_STATS): Remove.
5937         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5938         name separately.
5939
5940         * benchtests/bench-modf.c: Remove.
5941         * benchtests/modf-inputs: New inputs file.
5942
5943 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5944
5945         [BZ #16362]
5946         * math/s_clog10.c (M_PI_LOG10E): New macro.
5947         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5948         imaginary parts are 0.
5949         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5950         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5951         imaginary parts are 0.
5952         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5953         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5954         imaginary parts are 0.
5955         * math/libm-test.inc (clog10_test_data): Update expected results
5956         for when real and imaginary parts are 0.
5957
5958 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5959
5960         * elf/dl-load.c: Finish conversion of __builtin_expect into
5961         __glibc_{un}likely.
5962
5963 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5964
5965         [BZ #16348]
5966         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5967         1+x for argument with exponent below -67.
5968         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5969         Likewise.
5970         * math/auto-libm-test-in: Add more tests of exp.
5971         * math/auto-libm-test-out: Regenerated.
5972
5973 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5974
5975         [BZ #16759]
5976         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5977         (nscd_getnetgrent): Use it.
5978
5979         [BZ #16760]
5980         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5981         of stpcpy.
5982
5983 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5984
5985         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5986         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5987         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5988         (lll_robust_unlock): Remove out of line section. Use cfi
5989         intrinsics.
5990         (LLL_STUB_UNWIND_INFO*): Remove.
5991         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5992         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5993         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5994         (lll_robust_unlock): Remove out of line section. Use cfi
5995         intrinsics.
5996         (LLL_STUB_UNWIND_INFO*): Remove.
5997
5998 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5999
6000         [BZ #16758]
6001         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6002         blank values.
6003
6004 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6005
6006         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6007
6008 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6009
6010         [BZ #16198]
6011         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6012         fnstenv.
6013         * math/test-fenv-preserve.c: New file.
6014         * math/Makefile (tests): Add test-fenv-preserve.
6015
6016 2014-03-26  Will Newton <will.newton@linaro.org>
6017
6018         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6019
6020 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6021
6022         * scripts/versionlist.awk: Partition the version sets and emit all
6023         GLIBC_* (sorted) before all others (sorted).
6024
6025 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6026
6027         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6028         GLIBC_2.2.5 version.
6029
6030 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6031
6032         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6033         calls.
6034
6035         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6036         previous change.
6037
6038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6039
6040 2014-03-25  Andreas Schwab  <schwab@suse.de>
6041
6042         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6043         label to be used after in6ailist is initialized.
6044
6045 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6046
6047         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6048         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6049
6050 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6051
6052         [BZ #16357]
6053         [BZ #16599]
6054         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6055         min_plus_half.
6056         (fp_formats): Update initializers.
6057         (init_fp_formats): Initialize new field.
6058         (output_for_one_input_case): Allow underflow for results up to
6059         min_plus_half.
6060         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6061         * math/auto-libm-test-in: Don't mark some underflows from asin and
6062         atanh as spurious.
6063         * math/auto-libm-test-out: Regenerated.
6064         * sysdeps/i386/fpu/libm-test-ulps: Update.
6065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6066
6067 2014-03-25  Andreas Schwab  <schwab@suse.de>
6068
6069         * libio/Makefile (tst-ftell-partial-wide-ENV)
6070         (tst-ftell-active-handler-ENV): Define.
6071
6072 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6073
6074         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6075
6076 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6077
6078         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6079
6080 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6081
6082         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6083         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6084         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6085
6086 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6087
6088         [BZ #16634]
6089         * elf/dl-load.c (open_verify): Add mode parameter.
6090         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6091         (open_path): Change from boolean 'secure' to complete flag 'mode'
6092         (_dl_map_object): Adjust.
6093         * elf/Makefile (tests): Add tst-dlopen-aout.
6094         * elf/tst-dlopen-aout.c: New test.
6095
6096 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6097
6098         [BZ #16714]
6099         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6100         (struct stat): Rename member pad0 to __glibc_reserved0.
6101
6102         [BZ #16712]
6103         * sysdeps/s390/s390-32/bits/wordsize.h
6104         (__WORDSIZE32_SIZE_ULONG): New define.
6105         * sysdeps/s390/s390-64/bits/wordsize.h
6106         (__WORDSIZE32_SIZE_ULONG): Likewise.
6107         * sysdeps/generic/stdint.h (SIZE_MAX):
6108         Define as UL if __WORDSIZE32_SIZE_ULONG.
6109
6110         [BZ #16713]
6111         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6112         (__glibc_reserved0): New variable.
6113         (sa_flags): Change type to int.
6114
6115         * posix/Makefile (before-compile): Use += before-compile instead
6116         of a :=.
6117
6118         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6119         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6120
6121 2014-03-20  Andreas Schwab  <schwab@suse.de>
6122
6123         [BZ #16743]
6124         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6125         non-matching result from nscd.
6126
6127 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6128
6129         * scripts/bench.py: Moved to ...
6130         * benchtests/scripts/bench.py: ... here.
6131         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6132
6133 2014-03-24  Andreas Schwab  <schwab@suse.de>
6134
6135         [BZ #16002]
6136         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6137         alloca_account and account alloca use for struct in6ailist.
6138
6139 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6140
6141         [BZ #16284]
6142         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6143         rounding mode to recompute results that overflow to infinity or
6144         underflow to zero.
6145         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6146         bug 16284.
6147         * math/auto-libm-test-out: Regenerated.
6148         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6149         (ccosh_test): Likewise.
6150         (csin_test_data): Use plus_oflow.
6151         (csin_test): Use ALL_RM_TEST.
6152         (csinh_test_data): Use plus_oflow.
6153         (csinh_test): Use ALL_RM_TEST.
6154         * sysdeps/i386/fpu/libm-test-ulps: Update.
6155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6156
6157 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6158
6159         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6160         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6161         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6162
6163         [BZ #16731]
6164         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6165         when x - 1 is zero.
6166         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6167         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6168         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6169         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6170         argument is 1.
6171         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6172         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6173         zero.
6174         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6175         * sysdeps/i386/fpu/libm-test-ulps: Update.
6176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6177
6178 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6179
6180         * scripts/bench.pl: Remove file.
6181         * scripts/bench.py: New benchmark script.
6182         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6183         * benchtests/README: Mention python dependency.
6184         * scripts/pylintrc: New file.
6185         * scripts/pylint: New file.
6186
6187         * bits/mathdef.h: Use #ifdef instead of #if.
6188         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6189         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6190         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6191         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6192         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6193         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6194
6195 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6196             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6197
6198         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6200         and strpbrk-ppc64 objects.
6201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6202         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6203         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6204         multiarch strpbrk for POWER7.
6205         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6206         multiarch strpbrk for PPC64.
6207         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6208         ifunc selector.
6209         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6210         strpbrk for POWER7.
6211
6212 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6213
6214         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6215         (atan_test): Likewise.
6216         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6217         (atanh_test): Use ALL_RM_TEST.
6218         (atan2_test_data): Likewise.
6219         (cabs_test): Likewise.
6220         (cacosh_test): Likewise.
6221         (carg_test): Likewise.
6222         (casin_test): Likewise.
6223         (casinh_test): Likewise.
6224         (cbrt_test): Likewise.
6225         (csqrt_test): Likewise.
6226         (erf_test): Likewise.
6227         (erfc_test): Likewise.
6228         (pow10_test): Likewise.
6229         (exp2_test): Likewise.
6230         (hypot_test): Likewise.
6231         (j0_test): Likewise.
6232         (j1_test): Likewise.
6233         (lgamma_test): Likewise.
6234         (gamma_test): Likewise.
6235         (sincos_test): Likewise.
6236         (tanh_test): Likewise.
6237         (y0_test): Likewise.
6238         (y1_test): Likewise.
6239         * sysdeps/i386/fpu/libm-test-ulps: Update.
6240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6241
6242 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6243
6244         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6246         and strcspn-ppc64 objects.
6247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6248         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6249         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6250         multiarch strcspn for POWER7.
6251         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6252         multiarch strcspn for PPC64.
6253         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6254         ifunc selector.
6255         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6256         strcspn for POWER7.
6257
6258 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6259
6260         * math/gen-libm-test.pl (generate_testfile): Expect only function
6261         name as argument to AUTO_TESTS_* and pass results for all rounding
6262         modes to parse_args.
6263         (parse_auto_input): Separate inputs of automatic tests from
6264         outputs before storing in %auto_tests.
6265         * math/libm-test.inc (acos_test_data): Update call to
6266         AUTO_TESTS_f_f.
6267         (acos_test): Use ALL_RM_TEST.
6268         (acos_tonearest_test_data): Remove.
6269         (acos_test_tonearest): Likewise.
6270         (acos_towardzero_test_data): Likewise.
6271         (acos_test_towardzero): Likewise.
6272         (acos_downward_test_data): Likewise.
6273         (acos_test_downward): Likewise.
6274         (acos_upward_test_data): Likewise.
6275         (acos_test_upward): Likewise.
6276         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6277         (asin_test_data): Likewise.
6278         (asin_test): Use ALL_RM_TEST.
6279         (asin_tonearest_test_data): Remove.
6280         (asin_test_tonearest): Likewise.
6281         (asin_towardzero_test_data): Likewise.
6282         (asin_test_towardzero): Likewise.
6283         (asin_downward_test_data): Likewise.
6284         (asin_test_downward): Likewise.
6285         (asin_upward_test_data): Likewise.
6286         (asin_test_upward): Likewise.
6287         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6288         (atan_test_data): Likewise.
6289         (atanh_test_data): Likewise.
6290         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6291         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6292         (carg_test_data): Likewise.
6293         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6294         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6295         (ccosh_test_data): Likewise.
6296         (cexp_test_data): Likewise.
6297         (clog_test_data): Likewise.
6298         (clog10_test_data): Likewise.
6299         (cos_test_data): Update call to AUTO_TESTS_f_f.
6300         (cos_test): Use ALL_RM_TEST.
6301         (cos_tonearest_test_data): Remove.
6302         (cos_test_tonearest): Likewise.
6303         (cos_towardzero_test_data): Likewise.
6304         (cos_test_towardzero): Likewise.
6305         (cos_downward_test_data): Likewise.
6306         (cos_test_downward): Likewise.
6307         (cos_upward_test_data): Likewise.
6308         (cos_test_upward): Likewise.
6309         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6310         (cosh_test): Use ALL_RM_TEST.
6311         (cosh_tonearest_test_data): Remove.
6312         (cosh_test_tonearest): Likewise.
6313         (cosh_towardzero_test_data): Likewise.
6314         (cosh_test_towardzero): Likewise.
6315         (cosh_downward_test_data): Likewise.
6316         (cosh_test_downward): Likewise.
6317         (cosh_upward_test_data): Likewise.
6318         (cosh_test_upward): Likewise.
6319         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6320         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6321         (ctan_test_data): Likewise.
6322         (ctan_test): Use ALL_RM_TEST.
6323         (ctan_tonearest_test_data): Remove.
6324         (ctan_test_tonearest): Likewise.
6325         (ctan_towardzero_test_data): Likewise.
6326         (ctan_test_towardzero): Likewise.
6327         (ctan_downward_test_data): Likewise.
6328         (ctan_test_downward): Likewise.
6329         (ctan_upward_test_data): Likewise.
6330         (ctan_test_upward): Likewise.
6331         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6332         (ctanh_test): Use ALL_RM_TEST.
6333         (ctanh_tonearest_test_data): Remove.
6334         (ctanh_test_tonearest): Likewise.
6335         (ctanh_towardzero_test_data): Likewise.
6336         (ctanh_test_towardzero): Likewise.
6337         (ctanh_downward_test_data): Likewise.
6338         (ctanh_test_downward): Likewise.
6339         (ctanh_upward_test_data): Likewise.
6340         (ctanh_test_upward): Likewise.
6341         (erf_test_data): Update call to AUTO_TESTS_f_f.
6342         (erfc_test_data): Likewise.
6343         (exp_test_data): Likewise.
6344         (exp_test): Use ALL_RM_TEST.
6345         (exp_tonearest_test_data): Remove.
6346         (exp_test_tonearest): Likewise.
6347         (exp_towardzero_test_data): Likewise.
6348         (exp_test_towardzero): Likewise.
6349         (exp_downward_test_data): Likewise.
6350         (exp_test_downward): Likewise.
6351         (exp_upward_test_data): Likewise.
6352         (exp_test_upward): Likewise.
6353         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6354         (exp10_test): Use ALL_RM_TEST.
6355         (exp10_tonearest_test_data): Remove.
6356         (exp10_test_tonearest): Likewise.
6357         (exp10_towardzero_test_data): Likewise.
6358         (exp10_test_towardzero): Likewise.
6359         (exp10_downward_test_data): Likewise.
6360         (exp10_test_downward): Likewise.
6361         (exp10_upward_test_data): Likewise.
6362         (exp10_test_upward): Likewise.
6363         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6364         (expm1_test_data): Likewise.
6365         (expm1_test): Use ALL_RM_TEST.
6366         (expm1_tonearest_test_data): Remove.
6367         (expm1_test_tonearest): Likewise.
6368         (expm1_towardzero_test_data): Likewise.
6369         (expm1_test_towardzero): Likewise.
6370         (expm1_downward_test_data): Likewise.
6371         (expm1_test_downward): Likewise.
6372         (expm1_upward_test_data): Likewise.
6373         (expm1_test_upward): Likewise.
6374         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6375         (fma_test): Use ALL_RM_TEST.
6376         (fma_towardzero_test_data): Remove.
6377         (fma_test_towardzero): Likewise.
6378         (fma_downward_test_data): Likewise.
6379         (fma_test_downward): Likewise.
6380         (fma_upward_test_data): Likewise.
6381         (fma_test_upward): Likewise.
6382         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6383         (j0_test_data): Update call to AUTO_TESTS_f_f.
6384         (j1_test_data): Likewise.
6385         (jn_test_data): Update call to AUTO_TESTS_if_f.
6386         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6387         (log_test_data): Update call to AUTO_TESTS_f_f.
6388         (log10_test_data): Likewise.
6389         (log1p_test_data): Likewise.
6390         (log2_test_data): Likewise.
6391         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6392         (pow_tonearest_test_data): Likewise.
6393         (sin_test_data): Update call to AUTO_TESTS_f_f.
6394         (sin_test): Use ALL_RM_TEST.
6395         (sin_tonearest_test_data): Remove.
6396         (sin_test_tonearest): Likewise.
6397         (sin_towardzero_test_data): Likewise.
6398         (sin_test_towardzero): Likewise.
6399         (sin_downward_test_data): Likewise.
6400         (sin_test_downward): Likewise.
6401         (sin_upward_test_data): Likewise.
6402         (sin_test_upward): Likewise.
6403         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6404         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6405         (sinh_test): Use ALL_RM_TEST.
6406         (sinh_tonearest_test_data): Remove.
6407         (sinh_test_tonearest): Likewise.
6408         (sinh_towardzero_test_data): Likewise.
6409         (sinh_test_towardzero): Likewise.
6410         (sinh_downward_test_data): Likewise.
6411         (sinh_test_downward): Likewise.
6412         (sinh_upward_test_data): Likewise.
6413         (sinh_test_upward): Likewise.
6414         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6415         (sqrt_test): Use ALL_RM_TEST.
6416         (sqrt_tonearest_test_data): Remove.
6417         (sqrt_test_tonearest): Likewise.
6418         (sqrt_towardzero_test_data): Likewise.
6419         (sqrt_test_towardzero): Likewise.
6420         (sqrt_downward_test_data): Likewise.
6421         (sqrt_test_downward): Likewise.
6422         (sqrt_upward_test_data): Likewise.
6423         (sqrt_test_upward): Likewise.
6424         (tan_test_data): Update call to AUTO_TESTS_f_f.
6425         (tan_test): Use ALL_RM_TEST.
6426         (tan_tonearest_test_data): Remove.
6427         (tan_test_tonearest): Likewise.
6428         (tan_towardzero_test_data): Likewise.
6429         (tan_test_towardzero): Likewise.
6430         (tan_downward_test_data): Likewise.
6431         (tan_test_downward): Likewise.
6432         (tan_upward_test_data): Likewise.
6433         (tan_test_upward): Likewise.
6434         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6435         (tgamma_test_data): Likewise.
6436         (y0_test_data): Likewise.
6437         (y1_test_data): Likewise.
6438         (yn_test_data): Update call to AUTO_TESTS_if_f.
6439         (main): Do not call removed functions.
6440
6441 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6442
6443         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6444         (ldexp_test_data): Remove.
6445         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6446         scalbn_test_data.
6447         (scalb_test): Use ALL_RM_TEST.
6448
6449 2014-03-19  Andreas Schwab  <schwab@suse.de>
6450
6451         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6452
6453 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6454
6455         [BZ #16649]
6456         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6457         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6458         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6459         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6460         (__ASSUME_PREADV): Undefine.
6461         (__ASSUME_PWRITEV): Likewise.
6462
6463 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6464
6465         * bits/mman-linux.h: Add comment about non-Linux use.
6466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6467         bits/mman-linux.h resting place.
6468
6469         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6470         * bits/mman-linux.h: ... here.
6471
6472 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6473
6474         * conform/conformtest.pl: Add standard definition when calling C
6475         preprocessor on data files.
6476         (checknamespace): Remove unused variable.
6477
6478 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6479
6480         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6481         minus_oflow, plus_uflow and minus_uflow in expected results.
6482         * math/libm-test.inc (scalbn_test_data): Add more tests of
6483         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6484         minus_uflow.
6485         (scalbn_test): Use ALL_RM_TEST.
6486         (scalbln_test_data): Add more tests of negative arguments.  Use
6487         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6488         (scalbln_test): Use ALL_RM_TEST.
6489
6490 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6491
6492         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6493
6494 2014-03-18  Will Newton  <will.newton@linaro.org>
6495
6496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6497         inaccurate comment.
6498
6499 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6500
6501         * Makerules [!subdir] (check-abi): Exit with error status if a
6502         test failed.
6503
6504 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6505
6506         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6507         for rint.  Include results for all rounding modes.
6508         (nearbyint_test): Use ALL_RM_TEST.
6509         (rint_test_data): Include all tests used for nearbyint.
6510
6511 2014-03-17  Will Newton  <will.newton@linaro.org>
6512
6513         * nptl/sysdeps/pthread/pthread.h: Revert previous
6514         change.
6515
6516         * sysdeps/generic/ldsodefs.h: Revert previous
6517         change.
6518
6519         * libio/genops.c: Revert previous change.
6520         * libio/libioP.h: Likewise.
6521         * stdio-common/vfprintf.c: Likewise.
6522
6523         * sysdeps/generic/math_private.h: Revert previous
6524         change.
6525
6526         * sysdeps/generic/math_private.h: Check whether
6527         HAVE_RM_CTX is defined with #ifdef rather
6528         than #if.
6529
6530         * argp/argp-fmtstream.h: Check whether
6531         __STRICT_ANSI__ is defined with #ifdef rather
6532         than #if.
6533         * argp/argp.h: Likewise.
6534
6535         * libio/genops.c: Check whether
6536         _IO_JUMPS_OFFSET is defined with #ifdef rather
6537         than #if.
6538         * libio/libioP.h: Likewise.
6539         * stdio-common/vfprintf.c: Likewise.
6540
6541         * sysdeps/generic/ldsodefs.h: Check whether
6542         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6543         than #if.
6544
6545         * nptl/sysdeps/pthread/pthread.h: Check
6546         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6547         its value.
6548
6549 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6550
6551         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6552         setting O_APPEND.
6553         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6554         test case.
6555
6556         [BZ #16680]
6557         * libio/fileops.c (_IO_file_open): Seek to end of file but
6558         don't cache the offset.
6559         (get_file_offset): Remove function.
6560         (do_ftell): Use cached offset when available.
6561         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6562         don't cache the offset.
6563         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6564         case.
6565         (do_one_test): Call it.
6566         (do_ftell_test): Fix up expected old offset for a+ mode.
6567         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6568         available.
6569
6570         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6571         up test status with function return status.
6572         (do_write_test): Likewise.
6573         (do_append_test): Likewise.
6574
6575         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6576         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6577         Remove.
6578
6579 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6580
6581         * math/gen-libm-test.pl (parse_args): Handle results specified for
6582         each rounding mode separately.
6583         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6584         tests and results from lrint_tonearest_test_data,
6585         lrint_towardzero_test_data, lrint_downward_test_data and
6586         lrint_upward_test_data.
6587         (lrint_test): Use ALL_RM_TEST.
6588         (lrint_tonearest_test_data): Remove.
6589         (lrint_test_tonearest): Likewise.
6590         (lrint_towardzero_test_data): Likewise.
6591         (lrint_test_towardzero): Likewise.
6592         (lrint_downward_test_data): Likewise.
6593         (lrint_test_downward): Likewise.
6594         (lrint_upward_test_data): Likewise.
6595         (lrint_test_upward): Likewise.
6596         (llrint_test_data): Merge in per-rounding-mode tests and results
6597         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6598         llrint_downward_test_data and llrint_upward_test_data.
6599         (llrint_test): Use ALL_RM_TEST.
6600         (llrint_tonearest_test_data): Remove.
6601         (llrint_test_tonearest): Likewise.
6602         (llrint_towardzero_test_data): Likewise.
6603         (llrint_test_towardzero): Likewise.
6604         (llrint_downward_test_data): Likewise.
6605         (llrint_test_downward): Likewise.
6606         (llrint_upward_test_data): Likewise.
6607         (llrint_test_upward): Likewise.
6608         (rint_test_data): Merge in per-rounding-mode tests and results
6609         from rint_tonearest_test_data, rint_towardzero_test_data,
6610         rint_downward_test_data and rint_upward_test_data.  Add
6611         per-rounding-mode results for tests not in those arrays.
6612         (rint_test): Use ALL_RM_TEST.
6613         (rint_tonearest_test_data): Remove.
6614         (rint_test_tonearest): Likewise.
6615         (rint_towardzero_test_data): Likewise.
6616         (rint_test_towardzero): Likewise.
6617         (rint_downward_test_data): Likewise.
6618         (rint_test_downward): Likewise.
6619         (rint_upward_test_data): Likewise.
6620         (rint_test_upward): Likewise.
6621         (main): Don't call removed functions.
6622
6623 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6624
6625         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6626         "Compiled on ..." crapola.  It is anti-useful.
6627
6628 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6629
6630         * scripts/evaluate-test.sh: Handle fourth argument to determine
6631         whether test run should stop on failure.
6632         * Makeconfig (stop-on-test-failure): New variable.
6633         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6634         $(stop-on-test-failure).
6635         * Makefile (tests): Give a summary of results from testing and
6636         exit with failure status if they include an ERROR or FAIL.
6637         (xtests): Likewise.
6638         * manual/install.texi (Configuring and compiling): Mention
6639         stop-on-test-failure=y.
6640         * INSTALL: Regenerated.
6641
6642 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6643
6644         * scripts/versionlist.awk: New file.
6645         * Makerules [$(build-shared) = yes]
6646         (postclean-generated): Add Versions.def, not Versions.def.v and
6647         Versions.def.v.i.
6648         ($(common-objpfx)Versions.def.v.i): Target removed.
6649         ($(common-objpfx)Versions.def): New target.
6650         ($(common-objpfx)Versions.all): Depend on that rather that
6651         $(common-objpfx)Versions.def.v.
6652         * Versions.def: File removed.
6653
6654         * Makeconfig (+gccwarn): Add -Wundef.
6655         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6656         a dl-sysdep.h breaking its contract.
6657         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6658         * include/stackinfo.h: New file.
6659         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6660         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6661         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6662         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6663         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6664         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6665         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6666         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6667         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6668         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6669         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6670         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6671         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6672         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6673         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6674
6675 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6676
6677         [BZ #16707]
6678         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6679         implementation.
6680         * math/libm-test.inc (round_test_data): Add more tests.
6681
6682         [BZ #16706]
6683         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6684         implementation.
6685         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6686
6687         [BZ #16701]
6688         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6689         implementation.
6690         * math/libm-test.inc (ceil_test_data): Add more tests.
6691
6692         * math/libm-test.inc (trunc_test_data): Add more tests related to
6693         BZ#16414.
6694
6695 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6696
6697         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6698         with #if rather than #ifdef.
6699         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6700
6701 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6702
6703         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6704         first.  Disable AVX-512 GCC support if assembler doesn't support
6705         it.
6706         * sysdeps/x86_64/configure: Regenerated.
6707
6708 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6709
6710         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6711         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6712         (__old_pthread_attr_setstack): Likewise.
6713         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6714         [!_STACK_GROWS_DOWN]: Likewise.
6715
6716 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6717
6718         * config.make.in (have-bash2): Delete.
6719         * configure.ac (libc_cv_have_bash2): Delete.
6720         * configure: Regenerate.
6721         * elf/Makefile (common-ldd-rewrite): Rename to ...
6722         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6723         (sh-ldd-rewrite): Delete.
6724         (bash-ldd-rewrite): Delete.
6725         (have-bash2): Delete checks.
6726         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6727         ldd-rewrite.
6728
6729         * config.make.in (have-ksh): Delete.
6730         (KSH): Delete.
6731         * configure.ac (libc_cv_have_ksh): Delete.
6732         * configure: Regenerate.
6733
6734         * elf/Makefile: Delete $(have-ksh) check.
6735         ($(objpfx)sotruss): Change KSH to BASH.
6736         * elf/sotruss.ksh: Rename to ...
6737         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6738         function style to match POSIX.  Drop ksh vim mode setting.
6739
6740         * manual/time.texi (Specifying the Time Zone with TZ): Change
6741         Tuesday to Thursday.
6742
6743         * debug/tst-longjmp_chk2.c: Update header comment.
6744         (stackoverflow_handler): Add comment.  Call assert on pass value.
6745
6746 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6747
6748         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6749         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6750         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6751         (La_x86_64_vector): Add zmm.
6752         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6753         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6754         ($(objpfx)tst-audit10): New target.
6755         ($(objpfx)tst-audit10.out): Likewise.
6756         (tst-audit10-ENV): New.
6757         (AVX512-CFLAGS): Likewise.
6758         (CFLAGS-tst-audit10.c): Likewise.
6759         (CFLAGS-tst-auditmod10a.c): Likewise.
6760         (CFLAGS-tst-auditmod10b.c): Likewise.
6761         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6762         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6763         * sysdeps/x86_64/configure: Regenerated.
6764         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6765         AVX-512 zmm register support.
6766         (_dl_x86_64_save_sse): Likewise.
6767         (_dl_x86_64_restore_sse): Likewise.
6768         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6769         size vector registers.
6770         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6771         (ZMM_SIZE): Likewise.
6772         * sysdeps/x86_64/tst-audit10.c: New file.
6773         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6774         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6775
6776 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6777
6778         * configure.ac (HAVE_EHDR_START): New check.
6779         * configure: Regenerated.
6780         * config.h.in (HAVE_EHDR_START): New #undef.
6781         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6782         assuming the lowest-addressed segment maps the start of the file.
6783
6784 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6785
6786         * INSTALL: Regenerated.
6787
6788 2014-03-13  Will Newton  <will.newton@linaro.org>
6789
6790         * manual/setjmp.texi (System V contexts): Improve
6791         clarity and grammar of documentation.
6792
6793 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6794
6795         [BZ #16381]
6796         * elf/Makefile (tests): Add tst-pie2.
6797         (tests-pie): Add tst-pie2.
6798         * elf/tst-pie2.c: New file.
6799         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6800         for ET_EXEC.
6801         * elf/rtld.c (map_doit): Load executable as lt_executable.
6802         (dl_main): Likewise.
6803
6804 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6805
6806         [BZ #16642]
6807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6808         (__ASSUME_PSELECT): Undefine.
6809
6810 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6811
6812         [BZ #16689]
6813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6814         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6815         static build.
6816         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6817         selector for static builds.
6818
6819 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6820
6821         [BZ #16695]
6822         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6823         key in the buffer.
6824
6825 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6826
6827         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6828         IFUNC selector for static builds.
6829
6830 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6831
6832         * sysdeps/mips/math_private.h [__mips_hard_float]
6833         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6834         libc_feresetround_mips_ctx.
6835         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6836         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6837         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6838
6839         [BZ #16677]
6840         * math/s_nextafter.c (__nextafter): Do not return value from
6841         overflowing computation.
6842         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6843         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6844         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6845         Likewise.
6846         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6847         Likewise.
6848         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6849         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6850
6851 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6852
6853         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6854         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6855         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6856         the new mov targetting sp.
6857
6858 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6859
6860         [BZ #16683]
6861         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6862         Define it for static builds as well.
6863         (NO_BZERO_IMPL): Likewise.
6864
6865 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6866
6867         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6868         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6869         multiarch strspn for PPC64.
6870         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6871         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6873         (__libc_ifunc_impl_list): Likewise.
6874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6875         multiarch optimizations
6876         * string/strspn.c (strspn): Using macro to redefine symbol name.
6877
6878 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6879             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6880
6881         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6882         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6883         multiarch strncat for PPC64.
6884         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6885         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6887         (__libc_ifunc_impl_list): Likewise.
6888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6889         multiarch optimizations
6890
6891 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6892
6893         [BZ #16639]
6894         * nscd/nscd.service: Make service type forking.
6895
6896 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6897
6898         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6899         sign in non default rounding modes.
6900         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6901
6902 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6903
6904         * math/libm-test.inc (ALL_RM_TEST): New macro.
6905         (ceil_test): Use ALL_RM_TEST.
6906         (cimag_test): Likewise.
6907         (conj_test): Likewise.
6908         (copysign_test): Likewise.
6909         (cproj_test): Likewise.
6910         (creal_test): Likewise.
6911         (fabs_test): Likewise.
6912         (floor_test): Likewise.
6913         (fmax_test): Likewise.
6914         (fmin_test): Likewise.
6915         (fmod_test): Likewise.
6916         (fpclassify_test): Likewise.
6917         (frexp_test): Likewise.
6918         (ilogb_test): Likewise.
6919         (isfinite_test): Likewise.
6920         (finite_test): Likewise.
6921         (isgreater_test): Likewise.
6922         (isgreaterequal_test): Likewise.
6923         (isinf_test): Likewise.
6924         (isless_test): Likewise.
6925         (islessequal_test): Likewise.
6926         (islessgreater_test): Likewise.
6927         (isnan_test): Likewise.
6928         (isnormal_test): Likewise.
6929         (issignaling_test): Likewise.
6930         (isunordered_test): Likewise.
6931         (logb_test): Likewise.
6932         (logb_downward_test_data): Remove.
6933         (logb_test_downward): Likewise.
6934         (lround_test): Use ALL_RM_TEST.
6935         (llround_test): Likewise.
6936         (modf_test): Likewise.
6937         (nexttoward_test): Likewise.
6938         (remainder_test): Likewise.
6939         (drem_test): Likewise.
6940         (remainder_tonearest_test_data): Likewise.
6941         (remainder_test_tonearest): Likewise.
6942         (drem_test_tonearest): Likewise.
6943         (remainder_towardzero_test_data): Likewise.
6944         (remainder_test_towardzero): Likewise.
6945         (drem_test_towardzero): Likewise.
6946         (remainder_downward_test_data): Likewise.
6947         (remainder_test_downward): Likewise.
6948         (drem_test_downward): Likewise.
6949         (remainder_upward_test_data): Likewise.
6950         (remainder_test_upward): Likewise.
6951         (drem_test_upward): Likewise.
6952         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6953         (round_test): Use ALL_RM_TEST.
6954         (signbit_test): Likewise.
6955         (trunc_test): Likewise.
6956         (significand_test): Likewise.
6957         (main): Don't call removed functions.
6958
6959 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6960
6961         [BZ #16674]
6962         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6963         || __USE_XOPEN2K8].
6964         (ILL_ILLOPN): Likewise.
6965         (ILL_ILLADR): Likewise.
6966         (ILL_ILLTRP): Likewise.
6967         (ILL_PRVOPC): Likewise.
6968         (ILL_PRVREG): Likewise.
6969         (ILL_COPROC): Likewise.
6970         (ILL_BADSTK): Likewise.
6971         (FPE_INTDIV): Likewise.
6972         (FPE_INTOVF): Likewise.
6973         (FPE_FLTDIV): Likewise.
6974         (FPE_FLTOVF): Likewise.
6975         (FPE_FLTUND): Likewise.
6976         (FPE_FLTRES): Likewise.
6977         (FPE_FLTINV): Likewise.
6978         (FPE_FLTSUB): Likewise.
6979         (SEGV_MAPERR): Likewise.
6980         (SEGV_ACCERR): Likewise.
6981         (BUS_ADRALN): Likewise.
6982         (BUS_ADRERR): Likewise.
6983         (BUS_OBJERR): Likewise.
6984         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6985         (TRAP_TRACE): Likewise.
6986         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6987         __USE_XOPEN2K8].
6988         (CLD_KILLED): Likewise.
6989         (CLD_DUMPED): Likewise.
6990         (CLD_TRAPPED): Likewise.
6991         (CLD_STOPPED): Likewise.
6992         (CLD_CONTINUED): Likewise.
6993         (POLL_IN): Likewise.
6994         (POLL_OUT): Likewise.
6995         (POLL_MSG): Likewise.
6996         (POLL_ERR): Likewise.
6997         (POLL_PRI): Likewise.
6998         (POLL_HUP): Likewise.
6999         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7000         Likewise.
7001         (ILL_ILLOPN): Likewise.
7002         (ILL_ILLADR): Likewise.
7003         (ILL_ILLTRP): Likewise.
7004         (ILL_PRVOPC): Likewise.
7005         (ILL_PRVREG): Likewise.
7006         (ILL_COPROC): Likewise.
7007         (ILL_BADSTK): Likewise.
7008         (FPE_INTDIV): Likewise.
7009         (FPE_INTOVF): Likewise.
7010         (FPE_FLTDIV): Likewise.
7011         (FPE_FLTOVF): Likewise.
7012         (FPE_FLTUND): Likewise.
7013         (FPE_FLTRES): Likewise.
7014         (FPE_FLTINV): Likewise.
7015         (FPE_FLTSUB): Likewise.
7016         (SEGV_MAPERR): Likewise.
7017         (SEGV_ACCERR): Likewise.
7018         (BUS_ADRALN): Likewise.
7019         (BUS_ADRERR): Likewise.
7020         (BUS_OBJERR): Likewise.
7021         (BUS_MCEERR_AR): Likewise.
7022         (BUS_MCEERR_AO): Likewise.
7023         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7024         (TRAP_TRACE): Likewise.
7025         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7026         __USE_XOPEN2K8].
7027         (CLD_KILLED): Likewise.
7028         (CLD_DUMPED): Likewise.
7029         (CLD_TRAPPED): Likewise.
7030         (CLD_STOPPED): Likewise.
7031         (CLD_CONTINUED): Likewise.
7032         (POLL_IN): Likewise.
7033         (POLL_OUT): Likewise.
7034         (POLL_MSG): Likewise.
7035         (POLL_ERR): Likewise.
7036         (POLL_PRI): Likewise.
7037         (POLL_HUP): Likewise.
7038         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7039         (ILL_ILLOPN): Likewise.
7040         (ILL_ILLADR): Likewise.
7041         (ILL_ILLTRP): Likewise.
7042         (ILL_PRVOPC): Likewise.
7043         (ILL_PRVREG): Likewise.
7044         (ILL_COPROC): Likewise.
7045         (ILL_BADSTK): Likewise.
7046         (FPE_INTDIV): Likewise.
7047         (FPE_INTOVF): Likewise.
7048         (FPE_FLTDIV): Likewise.
7049         (FPE_FLTOVF): Likewise.
7050         (FPE_FLTUND): Likewise.
7051         (FPE_FLTRES): Likewise.
7052         (FPE_FLTINV): Likewise.
7053         (FPE_FLTSUB): Likewise.
7054         (SEGV_MAPERR): Likewise.
7055         (SEGV_ACCERR): Likewise.
7056         (BUS_ADRALN): Likewise.
7057         (BUS_ADRERR): Likewise.
7058         (BUS_OBJERR): Likewise.
7059         (BUS_MCEERR_AR): Likewise.
7060         (BUS_MCEERR_AO): Likewise.
7061         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7062         (TRAP_TRACE): Likewise.
7063         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7064         __USE_XOPEN2K8].
7065         (CLD_KILLED): Likewise.
7066         (CLD_DUMPED): Likewise.
7067         (CLD_TRAPPED): Likewise.
7068         (CLD_STOPPED): Likewise.
7069         (CLD_CONTINUED): Likewise.
7070         (POLL_IN): Likewise.
7071         (POLL_OUT): Likewise.
7072         (POLL_MSG): Likewise.
7073         (POLL_ERR): Likewise.
7074         (POLL_PRI): Likewise.
7075         (POLL_HUP): Likewise.
7076         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7077         Likewise.
7078         (ILL_ILLOPN): Likewise.
7079         (ILL_ILLADR): Likewise.
7080         (ILL_ILLTRP): Likewise.
7081         (ILL_PRVOPC): Likewise.
7082         (ILL_PRVREG): Likewise.
7083         (ILL_COPROC): Likewise.
7084         (ILL_BADSTK): Likewise.
7085         (ILL_BADIADDR): Likewise.
7086         (ILL_BREAK): Likewise.
7087         (FPE_INTDIV): Likewise.
7088         (FPE_INTOVF): Likewise.
7089         (FPE_FLTDIV): Likewise.
7090         (FPE_FLTOVF): Likewise.
7091         (FPE_FLTUND): Likewise.
7092         (FPE_FLTRES): Likewise.
7093         (FPE_FLTINV): Likewise.
7094         (FPE_FLTSUB): Likewise.
7095         (FPE_DECOVF): Likewise.
7096         (FPE_DECDIV): Likewise.
7097         (FPE_DECERR): Likewise.
7098         (FPE_INVASC): Likewise.
7099         (FPE_INVDEC): Likewise.
7100         (SEGV_MAPERR): Likewise.
7101         (SEGV_ACCERR): Likewise.
7102         (SEGV_PSTKOVF): Likewise.
7103         (BUS_ADRALN): Likewise.
7104         (BUS_ADRERR): Likewise.
7105         (BUS_OBJERR): Likewise.
7106         (BUS_MCEERR_AR): Likewise.
7107         (BUS_MCEERR_AO): Likewise.
7108         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7109         (TRAP_TRACE): Likewise.
7110         (TRAP_BRANCH): Likewise.
7111         (TRAP_HWBKPT): Likewise.
7112         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7113         __USE_XOPEN2K8].
7114         (CLD_KILLED): Likewise.
7115         (CLD_DUMPED): Likewise.
7116         (CLD_TRAPPED): Likewise.
7117         (CLD_STOPPED): Likewise.
7118         (CLD_CONTINUED): Likewise.
7119         (POLL_IN): Likewise.
7120         (POLL_OUT): Likewise.
7121         (POLL_MSG): Likewise.
7122         (POLL_ERR): Likewise.
7123         (POLL_PRI): Likewise.
7124         (POLL_HUP): Likewise.
7125         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7126         (ILL_ILLOPN): Likewise.
7127         (ILL_ILLADR): Likewise.
7128         (ILL_ILLTRP): Likewise.
7129         (ILL_PRVOPC): Likewise.
7130         (ILL_PRVREG): Likewise.
7131         (ILL_COPROC): Likewise.
7132         (ILL_BADSTK): Likewise.
7133         (FPE_INTDIV): Likewise.
7134         (FPE_INTOVF): Likewise.
7135         (FPE_FLTDIV): Likewise.
7136         (FPE_FLTOVF): Likewise.
7137         (FPE_FLTUND): Likewise.
7138         (FPE_FLTRES): Likewise.
7139         (FPE_FLTINV): Likewise.
7140         (FPE_FLTSUB): Likewise.
7141         (SEGV_MAPERR): Likewise.
7142         (SEGV_ACCERR): Likewise.
7143         (BUS_ADRALN): Likewise.
7144         (BUS_ADRERR): Likewise.
7145         (BUS_OBJERR): Likewise.
7146         (BUS_MCEERR_AR): Likewise.
7147         (BUS_MCEERR_AO): Likewise.
7148         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7149         (TRAP_TRACE): Likewise.
7150         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7151         __USE_XOPEN2K8].
7152         (CLD_KILLED): Likewise.
7153         (CLD_DUMPED): Likewise.
7154         (CLD_TRAPPED): Likewise.
7155         (CLD_STOPPED): Likewise.
7156         (CLD_CONTINUED): Likewise.
7157         (POLL_IN): Likewise.
7158         (POLL_OUT): Likewise.
7159         (POLL_MSG): Likewise.
7160         (POLL_ERR): Likewise.
7161         (POLL_PRI): Likewise.
7162         (POLL_HUP): Likewise.
7163         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7164         (ILL_ILLOPN): Likewise.
7165         (ILL_ILLADR): Likewise.
7166         (ILL_ILLTRP): Likewise.
7167         (ILL_PRVOPC): Likewise.
7168         (ILL_PRVREG): Likewise.
7169         (ILL_COPROC): Likewise.
7170         (ILL_BADSTK): Likewise.
7171         (FPE_INTDIV): Likewise.
7172         (FPE_INTOVF): Likewise.
7173         (FPE_FLTDIV): Likewise.
7174         (FPE_FLTOVF): Likewise.
7175         (FPE_FLTUND): Likewise.
7176         (FPE_FLTRES): Likewise.
7177         (FPE_FLTINV): Likewise.
7178         (FPE_FLTSUB): Likewise.
7179         (SEGV_MAPERR): Likewise.
7180         (SEGV_ACCERR): Likewise.
7181         (BUS_ADRALN): Likewise.
7182         (BUS_ADRERR): Likewise.
7183         (BUS_OBJERR): Likewise.
7184         (BUS_MCEERR_AR): Likewise.
7185         (BUS_MCEERR_AO): Likewise.
7186         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7187         (TRAP_TRACE): Likewise.
7188         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7189         __USE_XOPEN2K8].
7190         (CLD_KILLED): Likewise.
7191         (CLD_DUMPED): Likewise.
7192         (CLD_TRAPPED): Likewise.
7193         (CLD_STOPPED): Likewise.
7194         (CLD_CONTINUED): Likewise.
7195         (POLL_IN): Likewise.
7196         (POLL_OUT): Likewise.
7197         (POLL_MSG): Likewise.
7198         (POLL_ERR): Likewise.
7199         (POLL_PRI): Likewise.
7200         (POLL_HUP): Likewise.
7201         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7202         (ILL_ILLOPN): Likewise.
7203         (ILL_ILLADR): Likewise.
7204         (ILL_ILLTRP): Likewise.
7205         (ILL_PRVOPC): Likewise.
7206         (ILL_PRVREG): Likewise.
7207         (ILL_COPROC): Likewise.
7208         (ILL_BADSTK): Likewise.
7209         (FPE_INTDIV): Likewise.
7210         (FPE_INTOVF): Likewise.
7211         (FPE_FLTDIV): Likewise.
7212         (FPE_FLTOVF): Likewise.
7213         (FPE_FLTUND): Likewise.
7214         (FPE_FLTRES): Likewise.
7215         (FPE_FLTINV): Likewise.
7216         (FPE_FLTSUB): Likewise.
7217         (SEGV_MAPERR): Likewise.
7218         (SEGV_ACCERR): Likewise.
7219         (BUS_ADRALN): Likewise.
7220         (BUS_ADRERR): Likewise.
7221         (BUS_OBJERR): Likewise.
7222         (BUS_MCEERR_AR): Likewise.
7223         (BUS_MCEERR_AO): Likewise.
7224         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7225         (TRAP_TRACE): Likewise.
7226         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7227         __USE_XOPEN2K8].
7228         (CLD_KILLED): Likewise.
7229         (CLD_DUMPED): Likewise.
7230         (CLD_TRAPPED): Likewise.
7231         (CLD_STOPPED): Likewise.
7232         (CLD_CONTINUED): Likewise.
7233         (POLL_IN): Likewise.
7234         (POLL_OUT): Likewise.
7235         (POLL_MSG): Likewise.
7236         (POLL_ERR): Likewise.
7237         (POLL_PRI): Likewise.
7238         (POLL_HUP): Likewise.
7239         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7240         (ILL_ILLOPN): Likewise.
7241         (ILL_ILLADR): Likewise.
7242         (ILL_ILLTRP): Likewise.
7243         (ILL_PRVOPC): Likewise.
7244         (ILL_PRVREG): Likewise.
7245         (ILL_COPROC): Likewise.
7246         (ILL_BADSTK): Likewise.
7247         (ILL_DBLFLT): Likewise.
7248         (ILL_HARDWALL): Likewise.
7249         (FPE_INTDIV): Likewise.
7250         (FPE_INTOVF): Likewise.
7251         (FPE_FLTDIV): Likewise.
7252         (FPE_FLTOVF): Likewise.
7253         (FPE_FLTUND): Likewise.
7254         (FPE_FLTRES): Likewise.
7255         (FPE_FLTINV): Likewise.
7256         (FPE_FLTSUB): Likewise.
7257         (SEGV_MAPERR): Likewise.
7258         (SEGV_ACCERR): Likewise.
7259         (BUS_ADRALN): Likewise.
7260         (BUS_ADRERR): Likewise.
7261         (BUS_OBJERR): Likewise.
7262         (BUS_MCEERR_AR): Likewise.
7263         (BUS_MCEERR_AO): Likewise.
7264         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7265         (TRAP_TRACE): Likewise.
7266         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7267         __USE_XOPEN2K8].
7268         (CLD_KILLED): Likewise.
7269         (CLD_DUMPED): Likewise.
7270         (CLD_TRAPPED): Likewise.
7271         (CLD_STOPPED): Likewise.
7272         (CLD_CONTINUED): Likewise.
7273         (POLL_IN): Likewise.
7274         (POLL_OUT): Likewise.
7275         (POLL_MSG): Likewise.
7276         (POLL_ERR): Likewise.
7277         (POLL_PRI): Likewise.
7278         (POLL_HUP): Likewise.
7279         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7280         (ILL_ILLOPN): Likewise.
7281         (ILL_ILLADR): Likewise.
7282         (ILL_ILLTRP): Likewise.
7283         (ILL_PRVOPC): Likewise.
7284         (ILL_PRVREG): Likewise.
7285         (ILL_COPROC): Likewise.
7286         (ILL_BADSTK): Likewise.
7287         (FPE_INTDIV): Likewise.
7288         (FPE_INTOVF): Likewise.
7289         (FPE_FLTDIV): Likewise.
7290         (FPE_FLTOVF): Likewise.
7291         (FPE_FLTUND): Likewise.
7292         (FPE_FLTRES): Likewise.
7293         (FPE_FLTINV): Likewise.
7294         (FPE_FLTSUB): Likewise.
7295         (SEGV_MAPERR): Likewise.
7296         (SEGV_ACCERR): Likewise.
7297         (BUS_ADRALN): Likewise.
7298         (BUS_ADRERR): Likewise.
7299         (BUS_OBJERR): Likewise.
7300         (BUS_MCEERR_AR): Likewise.
7301         (BUS_MCEERR_AO): Likewise.
7302         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7303         (TRAP_TRACE): Likewise.
7304         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7305         __USE_XOPEN2K8].
7306         (CLD_KILLED): Likewise.
7307         (CLD_DUMPED): Likewise.
7308         (CLD_TRAPPED): Likewise.
7309         (CLD_STOPPED): Likewise.
7310         (CLD_CONTINUED): Likewise.
7311         (POLL_IN): Likewise.
7312         (POLL_OUT): Likewise.
7313         (POLL_MSG): Likewise.
7314         (POLL_ERR): Likewise.
7315         (POLL_PRI): Likewise.
7316         (POLL_HUP): Likewise.
7317         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7318         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7319
7320         [BZ #16670]
7321         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7322         before #include of <time.h>.
7323         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7324         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7325         (test-xfail-UNIX98/sched.h/conform): Likewise.
7326
7327 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7328
7329         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7330         error absence of trapping exception support.
7331         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7332
7333 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7334
7335         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7336         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7337         * timezone/Makefile (testdata): Move definition above include of
7338         Rules.
7339         (test-zones): New variable.
7340         (tests-special): Add zone files.
7341         (build-testdata): Use $(evaluate-test).
7342
7343         * elf/Makefile (tests-special): Rename tests to end with .out.
7344         ($(objpfx)noload-mem): Likewise.
7345         ($(objpfx)tst-leaks1-mem): Likewise.
7346         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7347         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7348         $(objpfx)test-iconvconfig.out.
7349         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7350         set -e inside subshell and redirect output to file.
7351         * iconvdata/Makefile (generated): Rename tests to end with .out.
7352         Correct type.
7353         (tests-special): Rename tests to end with .out.
7354         ($(objpfx)mtrace-tst-loading): Likewise.
7355         * intl/Makefile (generated): Likewise.
7356         (tests-special): Likewise.
7357         ($(objpfx)mtrace-tst-gettext): Likewise.
7358         * misc/Makefile (generated): Likewise.
7359         (tests-special): Likewise.
7360         ($(objpfx)tst-error1-mem): Likewise.
7361         * nptl/Makefile (tests-special): Likewise.
7362         ($(objpfx)tst-stack3-mem): Likewise.
7363         (generated): Likewise.
7364         * posix/Makefile (generated): Likewise.
7365         (tests-special): Likewise.
7366         (xtests-special): Likewise.
7367         ($(objpfx)tst-fnmatch-mem): Likewise.
7368         ($(objpfx)bug-regex2-mem): Likewise.
7369         ($(objpfx)bug-regex14-mem): Likewise.
7370         ($(objpfx)bug-regex21-mem): Likewise.
7371         ($(objpfx)bug-regex31-mem): Likewise.
7372         ($(objpfx)tst-vfork3-mem): Likewise.
7373         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7374         ($(objpfx)tst-pcre-mem): Likewise.
7375         ($(objpfx)tst-boost-mem): Likewise.
7376         ($(objpfx)bug-ga2-mem): Likewise.
7377         ($(objpfx)bug-glob2-mem): Likewise.
7378         * resolv/Makefile (generate): Likewise.
7379         (tests-special): Likewise.
7380         (xtests-special): Likewise.
7381         (generated): Likewise.
7382         ($(objpfx)mtrace-tst-leaks): Likewise.
7383         ($(objpfx)mtrace-tst-leaks2): Likewise.
7384
7385         * scripts/merge-test-results.sh: New file.
7386         * Makefile (tests-special-notdir): New variable.
7387         (tests): Run merge-test-results.sh.
7388         (xtests): Likewise.
7389         * Rules (tests-special-notdir): New variable.
7390         (xtests-special-notdir): Likewise.
7391         (tests): Run merge-test-results.sh
7392         (xtests): Likewise.
7393
7394         * Makeconfig (test-xfail-name): New variable.
7395         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7396         compute variable name for expected failures.
7397         * conform/Makefile (conformtest-headers-data): New variable.
7398         (conformtest-standards): Likewise.
7399         (conformtest-headers-ISO): Likewise.
7400         (conformtest-headers-ISO99): Likewise.
7401         (conformtest-headers-ISO11): Likewise.
7402         (conformtest-headers-POSIX): Likewise.
7403         (conformtest-headers-XPG3): Likewise.
7404         (conformtest-headers-XPG4): Likewise.
7405         (conformtest-headers-UNIX98): Likewise.
7406         (conformtest-headers-XOPEN2K): Likewise.
7407         (conformtest-headers-POSIX2008): Likewise.
7408         (conformtest-headers-XOPEN2K8): Likewise.
7409         (conformtest-header-list-base): Likewise.
7410         (conformtest-header-list-tests): Likewise.
7411         (conformtest-header-base): Likewise.
7412         (conformtest-header-tests): Likewise.
7413         (tests-special): Add $(conformtest-header-list-tests).  If
7414         [$(fast-check) && !$(cross-compiling)], add
7415         $(conformtest-header-tests) instead of
7416         $(objpfx)run-conformtest.out.
7417         (generated): Add $(conformtest-header-list-base).  If
7418         [$(fast-check) && !$(cross-compiling)], add
7419         $(conformtest-header-base).  Remove previous setting.
7420         ($(conformtest-header-list-tests)): New target.
7421         (test-xfail-run-conformtest): Remove variable.
7422         ($(objpfx)run-conformtest.out): Remove target.
7423         (test-xfail-ISO11/complex.h/conform): New variable.
7424         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7425         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7426         (test-xfail-XPG3/varargs.h/conform): Likewise.
7427         (test-xfail-XPG4/varargs.h/conform): Likewise.
7428         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7429         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7430         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7431         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7432         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7433         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7434         (test-xfail-XPG3/ftw.h/conform): Likewise.
7435         (test-xfail-XPG3/grp.h/conform): Likewise.
7436         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7437         (test-xfail-XPG3/limits.h/conform): Likewise.
7438         (test-xfail-XPG3/pwd.h/conform): Likewise.
7439         (test-xfail-XPG3/search.h/conform): Likewise.
7440         (test-xfail-XPG3/signal.h/conform): Likewise.
7441         (test-xfail-XPG3/stdio.h/conform): Likewise.
7442         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7443         (test-xfail-XPG3/string.h/conform): Likewise.
7444         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7445         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7446         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7447         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7448         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7449         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7450         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7451         (test-xfail-XPG3/termios.h/conform): Likewise.
7452         (test-xfail-XPG3/time.h/conform): Likewise.
7453         (test-xfail-XPG3/unistd.h/conform): Likewise.
7454         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7455         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7456         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7457         (test-xfail-XPG4/netdb.h/conform): Likewise.
7458         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7459         (test-xfail-XPG4/signal.h/conform): Likewise.
7460         (test-xfail-XPG4/stdio.h/conform): Likewise.
7461         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7462         (test-xfail-XPG4/stropts.h/conform): Likewise.
7463         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7464         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7465         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7466         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7467         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7468         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7469         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7470         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7471         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7472         (test-xfail-XPG4/termios.h/conform): Likewise.
7473         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7474         (test-xfail-XPG4/unistd.h/conform): Likewise.
7475         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7476         (test-xfail-POSIX/sched.h/conform): Likewise.
7477         (test-xfail-POSIX/signal.h/conform): Likewise.
7478         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7479         (test-xfail-POSIX/tar.h/conform): Likewise.
7480         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7481         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7482         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7483         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7484         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7485         (test-xfail-UNIX98/sched.h/conform): Likewise.
7486         (test-xfail-UNIX98/signal.h/conform): Likewise.
7487         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7488         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7489         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7490         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7491         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7492         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7493         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7494         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7495         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7496         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7497         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7498         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7499         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7500         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7501         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7502         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7503         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7504         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7505         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7506         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7507         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7508         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7509         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7510         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7511         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7512         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7513         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7514         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7515         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7516         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7517         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7518         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7519         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7520         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7521         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7522         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7523         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7524         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7525         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7526         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7527         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7528         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7529         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7530         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7531         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7532         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7533         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7534         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7535         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7536         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7537         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7538         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7539         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7540         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7541         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7542         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7543         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7544         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7545         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7546         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7547         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7548         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7549         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7550         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7551         (conformtest-cc-flags): Likewise.
7552         ($(conformtest-header-tests): New target.
7553         * conform/check-header-lists.sh: New file.
7554         * conform/run-conformtest.sh: Remove.
7555
7556         * conform/conformtest.pl: Allow ' and \ in values given for
7557         constants.
7558         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7559         inclusion.
7560         [POSIX] (sys/types.h): Likewise.
7561         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7562         inclusion.
7563         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7564         inclusion.
7565         * conform/data/signal.h-data (SIGIO): Remove expectation.
7566         [XPG3] (SIGBUS): Do not expect.
7567         [POSIX || XPG3] (SIGPOLL): Likewise.
7568         [POSIX || XPG3] (SIGPROF): Likewise.
7569         [POSIX || XPG3] (SIGSYS): Likewise.
7570         [XPG3] (SIGTRAP): Likewise.
7571         [POSIX || XPG3] (SIGURG): Likewise.
7572         [POSIX || XPG3] (SIGVTALRM): Likewise.
7573         [POSIX || XPG3] (SIGXCPU): Likewise.
7574         [POSIX || XPG3] (SIGXFSZ): Likewise.
7575         [POSIX] (SA_SIGINFO): Expect.
7576         [XPG3] (siginfo_t): Do not expect type or contents.
7577         [POSIX] (si_pid): Do not expect element.
7578         [POSIX] (si_uid): Likewise.
7579         [POSIX] (si_addr): Likewise.
7580         [POSIX] (si_status): Likewise.
7581         [POSIX] (si_band): Likewise.
7582         [XPG4] (si_value): Likewise.
7583         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7584         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7585         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7586         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7587         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7588         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7589         [POSIX || XPG3] (ILL_COPROC): Likewise.
7590         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7591         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7592         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7593         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7594         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7595         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7596         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7597         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7598         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7599         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7600         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7601         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7602         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7603         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7604         [POSIX || XPG3] (CLD_EXITED): Likewise.
7605         [POSIX || XPG3] (CLD_KILLED): Likewise.
7606         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7607         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7608         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7609         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7610         [POSIX || XPG3] (POLL_IN): Likewise.
7611         [POSIX || XPG3] (POLL_OUT): Likewise.
7612         [POSIX || XPG3] (POLL_MSG): Likewise.
7613         [POSIX || XPG3] (POLL_ERR): Likewise.
7614         [POSIX || XPG3] (POLL_PRI): Likewise.
7615         [POSIX || XPG3] (POLL_HUP): Likewise.
7616         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7617         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7618         (SIG*): Do not allow.
7619         [XPG3] (si_*): Likewise.
7620         [XPG3] (SI_*): Likewise.
7621         [XPG3 || XPG4] (sigev_*): Likewise.
7622         [XPG3 || XPG4] (SIGEV_*): Likewise.
7623         [XPG3 || XPG4] (sival_*): Likewise.
7624         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7625         [POSIX || XPG3] (BUS_*): Likewise.
7626         [POSIX || XPG3] (CLD_*): Likewise.
7627         [POSIX || XPG3] (FPE_*): Likewise.
7628         [POSIX || XPG3] (ILL_*): Likewise.
7629         [POSIX || XPG3] (POLL_*): Likewise.
7630         [POSIX || XPG3] (SEGV_*): Likewise.
7631         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7632         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7633         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7634         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7635         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7636         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7637         Specify type and value.
7638         (TVERSLEN): Likewise.
7639         (REGTYPE): Likewise.
7640         (AREGTYPE): Likewise.
7641         (LNKTYPE): Likewise.
7642         (SYMTYPE): Likewise.
7643         (CHRTYPE): Likewise.
7644         (BLKTYPE): Likewise.
7645         (DIRTYPE): Likewise.
7646         (FIFOTYPE): Likewise.
7647         (CONTTYPE): Likewise.
7648         (TSUID): Likewise.
7649         (TSGID): Likewise.
7650         (TSVTX): Likewise.
7651         (TUREAD): Likewise.
7652         (TUWRITE): Likewise.
7653         (TUEXEC): Likewise.
7654         (TGREAD): Likewise.
7655         (TGWRITE): Likewise.
7656         (TGEXEC): Likewise.
7657         (TOREAD): Likewise.
7658         (TOWRITE): Likewise.
7659         (TOEXEC): Likewise.
7660         [POSIX] (TSVTX): Expect constant.
7661
7662 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7663
7664         * Makefile (tests): Change dependencies to ....
7665         (tests-special): ... additions to this variable.
7666         (tests): Depend on $(tests-special).
7667         * Makerules (check-abi-list): New variable.
7668         (check-abi): Depend on $(check-abi-list).
7669         [$(subdir) = elf] (tests-special): Add
7670         $(objpfx)check-abi-libc.out.
7671         [$(build-shared) = yes && subdir] (tests-special): Add
7672         $(check-abi-list).
7673         [$(build-shared) = yes && subdir] (tests): Do not depend on
7674         check-abi.
7675         * Rules (tests): Depend on $(tests-special).
7676         (xtests): Depend on $(xtests-special).
7677         * catgets/Makefile (tests): Change dependencies to ....
7678         (tests-special): ... additions to this variable.
7679         * conform/Makefile (tests): Change dependencies to ....
7680         (tests-special): ... additions to this variable.
7681         * elf/Makefile (tests): Change dependencies to ....
7682         (tests-special): ... additions to this variable.
7683         * grp/Makefile (tests): Change dependencies to ....
7684         (tests-special): ... additions to this variable.
7685         * iconv/Makefile (xtests): Change dependencies to ....
7686         (xtests-special): ... additions to this variable.
7687         * iconvdata/Makefile (tests): Change dependencies to ....
7688         (tests-special): ... additions to this variable.
7689         * intl/Makefile (tests): Change dependencies to ....
7690         (tests-special): ... additions to this variable.  Also add
7691         $(objpfx)tst-gettext.out.
7692         * io/Makefile (tests): Change dependencies to ....
7693         (tests-special): ... additions to this variable.
7694         * libio/Makefile (tests): Change dependencies to ....
7695         (tests-special): ... additions to this variable.
7696         * malloc/Makefile (tests): Change dependencies to ....
7697         (tests-special): ... additions to this variable.
7698         * misc/Makefile (tests): Change dependencies to ....
7699         (tests-special): ... additions to this variable.
7700         * nptl/Makefile (tests): Change dependencies to ....
7701         (tests-special): ... additions to this variable.
7702         * nptl_db/Makefile (tests): Change dependencies to ....
7703         (tests-special): ... additions to this variable.
7704         * posix/Makefile (tests): Change dependencies to ....
7705         (tests-special): ... additions to this variable.
7706         (xtests): Change dependencies to ....
7707         (xtests-special): ... additions to this variable.
7708         * resolv/Makefile (tests): Change dependencies to ....
7709         (tests-special): ... additions to this variable.
7710         (xtests): Change dependencies to ....
7711         (xtests-special): ... additions to this variable.
7712         * stdio-common/Makefile (tests): Change dependencies to ....
7713         (tests-special): ... additions to this variable.
7714         (do-tst-unbputc): Remove target.
7715         (do-tst-printf): Likewise.
7716         * stdlib/Makefile (tests): Change dependencies to ....
7717         (tests-special): ... additions to this variable.
7718         * string/Makefile (tests): Change dependencies to ....
7719         (tests-special): ... additions to this variable.
7720         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7721         (tests-special): ... additions to this variable.
7722
7723         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7724         whole file.
7725         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7726         whole file.
7727         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7728         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7729
7730         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7731         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7732         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7733         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7734         * conform/data/libgen.h-data [XPG3]: Likewise.
7735         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7736         * conform/data/ndbm.h-data [XPG3]: Likewise.
7737         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7738         * conform/data/netdb.h-data [XPG3]: Likewise.
7739         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7740         * conform/data/poll.h-data [XPG3]: Likewise.
7741         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7742         * conform/data/strings.h-data [XPG3]: Likewise.
7743         * conform/data/stropts.h-data [XPG3]: Likewise.
7744         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7745         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7746         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7747         Likewise.
7748         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7749         * conform/data/sys/time.h-data [XPG3]: Likewise.
7750         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7751         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7752         * conform/data/sys/un.h-data [XPG3]: Likewise.
7753         * conform/data/syslog.h-data [XPG3]: Likewise.
7754         * conform/data/ucontext.h-data [XPG3]: Likewise.
7755         * conform/data/utmpx.h-data [XPG3]: Likewise.
7756         * conform/data/varargs.h-data [UNIX98]: Enable file.
7757
7758         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7759
7760         * math/libm-test.inc (struct test_f_f_data): Move expected results
7761         into structure for each rounding mode.
7762         (struct test_ff_f_data): Likewise.
7763         (struct test_ff_f_data_nexttoward): Likewise.
7764         (struct test_fi_f_data): Likewise.
7765         (struct test_fl_f_data): Likewise.
7766         (struct test_if_f_data): Likewise.
7767         (struct test_fff_f_data): Likewise.
7768         (struct test_c_f_data): Likewise.
7769         (struct test_f_f1_data): Likewise.
7770         (struct test_fF_f1_data): Likewise.
7771         (struct test_ffI_f1_data): Likewise.
7772         (struct test_c_c_data): Likewise.
7773         (struct test_cc_c_data): Likewise.
7774         (struct test_f_i_data): Likewise.
7775         (struct test_ff_i_data): Likewise.
7776         (struct test_f_l_data): Likewise.
7777         (struct test_f_L_data): Likewise.
7778         (struct test_fFF_11_data): Likewise.
7779         (RM_): New macro.
7780         (RM_FE_DOWNWARD): Likewise.
7781         (RM_FE_TONEAREST): Likewise.
7782         (RM_FE_TOWARDZERO): Likewise.
7783         (RM_FE_UPWARD): Likewise.
7784         (RUN_TEST_LOOP_f_f): Update references to expected results.
7785         (RUN_TEST_LOOP_2_f): Likewise.
7786         (RUN_TEST_LOOP_fff_f): Likewise.
7787         (RUN_TEST_LOOP_c_f): Likewise.
7788         (RUN_TEST_LOOP_f_f1): Likewise.
7789         (RUN_TEST_LOOP_fF_f1): Likewise.
7790         (RUN_TEST_LOOP_fI_f1): Likewise.
7791         (RUN_TEST_LOOP_ffI_f1): Likewise.
7792         (RUN_TEST_LOOP_c_c): Likewise.
7793         (RUN_TEST_LOOP_cc_c): Likewise.
7794         (RUN_TEST_LOOP_f_i): Likewise.
7795         (RUN_TEST_LOOP_f_i_tg): Likewise.
7796         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7797         (RUN_TEST_LOOP_f_b): Likewise.
7798         (RUN_TEST_LOOP_f_b_tg): Likewise.
7799         (RUN_TEST_LOOP_f_l): Likewise.
7800         (RUN_TEST_LOOP_f_L): Likewise.
7801         (RUN_TEST_LOOP_fFF_11): Likewise.
7802         * math/gen-libm-test.pl (parse_args): Output four copies of
7803         expected results for each test.
7804
7805         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7806         (__ASSUME_UTIMES): Remove.
7807         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7808         (__ASSUME_UTIMES): Likewise.
7809
7810         * math/gen-auto-libm-tests.c: Update comment on output format.
7811         (output_for_one_input_case): Generate before-rounding and
7812         after-rounding information as conditions on output flags not
7813         floating-point format.
7814         * math/auto-libm-test-out: Regenerated.
7815         * math/gen-libm-test.pl (cond_value): New function.
7816         (or_cond_value): Use cond_value.
7817         (generate_testfile): Handle conditional exceptions.
7818
7819 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7820
7821         * math/libm-test.inc (max_valid_error): New variable.
7822         (init_max_error): Take new argument specifying whether function
7823         results are exactly determined.  Set max_valid_error and bound
7824         other variables for errors based on this argument.
7825         (set_max_error): Do not record results above max_valid_error.
7826         (check_float_internal): Only accept errors of up to 0.5ulps if
7827         also at most max_valid_error.
7828         (START): Take new argument EXACT and pass it to init_max_error.
7829         (acos_test): Update call to START.
7830         (acos_test_tonearest): Likewise.
7831         (acos_test_towardzero): Likewise.
7832         (acos_test_downward): Likewise.
7833         (acos_test_upward): Likewise.
7834         (acosh_test): Likewise.
7835         (asin_test): Likewise.
7836         (asin_test_tonearest): Likewise.
7837         (asin_test_towardzero): Likewise.
7838         (asin_test_downward): Likewise.
7839         (asin_test_upward): Likewise.
7840         (asinh_test): Likewise.
7841         (atan_test): Likewise.
7842         (atanh_test): Likewise.
7843         (atan2_test): Likewise.
7844         (cabs_test): Likewise.
7845         (cacos_test): Likewise.
7846         (cacosh_test): Likewise.
7847         (carg_test): Likewise.
7848         (casin_test): Likewise.
7849         (casinh_test): Likewise.
7850         (catan_test): Likewise.
7851         (catanh_test): Likewise.
7852         (cbrt_test): Likewise.
7853         (ccos_test): Likewise.
7854         (ccosh_test): Likewise.
7855         (ceil_test): Likewise.
7856         (cexp_test): Likewise.
7857         (cimag_test): Likewise.
7858         (clog_test): Likewise.
7859         (clog10_test): Likewise.
7860         (conj_test): Likewise.
7861         (copysign_test): Likewise.
7862         (cos_test): Likewise.
7863         (cos_test_tonearest): Likewise.
7864         (cos_test_towardzero): Likewise.
7865         (cos_test_downward): Likewise.
7866         (cos_test_upward): Likewise.
7867         (cosh_test): Likewise.
7868         (cosh_test_tonearest): Likewise.
7869         (cosh_test_towardzero): Likewise.
7870         (cosh_test_downward): Likewise.
7871         (cosh_test_upward): Likewise.
7872         (cpow_test): Likewise.
7873         (cproj_test): Likewise.
7874         (creal_test): Likewise.
7875         (csin_test): Likewise.
7876         (csinh_test): Likewise.
7877         (csqrt_test): Likewise.
7878         (ctan_test): Likewise.
7879         (ctan_test_tonearest): Likewise.
7880         (ctan_test_towardzero): Likewise.
7881         (ctan_test_downward): Likewise.
7882         (ctan_test_upward): Likewise.
7883         (ctanh_test): Likewise.
7884         (ctanh_test_tonearest): Likewise.
7885         (ctanh_test_towardzero): Likewise.
7886         (ctanh_test_downward): Likewise.
7887         (ctanh_test_upward): Likewise.
7888         (erf_test): Likewise.
7889         (erfc_test): Likewise.
7890         (exp_test): Likewise.
7891         (exp_test_tonearest): Likewise.
7892         (exp_test_towardzero): Likewise.
7893         (exp_test_downward): Likewise.
7894         (exp_test_upward): Likewise.
7895         (exp10_test): Likewise.
7896         (exp10_test_tonearest): Likewise.
7897         (exp10_test_towardzero): Likewise.
7898         (exp10_test_downward): Likewise.
7899         (exp10_test_upward): Likewise.
7900         (pow10_test): Likewise.
7901         (exp2_test): Likewise.
7902         (expm1_test): Likewise.
7903         (expm1_test_tonearest): Likewise.
7904         (expm1_test_towardzero): Likewise.
7905         (expm1_test_downward): Likewise.
7906         (expm1_test_upward): Likewise.
7907         (fabs_test): Likewise.
7908         (fdim_test): Likewise.
7909         (floor_test): Likewise.
7910         (fma_test): Likewise.
7911         (fma_test_towardzero): Likewise.
7912         (fma_test_downward): Likewise.
7913         (fma_test_upward): Likewise.
7914         (fmax_test): Likewise.
7915         (fmin_test): Likewise.
7916         (fmod_test): Likewise.
7917         (fpclassify_test): Likewise.
7918         (frexp_test): Likewise.
7919         (hypot_test): Likewise.
7920         (ilogb_test): Likewise.
7921         (isfinite_test): Likewise.
7922         (finite_test): Likewise.
7923         (isgreater_test): Likewise.
7924         (isgreaterequal_test): Likewise.
7925         (isinf_test): Likewise.
7926         (isless_test): Likewise.
7927         (islessequal_test): Likewise.
7928         (islessgreater_test): Likewise.
7929         (isnan_test): Likewise.
7930         (isnormal_test): Likewise.
7931         (issignaling_test): Likewise.
7932         (isunordered_test): Likewise.
7933         (j0_test): Likewise.
7934         (j1_test): Likewise.
7935         (jn_test): Likewise.
7936         (ldexp_test): Likewise.
7937         (lgamma_test): Likewise.
7938         (gamma_test): Likewise.
7939         (lrint_test): Likewise.
7940         (lrint_test_tonearest): Likewise.
7941         (lrint_test_towardzero): Likewise.
7942         (lrint_test_downward): Likewise.
7943         (lrint_test_upward): Likewise.
7944         (llrint_test): Likewise.
7945         (llrint_test_tonearest): Likewise.
7946         (llrint_test_towardzero): Likewise.
7947         (llrint_test_downward): Likewise.
7948         (llrint_test_upward): Likewise.
7949         (log_test): Likewise.
7950         (log10_test): Likewise.
7951         (log1p_test): Likewise.
7952         (log2_test): Likewise.
7953         (logb_test): Likewise.
7954         (logb_test_downward): Likewise.
7955         (lround_test): Likewise.
7956         (llround_test): Likewise.
7957         (modf_test): Likewise.
7958         (nearbyint_test): Likewise.
7959         (nextafter_test): Likewise.
7960         (nexttoward_test): Likewise.
7961         (pow_test): Likewise.
7962         (pow_test_tonearest): Likewise.
7963         (pow_test_towardzero): Likewise.
7964         (pow_test_downward): Likewise.
7965         (pow_test_upward): Likewise.
7966         (remainder_test): Likewise.
7967         (drem_test): Likewise.
7968         (remainder_test_tonearest): Likewise.
7969         (drem_test_tonearest): Likewise.
7970         (remainder_test_towardzero): Likewise.
7971         (drem_test_towardzero): Likewise.
7972         (remainder_test_downward): Likewise.
7973         (drem_test_downward): Likewise.
7974         (remainder_test_upward): Likewise.
7975         (drem_test_upward): Likewise.
7976         (remquo_test): Likewise.
7977         (rint_test): Likewise.
7978         (rint_test_tonearest): Likewise.
7979         (rint_test_towardzero): Likewise.
7980         (rint_test_downward): Likewise.
7981         (rint_test_upward): Likewise.
7982         (round_test): Likewise.
7983         (scalb_test): Likewise.
7984         (scalbn_test): Likewise.
7985         (scalbln_test): Likewise.
7986         (signbit_test): Likewise.
7987         (sin_test): Likewise.
7988         (sin_test_tonearest): Likewise.
7989         (sin_test_towardzero): Likewise.
7990         (sin_test_downward): Likewise.
7991         (sin_test_upward): Likewise.
7992         (sincos_test): Likewise.
7993         (sinh_test): Likewise.
7994         (sinh_test_tonearest): Likewise.
7995         (sinh_test_towardzero): Likewise.
7996         (sinh_test_downward): Likewise.
7997         (sinh_test_upward): Likewise.
7998         (sqrt_test): Likewise.
7999         (sqrt_test_tonearest): Likewise.
8000         (sqrt_test_towardzero): Likewise.
8001         (sqrt_test_downward): Likewise.
8002         (sqrt_test_upward): Likewise.
8003         (tan_test): Likewise.
8004         (tan_test_tonearest): Likewise.
8005         (tan_test_towardzero): Likewise.
8006         (tan_test_downward): Likewise.
8007         (tan_test_upward): Likewise.
8008         (tanh_test): Likewise.
8009         (tgamma_test): Likewise.
8010         (trunc_test): Likewise.
8011         (y0_test): Likewise.
8012         (y1_test): Likewise.
8013         (yn_test): Likewise.
8014         (significand_test): Likewise.
8015
8016         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8017         individual tests in comment.
8018         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8019         (prev_max_error): New variable.
8020         (prev_real_max_error): Likewise.
8021         (prev_imag_max_error): Likewise.
8022         (compare_ulp_data): Don't refer to test names in comment.
8023         (find_test_ulps): Remove function.
8024         (find_function_ulps): Likewise.
8025         (find_complex_function_ulps): Likewise.
8026         (init_max_error): Take function name as argument.  Look up ulps
8027         for that function.
8028         (print_ulps): Remove function.
8029         (print_max_error): Use prev_max_error instead of calling
8030         find_function_ulps.
8031         (print_complex_max_error): Use prev_real_max_error and
8032         prev_imag_max_error instead of calling find_complex_function_ulps.
8033         (check_float_internal): Take max_ulp parameter instead of calling
8034         find_test_ulps.  Don't call print_ulps.
8035         (check_float): Update call to check_float_internal.
8036         (check_complex): Update calls to check_float_internal.
8037         (START): Pass argument to init_max_error.
8038         * math/gen-libm-test.pl (%results): Don't include "kind"
8039         information.
8040         (parse_ulps): Don't handle ulps of individual tests.
8041         (print_ulps_file): Likewise.
8042         (output_ulps): Likewise.
8043         * math/README.libm-test: Update.
8044         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8045         individual tests.
8046         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8047         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8048         * sysdeps/arm/libm-test-ulps: Likewise.
8049         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8050         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8051         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8052         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8053         * sysdeps/microblaze/libm-test-ulps: Likewise.
8054         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8055         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8056         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8057         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8058         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8059         * sysdeps/sh/libm-test-ulps: Likewise.
8060         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8061         * sysdeps/tile/libm-test-ulps: Likewise.
8062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8063
8064 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8065
8066         * math/libm-test.inc (print_complex_max_error): Check separately
8067         whether real and imaginary errors are within allowed range and
8068         pass 0 to print_complex_function_ulps instead of value within
8069         allowed range.
8070
8071 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8072
8073         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8074         formatting.
8075         (get_handles_fopen): Likewise.
8076         (do_write_test): Likewise.
8077
8078         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8079
8080         * libio/fileops.c (do_ftell): Use cached offset when
8081         available.
8082         * libio/iofwide.c (do_ftell_wide): Likewise.
8083         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8084         _IO_file_attach.
8085         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8086
8087         [BZ #16532]
8088         * libio/libioP.h (get_file_offset): New function.
8089         * libio/fileops.c (get_file_offset): Likewise.
8090         (do_ftell): Likewise.
8091         (_IO_new_file_seekoff): Split out ftell logic.
8092         * libio/wfileops.c (do_ftell_wide): Likewise.
8093         (_IO_wfile_seekoff): Split out ftell logic.
8094         * libio/tst-ftell-active-handler.c: New test case.
8095         * libio/Makefile (tests): Add it.
8096
8097 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8098
8099         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8100         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8101
8102 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8103
8104         [BZ #16639]
8105         * nscd/connections.c (nscd_init): Call do_exit.
8106         (start_threads): Call do_exit and notify_parent.
8107         (begin_drop_privileges): Call do_exit.
8108         (finish_drop_privileges): Likewise.
8109         * nscd/selinux.c (preserve_capabilities): Likewise.
8110         (install_real_capabilities): Likewise.
8111         (nscd_selinux_enabled): Likewise.
8112         (avc_create_thread): Likewise.
8113         (avc_alloc_lock): Likewise.
8114         (nscd_avc_init): Likewise.
8115         * nscd/nscd.c (parent_fd): New static variable.
8116         (main): Create a pipe between parent and child processes.
8117         Skip closing parent_fd.
8118         (monitor_child): New function.
8119         (do_exit): Likewise.
8120         (notify_parent): Likewise.
8121         * nscd/nscd.h (notify_parent): Likewise.
8122         (do_exit): Likewise.
8123
8124 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8125
8126         * malloc/malloc.c (__libc_calloc): Revert last change.
8127
8128 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8129
8130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8131
8132 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8133
8134         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8136         implementation.
8137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8138         (__libc_ifunc_impl_list): Likewise.
8139         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8140         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8141         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8142         * string/strrchr.c: Define STRRCHR.
8143
8144 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8145
8146         * benchtest/bench-strtok.c (simple_strtok): Delete.
8147         (strtok_string): Use as benchmark.
8148         * string/strtok (STRTOK): New macro.
8149
8150 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8151
8152         * manual/threads.texi: Add header and standard comments to all
8153         functions.
8154
8155         * elf/dl-lookup.c (check_match): New function.
8156         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8157         (do_lookup_x): Remove nested function check_match. Use non-nested
8158         function check_match.
8159
8160 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8161
8162         * csu/Makefile (generated, before-compile): Use += rather than =.
8163         * catgets/Makefile (generated, generated-dirs): Likewise.
8164         * debug/Makefile (generated): Likewise.
8165         * dlfcn/Makefile (generated): Likewise.
8166         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8167         * iconvdata/Makefile (before-compile, generated): Likewise.
8168         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8169         * libio/Makefile (generated): Likewise.
8170         * malloc/Makefile (generated): Likewise.
8171         * manual/Makefile (generated, generated-dirs): Likewise.
8172         * misc/Makefile (generated): Likewise.
8173         * posix/Makefile (generated): Likewise.
8174         * resolv/Makefile (generated): Likewise.
8175         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8176         * timezone/Makefile (generated, generated-dirs): Likewise.
8177
8178         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8179
8180 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8181
8182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8183         power8 implementation.
8184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8185         file: POWER8 llround ifunc implementation.
8186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8187         (__lllround): Add POWER8 implementation.
8188         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8189         POWER8 llround implementation.
8190
8191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8192         power8 implementation.
8193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8194         file: POWER8 llrint ifunc implementation.
8195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8196         Add POWER8 implementation.
8197         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8198         POWER8 llrint implementation.
8199
8200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8201         power8 implementation.
8202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8203         file: POWER8 finite ifunc implementation.
8204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8205         Add POWER8 implementation.
8206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8207         Likewise.
8208         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8209         POWER8 finite implementation.
8210         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8211
8212         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8213         power8 implementation.
8214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8215         file: POWER8 isinf ifunc implementation.
8216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8217         POWER8 implementation.
8218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8219         Likewise.
8220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8221         isinf implementation.
8222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8223
8224         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8225         (INIT_ARCH): Add hwcap2 initialization.
8226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8227         power8 implementation.
8228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8229         file: POWER8 isnan ifunc implementation.
8230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8231         POWER8 implementation.
8232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8233         Likewise.
8234         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8235         isnan implementation.
8236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8237
8238 2014-02-27  Joey Ye  <joey.ye@arm.com>
8239
8240         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8241         (_FP_NANFRAC_Q): Set to zero.
8242
8243 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8244
8245         [BZ #16623]
8246         * math/auto-libm-test-in: New test inputs.
8247         * math/auto-libm-test-out: Regenerate.
8248         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8249         and DA.
8250         (__cos): Likewise.
8251         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8252
8253 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8254
8255         * scripts/evaluate-test.sh: Take new argument indicating whether
8256         failure is expected.
8257         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8258         indicating whether failure is expected.
8259         * conform/Makefile (test-xfail-run-conformtest): New variable.
8260         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8261         level.
8262         * posix/Makefile (test-xfail-annexc): New variable.
8263         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8264
8265 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8266
8267         * argp/Makefile: Include Makeconfig immediately after defining
8268         subdir.
8269         * assert/Makefile: Likewise.
8270         * benchtests/Makefile: Likewise.
8271         * catgets/Makefile: Likewise.
8272         * conform/Makefile: Likewise.
8273         * crypt/Makefile: Likewise.
8274         * csu/Makefile: Likewise.
8275         (all): Remove target.
8276         * ctype/Makefile: Include Makeconfig immediately after defining
8277         subdir.
8278         * debug/Makefile: Likewise.
8279         * dirent/Makefile: Likewise.
8280         * dlfcn/Makefile: Likewise.
8281         * gmon/Makefile: Likewise.
8282         * gnulib/Makefile: Likewise.
8283         * grp/Makefile: Likewise.
8284         * gshadow/Makefile: Likewise.
8285         * hesiod/Makefile: Likewise.
8286         * hurd/Makefile: Likewise.
8287         (all): Remove target.
8288         * iconvdata/Makefile: Include Makeconfig immediately after
8289         defining subdir.
8290         * inet/Makefile: Likewise.
8291         * intl/Makefile: Likewise.
8292         * io/Makefile: Likewise.
8293         * libio/Makefile: Likewise.
8294         (all): Remove target.
8295         * locale/Makefile: Include Makeconfig immediately after defining
8296         subdir.
8297         * login/Makefile: Likewise.
8298         * mach/Makefile: Likewise.
8299         (all): Remove target.
8300         * malloc/Makefile: Include Makeconfig immediately after defining
8301         subdir.
8302         (all): Remove target.
8303         * manual/Makefile: Include Makeconfig immediately after defining
8304         subdir.
8305         * math/Makefile: Likewise.
8306         * misc/Makefile: Likewise.
8307         * nis/Makefile: Likewise.
8308         * nss/Makefile: Likewise.
8309         * po/Makefile: Likewise.
8310         (all): Remove target.
8311         * posix/Makefile: Include Makeconfig immediately after defining
8312         subdir.
8313         * pwd/Makefile: Likewise.
8314         * resolv/Makefile: Likewise.
8315         * resource/Makefile: Likewise.
8316         * rt/Makefile: Likewise.
8317         * setjmp/Makefile: Likewise.
8318         * shadow/Makefile: Likewise.
8319         * signal/Makefile: Likewise.
8320         * socket/Makefile: Likewise.
8321         * soft-fp/Makefile: Likewise.
8322         * stdio-common/Makefile: Likewise.
8323         * stdlib/Makefile: Likewise.
8324         * streams/Makefile: Likewise.
8325         * string/Makefile: Likewise.
8326         * sunrpc/Makefile: Likewise.
8327         (all): Remove target.
8328         * sysvipc/Makefile: Include Makeconfig immediately after defining
8329         subdir.
8330         * termios/Makefile: Likewise.
8331         * time/Makefile: Likewise.
8332         * timezone/Makefile: Likewise.
8333         (all): Remove target.
8334         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8335         subdir.
8336         * wctype/Makefile: Likewise.
8337
8338 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8339
8340         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8341         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8342         (libc_feholdexcept_setround_mips): Ditto.
8343         (libc_feholdsetround): New.
8344         (libc_feholdsetroundf): New.
8345         (libc_feholdsetroundl): New.
8346         (libc_feupdateenv_test_mips): New.
8347         (libc_feupdateenv_test): New.
8348         (libc_feupdateenv_testf): New.
8349         (libc_feupdateenv_testl): New.
8350         (libc_feresetround): New.
8351         (libc_feresetroundf): New.
8352         (libc_feresetroundl): New.
8353         (libc_fetestexcept_mips): New.
8354         (libc_fetestexcept): New.
8355         (libc_fetestexceptf): New.
8356         (libc_fetestexceptl): New.
8357         (HAVE_RM_CTX): New.
8358         (libc_feholdexcept_setround_mips_ctx): New.
8359         (libc_feholdexcept_setround_ctx): New.
8360         (libc_feholdexcept_setroundf_ctx): New.
8361         (libc_feholdexcept_setroundl_ctx): New.
8362         (libc_fesetenv_mips_ctx): New.
8363         (libc_fesetenv_ctx): New.
8364         (libc_fesetenv_ctxf): New.
8365         (libc_fesetenv_ctxl): New.
8366         (libc_feupdateenv_mips_ctx): New.
8367         (libc_feupdateenv_ctx): New.
8368         (libc_feupdateenvf_ctx): New.
8369         (libc_feupdateenvl_ctx): New.
8370         (libc_feholdsetround_mips_ctx): New.
8371         (libc_feholdsetround_ctx): New.
8372         (libc_feholdsetroundf_ctx): New.
8373         (libc_feholdsetroundl_ctx): New.
8374         (libc_feresetround_mips_ctx): New.
8375         (libc_feresetround_ctx): New.
8376         (libc_feresetroundf_ctx): New.
8377         (libc_feresetroundl_ctx): New.
8378
8379 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8380
8381         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8382
8383         * manual/ipc.texi: New file.
8384         * manual/Makefile (chapters): Add ipc.
8385         * manual/job.texi: Add "Inter-Process Communication" to next.
8386         * manual/process.texi: Add "Inter-Process Communication" to prev.
8387
8388 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8389
8390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8391
8392 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8393
8394         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8395
8396         * manual/arith.texi: Fix spaces after sentences.
8397         * manual/charset.texi: Likewise.
8398         * manual/errno.texi: Likewise.
8399         * manual/install.texi: Likewise.
8400         * manual/llio.texi: Likewise.
8401         * manual/locale.texi: Likewise.
8402         * manual/maint.texi: Likewise.
8403         * manual/math.texi: Likewise.
8404         * manual/memory.texi: Likewise.
8405         * manual/message.texi: Likewise.
8406         * manual/probes.texi: Likewise.
8407         * manual/resource.texi: Likewise.
8408         * manual/signal.texi: Likewise.
8409         * manual/socket.texi: Likewise.
8410         * manual/stdio.texi: Likewise.
8411         * manual/string.texi: Likewise.
8412         * manual/time.texi: Likewise.
8413         * manual/users.texi: Likewise.
8414
8415 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8416
8417         [BZ #16632]
8418         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8419         _DEFAULT_SOURCE is defined.
8420
8421 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8422             Carlos O'Donell  <carlos@redhat.com>
8423
8424         [BZ #16613]
8425         * elf/dl-tls.c (_dl_count_modids): New function.
8426         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8427         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8428         audit library and increment generation counter.
8429         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8430         * elf/tst-audit9.c: New file.
8431         * elf/tst-auditmod9a.c: New file.
8432         * elf/tst-auditmod9b.c: New file.
8433         * elf/Makefile: Add rules to build and run tst-audit9.
8434
8435 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8436
8437         [BZ #15347]
8438         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8439
8440 2014-02-25  Will Newton  <will.newton@linaro.org>
8441
8442         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8443         (__longjmp): Restore sp and lr before restoring callee
8444         saved registers.  Add longjmp and longjmp_target
8445         SystemTap probe point.
8446         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8447         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8448         Define to zero to match jmpbuf layout.
8449         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8450         (__sigsetjmp): Save sp and lr before saving callee
8451         saved registers.  Add setjmp SystemTap probe point.
8452
8453 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8454
8455         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8456
8457 2014-02-24  Andreas Schwab  <schwab@suse.de>
8458
8459         [BZ #15804]
8460         * elf/pldd.c (wait_for_ptrace_stop): New function.
8461         (main): Call it after attaching.
8462
8463 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8464
8465         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8466         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8467         Versions files is now verboten.
8468         * hurd/Versions (libc: GLIBC_2.0):
8469         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8470         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8471         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8472         * mach/Versions: Likewise.
8473
8474         * csu/Versions: Remove unused %include.
8475         * resolv/Versions: Likewise.
8476
8477 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8478
8479         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8480         ($(objpfx)check-local-headers.out): Likewise.
8481         ($(objpfx)begin-end-check.out): Likewise.
8482         * Makerules (check-abi-%.out): Likewise.
8483         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8484         ($(objpfx)test2.cat): Likewise.
8485         ($(objpfx)de/libc.cat): Likewise.
8486         ($(objpfx)test-gencat.out): Likewise.
8487         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8488         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8489         ($(objpfx)noload-mem): Likewise.
8490         ($(objpfx)tst-pathopt.out): Likewise.
8491         ($(objpfx)tst-rtld-load-self.out): Likewise.
8492         ($(objpfx)tst-array1-cmp.out): Likewise.
8493         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8494         ($(objpfx)tst-array2-cmp.out): Likewise.
8495         ($(objpfx)tst-array3-cmp.out): Likewise.
8496         ($(objpfx)tst-array4-cmp.out): Likewise.
8497         ($(objpfx)tst-array5-cmp.out): Likewise.
8498         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8499         ($(objpfx)check-textrel.out): Likewise.
8500         ($(objpfx)check-execstack.out): Likewise.
8501         ($(objpfx)check-localplt.out): Likewise.
8502         ($(objpfx)order2-cmp.out): Likewise.
8503         ($(objpfx)tst-leaks1-mem): Likewise.
8504         ($(objpfx)tst-leaks1-static-mem): Likewise.
8505         ($(objpfx)tst-initorder-cmp.out): Likewise.
8506         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8507         ($(objpfx)tst-unused-dep.out): Likewise.
8508         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8509         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8510         * iconv/Makefile (test-iconvconfig): Likewise.
8511         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8512         ($(objpfx)iconv-test.out): Likewise.
8513         ($(objpfx)tst-tables.out): Likewise.
8514         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8515         ($(objpfx)tst-gettext.out): Likewise.
8516         ($(objpfx)tst-translit.out): Likewise.
8517         ($(objpfx)tst-gettext2.out): Likewise.
8518         ($(objpfx)tst-gettext4.out): Likewise.
8519         ($(objpfx)tst-gettext6.out): Likewise.
8520         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8521         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8522         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8523         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8524         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8525         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8526         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8527         ($(objpfx)wordexp-tst.out): Likewise.
8528         ($(objpfx)annexc.out): Likewise.
8529         ($(objpfx)tst-fnmatch-mem): Likewise.
8530         ($(objpfx)bug-regex2-mem): Likewise.
8531         ($(objpfx)bug-regex14-mem): Likewise.
8532         ($(objpfx)bug-regex21-mem): Likewise.
8533         ($(objpfx)bug-regex31-mem): Likewise.
8534         ($(objpfx)tst-vfork3-mem): Likewise.
8535         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8536         ($(objpfx)tst-pcre-mem): Likewise.
8537         ($(objpfx)tst-boost-mem): Likewise.
8538         ($(objpfx)tst-getconf.out): Likewise.
8539         ($(objpfx)bug-ga2-mem): Likewise.
8540         ($(objpfx)bug-glob2-mem): Likewise.
8541         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8542         ($(objpfx)mtrace-tst-leaks2): Likewise.
8543         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8544         ($(objpfx)tst-printf.out): Likewise.
8545         ($(objpfx)tst-setvbuf1.out): Likewise.
8546         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8547         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8548         ($(objpfx)tst-fmtmsg.out): Likewise.
8549         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8550         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8551
8552         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8553         * bits/sigaction.h [__USE_MISC]: Likewise.
8554         * bits/waitstatus.h: Update #endif comments.
8555         * ctype/ctype.h: Likewise.
8556         * dirent/dirent.h: Likewise.
8557         [__USE_MISC]: Remove redundant conditionals.
8558         * grp/grp.h: Update #endif comments.
8559         [__USE_GNU]: Remove redundant conditionals.
8560         [__USE_MISC]: Likewise.
8561         * inet/netinet/in.h [__USE_GNU]: Likewise.
8562         * io/sys/stat.h [__USE_MISC]: Likewise.
8563         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8564         * libio/bits/stdio.h: Update #endif comments.
8565         [__USE_MISC]: Remove redundant conditionals.
8566         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8567         * libio/stdio.h: Update #endif comments.
8568         [__USE_MISC]: Remove redundant conditionals.
8569         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8570         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8571         * math/math.h: Update #else and #endif comments.
8572         [__USE_MISC]: Remove redundant conditionals.
8573         * misc/sys/uio.h: Update #endif comments.
8574         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8575         * posix/glob.h [__USE_MISC]: Likewise.
8576         * posix/sys/types.h: Update #endif comments.
8577         [__USE_MISC]: Remove redundant conditionals.
8578         * posix/sys/wait.h: Update #endif comments.
8579         [__USE_MISC]: Remove redundant conditionals.
8580         * posix/unistd.h: Update #endif comments.
8581         [__USE_MISC]: Remove redundant conditionals.
8582         * pwd/pwd.h [__USE_GNU]: Likewise.
8583         [__USE_MISC]: Likewise.
8584         * resolv/netdb.h [__USE_GNU]: Likewise.
8585         * signal/signal.h: Update #endif comments.
8586         [__USE_MISC]: Remove redundant conditionals.
8587         * stdlib/stdlib.h: Update #else and #endif comments.
8588         [__USE_MISC]: Remove redundant conditionals.
8589         [__USE_GNU]: Likewise.
8590         * string/bits/string2.h [__USE_MISC]: Likewise.
8591         * string/string.h: Update #endif comments.
8592         [__USE_MISC]: Remove redundant conditionals.
8593         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8594         Likewise.
8595         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8596         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8597         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8598         Likewise.
8599         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8600         Likewise.
8601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8602         comments.
8603         [__USE_MISC]: Remove redundant conditionals.
8604         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8605         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8606         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8607         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8608         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8609         Likewise.
8610         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8611         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8612         Likewise.
8613         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8614         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8615         Likewise.
8616         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8617         Likewise.
8618         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8619         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8620         Likewise.
8621         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8622         Likewise.
8623         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8624         * sysdeps/x86/bits/string.h: Update #endif comments.
8625         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8626         conditionals.
8627         * time/sys/time.h: Update #endif comments.
8628         * time/time.h: Likewise.
8629         [__USE_MISC]: Remove redundant conditionals.
8630
8631 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8632
8633         [BZ #16600]
8634         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8635
8636 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8637
8638         * Versions.def (librt): Add GLIBC_2.17.
8639
8640 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8641
8642         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8643         synonym for _SYS_AUXV_H to allow direct inclusion.
8644         * sysdeps/sparc/bits/hwcap.h: Likewise.
8645         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8646         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8647         * sysdeps/sparc/sysdep.h: Likewise.
8648
8649 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8650
8651         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8652
8653 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8654
8655         * benchtests/bench-strrchr.c: Print length instead of position.
8656
8657 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8658
8659         [BZ #16611]
8660         * sysdeps/unix/sysv/linux/kernel-features.h
8661         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8662         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8663         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8664         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8665         Likewise.
8666         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8667         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8668         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8669         (__ASSUME_SENDMMSG): Define instead of using previous
8670         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8671         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8672         (__ASSUME_SENDMMSG_SYSCALL): Define.
8673         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8674         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8675         Likewise.
8676         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8677         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8678         Likewise.
8679         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8680         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8681         Likewise.
8682         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8683         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8684         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8685         [__ASSUME_SENDMMSG]: Change conditionals to
8686         [__ASSUME_SENDMMSG_SOCKETCALL].
8687         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8688         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8689         Define.
8690         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8691         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8692         Likewise.
8693         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8694         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8695         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8696         [!__ASSUME_SENDMMSG]: Change conditional to
8697         [!__ASSUME_SENDMMSG_SOCKETCALL].
8698         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8699         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8700         Define.
8701
8702         [BZ #16610]
8703         * sysdeps/unix/sysv/linux/kernel-features.h
8704         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8705         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8706         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8707         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8708         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8709         [__i386__ || __sparc__]
8710         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8711         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8712         (__ASSUME_RECVMMSG): Define instead of using previous
8713         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8714         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8715         (__ASSUME_RECVMMSG_SYSCALL): Define.
8716         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8717         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8718         Likewise.
8719         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8720         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8721         Likewise.
8722         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8723         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8724         Likewise.
8725         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8726         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8727         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8728         [__ASSUME_RECVMMSG]: Change condition to
8729         [__ASSUME_RECVMMSG_SOCKETCALL].
8730         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8731         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8732         Define.
8733         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8734         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8735         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8736         Likewise.
8737         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8738         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8739         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8740         [!__ASSUME_RECVMMSG]: Change condition to
8741         [!__ASSUME_RECVMMSG_SOCKETCALL].
8742         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8743         (__ASSUME_RECVMMSG_SYSCALL): Define.
8744
8745         [BZ #16609]
8746         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8747         __powerpc__ || __s390__ || __sh__ || __sparc__]
8748         (__ASSUME_SOCKETCALL): Define.
8749         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8750         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8751         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8752         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8753         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8754         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8755         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8756         (__ASSUME_ACCEPT4): Define instead of using previous
8757         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8758         __powerpc__ || __sparc__ || __s390__)] condition.
8759         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8760         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8761         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8762         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8763         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8764         [!__ASSUME_ACCEPT4]: Change condition to
8765         [!__ASSUME_ACCEPT4_SOCKETCALL].
8766         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8767         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8768         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8769         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8770         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8771         __ASSUME_ACCEPT4_SYSCALL.
8772         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8773         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8774         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8775         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8776         __ASSUME_ACCEPT4_SYSCALL.
8777         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8778         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8779         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8780         [__ASSUME_ACCEPT4]: Change condition to
8781         [__ASSUME_ACCEPT4_SOCKETCALL].
8782         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8783         (__ASSUME_SOCKETCALL): Define.
8784         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8785         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8786         (__ASSUME_SOCKETCALL): Define.
8787         (__ASSUME_ACCEPT4): Remove.
8788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8789         Define.
8790         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8791         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8792         Likewise.
8793         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8794         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8795
8796         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8797         macro.
8798         (HWCAP_ARM_LPAE): Likewise.
8799         (HWCAP_ARM_EVTSTRM): Likewise.
8800         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8801         Add vpfd32, lpae and evtstrm.
8802         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8803         Increase to 22.
8804
8805 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8806
8807         * math/auto-libm-test-in: Add tests of clog10.
8808         * math/auto-libm-test-out: Regenerated.
8809         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8810         * sysdeps/i386/fpu/libm-test-ulps: Update.
8811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8812
8813 2014-02-18  Andreas Schwab  <schwab@suse.de>
8814
8815         [BZ #16574]
8816         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8817         Store non-zero if the second buffer was newly allocated.
8818         (send_dg): Likewise.
8819         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8820         to send_vc and send_dg.
8821         (res_nsend): Pass NULL for ansp2_malloced.
8822         * resolv/res_query.c (__libc_res_nquery): Add parameter
8823         answerp2_malloced and pass it down to __libc_res_nsend.
8824         (res_nquery): Pass additional NULL to __libc_res_nquery.
8825         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8826         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8827         second answer buffer if answerp2_malloced was set.
8828         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8829         (__libc_res_nquerydomain): Add parameter
8830         answerp2_malloced and pass it down to __libc_res_nquery.
8831         (res_nquerydomain): Pass additional NULL to
8832         __libc_res_nquerydomain.
8833         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8834         additional NULL to __libc_res_nsend and __libc_res_nquery.
8835         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8836         additional NULL to __libc_res_nsearch.
8837         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8838         parameter of __libc_res_nsearch to check for separately allocated
8839         second buffer.
8840         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8841         __libc_res_nquery.
8842         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8843         additional NULL to __libc_res_nquery.
8844         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8845         __libc_res_nsearch.
8846         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8847         * include/resolv.h: Update prototypes of __libc_res_nquery,
8848         __libc_res_nsearch, __libc_res_nsend.
8849
8850 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8851
8852         * math/auto-libm-test-in: Add tests of fma.
8853         * math/auto-libm-test-out: Regenerated.
8854         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8855         (fma_towardzero_test_data): Likewise.
8856         (fma_downward_test_data): Likewise.
8857         (fma_upward_test_data): Likewise.
8858         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8859         mpc_mode.
8860         (rounding_modes): Add values for new field.
8861         (func_calc_method): Add value mpfr_fff_f.
8862         (func_calc_desc): Add mpfr_fff_f union field.
8863         (test_function): Add field exact_args.
8864         (FUNC): Add macro argument EXACT_ARGS.
8865         (FUNC_mpfr_f_f): Update call to FUNC.
8866         (FUNC_mpfr_f_f): Likewise.
8867         (FUNC_mpfr_ff_f): Likewise.
8868         (FUNC_mpfr_if_f): Likewise.
8869         (FUNC_mpc_c_f): Likewise.
8870         (FUNC_mpc_c_c): Likewise.
8871         (test_functions): Add fma.  Update calls to FUNC.
8872         (handle_input_arg): Add argument exact_args.
8873         (add_test): Update call to handle_input_arg.
8874         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8875         (output_for_one_input_case): Update call to calc_generic_results.
8876         Recalculate exact zero results in each rounding mode.
8877
8878         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8879         non-negative before setting low bit.
8880         * math/auto-libm-test-in: Mark one asin test possibly having
8881         spurious underflow.
8882         * math/auto-libm-test-out: Regenerated.
8883         * sysdeps/i386/fpu/libm-test-ulps: Update.
8884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8885
8886 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8887
8888         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8889         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8890         ports/sysdeps/unix/sysv/linux/microblaze.
8891         * README: Add missing listing for microblaze*-*-linux-gnu.
8892
8893 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8894
8895         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8896         * sysdeps/unix/sysv/linux/ia64: Move directory from
8897         ports/sysdeps/unix/sysv/linux/ia64.
8898         * README: Update listing for ia64-*-linux-gnu.
8899
8900 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8901             Joseph Myers  <joseph@codesourcery.com>
8902
8903         * Makeconfig (test-name): New variable.
8904         (evaluate-test): Likewise.
8905         * Makerules (do-test-clean): Remove .test-result files.
8906         (common-mostlyclean): Likewise.
8907         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8908         * scripts/evaluate-test.sh: New file.
8909
8910 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8911
8912         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8913         separate $(objpfx)tst-fopenloc-cmp.out and
8914         $(objpfx)tst-fopenloc-mem.out targets.
8915         (tests): Update dependencies.
8916         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8917         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8918         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8919         (tst-rxspencer-no-utf8-ARGS): New variable.
8920         (tst-rxspencer-no-utf8-ENV): Likewise.
8921         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8922         instead of $(objpfx)tst-rxspencer-mem.
8923         ($(objpfx)tst-rxspencer-mem): Change target to
8924         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8925         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8926         * posix/tst-rxspencer-no-utf8.c: New file.
8927
8928         * elf/Makefile ($(objpfx)order.out): Remove rule.
8929         [$(run-built-tests) = yes] (tests): Depend on
8930         $(objpfx)order-cmp.out.
8931         ($(objpfx)order-cmp.out): New rule.
8932         [$(run-built-tests) = yes] (tests): Depend on
8933         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8934         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8935         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8936         $(objpfx)tst-array5-static-cmp.out.
8937         ($(objpfx)tst-array1.out): Remove rule.
8938         ($(objpfx)tst-array1-cmp.out): New rule.
8939         ($(objpfx)tst-array1-static.out): Remove rule.
8940         ($(objpfx)tst-array1-static-cmp.out): New rule.
8941         ($(objpfx)tst-array2.out): Remove rule.
8942         ($(objpfx)tst-array2-cmp.out): New rule.
8943         ($(objpfx)tst-array3.out): Remove rule.
8944         ($(objpfx)tst-array3-cmp.out): New rule.
8945         ($(objpfx)tst-array4.out): Remove rule.
8946         ($(objpfx)tst-array4-cmp.out): New rule.
8947         ($(objpfx)tst-array5.out): Remove rule.
8948         ($(objpfx)tst-array5-cmp.out): New rule.
8949         ($(objpfx)tst-array5-static.out): Remove rule.
8950         ($(objpfx)tst-array5-static-cmp.out): New rule.
8951         [$(run-built-tests) = yes] (tests): Depend on
8952         $(objpfx)order2-cmp.out.
8953         ($(objpfx)order2.out): Remove rule.
8954         ($(objpfx)order2-cmp.out): New rule.
8955         ($(objpfx)tst-initorder.out): Remove rule.
8956         [$(run-built-tests) = yes] (tests): Depend on
8957         $(objpfx)tst-initorder-cmp.out.
8958         ($(objpfx)tst-initorder-cmp.out): New rule.
8959         ($(objpfx)tst-initorder2.out): Remove rule.
8960         [$(run-built-tests) = yes] (tests): Depend on
8961         $(objpfx)tst-initorder2-cmp.out.
8962         ($(objpfx)tst-initorder2-cmp.out): New rule.
8963         [$(run-built-tests) = yes] (tests): Depend on
8964         $(objpfx)tst-unused-dep-cmp.out.
8965         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8966         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8967         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8968         on $(objpfx)tst-setvbuf1-cmp.out.
8969         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8970         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8971         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8972         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8973         ($(objpfx)tst-svc.out): Remove rule.
8974         ($(objpfx)tst-svc-cmp.out): New rule.
8975
8976 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8977
8978         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8979         * ctype/ctype.h [__USE_MISC]: Likewise.
8980         * dirent/dirent.h [__USE_MISC]: Likewise.
8981         * grp/grp.h [__USE_MISC]: Likewise.
8982         * io/fcntl.h [__USE_MISC]: Likewise.
8983         * io/sys/stat.h [__USE_MISC]: Likewise.
8984         * libio/stdio.h [__USE_MISC]: Likewise.
8985         * posix/unistd.h [__USE_MISC]: Likewise.
8986         * pwd/pwd.h [__USE_MISC]: Likewise.
8987         * stdlib.h [__USE_MISC]: Likewise.
8988         * string/bits/string2.h [__USE_MISC]: Likewise.
8989         * string/string.h [__USE_MISC]: Likewise.
8990         * time/time.h [__USE_MISC]: Likewise.
8991
8992 2014-02-13  Andreas Schwab  <schwab@suse.de>
8993
8994         [BZ #16574]
8995         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8996         second answer buffer if it was separately allocated.
8997
8998 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8999
9000         * sysdeps/mips/math-tests.h: Include <features.h>.
9001         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9002         (ROUNDING_TESTS_long_double): Do not define.
9003         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9004         (EXCEPTION_TESTS_long_double): Likewise.
9005         * sysdeps/mips/mips64/libm-test-ulps: Update.
9006
9007         * include/features.h (__USE_BSD): Remove macro definitions.
9008         (__USE_SVID): Likewise.
9009         (_BSD_SOURCE): Likewise.
9010         (_SVID_SOURCE): Likewise.
9011         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9012         from definition of _DEFAULT_SOURCE.
9013         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9014         [_DEFAULT_SOURCE].
9015         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9016         * bits/mman.h [__USE_BSD]: Likewise.
9017         * bits/termios.h [__USE_BSD]: Likewise.
9018         * bits/waitstatus.h [__USE_BSD]: Likewise.
9019         * ctype/ctype.h [__USE_SVID]: Likewise.
9020         * dirent/dirent.h [__USE_BSD]: Likewise.
9021         * grp/grp.h [__USE_SVID]: Likewise.
9022         [__USE_BSD]: Likewise.
9023         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9024         * io/fcntl.h [__USE_BSD]: Likewise.
9025         * io/ftw.h [__USE_BSD]: Likewise.
9026         * io/sys/stat.h [__USE_BSD]: Likewise.
9027         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9028         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9029         * libio/stdio.h [__USE_SVID]: Likewise.
9030         [__USE_BSD]: Likewise.
9031         * math/math.h [__USE_SVID]: Likewise.
9032         [__USE_BSD]: Likewise.
9033         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9034         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9035         * misc/search.h [__USE_SVID]: Likewise.
9036         * misc/sys/mman.h [__USE_BSD]: Likewise.
9037         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9038         * misc/sys/uio.h [__USE_BSD]: Likewise.
9039         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9040         * posix/glob.h [__USE_BSD]: Likewise.
9041         * posix/regex.h [__USE_BSD]: Likewise.
9042         * posix/sys/types.h [__USE_BSD]: Likewise.
9043         [__USE_SVID]: Likewise.
9044         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9045         * posix/sys/wait.h [__USE_BSD]: Likewise.
9046         [__USE_SVID]: Likewise.
9047         * posix/unistd.h [__USE_BSD]: Likewise.
9048         [__USE_SVID]: Likewise.
9049         * pwd/pwd.h [__USE_SVID]: Likewise.
9050         * resolv/netdb.h [__USE_BSD]: Likewise.
9051         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9052         * signal/signal.h [__USE_BSD]: Likewise.
9053         [__USE_SVID]: Likewise.
9054         * socket/sys/socket.h [__USE_BSD]: Likewise.
9055         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9056         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9057         [__USE_SVID]: Likewise.
9058         * string/bits/string2.h [__USE_BSD]: Likewise.
9059         [__USE_SVID]: Likewise.
9060         * string/bits/string3.h [__USE_BSD]: Likewise.
9061         * string/endian.h [__USE_BSD]: Likewise.
9062         * string/string.h [__USE_SVID]: Likewise.
9063         [__USE_BSD]: Likewise.
9064         * string/strings.h [__USE_BSD]: Likewise.
9065         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9066         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9067         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9068         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9069         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9070         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9071         Likewise.
9072         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9073         Likewise.
9074         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9075         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9076         Likewise.
9077         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9078         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9079         Likewise.
9080         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9081         Likewise.
9082         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9083         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9084         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9085         Likewise.
9086         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9087         Likewise.
9088         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9089         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9090         * termios/termios.h [__USE_BSD]: Likewise.
9091         * time/sys/time.h [__USE_BSD]: Likewise.
9092         * time/time.h [__USE_BSD]: Likewise.
9093         [__USE_SVID]: Likewise.
9094
9095         * Makefile (subdir_targets): Remove subdir_lint.out.
9096
9097         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9098         (do-tst-printf): Likewise.
9099         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9100         $(objpfx)tst-printf.out.
9101
9102         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9103
9104         * Makerules (check-abi-%): Change target to
9105         $(objpfx)check-abi-%.out.
9106         (check-abi target): Update dependencies.
9107         (check-abi-pattern variable): Redirect output of diff to $@.
9108         (check-abi variable): Likewise.
9109         * elf/Makefile (check-abi): Update dependencies.
9110
9111         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9112         unused.
9113         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9114         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9115         subnormal range.
9116         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9117         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9118         value has largest subnormal exponent.
9119         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9120         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9121         * sysdeps/aarch64/soft-fp/sfp-machine.h
9122         (_FP_TININESS_AFTER_ROUNDING): New macro.
9123         * sysdeps/alpha/soft-fp/sfp-machine.h
9124         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9125         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9126         Likewise.
9127         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9128         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9129         * sysdeps/mips/soft-fp/sfp-machine.h
9130         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9131         * sysdeps/powerpc/soft-fp/sfp-machine.h
9132         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9133         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9134         Likewise.
9135         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9136         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9137         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9138         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9139         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9140         Likewise.
9141
9142 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9143
9144         [BZ #16545]
9145         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9146         model 1.
9147
9148 2014-02-12  Richard Henderson  <rth@redhat.com>
9149
9150         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9151         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9152         * sysdeps/unix/sysv/linux/alpha: Move directory from
9153         ports/sysdeps/unix/sysv/linux/alpha.
9154         * README: Update listing for alpha-*-linux-gnu.
9155
9156 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9157
9158         * include/features.h: Update comment documenting feature test
9159         macros.
9160         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9161         _DEFAULT_SOURCE.
9162         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9163         (_SVID_SOURCE): Likewise.
9164         (_DEFAULT_SOURCE): Update description of default features.
9165         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9166         with _GNU_SOURCE.
9167         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9168         (S_ISVTX): Likewise.
9169         * manual/math.texi (Mathematical Constants): Likewise.
9170         * manual/signal.texi (Interrupted Primitives): Likewise.
9171         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9172         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9173         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9174         Don't refer to _SVID_SOURCE in warning text.
9175
9176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9177
9178         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9179         already defined.
9180         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9181         * sysdeps/mips/dl-lookup.c: Remove.
9182         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9183
9184 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9185
9186         [BZ #16447]
9187         * math/auto-libm-test-in: Add testcase for expl.
9188         * math/auto-libm-test-out: Regenerate.
9189         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9190         calculation of unsafe.
9191         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9192
9193 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9194
9195         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9196         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9197         ports/sysdeps/unix/sysv/linux/aarch64.
9198         * README: Update listing for aarch64*-*-linux-gnu.
9199
9200 2014-02-11  Will Newton  <will.newton@linaro.org>
9201
9202         * manual/probes.texi (Mathematical Function Probes): Use
9203         "triggered" instead of "hit".
9204
9205         * manual/probes.texi (Internal Probes): Add documentation
9206         of setjmp, longjmp and longjmp_target probes.
9207
9208         * include/stap-probe.h: Add comment about probe argument
9209         format.
9210
9211         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9212         definition.  (tr_where, tr_freehook, tr_mallochook,
9213         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9214
9215 2014-02-11  David S. Miller  <davem@davemloft.net>
9216
9217         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9218         processing int_tests.
9219
9220 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9221
9222         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9223         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9224         * sysdeps/unix/sysv/linux/mips: Move directory from
9225         ports/sysdeps/unix/sysv/linux/mips.
9226         * README: Update listing for mips-*-linux-gnu and
9227         mips64-*-linux-gnu.
9228
9229 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9230
9231         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9232         * sysdeps/unix/sysv/linux/m68k: Move directory from
9233         ports/sysdeps/unix/sysv/linux/m68k.
9234         * README: Update listing for m68k-*-linux-gnu.
9235
9236 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9237
9238         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9239         * sysdeps/unix/sysv/linux/generic: Move directory from
9240         ports/sysdeps/unix/sysv/linux/generic.
9241         * sysdeps/unix/sysv/linux/tile: Move directory from
9242         ports/sysdeps/unix/sysv/linux/tile.
9243         * README: Update listing for tile*-*-linux-gnu.
9244
9245 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9246
9247         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9248         __builtin_expect.
9249         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9250         * catgets/open_catalog.c (__open_catalog): Likewise.
9251         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9252         * debug/confstr_chk.c: Likewise.
9253         * debug/fread_chk.c (__fread_chk): Likewise.
9254         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9255         * debug/getgroups_chk.c: Likewise.
9256         * debug/mbsnrtowcs_chk.c: Likewise.
9257         * debug/mbsrtowcs_chk.c: Likewise.
9258         * debug/mbstowcs_chk.c: Likewise.
9259         * debug/memcpy_chk.c: Likewise.
9260         * debug/memmove_chk.c: Likewise.
9261         * debug/mempcpy_chk.c: Likewise.
9262         * debug/memset_chk.c: Likewise.
9263         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9264         * debug/strcat_chk.c (__strcat_chk): Likewise.
9265         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9266         * debug/strncat_chk.c (__strncat_chk): Likewise.
9267         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9268         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9269         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9270         * debug/wcpncpy_chk.c: Likewise.
9271         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9272         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9273         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9274         * debug/wcsncpy_chk.c: Likewise.
9275         * debug/wcsnrtombs_chk.c: Likewise.
9276         * debug/wcsrtombs_chk.c: Likewise.
9277         * debug/wcstombs_chk.c: Likewise.
9278         * debug/wmemcpy_chk.c: Likewise.
9279         * debug/wmemmove_chk.c: Likewise.
9280         * debug/wmempcpy_chk.c: Likewise.
9281         * debug/wmemset_chk.c: Likewise.
9282         * dirent/scandirat.c (SCANDIRAT): Likewise.
9283         * dlfcn/dladdr1.c (dladdr1): Likewise.
9284         * dlfcn/dladdr.c (dladdr): Likewise.
9285         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9286         * dlfcn/dlerror.c (__dlerror): Likewise.
9287         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9288         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9289         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9290         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9291         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9292         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9293         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9294         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9295         Likewise.
9296         * elf/dl-conflict.c: Likewise.
9297         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9298         * elf/dl-dst.h: Likewise.
9299         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9300         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9301         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9302         * elf/dl-init.c (call_init, _dl_init): Likewise.
9303         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9304         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9305         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9306         Likewise.
9307         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9308         Likewise.
9309         * elf/dl-minimal.c (__libc_memalign): Likewise.
9310         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9311         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9312         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9313         * elf/dl-sym.c (do_sym): Likewise.
9314         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9315         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9316         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9317         * elf/dl-writev.h (_dl_writev): Likewise.
9318         * elf/ldconfig.c (search_dir): Likewise.
9319         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9320         (dl_main): Likewise.
9321         * elf/setup-vdso.h (setup_vdso): Likewise.
9322         * grp/compat-initgroups.c (compat_call): Likewise.
9323         * grp/fgetgrent.c (fgetgrent): Likewise.
9324         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9325         * grp/putgrent.c (putgrent): Likewise.
9326         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9327         Likewise.
9328         * hurd/hurdinit.c: Likewise.
9329         * iconvdata/8bit-gap.c (struct): Likewise.
9330         * iconvdata/ansi_x3.110.c : Likewise.
9331         * iconvdata/big5.c : Likewise.
9332         * iconvdata/big5hkscs.c : Likewise.
9333         * iconvdata/cp1255.c: Likewise.
9334         * iconvdata/cp1258.c : Likewise.
9335         * iconvdata/cp932.c : Likewise.
9336         * iconvdata/euc-cn.c: Likewise.
9337         * iconvdata/euc-jisx0213.c : Likewise.
9338         * iconvdata/euc-jp.c: Likewise.
9339         * iconvdata/euc-jp-ms.c : Likewise.
9340         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9341         * iconvdata/gb18030.c : Likewise.
9342         * iconvdata/gbbig5.c (const): Likewise.
9343         * iconvdata/gbgbk.c: Likewise.
9344         * iconvdata/gbk.c : Likewise.
9345         * iconvdata/ibm1364.c : Likewise.
9346         * iconvdata/ibm930.c : Likewise.
9347         * iconvdata/ibm932.c: Likewise.
9348         * iconvdata/ibm933.c : Likewise.
9349         * iconvdata/ibm935.c : Likewise.
9350         * iconvdata/ibm937.c : Likewise.
9351         * iconvdata/ibm939.c : Likewise.
9352         * iconvdata/ibm943.c: Likewise.
9353         * iconvdata/iso_11548-1.c: Likewise.
9354         * iconvdata/iso-2022-cn.c : Likewise.
9355         * iconvdata/iso-2022-cn-ext.c : Likewise.
9356         * iconvdata/iso-2022-jp-3.c: Likewise.
9357         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9358         * iconvdata/iso-2022-kr.c : Likewise.
9359         * iconvdata/iso646.c (gconv_end): Likewise.
9360         * iconvdata/iso_6937-2.c : Likewise.
9361         * iconvdata/iso_6937.c : Likewise.
9362         * iconvdata/iso8859-1.c: Likewise.
9363         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9364         * iconvdata/shift_jisx0213.c : Likewise.
9365         * iconvdata/sjis.c : Likewise.
9366         * iconvdata/t.61.c : Likewise.
9367         * iconvdata/tcvn5712-1.c : Likewise.
9368         * iconvdata/tscii.c: Likewise.
9369         * iconvdata/uhc.c : Likewise.
9370         * iconvdata/unicode.c (gconv_end): Likewise.
9371         * iconvdata/utf-16.c (gconv_end): Likewise.
9372         * iconvdata/utf-32.c (gconv_end): Likewise.
9373         * iconvdata/utf-7.c (base64): Likewise.
9374         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9375         * iconv/gconv_close.c (__gconv_close): Likewise.
9376         * iconv/gconv_open.c (__gconv_open): Likewise.
9377         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9378         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9379         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9380         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9381         (ucs4le_internal_loop_single): Likewise.
9382         * iconv/iconv.c (iconv): Likewise.
9383         * iconv/iconv_close.c: Likewise.
9384         * iconv/loop.c (SINGLE): Likewise.
9385         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9386         * include/atomic.h: Likewise.
9387         * inet/inet6_option.c (option_alloc): Likewise.
9388         * intl/bindtextdom.c (set_binding_values): Likewise.
9389         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9390         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9391         * intl/localealias.c (read_alias_file): Likewise.
9392         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9393         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9394         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9395         * libio/fmemopen.c (fmemopen): Likewise.
9396         * libio/iofgets.c (_IO_fgets): Likewise.
9397         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9398         * libio/iofgetws.c (fgetws): Likewise.
9399         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9400         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9401         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9402         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9403         * locale/findlocale.c (_nl_find_locale): Likewise.
9404         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9405         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9406         Likewise.
9407         * locale/setlocale.c (setlocale): Likewise.
9408         * login/programs/pt_chown.c (main): Likewise.
9409         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9410         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9411         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9412         (mmap, mmap64, mremap, munmap): Likewise.
9413         * math/e_exp2l.c: Likewise.
9414         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9415         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9416         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9417         * math/s_catan.c (__catan): Likewise.
9418         * math/s_catanf.c (__catanf): Likewise.
9419         * math/s_catanh.c (__catanh): Likewise.
9420         * math/s_catanhf.c (__catanhf): Likewise.
9421         * math/s_catanhl.c (__catanhl): Likewise.
9422         * math/s_catanl.c (__catanl): Likewise.
9423         * math/s_ccosh.c (__ccosh): Likewise.
9424         * math/s_ccoshf.c (__ccoshf): Likewise.
9425         * math/s_ccoshl.c (__ccoshl): Likewise.
9426         * math/s_cexp.c (__cexp): Likewise.
9427         * math/s_cexpf.c (__cexpf): Likewise.
9428         * math/s_cexpl.c (__cexpl): Likewise.
9429         * math/s_clog10.c (__clog10): Likewise.
9430         * math/s_clog10f.c (__clog10f): Likewise.
9431         * math/s_clog10l.c (__clog10l): Likewise.
9432         * math/s_clog.c (__clog): Likewise.
9433         * math/s_clogf.c (__clogf): Likewise.
9434         * math/s_clogl.c (__clogl): Likewise.
9435         * math/s_csin.c (__csin): Likewise.
9436         * math/s_csinf.c (__csinf): Likewise.
9437         * math/s_csinh.c (__csinh): Likewise.
9438         * math/s_csinhf.c (__csinhf): Likewise.
9439         * math/s_csinhl.c (__csinhl): Likewise.
9440         * math/s_csinl.c (__csinl): Likewise.
9441         * math/s_csqrt.c (__csqrt): Likewise.
9442         * math/s_csqrtf.c (__csqrtf): Likewise.
9443         * math/s_csqrtl.c (__csqrtl): Likewise.
9444         * math/s_ctan.c (__ctan): Likewise.
9445         * math/s_ctanf.c (__ctanf): Likewise.
9446         * math/s_ctanh.c (__ctanh): Likewise.
9447         * math/s_ctanhf.c (__ctanhf): Likewise.
9448         * math/s_ctanhl.c (__ctanhl): Likewise.
9449         * math/s_ctanl.c (__ctanl): Likewise.
9450         * math/w_pow.c: Likewise.
9451         * math/w_powf.c: Likewise.
9452         * math/w_powl.c: Likewise.
9453         * math/w_scalb.c (sysv_scalb): Likewise.
9454         * math/w_scalbf.c (sysv_scalbf): Likewise.
9455         * math/w_scalbl.c (sysv_scalbl): Likewise.
9456         * misc/error.c (error_tail): Likewise.
9457         * misc/pselect.c (__pselect): Likewise.
9458         * nis/nis_callback.c (__nis_create_callback): Likewise.
9459         * nis/nis_call.c (__nisfind_server): Likewise.
9460         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9461         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9462         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9463         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9464         * nis/nis_lookup.c (nis_lookup): Likewise.
9465         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9466         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9467         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9468         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9469         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9470         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9471         * nis/nss_compat/compat-initgroups.c (add_group)
9472         (internal_getgrent_r): Likewise.
9473         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9474         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9475         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9476         (internal_getspnam_r): Likewise.
9477         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9478         (_nss_nis_getaliasbyname_r): Likewise.
9479         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9480         (_nss_nis_getntohost_r): Likewise.
9481         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9482         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9483         (_nss_nis_getgrgid_r): Likewise.
9484         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9485         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9486         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9487         (_nss_nis_gethostbyname4_r): Likewise.
9488         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9489         (initgroups_netid): Likewise.
9490         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9491         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9492         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9493         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9494         (_nss_nis_getprotobynumber_r): Likewise.
9495         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9496         (_nss_nis_getsecretkey): Likewise.
9497         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9498         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9499         (_nss_nis_getpwuid_r): Likewise.
9500         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9501         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9502         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9503         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9504         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9505         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9506         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9507         Likewise.
9508         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9509         (_nss_nisplus_getntohost_r): Likewise.
9510         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9511         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9512         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9513         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9514         Likewise.
9515         * nis/nss_nisplus/nisplus-initgroups.c
9516         (_nss_nisplus_initgroups_dyn): Likewise.
9517         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9518         (_nss_nisplus_getnetbyaddr_r): Likewise.
9519         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9520         (_nss_nisplus_getprotobynumber_r): Likewise.
9521         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9522         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9523         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9524         Likewise.
9525         * nis/nss_nisplus/nisplus-service.c
9526         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9527         (_nss_nisplus_getservbyport_r): Likewise.
9528         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9529         (_nss_nisplus_getspnam_r): Likewise.
9530         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9531         Likewise.
9532         * nscd/aicache.c (addhstaiX): Likewise.
9533         * nscd/cache.c (cache_search, prune_cache): Likewise.
9534         * nscd/connections.c (register_traced_file, send_ro_fd)
9535         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9536         (main_loop_epoll): Likewise.
9537         * nscd/grpcache.c (addgrbyX): Likewise.
9538         * nscd/hstcache.c (addhstbyX): Likewise.
9539         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9540         * nscd/mem.c (gc, mempool_alloc): Likewise.
9541         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9542         (addinnetgrX): Likewise.
9543         * nscd/nscd-client.h (__nscd_acquire_maplock)
9544         (__nscd_drop_map_ref): Likewise.
9545         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9546         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9547         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9548         Likewise.
9549         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9550         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9551         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9552         (__nscd_get_map_ref): Likewise.
9553         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9554         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9555         Likewise.
9556         * nscd/pwdcache.c (addpwbyX): Likewise.
9557         * nscd/selinux.c (preserve_capabilities): Likewise.
9558         * nscd/servicescache.c (addservbyX): Likewise.
9559         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9560         * posix/fnmatch.c (fnmatch): Likewise.
9561         * posix/getopt.c (_getopt_internal_r): Likewise.
9562         * posix/glob.c (glob, glob_in_dir): Likewise.
9563         * posix/wordexp.c (exec_comm_child): Likewise.
9564         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9565         (getanswer_r, gaih_getanswer_slice): Likewise.
9566         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9567         * resolv/res_init.c: Likewise.
9568         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9569         * resolv/res_query.c (__libc_res_nquery): Likewise.
9570         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9571         Likewise.
9572         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9573         * stdio-common/perror.c (perror): Likewise.
9574         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9575         * stdio-common/tmpnam.c (tmpnam): Likewise.
9576         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9577         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9578         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9579         Likewise.
9580         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9581         * stdlib/putenv.c (putenv): Likewise.
9582         * stdlib/setenv.c (__add_to_environ): Likewise.
9583         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9584         * stdlib/strtol_l.c (INTERNAL): Likewise.
9585         * string/memmem.c (memmem): Likewise.
9586         * string/strerror.c (strerror): Likewise.
9587         * string/strnlen.c (__strnlen): Likewise.
9588         * string/test-memmem.c (simple_memmem): Likewise.
9589         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9590         * sunrpc/pm_getport.c (__get_socket): Likewise.
9591         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9592         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9593         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9594         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9595         Likewise.
9596         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9597         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9598         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9599         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9600         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9601         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9602         Likewise.
9603         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9604         Likewise.
9605         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9606         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9607         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9608         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9609         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9611         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9612         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9613         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9614         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9615         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9616         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9617         Likewise.
9618         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9619         Likewise.
9620         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9621         Likewise.
9622         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9623         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9624         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9625         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9626         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9627         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9628         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9629         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9630         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9631         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9632         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9633         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9634         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9635         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9637         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9638         Likewise.
9639         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9640         Likewise.
9641         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9642         Likewise.
9643         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9644         Likewise.
9645         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9647         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9648         Likewise.
9649         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9650         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9651         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9652         * sysdeps/posix/sleep.c: Likewise.
9653         * sysdeps/posix/tempname.c: Likewise.
9654         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9655         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9656         Likewise.
9657         * sysdeps/powerpc/powerpc32/dl-machine.h
9658         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9659         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9660         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9661         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9662         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9663         Likewise.
9664         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9665         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9666         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9667         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9668         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9669         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9670         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9671         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9672         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9673         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9674         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9675         (elf_machine_lazy_rel): Likewise.
9676         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9677         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9678         (elf_machine_lazy_rel): Likewise.
9679         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9680         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9681         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9682         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9683         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9684         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9685         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9686         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9687         Likewise.
9688         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9689         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9690         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9691         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9692         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9693         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9694         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9695         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9696         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9697         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9698         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9699         Likewise.
9700         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9701         (__posix_fallocate64_l64): Likewise.
9702         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9703         (posix_fallocate): Likewise.
9704         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9705         Likewise.
9706         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9707         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9708         (getifaddrs_internal): Likewise.
9709         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9710         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9711         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9712         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9713         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9714         (__posix_fallocate64_l64): Likewise.
9715         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9716         Likewise.
9717         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9718         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9719         (__get_clockfreq): Likewise.
9720         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9721         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9722         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9723         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9725         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9726         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9727         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9728         Likewise.
9729         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9730         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9731         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9732         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9733         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9734         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9735         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9736         Likewise.
9737         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9738         (posix_fallocate): Likewise.
9739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9740         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9741         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9742         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9743         (elf_machine_rela, elf_machine_rela_relative)
9744         (elf_machine_lazy_rel): Likewise.
9745         * time/asctime.c (asctime_internal): Likewise.
9746         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9747         * time/tzset.c (__tzset_parse_tz): Likewise.
9748         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9749         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9750         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9751         * wcsmbs/wcsmbsload.h: Likewise.
9752
9753         [BZ #15894]
9754         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9755
9756         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9757         (arena_get2): Remove THREAD_STATS conditionals.
9758         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9759         (__malloc_stats, int): Likewise.
9760
9761 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9762
9763         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9764         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9765
9766         * manual/setjmp.texi: Fix typos/grammar errors.
9767
9768         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9769         Only return early when n is <= 0.  Delete unused return statement.
9770
9771         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9772         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9773         * debug/tst-longjmp_chk3.c: New file.
9774
9775         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9776         (test_main): Replace code with set_fortify_handler call.
9777         * debug/test-strcpy_chk.c: Likewise.
9778         * debug/tst-chk1.c: Likewise.
9779         * debug/tst-longjmp_chk.c: Likewise.
9780         * test-skeleton.c: Include fcntl.h & paths.h
9781         (set_fortify_handler): Define.
9782
9783         * debug/tst-longjmp_chk.c: Add header comment and include
9784         ../test-skeleton.c.
9785         (do_test): Mark static.
9786         (TEST_FUNCTION): Define.
9787
9788         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9789         (IP_PMTUDISC_INTERFACE): Likewise.
9790         (IP_MULTICAST_IF): Likewise.
9791         (IP_MULTICAST_TTL): Likewise.
9792         (IP_MULTICAST_LOOP): Likewise.
9793         (IP_ADD_MEMBERSHIP): Likewise.
9794         (IP_DROP_MEMBERSHIP): Likewise.
9795         (IP_UNBLOCK_SOURCE): Likewise.
9796         (IP_BLOCK_SOURCE): Likewise.
9797         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9798         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9799         (IP_MSFILTER): Likewise.
9800         (MCAST_JOIN_GROUP): Likewise.
9801         (MCAST_BLOCK_SOURCE): Likewise.
9802         (MCAST_UNBLOCK_SOURCE): Likewise.
9803         (MCAST_LEAVE_GROUP): Likewise.
9804         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9805         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9806         (MCAST_MSFILTER): Likewise.
9807         (IP_MULTICAST_ALL): Likewise.
9808         (IP_UNICAST_IF): Likewise.
9809
9810         * timezone/Makefile: Delete $(have-ksh) check.
9811         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9812         * timezone/tzselect.ksh: Add +x mode bits.
9813
9814         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9815         (ANON_INODE_FS_MAGIC): Likewise.
9816         (BDEVFS_MAGIC): Likewise.
9817         (BINFMTFS_MAGIC): Likewise.
9818         (BTRFS_TEST_MAGIC): Likewise.
9819         (CRAMFS_MAGIC_WEND): Likewise.
9820         (DEBUGFS_MAGIC): Likewise.
9821         (ECRYPTFS_SUPER_MAGIC): Likewise.
9822         (EXT3_SUPER_MAGIC): Likewise.
9823         (EXT4_SUPER_MAGIC): Likewise.
9824         (FUTEXFS_SUPER_MAGIC): Likewise.
9825         (HOSTFS_SUPER_MAGIC): Likewise.
9826         (HUGETLBFS_MAGIC): Likewise.
9827         (MINIX3_SUPER_MAGIC): Likewise.
9828         (MTD_INODE_FS_MAGIC): Likewise.
9829         (NILFS_SUPER_MAGIC): Likewise.
9830         (OPENPROM_SUPER_MAGIC): Likewise.
9831         (PIPEFS_MAGIC): Likewise.
9832         (PSTOREFS_MAGIC): Likewise.
9833         (QNX6_SUPER_MAGIC): Likewise.
9834         (RAMFS_MAGIC): Likewise.
9835         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9836         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9837         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9838         (SECURITYFS_MAGIC): Likewise.
9839         (SELINUX_MAGIC): Likewise.
9840         (SMACK_MAGIC): Likewise.
9841         (SOCKFS_MAGIC): Likewise.
9842         (SQUASHFS_MAGIC): Likewise.
9843         (STACK_END_MAGIC): Likewise.
9844         (TMPFS_MAGIC): Likewise.
9845         (USBDEVICE_SUPER_MAGIC): Likewise.
9846         (V9FS_MAGIC): Likewise.
9847         (XENFS_SUPER_MAGIC): Likewise.
9848         (CRAMFS_MAGIC): Fix typo in comment.
9849         (EXT2_SUPER_MAGIC): Update comment.
9850         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9851
9852 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9853
9854         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9855         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9856         * sysdeps/unix/sysv/linux/arm: Move directory from
9857         ports/sysdeps/unix/sysv/linux/arm.
9858         * README: Update listing for arm-*-linux-gnueabi.
9859
9860         * README: Remove mention of am33.
9861
9862 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9863
9864         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9865         than the comma operator, to avoid "rhs of comma has no effect"
9866         compiler warnings.
9867         (__sigfillset, __sigandset, __sigorset): Likewise.
9868         * include/signal.h (__sigemptyset): Likewise.
9869         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9870
9871 2014-02-07  Allan McRae  <allan@archlinux.org>
9872
9873         * version.h (RELEASE): Set to "development".
9874         (VERSION): Set to "2.19.90"
9875         * NEWS: Add 2.20 section.
9876
9877 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9878
9879         [BZ #16529]
9880         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9881
9882 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9883
9884         * manual/contrib.texi: Update entry for Carlos O'Donell,
9885         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9886
9887 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9888
9889         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9890
9891         * sysdeps/unix/sysv/linux/kernel-features.h
9892         [__LINUX_KERNEL_VERSION >= 0x020621]
9893         (__ASSUME_PROC_PID_TASK_COMM): Define.
9894
9895 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9896
9897         [BZ #16398]
9898         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9899         conversion when destination buffer does not have enough space.
9900         * libio/tst-ftell-partial-wide.c: New test case.
9901         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9902
9903         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9904         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9905         Leonard and Allan McRae.
9906
9907 2014-02-04  David S. Miller  <davem@davemloft.net>
9908
9909         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9910         32-bit.
9911
9912 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9913
9914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9915         New file
9916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9917         New file
9918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9919         New file.
9920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9921         New file.
9922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9923         New file.
9924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9925         New file.
9926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9927         New file.
9928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9929         New file.
9930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9931         New file.
9932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9933         New file.
9934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9935         New file.
9936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9937         New file.
9938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9939         New file.
9940
9941 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9942
9943         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9944         * shlib-versions: Likewise.
9945
9946 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9947             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9948
9949         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9950         (abilist-pattern): New variable, set to %-le.abilist.
9951
9952         * Makerules (abilist-pattern): New variable.
9953         (vpath): Use $(abilist-pattern) in place of %.abilist.
9954         (check-abi-% pattern rule): Likewise.
9955         (check-abi, update-abi): Likewise.
9956
9957 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9958
9959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9960
9961 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9962
9963         * manual/startup.texi: Add next, previous, and top entries for
9964         the `Program Arguments' and `Environment Variables' nodes.
9965
9966 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9967
9968         * manual/macros.texi: Add comments before MTASC-safety macros.
9969
9970         * manual/users.texi: Document MTASC-safety properties.
9971
9972         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9973         (pthread_getspecific, pthread_setspecific): Format with
9974         @deftypefun, and add @safety note.
9975         * manual/signal.texi: Move comments that analyze the above
9976         functions to their home place.
9977
9978 2014-02-03  Allan McRae  <allan@archlinux.org>
9979
9980         * po/sl.po: Update Slovenian translation from translation project.
9981
9982 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9983
9984         * manual/time.texi (timegm): Add missing blank after @c.
9985         Reported by Joseph Myers <joseph@codesourcery.com>.
9986
9987 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9988
9989         * manual/check-safety.sh: New.
9990         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9991
9992         * manual/terminal.texi: Document MTASC-safety properties.
9993
9994         * manual/filesys.texi: Document MTASC-safety properties.
9995
9996         * manual/errno.texi: Document MTASC-safety properties.
9997
9998         * manual/intro.texi: Document safety identifiers and
9999         conditionals.
10000
10001         * manual/string.texi (wcstok): Fix prototype.
10002         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10003
10004         * manual/time.texi: Document MTASC-safety properties.
10005
10006         * manual/string.texi: Document MTASC-safety properties.
10007
10008         * manual/threads.texi: Document MTASC-safety properties.
10009
10010         * manual/stdio.texi: Document MTASC-safety properties.
10011
10012         * manual/syslog.texi: Document MTASC-safety properties.
10013
10014         * manual/sysinfo.texi: Document MTASC-safety properties.
10015
10016         * manual/startup.texi: Document MTASC-safety properties.
10017
10018         * manual/socket.texi: Document MTASC-safety properties.
10019
10020         * manual/signal.texi: Document MTASC-safety properties.
10021
10022 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10023
10024         * manual/setjmp.texi: Document MTASC-safety properties.
10025
10026         * manual/search.texi: Document MTASC-safety properties.
10027
10028         * manual/resource.texi: Document MTASC-safety properties.
10029
10030         * manual/process.texi: Document MTASC-safety properties.
10031
10032         * manual/platform.texi: Document MTASC-safety properties.
10033
10034         * manual/pipe.texi: Document MTASC-safety properties.
10035
10036         * manual/pattern.texi: Document MTASC-safety properties.
10037
10038         * manual/message.texi: Document MTASC-safety properties.
10039
10040         [BZ #12751]
10041         * manual/memory.texi: Document MTASC-safety properties.
10042
10043         * manual/math.texi: Document MTASC-safety properties.
10044
10045         * manual/locale.texi: Document MTASC-safety properties.
10046
10047         * manual/llio.texi: Document MTASC-safety properties.
10048
10049         * manual/libdl.texi: New.
10050
10051         * manual/lang.texi: Document MTASC-safety properties.
10052
10053         * manual/job.texi: Document MTASC-safety properties.
10054
10055         * manual/getopt.texi: Document MTASC-safety properties.
10056
10057         * manual/ctype.texi: Document MTASC-safety properties.
10058
10059 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10060
10061         [BZ #16046]
10062         * csu/libc-tls.c (static_map): Remove variable.
10063         (__libc_setup_tls): Use main executable's link map for TLS data.
10064         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10065         casing for LM_ID_BASE and GL(dl_nns).
10066         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10067         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10068         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10069         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10070         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10071         member.
10072         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10073         l_phnum members.
10074
10075 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10076
10077         * manual/debug.texi: Document MTASC-safety properties.
10078
10079 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10080
10081         [BZ #16510]
10082         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10083         of __x86_64__ when disabling x87 inline functions.
10084
10085 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10086
10087         * manual/charset.texi: Document MTASC-safety properties.
10088
10089         * manual/crypt.texi: Document MTASC-safety properties.
10090
10091         * manual/conf.texi: Document MTASC-safety properties.
10092
10093         * manual/arith.texi: Document MTASC-safety properties.
10094
10095         * manual/argp.texi: Document MTASC-safety properties.
10096
10097         * manual/macros.texi: Introduce macros to document multi
10098         thread, asynchronous signal and asynchronous cancellation
10099         safety properties.
10100         * manual/intro.texi: Introduce the properties themselves.
10101
10102 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10103
10104         * sysdeps/sh/sh4/Makefile: New file.
10105
10106 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10107
10108         * math/gen-libm-test.pl ($srcdir): New variable.
10109         ($auto_input): Use it.
10110
10111 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10112
10113         [BZ #16506]
10114         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10115         access beyond array bounds when parsing netgroups file.
10116
10117         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10118         the old buffer before realloc.
10119
10120 2014-01-27  Allan McRae  <allan@archlinux.org>
10121
10122         * po/fr.po: Update French translation from translation project.
10123
10124 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10125
10126         * sysdeps/sh/libm-test-ulps: Regenerate.
10127
10128 2014-01-24  David S. Miller  <davem@davemloft.net>
10129
10130         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10131
10132 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10133
10134         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10135         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10136
10137 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10138
10139         [BZ #16474]
10140         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10141         string pointers after reallocation.
10142
10143 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10144
10145         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10146         __SH4A__ instead of __SH_FPU_ANY__.
10147
10148 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10149
10150         * sysdeps/sh/fpu_control.h: New file.
10151         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10152         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10153         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10154         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10155         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10156         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10157         * sysdeps/sh/sys/ucontext.h: Remove.
10158         * sysdeps/sh/sys: Remove directory.
10159
10160 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10161
10162         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10163         s390/sys/ucontext.h.
10164         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10165         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10166
10167 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10168
10169         [BZ #15605]
10170         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10171
10172 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10173
10174         [BZ#16431]
10175         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10176         Adjust the vDSO correctly for internal calls.
10177         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10178
10179 2014-01-20  Allan McRae  <allan@archlinux.org>
10180
10181         * po/ca.po: Update Catalan translation from translation project.
10182
10183 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10184
10185         * sysdeps/s390/sotruss-lib.c: New file.
10186
10187 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10188
10189         [BZ#16430]
10190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10191         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10192         local calls issues by not having a PLT stub required for IFUNC calls.
10193         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10194
10195 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10196
10197         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10198         * math/test-fpucw-static.c: Likewise.
10199
10200 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10201
10202         [BZ #16453]
10203         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10204
10205 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10206
10207         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10208         implementation for powerpc.
10209
10210 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10211
10212         [BZ #14782]
10213         * sysdeps/posix/system.c (__libc_system): Do not enable
10214         asynchronous cancellation.
10215
10216 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10217
10218         [BZ #16427]
10219         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10220         handling only for numbers special also in the IEEE case.
10221
10222 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10223
10224         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10225
10226 2014-01-11  Allan McRae  <allan@archlinux.org>
10227
10228         * po/bg.po: Update Bulgarian translation from translation project.
10229
10230         * po/de.po: Update German translation from translation project.
10231
10232 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10233
10234         * sysdeps/generic/gcc-compat.h: New file.
10235
10236 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10237
10238         * benchtests/asin-inputs: Correct slow inputs.
10239         * benchtests/acos-inputs: Likewise.
10240
10241 2014-01-10  Allan McRae  <allan@archlinux.org>
10242
10243         * po:sv.po: Update Swedish translation from translation project.
10244
10245         * po/vi.po: Update Vietnamese translation from translation project.
10246
10247         * po/eo.po: Update Esperanto translation from translation project.
10248
10249         * po/cs.po: Update Czech translation from translation project.
10250
10251         * po/nl.po: Update Dutch translation from translation project.
10252
10253         * po/pl.po: Update Polish translation from translation project.
10254
10255         * po/ru.po: Update Russian translation from translation project.
10256
10257         * po/uk.po: Update Ukrainian translation from translation project.
10258
10259 2014-01-08  Brooks Moses  <bmoses@google.com>
10260
10261         * elf/dl-load.c: Fix comment typo.
10262
10263 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10264
10265         * po/header.pot: Rename to...
10266         * po/pot.header: ... this.
10267         * po/Makefile: Use pot.header.
10268
10269 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10270             Maxim Kuvyrkov  <maxim@kugelworks.com>
10271
10272         [BZ #16394]
10273         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10274         SRC and DEST against LEN.
10275
10276 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10277
10278         [BZ #16414]
10279         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10280         implementation.
10281         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10282
10283 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10284
10285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10286
10287 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10288
10289         [BZ #16408]
10290         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10291         for large positive arguments.
10292
10293 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10294
10295         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10296
10297         * math/auto-libm-test-in: Mark various tests with
10298         xfail-rounding:ldbl-128ibm.
10299         * math/auto-libm-test-out: Regenerated.
10300
10301         [BZ #16407]
10302         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10303         Increase overflow threshold.
10304
10305 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10306
10307         [BZ #14286]
10308         * stdio-common/vfprintf.c: Check for integer overflow.
10309
10310 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10311
10312         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10313         the first argument and return value of __tls_get_addr_internal.
10314
10315 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10316
10317         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10318         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10319
10320 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10321
10322         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10323         * sysdeps/s390/rtld-global-offsets.sym: New file.
10324         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10325         GLIBC_2.19 symbol.
10326         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10327         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10328         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10329         ... this.
10330         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10331         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10332         ... this.
10333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10334         Regenerate.
10335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10336         Regenerate.
10337         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10338         halfs of GPRs for high_gprs contexts.
10339         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10340         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10341         field.
10342         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10343         uc_flags field.
10344         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10345         64 bit versions:
10346         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10347         for high GPRs (uc_high_gprs) and for future extensions
10348         (__reserved).
10349         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10350         for future extensions (__reserved).
10351         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10352         64 bit versions:
10353         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10354         SC_HIGHGPRS offset definition.
10355         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10356         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10357
10358         * Versions.def: Add GLIBC_2.19 for libpthread.
10359         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10360         siglongjmp for libpthread with GLIBC_2.19 symver.
10361         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10362         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10363         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10364         * sysdeps/s390/__longjmp.c: New file.
10365         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10366         * sysdeps/s390/longjmp.c: New file.
10367         * sysdeps/s390/setjmp.S: New file.
10368         * sysdeps/s390/sigjmp.S: New file.
10369         * sysdeps/s390/v1-longjmp.c: New file.
10370         * sysdeps/s390/v1-setjmp.h: New file.
10371         * sysdeps/s390/v1-sigjmp.c: New file.
10372         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10373         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10374         GLIBC_2.19 version.
10375         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10376         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10377         versioned symbols for ____longjmp_chk.
10378         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10379         Likewise.
10380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10381         Regenerate.
10382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10383         Regenerate.
10384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10385         Regenerate.
10386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10387         Regenerate.
10388         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10389         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10390         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10391         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10392         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10393         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10394         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10395         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10396         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10397         * sysdeps/s390/rtld-__longjmp.c: New file.
10398         * sysdeps/s390/rtld-setjmp.S: New file.
10399
10400 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10401
10402         [BZ #16400]
10403         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10404         Return -__logl (x) for small positive arguments without evaluating
10405         a polynomial.
10406
10407 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10408
10409         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10410         Rename to ...
10411         (__ptrace_peeksiginfo_args): ... this.
10412         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10413         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10414         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10415
10416 2014-01-06  Allan McRae  <allan@archlinux.org>
10417
10418         * inet/netinet/in.h: Fix typo in comment.
10419
10420 2014-01-05  Andreas Jaeger  <aj@suse.de>
10421
10422         * sysdeps/i386/fpu/libm-test-ulps: Update.
10423
10424 2014-01-05  Allan McRae  <allan@archlinux.org>
10425
10426         * po/libc.pot: Regenerated.
10427
10428         * malloc/memusagestat.c: Fix gettext call formatting.
10429
10430 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10431
10432         * nscd/nscd.c: Improve usage() output.
10433
10434 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10435
10436         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10437         * sysdeps/unix/sysv/linux/configure: Regenerated.
10438         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10439         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10440
10441 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10442
10443         [BZ #16390]
10444         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10445         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10446
10447 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10448
10449         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10450         extra tokens at end of #undef directive.
10451         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10452         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10453         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10454
10455 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10456
10457         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10458
10459         * math/auto-libm-test-in: Mark various tests with
10460         xfail-rounding:ldbl-128ibm.
10461         * math/auto-libm-test-out: Regenerated.
10462
10463 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10464
10465         [BZ #16386]
10466         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10467         numbers with subnormal high part when calculating exponent.
10468
10469         [BZ #16385]
10470         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10471         fabs.
10472
10473         [BZ #16384]
10474         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10475         M_LN2l.
10476         (__ieee754_acoshl): Use __log1pl not __log1p.
10477
10478 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10479
10480         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10481         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10482         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10483         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10484         (reused_arena, arena_get2): Convert to GNU style.
10485         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10486         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10487         (memalign_check, __malloc_set_state): Likewise.
10488         * malloc/mallocbug.c (main): Likewise.
10489         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10490         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10491         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10492         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10493         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10494         (__posix_memalign, malloc_info): Likewise.
10495         * malloc/malloc.h: Likewise.
10496         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10497         (mallochook, memalignhook, reallochook, mabort): Likewise.
10498         * malloc/mcheck.h: Likewise.
10499         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10500         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10501         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10502         * malloc/morecore.c (__default_morecore): Likewise.
10503         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10504         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10505         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10506         (print_and_abort): Likewise.
10507         * malloc/obstack.h: Likewise.
10508         * malloc/set-freeres.c (__libc_freeres): Likewise.
10509         * malloc/tst-mallocstate.c (main): Likewise.
10510         * malloc/tst-mtrace.c (main): Likewise.
10511         * malloc/tst-realloc.c (do_test): Likewise.
10512
10513 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10514
10515         [BZ #16366]
10516         * nscd/netgroupcache.c (do_notfound): New function.
10517         (addgetnetgrentX): Use it.
10518
10519         [BZ # 16365]
10520         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10521         NSS_STATUS_NOTFOUND.
10522
10523 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10524
10525         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10527
10528 2014-01-01  Allan McRae  <allan@archlinux.org>
10529
10530         * scripts/update-copyrights: Update configure input file suffix.
10531
10532         * NEWS: Update copyright year.
10533         * catgets/gencat.c: Likewise.
10534         * csu/version.c: Likewise.
10535         * debug/catchsegv.sh: Likewise.
10536         * debug/pcprofiledump.c: Likewise.
10537         * debug/xtrace.sh: Likewise.
10538         * elf/ldconfig.c: Likewise.
10539         * elf/ldd.bash.in: Likewise.
10540         * elf/pldd.c: Likewise.
10541         * elf/sotruss.ksh: Likewise.
10542         * elf/sprof.c: Likewise.
10543         * iconv/iconv_prog.c: Likewise.
10544         * iconv/iconvconfig.c: Likewise.
10545         * locale/programs/locale.c: Likewise.
10546         * locale/programs/localedef.c: Likewise.
10547         * login/programs/pt_chown.c: Likewise.
10548         * malloc/memusage.sh: Likewise.
10549         * malloc/memusagestat.c: Likewise.
10550         * malloc/mtrace.pl: Likewise.
10551         * manual/libc.texinfo: Likewise.
10552         * nscd/nscd.c: Likewise.
10553         * nss/getent.c: Likewise.
10554         * nss/makedb.c: Likewise.
10555         * posix/getconf.c: Likewise.
10556         * scripts/test-installation.pl: Likewise.
10557
10558         * All files with FSF copyright notices: Update copyright dates
10559         using scripts/update-copyrights.
10560         * intl/plural.c: Regenerated.
10561         * locale/programs/charmap-kw.h: Likewise.
10562         * locale/programs/locfile-kw.h: Likewise.
10563
10564 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10565
10566         * sysdeps/unix/sysv/linux/configure: Regenerated.
10567         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10568         the linux/fanotify.h header.
10569         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10570         HAVE_LINUX_FANOTIFY_H is defined.
10571
10572 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10573
10574         * benchtests/cos-inputs: New inputs.
10575         * benchtests/sin-inputs: Likewise.
10576
10577         * benchtests/atan-inputs: New inputs. Fix name of multiple
10578         precision fallback inputs.
10579
10580         * benchtests/atanh-inputs: New inputs.
10581         * benchtests/tanh-inputs: Likewise.
10582
10583         * benchtests/acosh-inputs: New inputs.
10584         * benchtests/asinh-inputs: Likewise.
10585
10586         * benchtests/cosh-inputs: New inputs.
10587         * benchtests/sinh-inputs: Likewise.
10588
10589         * benchtests/acos-inputs: Add more inputs.
10590         * benchtests/asin-inputs: Likewise.
10591
10592 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10593
10594         [BZ #16375]
10595         * manual/arith.texi: Fix spelling.
10596         * manual/charset.texi: Likewise.
10597         * manual/errno.texi: Likewise.
10598         * manual/filesys.texi: Likewise.
10599         * manual/lang.texi: Likewise.
10600         * manual/llio.texi: Likewise.
10601         * manual/locale.texi: Likewise.
10602         * manual/message.texi: Likewise.
10603         * manual/resource.texi: Likewise.
10604         * manual/search.texi: Likewise.
10605         * manual/setjmp.texi: Likewise.
10606         * manual/stdio.texi: Likewise.
10607         * manual/string.texi: Likewise.
10608         * manual/sysinfo.texi: Likewise.
10609         * manual/time.texi: Likewise.
10610
10611 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10612
10613         * po/sl.po: New file.
10614
10615 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10616
10617         * .gitignore: Add core/.gdbinit/.gdb_history.
10618
10619 2013-12-27  Allan McRae  <allan@archlinux.org>
10620
10621         [BZ #16369]
10622         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10623         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10624
10625 2013-12-24  Brooks Moses  <bmoses@google.com>
10626
10627         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10628         all compilers that claim C++98 compliance, not just GCC.
10629         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10630         Likewise.
10631
10632 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10633
10634         * NEWS: Restore accidentally deleted bug-fix entries.
10635
10636 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10637             Ondřej Bílka  <neleai@seznam.cz>
10638
10639         [BZ #15073]
10640         * malloc/malloc.c (_int_free): Perform sanity check only if we
10641         have_lock.
10642
10643 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10644
10645         [BZ #12986]
10646         * manual/stdio.texi (String Input Conversions): Clarify that character
10647         classes are not supported.
10648
10649 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10650
10651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10652
10653 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10654
10655         [BZ #16337]
10656         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10657         Calculate results for small negative arguments directly rather
10658         than using reflection formula with special underflow handling.
10659
10660         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10661         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10662         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10663         (fchflags): Likewise.
10664         (revoke): Likewise.
10665         (setlogin): Likewise.
10666         (sigaltstack): Likewise.
10667         (wait4): Likewise.
10668         (sigblock): Remove.
10669         (sigsetmask): Likewise.
10670         (wait3): Likewise.
10671         (waitpid): Likewise.
10672         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10673         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10674         file.
10675         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10676         * sysdeps/unix/bsd/Makefile: ... here.
10677         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10678         * sysdeps/unix/bsd/Versions: ... here.
10679         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10680         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10681         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10682         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10683         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10684         * sysdeps/unix/bsd/sigblock.c: ... here.
10685         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10686         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10687         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10688         * sysdeps/unix/bsd/sigvec.c: ... here.
10689         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10690         * sysdeps/unix/bsd/tcdrain.c: ... here.
10691         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10692         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10693         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10694         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10695         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10696         * sysdeps/unix/bsd/wait.c: ... here.
10697         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10698         * sysdeps/unix/bsd/wait3.c: ... here.
10699         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10700         * sysdeps/unix/bsd/waitpid.c: ... here.
10701
10702 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10703
10704         [BZ #16356]
10705         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10706         round-to-nearest for [!USE_AS_EXPM1L].
10707         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10708         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10709         more tests of exp and exp10.  Expect some exp10 tests to miss
10710         exceptions or fail in directed rounding modes.
10711         * math/auto-libm-test-out: Regenerated.
10712         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10713         (exp10_test_tonearest): New function.
10714         (exp10_towardzero_test_data): New array.
10715         (exp10_test_towardzero): New function.
10716         (exp10_downward_test_data): New array.
10717         (exp10_test_downward): New function.
10718         (exp10_upward_test_data): New array.
10719         (exp10_test_upward): New function.
10720         (main): Call the new functions.
10721         * sysdeps/i386/fpu/libm-test-ulps: Update.
10722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10723
10724 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10725
10726         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10727         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10728         * math/auto-libm-test-out: Regenerated.
10729         * math/libm-test.inc (acosh_test_data): Add more tests.
10730         (atanh_test_data): Likewise.
10731         (ceil_test_data): Likewise.
10732         (copysign_test_data): Likewise.
10733         * sysdeps/i386/fpu/libm-test-ulps: Update.
10734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10735
10736         * timezone/checktab.awk: Update from tzcode 2013i.
10737         * timezone/private.h: Likewise.
10738         * timezone/scheck.c: Likewise.
10739         * timezone/tzfile.h: Likewise.
10740         * timezone/tzselect.ksh: Likewise.
10741         * timezone/zdump.c: Likewise.
10742         * timezone/zic.c: Likewise.
10743
10744         * math/auto-libm-test-in: Add tests of cpow.
10745         * math/auto-libm-test-out: Regenerated.
10746         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10747         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10748         mpc_cc_c.
10749         (func_calc_desc): Add mpc_cc_c union field.
10750         (test_functions): Add cpow.
10751         (special_fill_2pi): New function.
10752         (special_real_inputs): Add 2pi.
10753         (calc_generic_results): Handle mpc_cc_c.
10754         * sysdeps/i386/fpu/libm-test-ulps: Update.
10755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10756
10757         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10758         csqrt, ctan and ctanh.
10759         * math/auto-libm-test-out: Regenerated.
10760         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10761         (TEST_COND_x86): Likewise.
10762         (ccos_test_data): Use AUTO_TESTS_c_c.
10763         (ccosh_test_data): Likewise.
10764         (cexp_test_data): Likewise.
10765         (clog_test_data): Likewise.
10766         (csqrt_test_data): Likewise.
10767         (ctan_test_data): Likewise.
10768         (ctan_tonearest_test_data): Likewise.
10769         (ctan_towardzero_test_data): Likewise.
10770         (ctan_downward_test_data): Likewise.
10771         (ctan_upward_test_data): Likewise.
10772         (ctanh_test_data): Likewise.
10773         (ctanh_tonearest_test_data): Likewise.
10774         (ctanh_towardzero_test_data): Likewise.
10775         (ctanh_downward_test_data): Likewise.
10776         (ctanh_upward_test_data): Likewise.
10777         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10778         mpc_c_c.
10779         (func_calc_desc): Add mpc_c_c union field.
10780         (FUNC_mpc_c_c): New macro.
10781         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10782         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10783         ctanh.
10784         (special_fill_min_subnorm_p120): New function.
10785         (special_real_inputs): Add min_subnorm_p120.
10786         (calc_generic_results): Handle mpc_c_c.
10787         * sysdeps/i386/fpu/libm-test-ulps: Update.
10788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10789
10790 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10791
10792         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10793         (do_sin_slow): New functions.
10794         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10795         (cslow2, csloww1, csloww2): Use the new functions.
10796
10797         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10798         Use M to change sign of result instead of X.  Assume X is
10799         positive.
10800         (csloww1): Likewise.
10801         (__sin): Adjust.
10802         (__cos): Adjust.
10803
10804         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10805         arguments A and DA.
10806         (__sin): Adjust.
10807         (__cos): Likewise.
10808
10809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10810         (__cos): Likewise.
10811         (sloww1): Don't adjust sign of DX.
10812         (csloww1): Likewise.
10813         (sloww2): Use X directly and don't adjust sign of DX.
10814         (csloww2): Likewise.
10815
10816 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10817
10818         * math/auto-libm-test-in: Add tests of cabs and carg.
10819         * math/auto-libm-test-out: Regenerated.
10820         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10821         (carg_test_data): Likewise.
10822         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10823         mpc_c_f.
10824         (func_calc_desc): Add mpc_c_f union field.
10825         (test_functions): Add cabs and carg.
10826         (calc_generic_results): Handle mpc_c_f.
10827
10828         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10829         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10830         as a macro and a compat symbol.
10831         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10832         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10833         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10834         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10835         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10836         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10837         not use .hidden.
10838         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10839         Likewise.
10840         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10841         Likewise.
10842         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10843         Likewise.
10844         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10845         Likewise.
10846         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10847         Likewise.
10848         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10849         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10850         from GLIBC_2.3.2.
10851
10852 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10853
10854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10855
10856 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10857
10858         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10859         trailing whitespace removed.
10860         * scripts/config.guess: Update to version 2013-11-29.
10861         * scripts/config.sub: Update to version 2013-10-01.
10862
10863         * math/auto-libm-test-in: Add tests of sincos.
10864         * math/auto-libm-test-out: Regenerated.
10865         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10866         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10867         mpfr_f_11.
10868         (func_calc_desc): Add mpfr_f_11 union field.
10869         (test_functions): Add sincos.
10870         (calc_generic_results): Handle mpfr_f_11.
10871         * sysdeps/i386/fpu/libm-test-ulps: Update.
10872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10873
10874 2013-12-19  Andreas Schwab  <schwab@suse.de>
10875
10876         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10877         CALL_MCOUNT.
10878         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10879         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10880         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10881
10882 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10883
10884         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10885         * sysdeps/i386/fpu/libm-test-ulps: Update.
10886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10887
10888         [BZ #16293]
10889         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10890         round-to-nearest mode when using frndint.
10891         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10892         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10893         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10894         Likewise.
10895         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10896         sinh test to fail.
10897         * math/auto-libm-test-out: Regenerated.
10898         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10899         (TEST_COND_x86): Likewise.
10900         (expm1_tonearest_test_data): New array.
10901         (expm1_test_tonearest): New function.
10902         (expm1_towardzero_test_data): New array.
10903         (expm1_test_towardzero): New function.
10904         (expm1_downward_test_data): New array.
10905         (expm1_test_downward): New function.
10906         (expm1_upward_test_data): New array.
10907         (expm1_test_upward): New function.
10908         (main): Run the new test functions.
10909         * sysdeps/i386/fpu/libm-test-ulps: Update.
10910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911
10912         * include/features.h: Update comment documenting feature test
10913         macros.  Mention _DEFAULT_SOURCE in comment.
10914         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10915         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10916         _BSD_SOURCE and _SVID_SOURCE.
10917         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10918         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10919         !_SVID_SOURCE]: Likewise.
10920         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10921         (__USE_POSIX_IMPLICITLY): Define.
10922         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10923         (_POSIX_SOURCE): Undefine and redefine.
10924         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10925         (_POSIX_C_SOURCE): Likewise.
10926         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10927         (Feature Test Macros): Update documentation of default features.
10928
10929 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10930
10931         * benchtests/Makefile: Add bench-strtok.
10932         * benchtests/bench-strtok.c: New file: strtok benchtest.
10933
10934 2013-12-19  Allan McRae  <allan@archlinux.org>
10935
10936         * manual/install.texi: Suppress menu for plain text output.
10937         * INSTALL: Regenerated.
10938
10939 2013-12-18  Brooks Moses  <bmoses@google.com>
10940
10941         [BZ #15846]
10942         * misc/getauxval.c: Include errno.h.
10943         (__getauxval): Set errno to ENOENT if the requested type is not
10944         found.
10945         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10946         don't declare with __attribute_const__.
10947         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10948         * manual/startup.texi: Document that getauxval sets errno.
10949
10950 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10951
10952         * math/auto-libm-test-in: Add tests of jn and yn.
10953         * math/auto-libm-test-out: Regenerated.
10954         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10955         (yn_test_data): Likewise.
10956         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10957         mpfr_if_f.
10958         (func_calc_desc): Add mpfr_if_f union field.
10959         (FUNC_mpfr_if_f): New macro.
10960         (test_functions): Add jn and yn.
10961         (calc_generic_results): Assert type of second input for
10962         mpfr_ff_f.  Handle mpfr_if_f.
10963         (output_for_one_input_case): Disable all checking for arguments
10964         fitting floating-point types in case of an integer argument.
10965         * sysdeps/i386/fpu/libm-test-ulps: Update.
10966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10967
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10969         Don't expect fegetround reference in libm.so.
10970
10971 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10972
10973         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10974         $(config-cflags-nofma).
10975
10976 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10977
10978         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10979         * math/auto-libm-test-out: Regenerated.
10980
10981         [BZ #16338]
10982         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10983         to determine exponent and adjust argument to have exponent of -1.
10984         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10985         log2.
10986         * math/auto-libm-test-out: Regenerated.
10987         * sysdeps/i386/fpu/libm-test-ulps: Update.
10988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10989
10990 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10991
10992         * manual/probes.texi: Remove cases when per-thread arenas are
10993         disabled.
10994
10995 2013-12-18  Andreas Schwab  <schwab@suse.de>
10996
10997         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10998         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10999         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11000         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11001         * sysdeps/i386/i686/multiarch/Makefile: Update.
11002         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11003
11004 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11005
11006         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11007         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11008
11009 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11010
11011         [BZ #15968]
11012         Support TZ transition times < 00:00:00.
11013         This is needed for version-3 tz-format files; it supports time
11014         stamps past 2037 for America/Godthab (the only entry in the tz
11015         database for which this change is relevant).
11016         * manual/time.texi (TZ Variable): Document transition times
11017         from -167:59:59 through -00:00:01.
11018         * time/tzset.c (tz_rule): Time of day is now signed.
11019         (__tzset_parse_tz): Parse negative time of day.
11020
11021         Document TZ transition times >= 25:00:00.
11022         * manual/time.texi (TZ Variable): Document transition times from
11023         25:00:00 through 167:59:59.  These are already supported, and this
11024         support will help with version-3 tz-format files.
11025
11026         * manual/time.texi (TZ Variable): Modernize North America example
11027         to reflect current (i.e., 2007-and-later) daylight saving rules.
11028
11029         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11030
11031 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11032
11033         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11034         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11035         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11036         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11037         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11038         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11039         * sysdeps/unix/bsd/clock.c: Likewise.
11040         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11041         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11042         * sysdeps/unix/bsd/init-posix.c: Likewise.
11043         * sysdeps/unix/bsd/poll.c: Likewise.
11044         * sysdeps/unix/bsd/ptsname.c: Likewise.
11045         * sysdeps/unix/bsd/seekdir.c: Likewise.
11046         * sysdeps/unix/bsd/setegid.c: Likewise.
11047         * sysdeps/unix/bsd/seteuid.c: Likewise.
11048         * sysdeps/unix/bsd/setgid.c: Likewise.
11049         * sysdeps/unix/bsd/setrgid.c: Likewise.
11050         * sysdeps/unix/bsd/setruid.c: Likewise.
11051         * sysdeps/unix/bsd/setsid.c: Likewise.
11052         * sysdeps/unix/bsd/setuid.c: Likewise.
11053         * sysdeps/unix/bsd/sigaction.c: Likewise.
11054         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11055         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11056         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11057         * sysdeps/unix/bsd/telldir.c: Likewise.
11058         * sysdeps/unix/bsd/times.c: Likewise.
11059         * sysdeps/unix/bsd/usleep.c: Likewise.
11060
11061         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11062         ($(objpfx)libbsd-compat.a): Remove rule.
11063
11064         * include/features.h (__FAVOR_BSD): Do not define.
11065         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11066         features conflicting with POSIX.
11067         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11068         (_BSD_SOURCE): Remove description of not being a subset of other
11069         feature test macros.
11070         * manual/job.texi (getpgrp): Do not document BSD version.
11071         (getpgid): Do not document by reference to BSD getpgrp.
11072         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11073         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11074         * signal/signal.h [__FAVOR_BSD]: Likewise.
11075         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11076         instead of making contents conditional on [__FAVOR_BSD].
11077         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11078
11079 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11080
11081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11082
11083 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11084
11085         [BZ #16314]
11086         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11087         values below 2**-450, not 2**-500.
11088         * math/auto-libm-test-in: Don't allow spurious underflow from
11089         hypot.
11090         * math/auto-libm-test-out: Regenerated.
11091
11092         [BZ #16316]
11093         [BZ #16330]
11094         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11095         values of ha and hb and sort them after adjusting subnormal
11096         arguments.
11097         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11098         Likewise.
11099         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11100         values of ea and eb and sort them after adjusting subnormal
11101         arguments.
11102         * math/auto-libm-test-in: Do not expect some hypot tests of
11103         subnormals to fail.  Add more hypot tests.
11104         * math/auto-libm-test-out: Regenerated.
11105
11106 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11107
11108         [BZ #13304]
11109         * sysdeps/sh/s_fma.c: New file.
11110         * sysdeps/sh/s_fmaf.c: New file.
11111         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11112         version.
11113         * sysdeps/sh/Implies: Add sh/soft-fp.
11114
11115 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11116
11117         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11118         level of indirection to members `objname', `errstring', `malloced'.
11119         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11120         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11121         it as the __longjmp argument (just pass 1 instead).
11122         (_dl_catch_error): Initialize C with argument pointers and address of
11123         volatile local ERRCODE rather than copying values out of C at return.
11124
11125 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11126
11127         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11128         * math/auto-libm-test-out: Regenerated.
11129         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11130         (hypot_test_data): Likewise.
11131         (pow_test_data): Likewise.
11132         (pow_tonearest_test_data): Likewise.
11133         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11134         mpfr_ff_f.
11135         (func_calc_desc): Add mpfr_ff_f union field.
11136         (FUNC_mpfr_ff_f): New macro.
11137         (test_functions): Add atan2, hypot and pow.
11138         (special_fill_min): New function.
11139         (special_fill_minus_min): Likewise.
11140         (special_fill_min_subnorm): Likewise.
11141         (special_fill_minus_min_subnorm): Likewise.
11142         (special_real_inputs): Add min, -min, min_subnorm and
11143         -min_subnorm.
11144         (calc_generic_results): Handle mpfr_ff_f.
11145         * sysdeps/i386/fpu/libm-test-ulps: Update.
11146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11147
11148 2013-12-16  Will Newton  <will.newton@linaro.org>
11149
11150         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11151         (Aligned Memory Blocks): Add documentation for aligned_alloc
11152         and suggest it as an alternative to posix_memalign.
11153         (Hooks for Malloc): Document __memalign_hook is also called
11154         for aligned_alloc.  (Summary of Malloc): Add summary for
11155         aligned alloc.  Document __memalign_hook is also called
11156         for aligned_alloc.
11157
11158 2013-12-16  Will Newton  <will.newton@linaro.org>
11159
11160         * manual/memory.texi (Malloc Examples): Clarify default
11161         alignment documentation.  Suggest posix_memalign rather
11162         than memalign or valloc.
11163         (Aligned Memory Blocks): Remove suggestion to use memalign
11164         or valloc.  Remove obsolete comment about BSD.
11165         Document memalign errno values and mark the function obsolete.
11166         Document posix_memalign returned error codes.  Mark valloc
11167         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11168         called for posix_memalign and valloc.
11169         (Summary of Malloc): Add posix_memalign to function summary.
11170         __memalign_hook is also called for posix_memalign and valloc.
11171
11172 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11173
11174         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11175         TAYLOR_SIN.
11176         (__sin): Adjust.
11177         (__cos): Likewise.
11178         (sloww): Use mynumber union.  Expand ternary operator into
11179         if-else statements.
11180         (cslow): use mynumber union.
11181
11182 2013-12-16  Allan McRae  <allan@archlinux.org>
11183
11184         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11185         * configure: Regenerated.
11186
11187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11188
11189         [BZ #14120]
11190         * configure.ac: Added --enable-maintainer-mode. Check for
11191         autoconf when enabled.
11192         * configure: Regenerated.
11193
11194         * nscd/nscd.service: New file.
11195         * nscd/nscd.tmpfiles: New file.
11196
11197 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11198
11199         [BZ #12100]
11200         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11201         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11202         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11203         (strstr): Add __strstr_sse2_unaligned ifunc.
11204         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11205         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11206         (strcasestr): Remove __strcasestr_sse42 ifunc.
11207         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11210
11211 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11212
11213         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11214         * sysdeps/sh/bits/fenv.h: ... here.
11215         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11216
11217 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11218
11219         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11220
11221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11222         hypotf multiarch implementations.
11223         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11224         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11225         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11226         multiarch hypot for PPC64.
11227         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11228         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11230         multiarch hypotf for PPC64.
11231
11232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11233         modff multiarch implementations.
11234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11237         multiarch modf for PPC64.
11238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11241         multiarch modff for PPC64.
11242
11243         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11244         and logl multiarch implementations.
11245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11248         multiarch logb for PPC64.
11249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11252         multiarch logb for PPC64.
11253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11256         multiarch logb for PPC64.
11257
11258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11259         isinff multiarch implementation.
11260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11261         file.
11262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11264         multiarch isinf for PPC64.
11265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11266         file.
11267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11268         multiarch isinff for PPC64.
11269
11270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11271         finitef multiarch implementation.
11272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11273         file.
11274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11276         multiarch finite for PPC64.
11277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11278         file.
11279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11280         multiarch finitef for PPC64.
11281
11282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11283         lrint multiarch implementation.
11284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11285         file.
11286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11288         multiarch llrint for PPC64.
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11290         multiarch lrint for PPC64.
11291
11292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11293         copysignf multiarch implementation.
11294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11295         file.
11296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11297         file.
11298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11299         multiarch copysign for PPC64.
11300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11301         multiarch copysignf for PPC64.
11302
11303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11304         multiarch implementation.
11305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11306         file.
11307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11308         file.
11309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11310         file.
11311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11312         file.
11313         multiarch llround for PPC64.
11314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11315         multiarch trunc for PPC64.
11316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11317         multiarch truncf for PPC64.
11318
11319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11320         multiarch implementation.
11321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11322         file.
11323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11324         file.
11325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11326         file.
11327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11328         file.
11329         multiarch llround for PPC64.
11330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11331         multiarch round for PPC64.
11332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11333         multiarch roundf for PPC64.
11334
11335         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11336         multiarch implementation.
11337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11338         file.
11339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11340         file.
11341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11342         file.
11343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11344         file.
11345         multiarch llround for PPC64.
11346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11347         multiarch floor for PPC64.
11348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11349         multiarch floorf for PPC64.
11350
11351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11352         multiarch implementation.
11353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11354         file.
11355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11356         file.
11357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11358         file.
11359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11360         file.
11361         multiarch llround for PPC64.
11362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11363         multiarch ceil for PPC64.
11364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11365         multiarch ceilf for PPC64.
11366
11367         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11368         multiarch implementation.
11369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11370         file.
11371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11372         file.
11373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11374         file.
11375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11376         multiarch llround for PPC64.
11377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11378         multiarch lround for PPC64.
11379
11380         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11381         multiarch implementation.
11382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11385         file.
11386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11389         multiarch isnan for PPC64.
11390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11391         multiarch isnanf for PPC64.
11392
11393         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11394         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11395         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11396         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11397         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11399
11400         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11401         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11402         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11403         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11404
11405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11406         multiarch implementations.
11407         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11408         (__libc_ifunc_impl_list): Likewise.
11409         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11410         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11411         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11412         multiarch stpcpy for PPC64.
11413
11414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11415         multiarch implementations.
11416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11417         (__libc_ifunc_impl_list): Likewise.
11418         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11419         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11420         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11421         multiarch strcpy for PPC64.
11422
11423         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11424         redefine function name.
11425         (_wordcopy_fwd_dest_aligned): Likewise.
11426         (_wordcopy_bwd_aligned): Likewise.
11427         (_wordcopy_bwd_dest_aligned): Likewise.
11428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11429         multiarch implementations.
11430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11431         (__libc_ifunc_impl_list): Likewise.
11432         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11433         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11434         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11435         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11436         multiarch wcscpy for PPC64.
11437
11438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11439         multiarch implementations.
11440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11441         (__libc_ifunc_impl_list): Likewise.
11442         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11443         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11444         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11445         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11446         multiarch wcscpy for PPC64.
11447
11448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11449         multiarch implementations.
11450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11451         (__libc_ifunc_impl_list): Likewise.
11452         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11453         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11454         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11455         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11456         multiarch wcsrchr for PPC64.
11457
11458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11459         multiarch implementations.
11460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11461         (__libc_ifunc_impl_list): Likewise.
11462         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11463         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11464         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11465         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11466         multiarch wcschr for PPC64.
11467
11468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11469         multiarch implementations.
11470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11471         (__libc_ifunc_impl_list): Likewise.
11472         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11473         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11474         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11475         multiarch strchrnul for PPC64.
11476
11477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11478         implementations.
11479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11480         (__libc_ifunc_impl_list): Likewise.
11481         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11482         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11483         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11484         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11485         strchr for PPC64.
11486
11487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11488         implementations.
11489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11490         (__libc_ifunc_impl_list): Likewise.
11491         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11492         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11493         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11494         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11495         strncmp for PPC64.
11496
11497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11498         multiarch implementations.
11499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11500         (__libc_ifunc_impl_list): Likewise.
11501         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11502         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11503         strncasecmp for PPC64.
11504         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11505         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11506         multiarch strncasecmp_l for PPC64.
11507
11508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11509         multiarch implementations.
11510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11511         (__libc_ifunc_impl_list): Likewise.
11512         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11513         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11514         multiarch strcasecmp for PPC64.
11515         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11516         file.
11517         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11518         multiarch strcasecmp_l for PPC64.
11519
11520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11521         implementations.
11522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11523         (__libc_ifunc_impl_list): Likewise.
11524         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11525         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11526         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11527         strnlen for PPC64.
11528
11529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11530         implementations.
11531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11532         (__libc_ifunc_impl_list): Likewise.
11533         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11534         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11535         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11536         strlen for PPC64.
11537
11538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11539         implementations.
11540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11541         (__libc_ifunc_impl_list): Likewise.
11542         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11543         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11544         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11545         rawmemrchr for PPC64.
11546
11547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11548         implementation.
11549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11550         (__libc_ifunc_impl_list): Likewise.
11551         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11552         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11553         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11554         memrchr for PPC64.
11555
11556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11557         implementation.
11558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11559         (__libc_ifunc_impl_list): Likewise.
11560         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11561         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11562         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11563         memchr for PPC64.
11564
11565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11566         implementation.
11567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11568         (__libc_ifunc_impl_list): Likewise.
11569         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11570         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11571         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11572         mempcpy for PPC64.
11573
11574         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11575         avoid cretion of __bzero symbol.
11576         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11577         Likewise.
11578         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11579         Likewise.
11580         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11581         Likewise.
11582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11583         multiarch implementations.
11584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11585         (__libc_ifunc_impl_list): Likewise.
11586         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11587         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11588         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11589         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11590         bzero for PPC32.
11591         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11592         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11593         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11594         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11595         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11596         memset for PPC64.
11597         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11598
11599         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11601         implementations.
11602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11603         (__libc_ifunc_impl_list): Likewise.
11604         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11605         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11606         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11607         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11608         memcmp for PPC64.
11609
11610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11611         multiarch for POWER/PPC64.
11612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11613         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11614         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11615         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11616         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11617         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11618         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11619         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11620         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11621         memcpy for PPC64.
11622
11623         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11624         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11625         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11626         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11627         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11628         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11629         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11630         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11631         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11632         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11633         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11634         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11635         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11636         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11637         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11645
11646 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11647
11648         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11649
11650 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11651
11652         * benchtests/Makefile (bench): Add exp2 and log2.
11653         (LDLIBS-bench-exp2): Add -lm.
11654         (LDLIBS-bench-log2): Likewise.
11655         * benchtests/exp2-inputs: New inputs file.
11656         * benchtests/log2-inputs: New inputs file.
11657         * benchtests/log-inputs: Add new inputs.
11658         * benchtests/tan-inputs: Likewise.
11659
11660 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11661
11662         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11663         definition...
11664         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11665         (csloww2): ... from here.
11666
11667         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11668         instead of structures.
11669         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11670         (POLYNOMIAL): Likewise.
11671         (TAYLOR_SLOW): Likewise.
11672         (__sin): Likewise.
11673         (__cos): Likewise.
11674         (slow1): Likewise.
11675         (slow2): Likewise.
11676         (sloww): Likewise.
11677         (sloww1); Likewise.
11678         (sloww2): Likewise.
11679         (bsloww1): Likewise.
11680         (bsloww2): Likewise.
11681         (cslow2): Likewise.
11682         (csloww): Likewise.
11683         (csloww1): Likewise.
11684         (csloww2): Likewise.
11685
11686 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11687
11688         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11689         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11690         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11691         * malloc/hooks.c (realloc_check): Likewise.
11692
11693         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11694         * malloc/arena.c: Remove PER_THREAD conditional.
11695         [!PER_THREAD]: Remove code.
11696         (ptmalloc_unlock_all2): Likewise.
11697         (ptmalloc_init): Likewise.
11698         (_int_new_arena): Likewise.
11699         (arena_get2): Likewise.
11700         * malloc/hooks.c (__malloc_get_state): Likewise.
11701         (__malloc_set_state): Likewise.
11702         * malloc/malloc.c: Likewise.
11703         (struct malloc_state): Likewise.
11704         (struct malloc_par): Likewise.
11705         (__libc_realloc): Likewise.
11706         (__libc_mallopt): Likewise.
11707
11708 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11709
11710         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11711
11712 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11713
11714         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11715         macro to a function.  Check for zero perturb_byte.
11716         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11717
11718         * malloc/malloc.c: (force_reg): Remove.
11719         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11720         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11721         force_reg by atomic_forced_read.
11722         * malloc/arena.c (ptmalloc_init): Likewise.
11723         * malloc/hooks.c (top_check): Likewise.
11724
11725 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11726
11727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11728
11729 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11730
11731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11732
11733 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11734
11735         * math/auto-libm-test-in: Add tests of lgamma.
11736         * math/auto-libm-test-out: Regenerated.
11737         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11738         (M_LOG_2_SQRT_PIl): Likewise.
11739         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11740         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11741         mpfr_f_f1.
11742         (func_calc_desc): Add mpfr_f_f1 union field.
11743         (ARGS1): New macro.
11744         (ARGS2): Likewise.
11745         (ARGS3): Likewise.
11746         (ARGS4): Likewise.
11747         (RET1): Likewise.
11748         (RET2): Likewise.
11749         (CALC): Likewise.
11750         (FUNC): Likewise.
11751         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11752         (test_functions): Add lgamma.
11753         (calc_generic_results): Handle mpfr_f_f1.
11754         * sysdeps/i386/fpu/libm-test-ulps: Update.
11755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11756
11757 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11758
11759         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11760         __mpn_add_n for PowerPC64/POWER7.
11761         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11762         __mpn_sub_n for PowerPC64/POWER7.
11763
11764         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11765         __mpn_addmul_1 for PowerPC64.
11766         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11767         __mpn_submul_1 for PowerPC64.
11768         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11769         for PowerPC64.
11770         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11771         for PowerPC64.
11772
11773 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11774
11775         [BZ #15089]
11776         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11777
11778 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11779
11780         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11781
11782         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11783         add multiarch folders.
11784         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11785         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11786         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11787         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11788         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11789         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11790         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11791         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11792         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11793         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11794         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11801
11802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11803         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11805         New file.
11806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11807         New file.
11808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11809         multiarch __ieee754_hypot for PowerPC32.
11810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11811         New file.
11812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11813         New file.
11814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11815         multiarch __ieee754_hypotf for PowerPC32.
11816
11817         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11818         long_double_symbol only if __logbl is defined.
11819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11820         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11821         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11822         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11824         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11825         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11826         path for implementation.
11827         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11828         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11830         logb, and logbl multiarch implementations for PowerPC32.
11831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11832         file.
11833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11834         file.
11835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11836         multiarch logb for PowerPC32.
11837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11838         file.
11839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11840         file.
11841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11842         multiarch logbf for PowerPC32.
11843         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11845         file.
11846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11847         multiarch logbl implementation for PowerPC32.
11848
11849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11850         and modff multiarch implementations.
11851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11852         New file.
11853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11854         New file.
11855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11856         multiarch modf for PowerPC32.
11857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11858         New file.
11859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11860         New file.
11861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11862         multiarch modff for PowerPC32.
11863
11864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11865         and lrintf multiarch implementations.
11866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11867         New file.
11868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11869         New file.
11870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11871         multiarch lrint for PowerPC32.
11872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11873         file: multiarch lrintf for PowerPC32.
11874
11875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11876         and lroundf multiarch implementations.
11877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11878         New file.
11879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11880         New file.
11881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11882         New file.
11883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11884         multiarch lround for PowerPC32.
11885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11886         file: multiarch lroundf for PowerPC32.
11887
11888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11889         copysign and copysignf multiarch implementations.
11890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11891         New file.
11892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11893         New file.
11894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11895         file: multiarch copysign for PowerPC32.
11896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11897         file: multiarch copysignf for PowerPC32.
11898
11899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11900         and truncf multiarch implementations.
11901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11902         New file.
11903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11904         file.
11905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11906         multiarch trunc for PowerPC32.
11907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11908         New file.
11909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11910         New file.
11911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11912         multiarch truncf for PowerPC32.
11913
11914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11915         and roundf multiarch implementations.
11916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11917         New file.
11918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11919         file.
11920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11921         multiarch round for PowerPC32.
11922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11923         New file.
11924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11925         New file.
11926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11927         multiarch roundf for PowerPC32.
11928
11929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11930         and floorf multiarch implementations.
11931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11932         New file.
11933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11934         file.
11935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11936         multiarch floor for PowerPC32.
11937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11938         New file.
11939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11940         New file.
11941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11942         multiarch floorf for PowerPC32.
11943
11944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11945         and ceilf multiarch implementations.
11946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11947         New file.
11948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11949         file.
11950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11951         multiarch ceil for PowerPC32.
11952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11953         New file.
11954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11955         file.
11956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11957         multiarch ceilf for PowerPC32.
11958
11959         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11960         is defined.
11961         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11962         FINITEF is defined.
11963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11964         and finitef multiarch implementations.
11965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11966         New file.
11967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11968         file.
11969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11970         multiarch finite for PowerPC32.
11971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11972         New file.
11973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11974         file: multiarch finitef for PowerPC32.
11975
11976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11977         and isinff multiarch implementations.
11978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11979         file.
11980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11981         file.
11982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11983         multiarch isinf for PowerPC32.
11984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11985         New file.
11986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11987         multiarch isinff for PowerPC32.
11988
11989         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11990         alias when __isnan is defined.
11991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11992         and isnanf multiarch implementations.
11993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11994         file.
11995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11996         file.
11997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11998         file.
11999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12000         file.
12001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12002         multiarch isnan for PowerPC32.
12003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12004         New file.
12005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12006         New file.
12007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12008         multiarch isnanf for PowerPC32.
12009
12010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12011         and sqrtf multiarch implementations.
12012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12013         file.
12014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12015         file.
12016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12017         multiarch sqrt for PowerPC32.
12018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12019         file.
12020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12021         file.
12022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12023         multiarch sqrtf for PowerPC32.
12024
12025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12026         and llroundf multiarch implementations.
12027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12028         New file.
12029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12030         New file.
12031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12032         New file.
12033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12034         file: multiarch llround for PowerPC32.
12035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12036         file: multiarch llroundf for PowerPC32.
12037
12038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12039         multiarch PowerPC32 fpu implementations.
12040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12041         New file.
12042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12043         New file.
12044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12045         multiarch llrint for PowerPC32.
12046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12047         New file.
12048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12049         New file.
12050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12051         file.
12052
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12054
12055         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12056         file.
12057         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12058         file.
12059         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12060         file.
12061         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12062         multiarch wordcopy for PPC32.
12063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12064         wordcopy objects.
12065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12066         (__libc_ifunc_impl_list): Likewise.
12067         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12068         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12069         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12070         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12071         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12072         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12073
12074         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12076         file.
12077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12078         file.
12079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12080         file.
12081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12082         multiarch wcscpy for PPC32.
12083         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12084         multiarch objects.
12085         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12086         (__libc_ifunc_impl_list): Likewise.
12087         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12088         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12089         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12090         sysdeps/powerpc/power6/wcscpy.c.
12091
12092         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12094         file.
12095         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12096         file.
12097         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12098         file.
12099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12100         multiarch wcsrchr for PPC32.
12101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12102         multiarch objects.
12103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12104         (__libc_ifunc_impl_list): Likewise.
12105         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12106         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12107         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12108         sysdeps/powerpc/power6/wcsrchr.c.
12109
12110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12111         file.
12112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12113         file.
12114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12116         multiarch wcschr for PPc32.
12117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12118         multiarch objects.
12119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12120         (__libc_ifunc_impl_list): Likewise.
12121         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12122         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12123         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12124         sysdeps/powerpc/power6/wcschr.c.
12125
12126         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12127         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12128         file.
12129         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12130         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12131         file: multiarch strchr for PPC32.
12132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12133         multiarch objects.
12134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12135         (__libc_ifunc_impl_list): Likewise.
12136
12137         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12138         name.
12139         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12140         file.
12141         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12142         file.
12143         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12144         multiarch strchrnul for PPC32.
12145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12146         multiarch objects.
12147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12148         (__libc_ifunc_impl_list): Likewise.
12149
12150         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12151         file.
12152         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12153         multiarch strncasecmp for PPC32.
12154         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12155         file.
12156         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12157         multiarch strncasecmp_l for PPC32.
12158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12159         strncasecmp multiarch objects.
12160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12161         (__libc_ifunc_impl_list): Likewise.
12162
12163         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12164         file.
12165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12166         multiarch strncasecmp for PPC32.
12167         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12168         New file.
12169         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12170         multiarch strcasecmp_l for PPC32.
12171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12172         multiarch objects.
12173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12174         (__libc_ifunc_impl_list): Likewise.
12175
12176         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12177         file.
12178         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12179         file.
12180         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12181         multiarch strncmp for PPC32.
12182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12183         multiarch objects.
12184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12185         (__libc_ifunc_impl_list): Likewise.
12186
12187         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12188         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12189         file.
12190         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12191         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12193         multiarch objects.
12194         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12195         (__libc_ifunc_impl_list): Likewise.
12196
12197         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12198         file.
12199         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12200         file.
12201         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12203         multiarch objects.
12204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12205         (__libc_ifunc_impl_list): Likewise.
12206
12207         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12208         file.
12209         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12210         file.
12211         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12212         multiarch rawmemchr for PPC32.
12213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12214         multiarch objects.
12215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12216         (__libc_ifunc_impl_list): Likewise.
12217
12218         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12219         file.
12220         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12221         file.
12222         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12223         file: memrchr multiarch for PPC32.
12224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12225         multiarch objects.
12226         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12227         (__libc_ifunc_impl_list): Likewise.
12228
12229         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12230         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12231         file.
12232         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12233         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12234         multiarch memchr for PPC32.
12235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12236         multiarch objects.
12237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12238         (__libc_ifunc_impl_list): Likewise.
12239
12240         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12241         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12242         file.
12243         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12244         file.
12245         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12246         file: multiarch mempcpy for PPC32.
12247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12248         multiarch objects.
12249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12250         (__libc_ifunc_impl_list): Likewise.
12251
12252         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12253         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12254         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12255         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12256         multiarch bzero for PPC32.
12257         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12258         file.
12259         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12260         file.
12261         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12262         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12263         file: multiarch memset for PPC32.
12264         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12266         memset multiarch objects.
12267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12268         (__libc_ifunc_impl_list): Likewise.
12269
12270         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12271         file.
12272         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12274         memcmp for PPC32.
12275         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12276         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12277         multiarch objects.
12278         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12279         (__libc_ifunc_impl_list): Likewise.
12280
12281         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12283         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12284         file.
12285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12286         file.
12287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12288         file.
12289         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12290         multiarch memcpy for PPC32.
12291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12292         multiarch objects.
12293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12294         (__libc_ifunc_impl_list): Likewise.
12295
12296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12297         support multiarch for POWER/PPC32.
12298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12299         Likewise.
12300         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12302         Implies file to make multiarch folder appers before the fpu and
12303         default folder for power4 configuration.
12304
12305 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12306
12307         * scripts/bench.pl: Append volatile keyword to type.
12308
12309 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12310
12311         * sysdeps/sh/sotruss-lib.c: New file.
12312         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12313
12314 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12315
12316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12317
12318 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12319
12320         [BZ #6810]
12321         * math/w_tgamma.c: Include <errno.h>.
12322         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12323         * math/w_tgammaf.c: Include <errno.h>.
12324         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12325         * math/w_tgammal.c: Include <errno.h>.
12326         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12327         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12328         underflow.  Add more tgamma tests.
12329         * math/auto-libm-test-out: Regenerated.
12330         * sysdeps/i386/fpu/libm-test-ulps: Update.
12331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12332
12333         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12334         sin, sinh, tan, tanh, tgamma, y0 and y1.
12335         * math/auto-libm-test-out: Regenerated.
12336         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12337         (TEST_COND_x86): Likewise.
12338         (M_E2l): Remove macro.
12339         (M_E3l): Likewise.
12340         (M_2_SQRT_PIl): Likewise.
12341         (M_SQRT_PIl): Likewise.
12342         (M_1_DIV_El): Likewise.
12343         (log_test_data): Use AUTO_TESTS_f_f.
12344         (log10_test_data): Likewise.
12345         (log1p_test_data): Likewise.
12346         (log2_test_data): Likewise.
12347         (sin_test_data): Likewise.
12348         (sin_tonearest_test_data): Likewise.
12349         (sin_towardzero_test_data): Likewise.
12350         (sin_downward_test_data): Likewise.
12351         (sin_upward_test_data): Likewise.
12352         (sinh_test_data): Likewise.
12353         (sinh_tonearest_test_data): Likewise.
12354         (sinh_towardzero_test_data): Likewise.
12355         (sinh_downward_test_data): Likewise.
12356         (sinh_upward_test_data): Likewise.
12357         (tan_test_data): Likewise.
12358         (tan_tonearest_test_data): Likewise.
12359         (tan_towardzero_test_data): Likewise.
12360         (tan_downward_test_data): Likewise.
12361         (tan_upward_test_data): Likewise.
12362         (tanh_test_data): Likewise.
12363         (tgamma_test_data): Likewise.
12364         (y0_test_data): Likewise.
12365         (y1_test_data): Likewise.
12366         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12367         (special_real_inputs): Add pi/4.
12368         * sysdeps/i386/fpu/libm-test-ulps: Update.
12369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12370
12371 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12372
12373         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12374         "longjmp_target" static probes.
12375         (__longjmp): Rename to __longjmp_symbol.
12376         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12377         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12378         on which longjmp to generate.
12379         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12380         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12381         probe.
12382         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12383         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12384         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12385         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12386         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12387         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12389         __longjmp_symbol based on which __longjmp to generate.
12390         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12391         probe.
12392         (setjmp): Rename to setjmp_symbol.
12393         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12394         (_setjmp): Rename to _setjmp_symbol.
12395         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12396         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12397         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12398         which setjmp to generate.
12399         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12400         "longjmp_target" static probes.
12401
12402 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12403
12404         * benchtests/README: Add note about output arguments.
12405         * benchtests/bench-sincos.c: Remove file.
12406         * benchtests/sincos-inputs: New file.
12407         * scripts/bench.pl: Identify output arguments and define
12408         static variables for them.
12409
12410         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12411
12412         [BZ #15941]
12413         * Makefile (INSTALL): Add install-plain.texi as the primary
12414         dependency.
12415         * manual/install-plain.texi: New file.
12416         * manual/install.texi: Include node directive only for
12417         non-plaintext output.
12418
12419 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12420
12421         * stdlib/longlong.h: Update from GCC.
12422
12423         [BZ #6807]
12424         [BZ #15901]
12425         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12426         * math/w_j0f.c (y0f): Likewise.
12427         * math/w_j0l.c (__y0l): Likewise.
12428         * math/w_j1.c (y1): Likewise.
12429         * math/w_j1f.c (y1f): Likewise.
12430         * math/w_j1l.c (__y1l): Likewise
12431         * math/w_jn.c (yn): Likewise.
12432         * math/w_jnf.c (ynf): Likewise.
12433         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12434         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12435         value for Bessel function domain errors outside _SVID_ mode.
12436         Adjust sign of return value for yn (negative integer, 0).
12437         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12438         by zero in return for negative x and set sign appropriately for
12439         negative n.
12440         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12441         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12442         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12443         expectations in error cases.
12444         (y1_test_data): Likewise.
12445         (yn_test_data): Likewise.
12446         * sysdeps/i386/fpu/libm-test-ulps: Update.
12447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12448
12449 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12450
12451         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12452         "64" to "64-v1".  Add "64-v2".
12453         (abi-64-options): Rename to ...
12454         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12455         (abi-64-condition): Rename to ...
12456         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12457         (abi-64-ld-soname): Rename to ...
12458         (abi-64-v1-ld-soname): ... this.
12459         (abi-64-v2-options): Define.
12460         (abi-64-v2-condition): Likewise.
12461         (abi-64-v2-ld-soname): Likewise.
12462         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12463         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12467
12468 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12469             Alan Modra  <amodra@gmail.com>
12470
12471         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12472         New versions for use with the ELFv2 ABI.
12473         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12474         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12475         declaration.
12476         (struct La_ppc64v2_retval): Likewise.
12477         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12478         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12479         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12480         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12481         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12482         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12483         Do not save or restore CR.
12484         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12485         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12486         return values for ELFv2 ABI.  Fix location of FPR return registers.
12487         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12488         updated values for _CALL_ELF == 2.
12489         (La_regs, La_retval, int_retval): Likewise.
12490
12491 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12492
12493         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12494         (FRAME_MIN_SIZE_PARM): Likewise.
12495         (FRAME_BACKCHAIN): Likewise.
12496         (FRAME_CR_SAVE): Likewise.
12497         (FRAME_LR_SAVE): Likewise.
12498         (FRAME_TOC_SAVE): Likewise.
12499         (FRAME_PARM_SAVE): Likewise.
12500         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12501         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12502         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12503         (call_mcount_parm_offset): New macro.
12504         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12505         (PROF): Use symbolic stack frame offsets.
12506         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12507         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12508         Redefine in terms of FRAME_MIN_SIZE.
12509         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12510         (_dl_profile_resolve): Likewise.  Update comment.
12511         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12512         symbols stack frame offsets.
12513         (__sigsetjmp): Likewise.
12514         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12515         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12516         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12517         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12518
12519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12520         (FRAME_BACKCHAIN): Remove.
12521         (FRAME_CR_SAVE): Likewise.
12522         (FRAME_LR_SAVE): Likewise.
12523         (FRAME_COMPILER_DW): Likewise.
12524         (FRAME_LINKER_DW): Likewise.
12525         (FRAME_TOC_SAVE): Likewise.
12526         (FRAME_PARM_SAVE): Likewise.
12527         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12528         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12529         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12531         (CHECK_SP): Use symbolic stack frame offsets.
12532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12533         zone" instead of caller's parameter save area for temp storage.
12534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12535         Likewise.  Also, use symbolic stack frame offsets.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12537         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12538         our own stack frame instead of the caller's.
12539         (__socket): Use symbolic stack frame offsets.
12540
12541 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12542             Alan Modra  <amodra@gmail.com>
12543
12544         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12545         Define.
12546         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12547         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12548         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12549         New function.
12550         (elf_machine_fixup_plt): Call it.
12551         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12552         reloc arguments.
12553         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12554         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12555         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12556         r2 before calling target.
12557
12558 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12559             Alan Modra  <amodra@gmail.com>
12560
12561         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12562         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12563         versions of macros to support ELFv2 ABI.
12564         (LOCALENTRY): New macro.
12565         (ENTRY, EALIGN): Use it.
12566         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12567         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12568         fall through into ENTRY entry point.
12569         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12570         Only define if _CALL_ELF != 2.
12571
12572         (elf_machine_matches_host): Verify ABI version matches.
12573         (RTLD_START): Use LOCALENTRY.
12574         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12575         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12576         (PLT_ENTRY_WORDS): New macro.
12577         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12578         (elf_machine_runtime_setup): Support ELFv2 ABI.
12579         (elf_machine_fixup_plt): Likewise.
12580         (elf_machine_plt_conflict): Likewise.
12581         (resolve_ifunc): Likewise.
12582         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12583         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12584         Likewise.
12585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12586         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12588         (makecontext): Support ELFv2 ABI.
12589         * elf/elf.h (EF_PPC64_ABI): Define.
12590
12591 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12592
12593         * sysdeps/powerpc/powerpc64/sysdep.h
12594         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12595         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12596         (ENTRY) [ASSEMBLER]: ... but instead here ...
12597         (EALIGN) [ASSEMBLER]: ... and here.
12598         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12599         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12600         (ENTRY_2) [!ASSEMBLER]: Use it.
12601         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12602         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12603         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12604         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12605         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12607         Use PPC64_LOAD_FUNCPTR.
12608
12609         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12610
12611 2013-12-04  Alan Modra  <amodra@gmail.com>
12612
12613         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12614         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12615         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12616         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12617
12618         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12619         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12620         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12621         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12622         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12623         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12624
12625 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12626
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12628         (__makecontext): Fix incorrect CFI when backtracing out of
12629         context created via makecontext.
12630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12631         (__setcontext): Fix incorrect CFI during switch to new context.
12632         (__novec_setcontext): Likewise.
12633
12634 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12635
12636         [BZ #4772]
12637         * time/strptime_l.c (__strptime_internal): Allow modifiers
12638         in strptime.
12639         * time/tst-strptime.c (day_tests): Add testcase.
12640
12641 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12642
12643         * scripts/bench.pl: Skip over blank lines.
12644
12645 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12646
12647         [BZ #926]
12648         * manual/time.texi (Calendar Time): Clarify what timezone functions
12649         use.
12650
12651 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12652
12653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12654
12655 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12656
12657         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12658         implementation.
12659         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12660         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12661         * debug/memset_chk.c (__memset_chk): Likewise.
12662         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12663         * debug/strncpy_chk.c: Likewise.
12664
12665 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12666
12667         [BZ #15268]
12668         [BZ #15425]
12669         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12670         (__ieee754_exp): For possibly underflowing results, check size of
12671         result and force underflow exception if required.
12672         * math/auto-libm-test-in: Add more tests of exp.
12673         * math/auto-libm-test-out: Regenerated.
12674         * sysdeps/i386/fpu/libm-test-ulps: Update.
12675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12676
12677         [BZ #16283]
12678         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12679         * math/w_exp2f.c (__exp2f): Likewise.
12680         * math/w_exp2l.c (__exp2l): Likewise.
12681         * math/auto-libm-test-in: Do not allow missing errno on exp2
12682         underflow.
12683         * math/auto-libm-test-out: Regenerated.
12684
12685 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12686
12687         [BZ #16274]
12688         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12689         handle filename validation.
12690         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12691         (do_open): Delete.
12692
12693 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12694
12695         [BZ #6786]
12696         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12697         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12698         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12699         <float.h>.
12700         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12701         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12702         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12704         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12705         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12706         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12707         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12708         Add more erfc tests.
12709         * math/auto-libm-test-out: Regenerated.
12710         * sysdeps/i386/fpu/libm-test-ulps: Update.
12711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12712
12713         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12714         exp2, expm1, j0 and j1.
12715         * math/auto-libm-test-out: Regenerated.
12716         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12717         (erfc_test_data): Likewise.
12718         (exp_test_data): Likewise.
12719         (exp_tonearest_test_data): Likewise.
12720         (exp_towardzero_test_data): Likewise.
12721         (exp_downward_test_data): Likewise.
12722         (exp_upward_test_data): Likewise.
12723         (exp10_test_data): Likewise.
12724         (exp2_test_data): Likewise.
12725         (expm1_test_data): Likewise.
12726         (j0_test_data): Likewise.
12727         (j1_test_data): Likewise.
12728         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12729         (input_flag_type): Add flag_xfail_rounding.
12730         (input_flags): Add xfail-rounding.
12731         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12732         (output_for_one_input_case): Handle flag_xfail_rounding.
12733         * sysdeps/i386/fpu/libm-test-ulps: Update.
12734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12735
12736 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12737
12738         [BZ #16289]
12739         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12740         division by 0.
12741
12742 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12743
12744         [BZ #16195]
12745         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12746         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12747         (STAP_PROBE0): New macro.
12748         (STAP_PROBE1): Likewise.
12749         (STAP_PROBE2): Likewise.
12750         (STAP_PROBE3): Likewise.
12751         (STAP_PROBE4): Likewise.
12752
12753 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12754
12755         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12756
12757 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12758
12759         * benchtests/Makefile (bench): Add sqrt.
12760         (LDLIBS-bench-sqrt): New.
12761         * benchtests/sqrt-input: New.
12762
12763 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12764
12765         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12766         (GAIH_EAI): Likewise.
12767         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12768         (gaih_inet): Likewise.
12769         (getaddrinfo): Don't use GAIH_EAI.
12770
12771         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12772         (struct gaih): Remove definition.
12773
12774 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12775
12776         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12777         Use HERRNOP directly.
12778
12779 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12780
12781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12782
12783 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12784
12785         * math/gen-auto-libm-tests.c (test_functions): Add more
12786         single-argument functions.
12787         (special_fill_pi_2): New function.
12788         (special_fill_minus_pi_2): Likewise.
12789         (special_fill_pi_6): Likewise.
12790         (special_fill_minus_pi_6): Likewise.
12791         (special_fill_pi_3): Likewise.
12792         (special_fill_2pi_3): Likewise.
12793         (special_fill_e): Likewise.
12794         (special_fill_1_e): Likewise.
12795         (special_fill_e_minus_1): Likewise.
12796         (special_real_inputs): Add more special inputs.
12797         (output_for_one_input_case): Do not require ERANGE on underflow to
12798         zero if round-to-nearest result does not underflow to zero, unless
12799         exact results required.
12800         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12801         atan, atanh, cbrt, cos and cosh.
12802         * math/auto-libm-test-out: Regenerated.
12803         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12804         (acos_tonearest_test_data): Likewise.
12805         (acos_towardzero_test_data): Likewise.
12806         (acos_downward_test_data): Likewise.
12807         (acos_upward_test_data): Likewise.
12808         (acosh_test_data): Likewise.
12809         (asin_test_data): Likewise.
12810         (asin_tonearest_test_data): Likewise.
12811         (asin_towardzero_test_data): Likewise.
12812         (asin_upward_test_data): Likewise.
12813         (asinh_test_data): Likewise.
12814         (atan_test_data): Likewise.
12815         (atanh_test_data): Likewise.
12816         (cbrt_test_data): Likewise.
12817         (cos_test_data): Likewise.
12818         (cos_tonearest_test_data): Likewise.
12819         (cos_towardzero_test_data): Likewise.
12820         (cos_downward_test_data): Likewise.
12821         (cos_upward_test_data): Likewise.
12822         (cosh_test_data): Likewise.
12823         (cosh_tonearest_test_data): Likewise.
12824         (cosh_towardzero_test_data): Likewise.
12825         (cosh_downward_test_data): Likewise.
12826         (cosh_upward_test_data): Likewise.
12827         * sysdeps/i386/fpu/libm-test-ulps: Update.
12828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829
12830 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12831
12832         [BZ #6787]
12833         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12834         * math/w_exp10f.c (__exp10f): Likewise.
12835         * math/w_exp10l.c (__exp10l): Likewise.
12836         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12837         errno settings in existing tests.
12838
12839         [BZ #14032]
12840         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12841         precision control set to double precision.
12842         * sysdeps/i386/fpu/w_sqrt.c: New file.
12843         * math/auto-libm-test-in: Add more tests.
12844         * math/auto-libm-test-out: Update.
12845
12846         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12847         (sqrt_test_tonearest): New function.
12848         (sqrt_towardzero_test_data): New variable.
12849         (sqrt_test_towardzero): New function.
12850         (sqrt_downward_test_data): New variable.
12851         (sqrt_test_downward): New function.
12852         (sqrt_upward_test_data): New variable.
12853         (sqrt_test_upward): New function.
12854         (main): Call the new functions.
12855
12856         * math/gen-auto-libm-tests.c: New file.
12857         * math/auto-libm-test-in: Likewise.
12858         * math/auto-libm-test-out: New generated file.
12859         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12860         variables.
12861         (%beautify): Add generated representations of zero.
12862         (top level): Set $auto_input and call parse_auto_input.
12863         (beautify): Remove trailing "f" from hex float constants.
12864         (parse_args): Handle XFAIL_TEST.
12865         (convert_condition): New function.
12866         (or_value): Likewise.
12867         (or_cond_value): Likewise.
12868         (generate_testfile): Handle AUTO_TESTS_* lines.
12869         (parse_auto_input): New function.
12870         * math/libm-test.inc (XFAIL_TEST): New macro.
12871         (ERRNO_UNCHANGED): Update value.
12872         (ERRNO_EDOM): Likewise.
12873         (ERRNO_ERANGE): Likewise.
12874         (IGNORE_RESULT): Likewise.
12875         (TEST_COND_flt_32): New macro.
12876         (TEST_COND_dbl_64): Likewise.
12877         (TEST_COND_ldbl_96_intel): Likewise.
12878         (TEST_COND_ldbl_96_m68k): Likewise.
12879         (TEST_COND_ldbl_128): Likewise.
12880         (TEST_COND_ldbl_128ibm): Likewise.
12881         (TEST_COND_long32): Likewise.
12882         (TEST_COND_long64): Likewise.
12883         (TEST_COND_before_rounding): Likewise.
12884         (TEST_COND_after_rounding): Likewise.
12885         (enable_test): Handle XFAIL_TEST flag.
12886         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12887         with finite results.
12888         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12889         auto-libm-test-out.
12890
12891 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12892             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12893
12894         [BZ #16214]
12895         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12896         __tls_get_addr_internal instead of __tls_get_offset in order to
12897         avoid GOT pointer dependency.  Make rtld export
12898         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12899         __tls_get_addr since we are a __tls_get_offset platform.
12900         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12901         GOT pointer being set up before.
12902         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12903
12904 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12905
12906         * manual/math.texi (Errors in Math Functions): Document accuracy
12907         goals.
12908
12909         [BZ #15004]
12910         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12911         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12912         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12913         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12914         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12915         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12916         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12917         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12918         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12919         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12920         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12921         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12922         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12923         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12924         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12925         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12926
12927         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12928         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12929         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12930         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12931         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12932         Likewise.
12933         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12934         Likewise.
12935         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12936         Likewise.
12937         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12938         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12939         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12940         atomic-feupdateenv and flt-rounds.
12941         * sysdeps/powerpc/nofpu/Versions (libc): Add
12942         __atomic_feholdexcept, __atomic_feclearexcept,
12943         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12944         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12945         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12946         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12947         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12948         here.
12949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12950         Update.
12951
12952         * manual/arith.texi (FP Exceptions): Document that exceptions may
12953         not be raised when matherr is used.
12954         (Math Error Reporting): Document overflow in directed rounding
12955         modes.  Document that errno may not be set when finite values are
12956         returned on overflow.  Document intent to set errno on underflow
12957         only for underflow to zero.
12958
12959         [BZ #16271]
12960         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12961         round-to-nearest then adjust result for other rounding modes.
12962         * include/fenv.h (fegetround): Use libm_hidden_proto.
12963         * math/fegetround.c (fegetround): Use libm_hidden_def.
12964         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12965         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12966         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12967         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12968         Likewise.
12969         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12970         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12971         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12972         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12973
12974 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12975
12976         [BZ #16077]
12977         * nss/Versions (libnss_files): Add
12978         _nss_files_gethostbyname3_r.
12979         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12980         New function.
12981         (HOST_DB_LOOKUP): Remove macro.
12982         (_nss_files_gethostbyname_r): Implement function without the
12983         HOST_DB_LOOKUP macro.
12984         (_nss_files_gethostbyname2_r): Likewise.
12985
12986 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12987
12988         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12989
12990 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12991
12992         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12993         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12994         warning.
12995
12996 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12997
12998         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12999         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13000         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13001         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13002         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13003         __fe_nomask_env_priv and attribute_hidden.
13004         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13005         (libc_feupdateenv_test_ppc): Likewise.
13006         (libc_feresetround_ppc): Likewise.
13007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13008         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13009         compat_symbol macro.
13010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13011         (__fe_nomask_env): Likewise.
13012         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13013
13014 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13015
13016         * string/Makefile: Remove ifunc tests.
13017         * string/test-string.h: Define TEST_IFUNC.
13018         * string/test-bcopy-ifunc.c: Remove.
13019         * string/test-bzero-ifunc.c: Likewise.
13020         * string/test-memccpy-ifunc.c: Likewise.
13021         * string/test-memchr-ifunc.c: Likewise.
13022         * string/test-memcmp-ifunc.c: Likewise.
13023         * string/test-memcpy-ifunc.c: Likewise.
13024         * string/test-memmem-ifunc.c: Likewise.
13025         * string/test-memmove-ifunc.c: Likewise.
13026         * string/test-mempcpy-ifunc.c: Likewise.
13027         * string/test-memrchr-ifunc.c: Likewise.
13028         * string/test-memset-ifunc.c: Likewise.
13029         * string/test-rawmemchr-ifunc.c: Likewise.
13030         * string/test-stpcpy-ifunc.c: Likewise.
13031         * string/test-stpncpy-ifunc.c: Likewise.
13032         * string/test-strcasecmp-ifunc.c: Likewise.
13033         * string/test-strcasestr-ifunc.c: Likewise.
13034         * string/test-strcat-ifunc.c: Likewise.
13035         * string/test-strchr-ifunc.c: Likewise.
13036         * string/test-strchrnul-ifunc.c: Likewise.
13037         * string/test-strcmp-ifunc.c: Likewise.
13038         * string/test-strcpy-ifunc.c: Likewise.
13039         * string/test-strcspn-ifunc.c: Likewise.
13040         * string/test-strlen-ifunc.c: Likewise.
13041         * string/test-strncasecmp-ifunc.c: Likewise.
13042         * string/test-strncat-ifunc.c: Likewise.
13043         * string/test-strncmp-ifunc.c: Likewise.
13044         * string/test-strncpy-ifunc.c: Likewise.
13045         * string/test-strnlen-ifunc.c: Likewise.
13046         * string/test-strpbrk-ifunc.c: Likewise.
13047         * string/test-strrchr-ifunc.c: Likewise.
13048         * string/test-strspn-ifunc.c: Likewise.
13049         * string/test-strstr-ifunc.c: Likewise.
13050
13051 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13052
13053         * benchtests/Makefile: Remove ifunc tests.
13054         * benchtests/bench-string.h: Define TEST_IFUNC.
13055         * benchtests/bench-bcopy-ifunc.c: Remove.
13056         * benchtests/bench-bzero-ifunc.c: Likewise.
13057         * benchtests/bench-memccpy-ifunc.c: Likewise.
13058         * benchtests/bench-memchr-ifunc.c: Likewise.
13059         * benchtests/bench-memcmp-ifunc.c: Likewise.
13060         * benchtests/bench-memcpy-ifunc.c: Likewise.
13061         * benchtests/bench-memmem-ifunc.c: Likewise.
13062         * benchtests/bench-memmove-ifunc.c: Likewise.
13063         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13064         * benchtests/bench-memrchr-ifunc.c: Likewise.
13065         * benchtests/bench-memset-ifunc.c: Likewise.
13066         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13067         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13068         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13069         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13070         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13071         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13072         * benchtests/bench-strcat-ifunc.c: Likewise.
13073         * benchtests/bench-strchr-ifunc.c: Likewise.
13074         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13075         * benchtests/bench-strcmp-ifunc.c: Likewise.
13076         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13077         * benchtests/bench-strcpy-ifunc.c: Likewise.
13078         * benchtests/bench-strcspn-ifunc.c: Likewise.
13079         * benchtests/bench-strlen-ifunc.c: Likewise.
13080         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13081         * benchtests/bench-strncat-ifunc.c: Likewise.
13082         * benchtests/bench-strncmp-ifunc.c: Likewise.
13083         * benchtests/bench-strncpy-ifunc.c: Likewise.
13084         * benchtests/bench-strnlen-ifunc.c: Likewise.
13085         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13086         * benchtests/bench-strrchr-ifunc.c: Likewise.
13087         * benchtests/bench-strsep-ifunc.c: Likewise.
13088         * benchtests/bench-strspn-ifunc.c: Likewise.
13089         * benchtests/bench-strstr-ifunc.c: Likewise.
13090
13091 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13092
13093         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13094
13095 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13096
13097         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13098         * rt/aio.h: Likewise.
13099         * sysdeps/gnu/bits/utmp.h: Likewise.
13100         * sysdeps/gnu/bits/utmpx.h: Likewise.
13101         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13102         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13103         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13104         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13105         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13106         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13107         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13108         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13109         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13110         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13111         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13112         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13113         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13115         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13116         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13117         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13118         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13119         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13120         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13121         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13122         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13123         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13124         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13125         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13126         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13127         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13128         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13129         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13130         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13131         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13132         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13133         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13134         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13135         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13136         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13137         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13138         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13139         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13140         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13141         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13142         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13143
13144 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13145
13146         [BZ #16245]
13147         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13148         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13149
13150 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13151
13152         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13153         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13154         Likewise.
13155
13156 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13157
13158         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13159         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13160         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13161         (__fesetround): Remove define.
13162         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13163         rounding and exceptions handling.
13164         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13165         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13166         (__fe_nomask_env): Likewise.
13167         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13168         __fegetround instead of fegetround.
13169         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13170         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13171
13172 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13173
13174         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13175         it's there.
13176
13177         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13178
13179 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13180
13181         [BZ #11157]
13182         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13183         (encrypt_r): Likewise.
13184         * malloc/obstack.h (obstack_free): Likewise.
13185         * posix/unistd.h (encrypt): Likewise.
13186
13187 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13188
13189         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13190         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13191         DL_CALL_DT_FINI() that call the functions directly.
13192         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13193         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13194         * elf/dl-fini.c: Likewise.
13195
13196 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13197
13198         * malloc/hooks.c (memalign_check): Add alignment rounding.
13199         * malloc/malloc.c (_mid_memalign): New function.
13200         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13201         Implement by calling _mid_memalign.
13202         * manual/probes.texi (Memory Allocation Probes): Remove
13203         memory_valloc_retry and memory_pvalloc_retry.
13204
13205 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13206
13207         * locale/programs/locarchive.c (open_archive): Add const
13208         qualifier to ARCHIVEFNAME and copy default fname to
13209         DEFAULT_FNAME.
13210
13211         [BZ #15601]
13212         * libio/tst-widetext.input: Rename Oriya to Odia.
13213         * locale/iso-639.def: Likewise.
13214
13215         * manual/probes.texi (Mathematical Function Probes): Add
13216         documentation for sin, cos, asin and acos probes.
13217         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13218         (__sin32): Add slowasin probe.
13219         (__cos32): Add slowacos probe.
13220         (__mpsin): Add slowsin probe.
13221         (__mpcos): Add slowcos probe.
13222
13223 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13224
13225         [BZ #15483]
13226         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13227         thread-local __sim_exceptions_thread and global
13228         __sim_exceptions_global.
13229         (__sim_disabled_exceptions): Change to thread-local
13230         __sim_disabled_exceptions_thread and global
13231         __sim_disabled_exceptions_global.
13232         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13233         and global __sim_round_mode_global.
13234         (__simulate_exceptions): Use thread-local floating-point state and
13235         set global state from it as needed.
13236         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13237         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13238         __sim_round_mode_thread.
13239         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13240         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13241         and global __sim_exceptions_global.
13242         (__sim_disabled_exceptions): Change to thread-local
13243         __sim_disabled_exceptions_thread and global
13244         __sim_disabled_exceptions_global.
13245         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13246         and global __sim_round_mode_global.
13247         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13248         (SIM_SET_GLOBAL): Likewise.
13249         * sysdeps/powerpc/soft-fp/sfp-machine.h
13250         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13251         __sim_round_mode_thread.
13252         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13253         __sim_disabled_exceptions_thread.
13254         (__sim_exceptions): Change to __sim_exceptions_thread.
13255         (__sim_disabled_exceptions): Change to
13256         __sim_disabled_exceptions_thread.
13257         (__sim_round_mode): Change to __sim_round_mode_thread.
13258         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13259         thread-local floating-point state and set global state from it as
13260         needed.
13261         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13262         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13263         (__sim_disabled_exceptions): Remove extern declaration.
13264         (feenableexcept): Use thread-local floating-point state and set
13265         global state from it as needed.
13266         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13267         extern declaration.
13268         (__sim_disabled_exceptions): Likewise.
13269         (__sim_round_mode): Likewise.
13270         (__fegetenv): Use thread-local floating-point state.
13271         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13272         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13273         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13274         floating-point state and set global state from it as needed.
13275         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13276         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13277         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13278         Likewise.
13279         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13280         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13281         Likewise.
13282         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13283         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13284         Use __sim_round_mode_thread.
13285         * math/test-fenv-tls.c: New file.
13286         * math/Makefile (tests): Add test-fenv-tls.
13287         ($(objpfx)test-fenv-tls): Depend on
13288         $(common-objpfx)nptl/libpthread.so.
13289
13290 2013-11-19  Andreas Schwab  <schwab@suse.de>
13291
13292         * locale/programs/locale.c (show_info): Decode wordarray elements.
13293         * locale/categories.def (LC_MONETARY): Add element for
13294         _NL_MONETARY_CRNCYSTR.
13295         * locale/C-monetary.c (conversion_rate): New variable.
13296         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13297         element.
13298
13299 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13300
13301         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13302         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13303
13304 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13305
13306         * elf/Makefile (tst-auxv): New test.
13307         * elf/tst-auxv.c: New
13308         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13309
13310 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13311
13312         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13313         (hidden_proto): Caller changed.
13314         (hidden_tls_proto): New macro.
13315         (libc_hidden_tls_proto): Likewise.
13316         (rtld_hidden_tls_proto): Likewise.
13317         (libm_hidden_tls_proto): Likewise.
13318         (libresolv_hidden_tls_proto): Likewise.
13319         (librt_hidden_tls_proto): Likewise.
13320         (libdl_hidden_tls_proto): Likewise.
13321         (libnss_files_hidden_tls_proto): Likewise.
13322         (libnsl_hidden_tls_proto): Likewise.
13323         (libnss_nisplus_hidden_tls_proto): Likewise.
13324         (libutil_hidden_tls_proto): Likewise.
13325
13326 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13327
13328         [BZ #10253]
13329         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13330         (decompose_rpath): Defer expansion to fillin_rpath.
13331         (_dl_init_paths): Pass linkmap to fillin_rpath.
13332
13333 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13334
13335         * benchtests/Makefile: Add strsep.
13336         * benchtests/bench-strsep.c: New file: strsep benchtest.
13337         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13338
13339 2013-11-18  Andreas Schwab  <schwab@suse.de>
13340
13341         * locale/programs/locale.c (show_info) [case byte]: Check for
13342         '\377' instead of '\177'.
13343         * locale/C-monetary.c (not_available): Always use "\377".
13344         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13345         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13346         detect unavailable sign_posn locale elements.
13347         * locale/localeconv.c (__localeconv): For grouping and
13348         mon_grouping handle "\177" and "\377" like no grouping.
13349         (INT_ELEM): New macro.  Use it to set all numeric members.
13350         * locale/programs/ld-monetary.c (monetary_read)
13351         <tok_mon_grouping>: Normalize single -1 to the empty string.
13352         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13353         Likewise.
13354
13355 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13356
13357         [BZ #16055]
13358         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13359         when we match (nil).
13360         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13361
13362 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13363
13364         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13365         (NO_TEST_INLINE): Update value.
13366         (ERRNO_UNCHANGED): Likewise.
13367         (ERRNO_EDOM): Likewise.
13368         (ERRNO_ERANGE): Likewise.
13369         (IGNORE_RESULT): Likewise.
13370         (check_float_internal): Check signs of NaN results if
13371         TEST_NAN_SIGN used.
13372         (check_complex): Pass TEST_NAN_SIGN flag through to second
13373         check_float_internal call.
13374         (copysign_test_data): Add tests with quiet NaNs as second
13375         argument.  Use TEST_NAN_SIGN.
13376         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13377         TEST_NAN_SIGN.
13378         (signbit_test_data): Add tests of quiet NaN argument.
13379         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13380
13381         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13382         $ignore_result.
13383         (parse_args): Handle function results specified as IGNORE.
13384         * math/libm-test.inc (IGNORE_RESULT): New macro.
13385         (check_float_internal): Do not check numerical result if flag
13386         IGNORE_RESULT set.
13387         (check_complex): Pass through IGNORE_RESULT to second
13388         check_float_internal call.
13389         (check_int): Do not check numerical result if flag IGNORE_RESULT
13390         set.
13391         (check_long): Likewise.
13392         (check_bool): Likewise.
13393         (check_longlong): Likewise.
13394         (lrint_test_data): Add tests of infinite and NaN arguments.
13395         (lrint_tonearest_test_data): Likewise.
13396         (lrint_towardzero_test_data): Likewise.
13397         (lrint_downward_test_data): Likewise.
13398         (lrint_upward_test_data): Likewise.
13399         (llrint_test_data): Likewise.
13400         (llrint_tonearest_test_data): Likewise.
13401         (llrint_towardzero_test_data): Likewise.
13402         (llrint_downward_test_data): Likewise.
13403         (llrint_upward_test_data): Likewise.
13404         (lround_test_data): Likewise.
13405         (llround_test_data): Likewise.
13406
13407         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13408         (ERRNO_UNCHANGED): Update value.
13409         (ERRNO_EDOM): Likewise.
13410         (ERRNO_ERANGE): Likewise.
13411         (NO_TEST_INLINE_FLOAT): New macro.
13412         (NO_TEST_INLINE_DOUBLE): Likewise.
13413         (enable_test): New function.
13414         (RUN_TEST_f_f): Check enable_test before running test.
13415         (RUN_TEST_2_f): Likewise.
13416         (RUN_TEST_fff_f): Likewise.
13417         (RUN_TEST_c_f): Likewise.
13418         (RUN_TEST_f_f1): Likewise.
13419         (RUN_TEST_fF_f1): Likewise.
13420         (RUN_TEST_fI_f1): Likewise.
13421         (RUN_TEST_ffI_f1): Likewise.
13422         (RUN_TEST_c_c): Likewise.
13423         (RUN_TEST_cc_c): Likewise.
13424         (RUN_TEST_f_i): Likewise.
13425         (RUN_TEST_f_i_tg): Likewise.
13426         (RUN_TEST_ff_i_tg): Likewise.
13427         (RUN_TEST_f_b): Likewise.
13428         (RUN_TEST_f_b_tg): Likewise.
13429         (RUN_TEST_f_l): Likewise.
13430         (RUN_TEST_f_L): Likewise.
13431         (RUN_TEST_fFF_11): Likewise.
13432         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13433         conditionals.
13434         (cosh_test_data): Likewise.
13435         (exp_test_data): Likewise.
13436         (expm1_test_data): Likewise.
13437         (hypot_test_data): Likewise.
13438         (pow_test_data): Likewise.
13439         (sinh_test_data): Likewise.
13440         (tanh_test_data): Likewise.
13441         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13442         flags argument.
13443
13444         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13445         tests with quiet NaN input and output.
13446         (acosh_test_data): Likewise.
13447         (asin_test_data): Likewise.
13448         (asinh_test_data): Likewise.
13449         (atan_test_data): Likewise.
13450         (atanh_test_data): Likewise.
13451         (atan2_test_data): Likewise.
13452         (cbrt_test_data): Likewise.
13453         (cos_test_data): Likewise.
13454         (cosh_test_data): Likewise.
13455         (erf_test_data): Likewise.
13456         (erfc_test_data): Likewise.
13457         (exp_test_data): Likewise.
13458         (exp10_test_data): Likewise.
13459         (exp2_test_data): Likewise.
13460         (expm1_test_data): Likewise.
13461         (hypot_test_data): Likewise.
13462         (j0_test_data): Likewise.
13463         (j1_test_data): Likewise.
13464         (jn_test_data): Likewise.
13465         (lgamma_test_data): Likewise.
13466         (log_test_data): Likewise.
13467         (log10_test_data): Likewise.
13468         (log1p_test_data): Likewise.
13469         (log2_test_data): Likewise.
13470         (pow_test_data): Likewise.
13471         (scalb_test_data): Likewise.
13472         (sin_test_data): Likewise.
13473         (sincos_test_data): Likewise.
13474         (sinh_test_data): Likewise.
13475         (tan_test_data): Likewise.
13476         (tanh_test_data): Likewise.
13477         (tgamma_test_data): Likewise.
13478         (y0_test_data): Likewise.
13479         (y1_test_data): Likewise.
13480         (yn_test_data): Likewise.
13481
13482         [BZ #16167]
13483         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13484         argument being NaN and avoid computations with second argument in
13485         that case.
13486         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13487         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13488         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13489
13490 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13491
13492         * locale/iso-639.def: Add Chitwani Tharu (the).
13493
13494 2013-11-14  Andreas Schwab  <schwab@suse.de>
13495
13496         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13497         word instead of empty string.
13498
13499 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13500
13501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13502         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13504         (__fe_nomask_env): Likewise.
13505
13506 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13507
13508         * benchtests/bench-timing.h: Include time.h.
13509
13510 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13511
13512         [BZ #15997]
13513         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13514         to 3.4.0 for x32.
13515         * sysdeps/unix/sysv/linux/configure: Regenerated.
13516
13517 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13518
13519         [BZ #16151]
13520         * stdlib/strtod_l.c (round_and_return): Do not consider
13521         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13522         exponent one less than half the least subnormal exponent.
13523         * stdlib/test-strtod-round-data: Add more tests.
13524         * stdlib/tst-strtod-round.c (tests): Regenerated.
13525
13526 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13527
13528         [BZ #14143]
13529         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13530         (__fe_mask_env): Likewise.
13531         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13532         libm_hidden_proto and add function prototype.
13533         (__fe_mask_env): Add function prototype.
13534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13535         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13537         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13539         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13540
13541 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13542
13543         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13544         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13545
13546 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13547
13548         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13549         of htab_find_slot().
13550
13551 2013-11-11  David S. Miller  <davem@davemloft.net>
13552
13553         [BZ #16150]
13554         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13555         symbol in the non-vis3 case in static builds.
13556         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13557         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13558         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13559         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13560
13561 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13562
13563         [BZ #387]
13564         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13565         it is empty.
13566
13567 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13568
13569         * benchtests/Makefile: Add bench-strtod.
13570         * benchtests/bench-strtod.c: New file: strtod benchtest
13571
13572 2013-11-11  Andreas Schwab  <schwab@suse.de>
13573
13574         [BZ #16153]
13575         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13576         terminating NUL in key length.
13577
13578 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13579
13580         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13581         Add artificial ODP entry for vDSO symbol for PPC64.
13582         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13583         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13584
13585 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13586
13587         [BZ #15374]
13588         * nss/getent.c (services_keys): Recognize services starting with digit.
13589
13590 2013-11-06  David S. Miller  <davem@davemloft.net>
13591
13592         [BZ #15985]
13593         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13594         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13595
13596 2013-11-06  Will Newton  <will.newton@linaro.org>
13597
13598         * manual/memory.texi (Malloc Examples): Remove register
13599         keyword from examples.
13600
13601 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13602
13603         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13604
13605 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13606
13607         [BZ #6981]
13608         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13609         depending on [__GCC_IEC_559 > 0].
13610         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13611         depending on [__GCC_IEC_559_COMPLEX > 0].
13612
13613 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13614
13615         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13616         to iso-639.def.
13617
13618 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13619
13620         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13621
13622 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13623
13624         [BZ #16112]
13625         * malloc/malloc (malloc_info): Do not handle first bin as
13626         special case.
13627
13628 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13629
13630         * locale/iso-639.def: Add Central Nahuatl (nhn).
13631
13632 2013-11-01  Bruno Haible  <bruno@clisp.org>
13633
13634         [BZ #7003]
13635         * manual/math.texi (BSD Random): Specify range upper bound as
13636         in POSIX.
13637
13638 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13639
13640         * locale/iso-639.def: Add Meadow Mari (mhr).
13641
13642 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13643
13644         [BZ #14752], [BZ #15763]
13645         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13646         Validate name.
13647         * rt/tst_shm.c: Add test for escaping directory.
13648
13649 2013-10-31  Andreas Schwab  <schwab@suse.de>
13650
13651         [BZ #15917]
13652         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13653         followed by 'x' as part of digit sequence.
13654         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13655
13656 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13657
13658         [BZ #16037]
13659         * configure.ac: allow GNU Make 4.0 and greater.
13660         * configure: Regenerated.
13661
13662 2013-10-30  Will Newton  <will.newton@linaro.org>
13663
13664         [BZ #16038]
13665         * malloc/hooks.c (memalign_check): Limit alignment to the
13666         maximum representable power of two.
13667         * malloc/malloc.c (__libc_memalign): Likewise.
13668         * malloc/tst-memalign.c (do_test): Add test for very
13669         large alignment values.
13670         * malloc/tst-posix_memalign.c (do_test): Likewise.
13671
13672 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13673
13674         [BZ #11087]
13675         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13676         (munmap_chunk): Likewise.
13677         (mremap_chunk): Likewise.
13678
13679 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13680
13681         [BZ #15799]
13682         * stdlib/div.c (div): Remove obsolete code.
13683         * stdlib/ldiv.c (ldiv): Likewise.
13684         * stdlib/lldiv.c (lldiv): Likewise.
13685
13686 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13687
13688         [BZ #16071]
13689         * nss/nss_files/files-XXX.c (get_contents_ret): New
13690         enumerator.
13691         (get_contents): New function.
13692         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13693
13694 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13695
13696         * configure.in: Moved to ...
13697         * configure.ac: ... here. Change reference to configure.in
13698         to configure.ac.
13699         * sysdeps/arm/preconfigure.ac: ... here.
13700         configure.in to configure.ac.
13701         * sysdeps/gnu/configure.in: Moved to ...
13702         * sysdeps/gnu/configure.ac: ... here.
13703         * sysdeps/i386/configure.in: Moved to ...
13704         * sysdeps/i386/configure.ac: ... here.
13705         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13706         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13707         * sysdeps/mach/configure.in: Moved to ...
13708         * sysdeps/mach/configure.ac: ... here.
13709         * sysdeps/mach/hurd/configure.in: Moved to ...
13710         * sysdeps/mach/hurd/configure.ac: ... here.
13711         * sysdeps/powerpc/configure.in: Moved to ...
13712         * sysdeps/powerpc/configure.ac: ... here.
13713         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13714         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13715         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13716         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13717         * sysdeps/s390/s390-32/configure.in: Moved to ...
13718         * sysdeps/s390/s390-32/configure.ac: ... here.
13719         * sysdeps/s390/s390-64/configure.in: Moved to ...
13720         * sysdeps/s390/s390-64/configure.ac: ... here.
13721         * sysdeps/sh/configure.in: Moved to ...
13722         * sysdeps/sh/configure.ac: ... here.
13723         * sysdeps/sparc/configure.in: Moved to ...
13724         * sysdeps/sparc/configure.ac: ... here.
13725         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13726         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13727         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13728         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13729         * sysdeps/x86_64/configure.in: Moved to ...
13730         * sysdeps/x86_64/configure.ac: ... here.
13731         * sysdeps/x86_64/preconfigure.in: Moved to ...
13732         * sysdeps/x86_64/preconfigure.ac: ... here.
13733         * aclocal.m4: Change reference to configure.in to configure.ac.
13734         * config.h.in: Likewise.
13735         * manual/install.texi: Likewise.
13736         * manual/maint.texi: Likewise.
13737         * Makefile: Likewise.
13738         * malloc/Makefile: Likewise.
13739         * nscd/Makefile: Likewise.
13740         * Makeconfig: Change reference to configure.in and
13741         preconfigure.in to configure.ac and preconfigure.ac
13742         respectively.
13743         * INSTALL: Regenerated.
13744         * configure: Likewise.
13745         * sysdeps/gnu/configure: Likewise.
13746         * sysdeps/i386/configure: Likewise.
13747         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13748         * sysdeps/mach/configure: Likewise.
13749         * sysdeps/mach/hurd/configure: Likewise.
13750         * sysdeps/powerpc/configure: Likewise.
13751         * sysdeps/powerpc/powerpc32/configure: Likewise.
13752         * sysdeps/powerpc/powerpc64/configure: Likewise.
13753         * sysdeps/s390/s390-32/configure: Likewise.
13754         * sysdeps/s390/s390-64/configure: Likewise.
13755         * sysdeps/sh/configure: Likewise.
13756         * sysdeps/sparc/configure: Likewise.
13757         * sysdeps/unix/sysv/linux/configure: Likewise.
13758         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13759         * sysdeps/x86_64/configure: Likewise.
13760         * sysdeps/x86_64/preconfigure: Likewise.
13761
13762 2013-10-29  Andreas Schwab  <schwab@suse.de>
13763
13764         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13765
13766 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13767
13768         * benchtests/pow-inputs: Add new inputs.
13769
13770         * benchtests/exp-inputs: Add new inputs.
13771
13772         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13773         conditional check for return value.
13774         (__cos32): Likewise.
13775
13776 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13777
13778         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13779         to provide a boost for large inputs with word alignment.
13780         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13781         implementation based on optimized PPC64 strcpy.
13782         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13783         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13784         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13785         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13786
13787 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13788
13789         [BZ #2801]
13790         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13791
13792 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13793
13794         [BZ #14876]
13795         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13796         * time/tst-strptime.c (day_tests): Add testcase.
13797
13798 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13799
13800         [BZ #14029]
13801         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13802
13803 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13804
13805         [BZ #16074]
13806         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13807         MAP_FAILED on error.
13808
13809 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13810
13811         [BZ #16072]
13812         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13813         heap for large requests.
13814
13815 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13816
13817         [BZ #9954]
13818         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13819         result if the result has no associated interface.
13820         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13821         interface for all 127.X.Y.Z addresses.
13822
13823 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13824
13825         * locale/iso-639.def: Add Ligurian (lij)
13826
13827 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13828
13829         [BZ #15825]
13830         * sunrpc/rpc_main.c: Document rpcgen -5.
13831
13832 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13833
13834         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13835
13836 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13837
13838         [BZ #10278]
13839         * posix/glob.c: Match only directories when trailing slash is present.
13840         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13841         (main): Add testcase.
13842
13843 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13844
13845         [BZ #15670]
13846         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13847
13848 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13849
13850         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13851         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13852         AUTH_DES and cindex for FIPS 140-2.
13853         (DES Encryption): Add cindex FIPS 46-3.
13854
13855         * locale/locarchive.h (struct locarhandle): Add fname.
13856         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13857         if an optional argument was specified to --list-archive,
13858         otherwise NULL.
13859         * locale/programs/locarchive.c (show_archive_content): Take new
13860         argument fname and pass it via ah.fname to open_archive.
13861         * locale/programs/localedef.h: Update decl.
13862         (open_archive): If AH->fname is non-null, open that file
13863         rather than the default file name, and don't ignore ENOENT.
13864         (create_archive): Set AH.fname to NULL.
13865         (delete_locales_from_archive): Likewise.
13866         (add_locales_to_archive): Likewise.
13867         * locale/programs/locfile.c (write_all_categories): Likewise.
13868
13869 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13870             Aldy Hernandez  <aldyh@redhat.com>
13871
13872         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13873         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13874         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13875         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13876         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13877         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13878         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13879         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13880         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13881         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13882         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13883         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13884         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13885         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13886         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13887         Likewise.
13888         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13889         Likewise.
13890         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13891         Likewise.
13892         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13893         Likewise.
13894         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13895         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13896         Likewise.
13897         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13898         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13899         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13900         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13901         Likewise.
13902         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13903         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13904         * sysdeps/powerpc/preconfigure: Likewise.
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13906         Likewise.
13907         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13908         Replace contents of file by #include of <fenv_libc.h>.
13909         * sysdeps/powerpc/soft-fp/sfp-machine.h
13910         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13911         and <sys/prctl.h>.
13912         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13913         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13914         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13915         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13916         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13917         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13919         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13920         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13921         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13922         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13923         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13925         Allow copysignl PLT reference to be missing.
13926
13927 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13928             Joseph Myers  <joseph@codesourcery.com
13929
13930         [BZ #15948]
13931         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13932         single character.
13933         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13934
13935 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13936
13937         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13938         * elf/tst-tls1.c: Likewise.
13939         * elf/tst-tls10.h: Likewise.
13940         * elf/tst-tls14.c: Likewise.
13941         * elf/tst-tls2.c: Likewise.
13942         * elf/tst-tls3.c: Likewise.
13943         * elf/tst-tls4.c: Likewise.
13944         * elf/tst-tls5.c: Likewise.
13945         * elf/tst-tls6.c: Likewise.
13946         * elf/tst-tls7.c: Likewise.
13947         * elf/tst-tls8.c: Likewise.
13948         * elf/tst-tls9.c: Likewise.
13949         * elf/tst-tlsmod1.c: Likewise.
13950         * elf/tst-tlsmod13.c: Likewise.
13951         * elf/tst-tlsmod13a.c: Likewise.
13952         * elf/tst-tlsmod14a.c: Likewise.
13953         * elf/tst-tlsmod16a.c: Likewise.
13954         * elf/tst-tlsmod16b.c: Likewise.
13955         * elf/tst-tlsmod2.c: Likewise.
13956         * elf/tst-tlsmod3.c: Likewise.
13957         * elf/tst-tlsmod4.c: Likewise.
13958         * elf/tst-tlsmod5.c: Likewise.
13959         * elf/tst-tlsmod6.c: Likewise.
13960
13961 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13962
13963         [BZ #12486]
13964         * malloc/malloc.c: remove checks for statistics.
13965
13966 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13967
13968         [BZ #15277]
13969         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13970         * inet/tst-network.c: Add testcase.
13971
13972 2013-10-17  Andreas Schwab  <schwab@suse.de>
13973
13974         [BZ #15218]
13975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13976         to determine canonical name.
13977
13978 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13979
13980         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13981         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13982         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13983         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13984         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13985         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13986         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13987         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13988         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13989         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13990         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13991         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13993         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13994         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13995         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13996         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13997         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13998         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13999         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14000         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14001         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14002         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14003         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14004         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14005         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14006         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14007         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14008         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14009         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14010         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14011         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14012         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14013         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14014         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14015         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14016         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14017         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14018         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14019         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14020         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14021         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14022         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14023         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14024         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14025         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14026         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14027         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14028         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14029         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14030         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14031         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14032         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14033         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14034         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14035         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14036         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14037         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14038
14039 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14040
14041         [BZ #16041]
14042         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14043         make result into a quiet NaN.
14044
14045 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14046
14047         * soft-fp/adddf3.c: Fix horizontal whitespace.
14048         * soft-fp/addsf3.c: Likewise.
14049         * soft-fp/addtf3.c: Likewise.
14050         * soft-fp/divdf3.c: Likewise.
14051         * soft-fp/divsf3.c: Likewise.
14052         * soft-fp/divtf3.c: Likewise.
14053         * soft-fp/double.h: Likewise.
14054         * soft-fp/eqdf2.c: Likewise.
14055         * soft-fp/eqsf2.c: Likewise.
14056         * soft-fp/eqtf2.c: Likewise.
14057         * soft-fp/extenddftf2.c: Likewise.
14058         * soft-fp/extended.h: Likewise.
14059         * soft-fp/extendsfdf2.c: Likewise.
14060         * soft-fp/extendsftf2.c: Likewise.
14061         * soft-fp/extendxftf2.c: Likewise.
14062         * soft-fp/fixdfdi.c: Likewise.
14063         * soft-fp/fixdfsi.c: Likewise.
14064         * soft-fp/fixdfti.c: Likewise.
14065         * soft-fp/fixsfdi.c: Likewise.
14066         * soft-fp/fixsfsi.c: Likewise.
14067         * soft-fp/fixsfti.c: Likewise.
14068         * soft-fp/fixtfdi.c: Likewise.
14069         * soft-fp/fixtfsi.c: Likewise.
14070         * soft-fp/fixtfti.c: Likewise.
14071         * soft-fp/fixunsdfdi.c: Likewise.
14072         * soft-fp/fixunsdfsi.c: Likewise.
14073         * soft-fp/fixunsdfti.c: Likewise.
14074         * soft-fp/fixunssfdi.c: Likewise.
14075         * soft-fp/fixunssfsi.c: Likewise.
14076         * soft-fp/fixunssfti.c: Likewise.
14077         * soft-fp/fixunstfdi.c: Likewise.
14078         * soft-fp/fixunstfsi.c: Likewise.
14079         * soft-fp/fixunstfti.c: Likewise.
14080         * soft-fp/floatdidf.c: Likewise.
14081         * soft-fp/floatdisf.c: Likewise.
14082         * soft-fp/floatditf.c: Likewise.
14083         * soft-fp/floatsidf.c: Likewise.
14084         * soft-fp/floatsisf.c: Likewise.
14085         * soft-fp/floatsitf.c: Likewise.
14086         * soft-fp/floattidf.c: Likewise.
14087         * soft-fp/floattisf.c: Likewise.
14088         * soft-fp/floattitf.c: Likewise.
14089         * soft-fp/floatundidf.c: Likewise.
14090         * soft-fp/floatundisf.c: Likewise.
14091         * soft-fp/floatunditf.c: Likewise.
14092         * soft-fp/floatunsidf.c: Likewise.
14093         * soft-fp/floatunsisf.c: Likewise.
14094         * soft-fp/floatunsitf.c: Likewise.
14095         * soft-fp/floatuntidf.c: Likewise.
14096         * soft-fp/floatuntisf.c: Likewise.
14097         * soft-fp/floatuntitf.c: Likewise.
14098         * soft-fp/fmadf4.c: Likewise.
14099         * soft-fp/fmasf4.c: Likewise.
14100         * soft-fp/fmatf4.c: Likewise.
14101         * soft-fp/gedf2.c: Likewise.
14102         * soft-fp/gesf2.c: Likewise.
14103         * soft-fp/getf2.c: Likewise.
14104         * soft-fp/ledf2.c: Likewise.
14105         * soft-fp/lesf2.c: Likewise.
14106         * soft-fp/letf2.c: Likewise.
14107         * soft-fp/muldf3.c: Likewise.
14108         * soft-fp/mulsf3.c: Likewise.
14109         * soft-fp/multf3.c: Likewise.
14110         * soft-fp/negdf2.c: Likewise.
14111         * soft-fp/negsf2.c: Likewise.
14112         * soft-fp/negtf2.c: Likewise.
14113         * soft-fp/op-1.h: Likewise.
14114         * soft-fp/op-2.h: Likewise.
14115         * soft-fp/op-4.h: Likewise.
14116         * soft-fp/op-8.h: Likewise.
14117         * soft-fp/op-common.h: Likewise.
14118         * soft-fp/quad.h: Likewise.
14119         * soft-fp/single.h: Likewise.
14120         * soft-fp/soft-fp.h: Likewise.
14121         * soft-fp/sqrtdf2.c: Likewise.
14122         * soft-fp/sqrtsf2.c: Likewise.
14123         * soft-fp/sqrttf2.c: Likewise.
14124         * soft-fp/subdf3.c: Likewise.
14125         * soft-fp/subsf3.c: Likewise.
14126         * soft-fp/subtf3.c: Likewise.
14127         * soft-fp/truncdfsf2.c: Likewise.
14128         * soft-fp/trunctfdf2.c: Likewise.
14129         * soft-fp/trunctfsf2.c: Likewise.
14130         * soft-fp/trunctfxf2.c: Likewise.
14131         * soft-fp/unorddf2.c: Likewise.
14132         * soft-fp/unordsf2.c: Likewise.
14133         * soft-fp/unordtf2.c: Likewise.
14134
14135 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14136
14137         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14138         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14139
14140 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14141
14142         * elf/dl-libc.c: Clear initfini list after freeing.
14143
14144 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14145
14146         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14147         * soft-fp/addsf3.c: Likewise.
14148         * soft-fp/addtf3.c: Likewise.
14149         * soft-fp/divdf3.c: Likewise.
14150         * soft-fp/divsf3.c: Likewise.
14151         * soft-fp/divtf3.c: Likewise.
14152         * soft-fp/double.h: Likewise.
14153         * soft-fp/eqdf2.c: Likewise.
14154         * soft-fp/eqsf2.c: Likewise.
14155         * soft-fp/eqtf2.c: Likewise.
14156         * soft-fp/extenddftf2.c: Likewise.
14157         * soft-fp/extended.h: Likewise.
14158         * soft-fp/extendsfdf2.c: Likewise.
14159         * soft-fp/extendsftf2.c: Likewise.
14160         * soft-fp/extendxftf2.c: Likewise.
14161         * soft-fp/fixdfdi.c: Likewise.
14162         * soft-fp/fixdfsi.c: Likewise.
14163         * soft-fp/fixdfti.c: Likewise.
14164         * soft-fp/fixsfdi.c: Likewise.
14165         * soft-fp/fixsfsi.c: Likewise.
14166         * soft-fp/fixsfti.c: Likewise.
14167         * soft-fp/fixtfdi.c: Likewise.
14168         * soft-fp/fixtfsi.c: Likewise.
14169         * soft-fp/fixtfti.c: Likewise.
14170         * soft-fp/fixunsdfdi.c: Likewise.
14171         * soft-fp/fixunsdfsi.c: Likewise.
14172         * soft-fp/fixunsdfti.c: Likewise.
14173         * soft-fp/fixunssfdi.c: Likewise.
14174         * soft-fp/fixunssfsi.c: Likewise.
14175         * soft-fp/fixunssfti.c: Likewise.
14176         * soft-fp/fixunstfdi.c: Likewise.
14177         * soft-fp/fixunstfsi.c: Likewise.
14178         * soft-fp/fixunstfti.c: Likewise.
14179         * soft-fp/floatdidf.c: Likewise.
14180         * soft-fp/floatdisf.c: Likewise.
14181         * soft-fp/floatditf.c: Likewise.
14182         * soft-fp/floatsidf.c: Likewise.
14183         * soft-fp/floatsisf.c: Likewise.
14184         * soft-fp/floatsitf.c: Likewise.
14185         * soft-fp/floattidf.c: Likewise.
14186         * soft-fp/floattisf.c: Likewise.
14187         * soft-fp/floattitf.c: Likewise.
14188         * soft-fp/floatundidf.c: Likewise.
14189         * soft-fp/floatundisf.c: Likewise.
14190         * soft-fp/floatunsidf.c: Likewise.
14191         * soft-fp/floatunsisf.c: Likewise.
14192         * soft-fp/floatuntidf.c: Likewise.
14193         * soft-fp/floatuntisf.c: Likewise.
14194         * soft-fp/floatuntitf.c: Likewise.
14195         * soft-fp/fmadf4.c: Likewise.
14196         * soft-fp/fmasf4.c: Likewise.
14197         * soft-fp/fmatf4.c: Likewise.
14198         * soft-fp/gedf2.c: Likewise.
14199         * soft-fp/gesf2.c: Likewise.
14200         * soft-fp/getf2.c: Likewise.
14201         * soft-fp/ledf2.c: Likewise.
14202         * soft-fp/lesf2.c: Likewise.
14203         * soft-fp/letf2.c: Likewise.
14204         * soft-fp/muldf3.c: Likewise.
14205         * soft-fp/mulsf3.c: Likewise.
14206         * soft-fp/multf3.c: Likewise.
14207         * soft-fp/negdf2.c: Likewise.
14208         * soft-fp/negsf2.c: Likewise.
14209         * soft-fp/negtf2.c: Likewise.
14210         * soft-fp/op-1.h: Likewise.
14211         * soft-fp/op-2.h: Likewise.
14212         * soft-fp/op-4.h: Likewise.
14213         * soft-fp/op-8.h: Likewise.
14214         * soft-fp/op-common.h: Likewise.
14215         * soft-fp/quad.h: Likewise.
14216         * soft-fp/single.h: Likewise.
14217         * soft-fp/soft-fp.h: Likewise.
14218         * soft-fp/sqrtdf2.c: Likewise.
14219         * soft-fp/sqrtsf2.c: Likewise.
14220         * soft-fp/sqrttf2.c: Likewise.
14221         * soft-fp/subdf3.c: Likewise.
14222         * soft-fp/subsf3.c: Likewise.
14223         * soft-fp/subtf3.c: Likewise.
14224         * soft-fp/truncdfsf2.c: Likewise.
14225         * soft-fp/trunctfdf2.c: Likewise.
14226         * soft-fp/trunctfsf2.c: Likewise.
14227         * soft-fp/trunctfxf2.c: Likewise.
14228         * soft-fp/unorddf2.c: Likewise.
14229         * soft-fp/unordsf2.c: Likewise.
14230         * soft-fp/unordtf2.c: Likewise.
14231
14232 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14233
14234         [BZ #15672]
14235         * misc/error.c (error_tail): Fix possible buffer overflow.
14236
14237 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14238
14239         [BZ #13028]
14240         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14241         address.
14242
14243 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14244
14245         [BZ #832]
14246         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14247         testing pipefail option.
14248
14249 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14250
14251         * soft-fp/double.h: Indent preprocessor directives inside #if.
14252         * soft-fp/extended.h: Likewise.
14253         * soft-fp/op-2.h: Likewise.
14254         * soft-fp/op-4.h: Likewise.
14255         * soft-fp/op-common.h: Likewise.
14256         * soft-fp/quad.h: Likewise.
14257         * soft-fp/single.h: Likewise.
14258         * soft-fp/soft-fp.h: Likewise.
14259
14260 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14261
14262         * iconv/iconv_prog.c: Fix typos.
14263         * stdio-common/psiginfo-data.h: Likewise.
14264
14265 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14266
14267         [BZ #15764]
14268         * locale/setlocale.c: Fix typo.
14269
14270 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14271
14272         [BZ #16036]
14273         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14274         signaling NaN arguments.
14275         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14276         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14277
14278         [BZ #14910]
14279         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14280         unordered operands.
14281         * soft-fp/gesf2.c (__gesf2): Likewise.
14282         * soft-fp/getf2.c (__getf2): Likewise.
14283         * soft-fp/ledf2.c (__ledf2): Likewise.
14284         * soft-fp/lesf2.c (__lesf2): Likewise.
14285         * soft-fp/letf2.c (__letf2): Likewise.
14286
14287         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14288         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14289         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14290         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14291         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14292         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14293         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14294         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14295         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14296         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14297         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14298         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14299         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14300         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14301         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14302         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14303         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14304         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14305         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14306         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14307         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14308         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14309         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14310         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14311         * soft-fp/floattidf.c (__floattidf): Likewise.
14312         * soft-fp/floattisf.c (__floattisf): Likewise.
14313         * soft-fp/floattitf.c (__floattitf): Likewise.
14314         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14315         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14316         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14317         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14318         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14319         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14320         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14321         * soft-fp/gesf2.c (__gesf2): Likewise.
14322         * soft-fp/getf2.c (__getf2): Likewise.
14323         * soft-fp/ledf2.c (__ledf2): Likewise.
14324         * soft-fp/lesf2.c (__lesf2): Likewise.
14325         * soft-fp/letf2.c (__letf2): Likewise.
14326
14327         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14328         Undefine and redefine.
14329         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14330         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14331         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14332         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14333         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14334         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14335         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14336         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14337         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14338         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14339         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14340         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14341         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14342         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14343         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14344
14345         [BZ #16032]
14346         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14347         without decrementing exponent if mantissa >= that for the
14348         denominator, not >.
14349         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14350         denominator, not >.  Decrement exponent in < case instead of
14351         incrementing in >= case.
14352         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14353         without decrementing exponent if mantissa >= that for the
14354         denominator, not >.
14355
14356         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14357         computing saturated result for unsigned overflow.
14358
14359 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14360             Jeff Law  <law@redhat.com>
14361
14362         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14363         (atan2Mp): Add systemtap probe marker.
14364         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14365         (__ieee754_log): Add systemtap probe marker.
14366         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14367         (atanMp): Add systemtap probe marker.
14368         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14369         (tanMp): Add systemtap probe marker.
14370         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14371         (__slowexp): Add systemtap probe marker.
14372         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14373         (__slowpow): Add systemtap probe marker.
14374         * manual/probes.texi: Document probes.
14375
14376 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14377
14378         [BZ #15362]
14379         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14380         written.
14381         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14382         written.
14383         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14384         written to buffer but not flushed.
14385         * libio/iofwrite_u.c:  Likewise.
14386         * libio/iopadn.c:  Return bytes returned even if EOF was
14387         encountered.
14388         * libio/iowpadn.c:  Likewise.
14389         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14390         if _IO_padn does not write the whole buffer.
14391         [!COMPILE_WPRINTF] (PAD): Likewise.
14392
14393 2013-10-10  David S. Miller  <davem@davemloft.net>
14394
14395         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14396         directory block.
14397
14398 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14399
14400         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14401         instead of FSF address.
14402         * soft-fp/fixdfti.c: Likewise.
14403         * soft-fp/fixsfti.c: Likewise.
14404         * soft-fp/fixtfti.c: Likewise.
14405         * soft-fp/fixunsdfti.c: Likewise.
14406         * soft-fp/fixunssfti.c: Likewise.
14407         * soft-fp/fixunstfti.c: Likewise.
14408         * soft-fp/floattidf.c: Likewise.
14409         * soft-fp/floattisf.c: Likewise.
14410         * soft-fp/floattitf.c: Likewise.
14411         * soft-fp/floatuntidf.c: Likewise.
14412         * soft-fp/floatuntisf.c: Likewise.
14413         * soft-fp/floatuntitf.c: Likewise.
14414         * soft-fp/trunctfxf2.c: Likewise.
14415
14416         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14417         * soft-fp/fixdfti.c: Likewise.
14418         * soft-fp/fixsfti.c: Likewise.
14419         * soft-fp/fixtfti.c: Likewise.
14420         * soft-fp/fixunsdfti.c: Likewise.
14421         * soft-fp/fixunssfti.c: Likewise.
14422         * soft-fp/fixunstfti.c: Likewise.
14423         * soft-fp/floattidf.c: Likewise.
14424         * soft-fp/floattisf.c: Likewise.
14425         * soft-fp/floattitf.c: Likewise.
14426         * soft-fp/floatuntidf.c: Likewise.
14427         * soft-fp/floatuntisf.c: Likewise.
14428         * soft-fp/floatuntitf.c: Likewise.
14429         * soft-fp/trunctfxf2.c: Likewise.
14430
14431 2013-10-10  David S. Miller  <davem@davemloft.net>
14432
14433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14434
14435 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14436
14437         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14438         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14439         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14440         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14441         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14442         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14443         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14444
14445         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14446         for NaNs before doing comparisons on argument.
14447         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14448         Likewise.
14449
14450 2013-10-10  Will Newton  <will.newton@linaro.org>
14451
14452         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14453         passed to _int_memalign does not overflow.
14454
14455 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14456
14457         * scripts/bench.pl: Add include-sources directive.
14458         * benchtests/README: Update documentation.
14459
14460 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14461
14462         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14463         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14464         instead of FP_INIT_ROUNDMODE.
14465         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14466         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14467
14468         [BZ #16034]
14469         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14470         copy class of input value.
14471         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14472         not handle exceptions.
14473         * soft-fp/negsf2.c (__negsf2): Likewise.
14474         * soft-fp/negtf2.c (__negtf2): Likewise.
14475         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14476
14477 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14478
14479         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14480         semicolon.  From Linux kernel.
14481
14482 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14483
14484         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14485
14486 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14487
14488         [BZ #156]
14489         * manual/socket.texi: Added statement about buffer
14490         for gethostbyname2_r.
14491
14492 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14493
14494         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14495         Use .p2align directive instead, throughout.
14496         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14497         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14498         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14499         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14500         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14501         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14502         * sysdeps/x86_64/strchr.S: Likewise.
14503         * sysdeps/x86_64/strrchr.S: Likewise.
14504
14505 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14506
14507         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14508
14509         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14510
14511         * sysdeps/generic/math_private.h (__mpsin1): Remove
14512         declaration.
14513         (__mpcos1): Likewise.
14514         (__mpsin): New argument __range_reduce.
14515         (__mpcos): Likewise.
14516         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14517         (slow): Use __mpsin and __mpcos.
14518         (slow1): Likewise.
14519         (slow2): Likewise.
14520         (sloww): Likewise.
14521         (sloww1): Likewise.
14522         (sloww2): Likewise.
14523         (bsloww): Likewise.
14524         (bsloww1): Likewise.
14525         (bsloww2): Likewise.
14526         (cslow2): Likewise.
14527         (csloww): Likewise.
14528         (csloww1): Likewise.
14529         (csloww2): Likewise.
14530         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14531         range_reduce.  Merge in __mpsin1.
14532         (__mpcos): Likewise.
14533         (__mpsin1): Remove.
14534         (__mpcos1): Likewise.
14535
14536 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14537
14538         * locale/loadlocale.c (_nl_intern_locale_data): Use
14539         LOCFILE_ALIGNED_P.
14540         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14541         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14542         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14543         obstack data is appropriately aligned.
14544         (obstack_int32_grow_fast): Likewise.
14545         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14546         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14547         (add_locale_uint32_array): Likewise.
14548
14549 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14550
14551         * benchtests/Makefile: Remove ARGLIST and RET variables.
14552         ($(objpfx)bench-%.c): Pass only function name to the script.
14553         * benchtests/README: Update documentation.
14554         * benchtests/acos-inputs: Add new directives.
14555         * benchtests/acosh-inputs: Likewise.
14556         * benchtests/asin-inputs: Likewise.
14557         * benchtests/asinh-inputs: Likewise.
14558         * benchtests/atan-inputs: Likewise.
14559         * benchtests/atanh-inputs: Likewise.
14560         * benchtests/cos-inputs: Likewise.
14561         * benchtests/cosh-inputs: Likewise.
14562         * benchtests/exp-inputs: Likewise.
14563         * benchtests/log-inputs: Likewise.
14564         * benchtests/pow-inputs: Likewise.
14565         * benchtests/rint-inputs: Likewise.
14566         * benchtests/sin-inputs: Likewise.
14567         * benchtests/sinh-inputs: Likewise.
14568         * benchtests/tan-inputs: Likewise.
14569         * benchtests/tanh-inputs: Likewise.
14570         * scripts/bench.pl: Add support for new directives.
14571
14572 2013-10-07  Alan Modra  <amodra@gmail.com>
14573
14574         * README: Fix careless merge.
14575
14576 2013-10-05  Alan Modra  <amodra@gmail.com>
14577
14578         * NEWS: Mention powerpc64le support and bugs fixed.
14579         * README: Both big-endian and little-endian powerpc64 supported.
14580
14581 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14582
14583         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14584         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14585         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14586         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14587
14588 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14589
14590         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14591         match prototype.
14592
14593 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14594
14595         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14596         Move -mhard-float appending from
14597         ports/sysdeps/powerpc/powerpc32/Makefile.
14598         [$(with-fp) = yes] (ASFLAGS): Likewise.
14599         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14600         * sysdeps/powerpc/nofpu: Move directory from
14601         ports/sysdeps/powerpc/nofpu.
14602         * sysdeps/powerpc/soft-fp: Move directory from
14603         ports/sysdeps/powerpc/soft-fp.
14604         * sysdeps/powerpc/powerpc32/405: Move directory from
14605         ports/sysdeps/powerpc/powerpc32/405.
14606         * sysdeps/powerpc/powerpc32/440: Move directory from
14607         ports/sysdeps/powerpc/powerpc32/440.
14608         * sysdeps/powerpc/powerpc32/464: Move directory from
14609         ports/sysdeps/powerpc/powerpc32/464.
14610         * sysdeps/powerpc/powerpc32/476: Move directory from
14611         ports/sysdeps/powerpc/powerpc32/476.
14612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14613         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14615         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14617         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14619         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14621         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14622         * README: Update for powerpc-*-linux-gnu software floating point
14623         support in libc.
14624
14625         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14626         case to powerpc/powerpc32*.
14627         * sysdeps/unix/sysv/linux/configure: Regenerated.
14628
14629         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14630         (_FPU_MASK_OM): Define as 0x04.
14631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14633         0x00c10080.
14634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14635         0x0000003c.
14636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14637
14638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14639         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14640         getcontext_e500.
14641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14642         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14643         setcontext_e500.
14644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14645         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14646         and setcontext_e500.
14647
14648 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14649
14650         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14651
14652 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14653
14654         * manual/threads.texi (Default Thread Attributes): Fix typo.
14655
14656 2013-10-04  Will Newton  <will.newton@linaro.org>
14657
14658         * malloc/Makefile: Add tst-memalign.
14659         * malloc/tst-memalign.c: New file.
14660
14661         * malloc/tst-posix_memalign.c: Add comments.
14662         (do_test): Add comments and call free on all potentially
14663         allocated pointers. Add space after cast.
14664
14665         * malloc/tst-pvalloc.c: Add comments.
14666         (do_test): Add comments and call free on all potentially
14667         allocated pointers. Remove duplicate check for NULL pointer.
14668         Add space after cast.
14669
14670         * malloc/tst-valloc.c: Add comments.
14671         (do_test): Add comments and call free on all potentially
14672         allocated pointers. Remove duplicate check for NULL pointer.
14673         Add space after cast.
14674
14675 2013-10-04  Alan Modra  <amodra@gmail.com>
14676
14677         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14678         Use stdint types in rather than __attribute__((mode())).
14679         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14680
14681 2013-10-04  Alan Modra  <amodra@gmail.com>
14682
14683         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14684         Correct handling of unaligned relocs for little-endian.
14685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14686
14687 2013-10-04  Alan Modra  <amodra@gmail.com>
14688
14689         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14690         * configure: Regenerate.
14691         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14692         * shlib-versions: Likewise.
14693
14694 2013-10-04  Alan Modra  <amodra@gmail.com>
14695
14696         * string/tester.c (test_memrchr): Increment reported test cycle.
14697
14698 2013-10-04  Alan Modra  <amodra@gmail.com>
14699
14700         * string/test-memcpy.c (do_one_test): When reporting errors, print
14701         string address and don't overrun end of string.
14702
14703 2013-10-04  Alan Modra  <amodra@gmail.com>
14704
14705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14706         insrdi.  Make better use of reg selection to speed exit slightly.
14707         Schedule entry path a little better.  Remove useless "are we done"
14708         checks on entry to main loop.  Handle wrapping around zero address.
14709         Correct main loop count.  Handle single left-over word from main
14710         loop inline rather than by using loop_small.  Remove extra word
14711         case in loop_small caused by wrong loop count.  Add little-endian
14712         support.
14713         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14714         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14715         cache hint.
14716         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14717         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14718         support.  Avoid rlwimi.
14719         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14720
14721 2013-10-04  Alan Modra  <amodra@gmail.com>
14722
14723         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14724         insrdi.  Formatting.
14725         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14726         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14727         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14728         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14729         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14730         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14731
14732 2013-10-04  Alan Modra  <amodra@gmail.com>
14733
14734         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14735         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14736         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14737         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14738         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14739         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14740         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14741         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14742         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14743         use of regs.  Use power7 mtocrf.  Tidy function tails.
14744
14745 2013-10-04  Alan Modra  <amodra@gmail.com>
14746
14747         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14748         Formatting.  Consistently use rXXX register defines or rN defines.
14749         Use early exit labels that avoid restoring unused non-volatile regs.
14750         Make cr field use more consistent with rWORDn compares.  Rename
14751         regs used as shift registers for unaligned loop, using rN defines
14752         for short lifetime/multiple use regs.
14753         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14754         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14755         addi 1,1,64 to pop stack frame.  Simplify return value code.
14756         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14757
14758 2013-10-04  Alan Modra  <amodra@gmail.com>
14759
14760         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14761         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14762         rather than rlwimi.
14763         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14764         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14765         little-endian support.  Correct typos.
14766         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14767         rather than rlwimi.
14768         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14769         in loop and entry code to keep "and." results.
14770         (strchr): Add little-endian support.  Comment.  Move cntlzd
14771         earlier in tail.
14772         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14773
14774 2013-10-04  Alan Modra  <amodra@gmail.com>
14775
14776         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14777         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14778         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14779         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14780
14781 2013-10-04  Alan Modra  <amodra@gmail.com>
14782
14783         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14784         (rTMP): Define as r11.
14785         (strcmp): Add little-endian support.  Optimise tail.
14786         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14787         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14788         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14789         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14790         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14791         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14792         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14793
14794 2013-10-04  Alan Modra  <amodra@gmail.com>
14795
14796         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14797         little-endian support.  Remove unnecessary "are we done" tests.
14798         Handle "s" wrapping around zero and extremely large "size".
14799         Correct main loop count.  Handle single left-over word from main
14800         loop inline rather than by using small_loop.  Correct comments.
14801         Delete "zero" tail, use "end_max" instead.
14802         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14803
14804 2013-10-04  Alan Modra  <amodra@gmail.com>
14805
14806         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14807         support.  Don't branch over align.
14808         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14809         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14810         support.  Rearrange tmp reg use to suit.  Comment.
14811         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14812
14813 2013-10-04  Alan Modra  <amodra@gmail.com>
14814
14815         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14816
14817 2013-10-04  Alan Modra  <amodra@gmail.com>
14818
14819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14820         conditional form of branch and link when obtaining pc.
14821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14822
14823 2013-10-04  Alan Modra  <amodra@gmail.com>
14824
14825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14826         HIWORD/LOWORD.
14827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14829
14830 2013-10-04  Alan Modra  <amodra@gmail.com>
14831
14832         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14833         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14834         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14835         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14836         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14837         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14838         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14839         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14840         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14841         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14842
14843 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14844             Alistair Popple <alistair@ozlabs.au.ibm.com>
14845             Alan Modra <amodra@gmail.com>
14846
14847         [BZ #15723]
14848         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14849         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14850         _dl_hwcap access for little-endian.
14851         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14852         destroy vmx regs when saving unaligned.
14853         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14854         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14855         destroy vmx regs when saving unaligned.
14856
14857 2013-10-04  Alan Modra  <amodra@gmail.com>
14858
14859         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14860         Don't use a union to pack hi/low value.
14861
14862 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14863
14864         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14865         for little-endian.
14866         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14867         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14868         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14869         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14870         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14871
14872 2013-10-04  Alan Modra  <amodra@gmail.com>
14873
14874         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14875         constants to usual value for .cst8 section, and remove redundant
14876         high address load.
14877         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14878         constant for 0x1p52.  Load little-endian words of double from
14879         correct stack offsets.
14880
14881 2013-10-04  Alan Modra  <amodra@gmail.com>
14882
14883         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14884         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14885         words of double from correct stack offsets.
14886         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14887         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14888         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14889         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14890         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14891         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14892         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14893         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14894         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14895         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14896         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14897         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14898         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14899         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14900         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14901         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14902         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14903
14904 2013-10-04  Alan Modra  <amodra@gmail.com>
14905
14906         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14907         64-bit int/double union.
14908         (_FPU_SETCW): Likewise.
14909         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14910         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14911
14912 2013-10-04  Alan Modra  <amodra@gmail.com>
14913
14914         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14915         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14916
14917 2013-10-04  Alan Modra  <amodra@gmail.com>
14918
14919         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14920         use vector int constants.
14921         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14922
14923 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14924
14925         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14926         array with long long.
14927         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14928         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14929         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14930         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14931         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14932         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14933         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14934         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14935         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14936         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14937         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14938         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14939         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14940
14941 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14942
14943         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14944         (__signbit): Likewise.  Correct for little-endian.
14945         (__signbitl): Call __signbit.
14946         (lrint): Correct for little-endian.
14947         (lrintf): Call lrint.
14948
14949 2013-10-04  Alan Modra  <amodra@gmail.com>
14950
14951         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14952         union 32-bit int array member with 64-bit int array.
14953         (t515, tm256): Double rather than long double.
14954         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14955
14956 2013-10-04  Alan Modra  <amodra@gmail.com>
14957
14958         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14959         Delete.
14960         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14961         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14962         version of math_ldbl.h.
14963
14964 2013-10-04  Alan Modra  <amodra@gmail.com>
14965
14966         [BZ #15734], [BZ #15735]
14967         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14968         all uses of ieee875 long double macros and unions.  Simplify test
14969         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14970         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14971         normalize after ldbl_extract_mantissa, and don't add hidden bit
14972         already handled.  Don't treat low word of ieee854 mantissa like
14973         low word of IBM long double and mask off bit when testing for
14974         zero.
14975         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14976         all uses of ieee875 long double macros and unions.  Simplify tests
14977         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14978         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14979         two1022, instead use their values.  Recognise that tests for large
14980         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14981         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14982         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14983         test for 0.0L and nan.  Correct negation.
14984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14985         ieee875 long double macros and unions.  Correct output for large
14986         magnitude x.  Correct absolute value calculation.
14987         (__erfcl): Likewise.
14988         * math/libm-test.inc: Add tests for errors discovered in IBM long
14989         double versions of fmodl, remainderl, erfl and erfcl.
14990
14991 2013-10-04  Alan Modra  <amodra@gmail.com>
14992
14993         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14994         all uses of ieee854 long double macros and unions.  Simplify tests
14995         for long doubles that are fully specified by the high double.
14996         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14997         Likewise.
14998         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14999         Remove dead code too.
15000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15001         (__ieee754_ynl): Likewise.
15002         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15003         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15004         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15005         Remove dead code too.
15006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15007         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15008         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15009         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15010         Simplify.
15011         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15012         Simplify.
15013         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15014         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15015         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15016         Comment on variable precision.
15017         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15018         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15019         Likewise.
15020         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15021         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15023         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15024         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15025
15026 2013-10-04  Alan Modra  <amodra@gmail.com>
15027
15028         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15029         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15030         all uses of ieee854 long double macros and unions.
15031         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15032         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15033         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15034         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15035         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15036         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15037         Likewise.
15038         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15039         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15040         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15041         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15042         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15043         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15044         Simplify sign and nan test too.
15045         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15046         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15047         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15048         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15049         Likewise.
15050         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15051         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15052         Likewise.
15053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15054         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15055         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15056         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15057         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15058         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15059
15060 2013-10-04  Alan Modra  <amodra@gmail.com>
15061
15062         * stdio-common/printf_size.c (__printf_size): Don't use
15063         union ieee854_long_double in fpnum union.
15064         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15065         signbit macro to retrieve sign from long double.
15066         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15067         retrieve sign from long double.
15068         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15069         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15070         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15071         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15072         * math/test-misc.c (main): Don't use union ieee854_long_double.
15073
15074 2013-10-04  Alan Modra  <amodra@gmail.com>
15075
15076         [BZ #15680]
15077         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15078         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15079         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15080         calculation.  Remove unnecessary test for denormal exponent.
15081         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15082         Correct handling of denormals.  Avoid undefined shift behaviour.
15083         Correct normalisation of low mantissa when low double is denormal.
15084         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15085         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15086         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15087         Correct normalisation of low mantissa.  Test for overflow of high
15088         mantissa and normalise.
15089         (ldbl_nearbyint): Use more readable constant for two52.
15090         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15091         (__mpn_construct_long_double): Fix test for overflow of high
15092         mantissa and correct normalisation.  Avoid undefined shift.
15093
15094 2013-10-04  Alan Modra  <amodra@gmail.com>
15095
15096         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15097         (union ibm_extended_long_double): Define as an array of ieee754_double.
15098         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15099         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15100         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15101         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15102         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15103         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15104         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15105         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15106         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15107         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15108         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15109
15110 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15111
15112         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15113         page size instead of calling getpagesize.
15114
15115         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15116         (LOCFILE_ALIGN_MASK): Likewise.
15117         (LOCFILE_ALIGN_UP): Likewise.
15118         (LOCFILE_ALIGNED_P): Likewise.
15119         * locale/programs/ld-collate.c (collate_output): Use the new
15120         macros instead of __alignof__ (int32_t).
15121         * locale/weight.h (findidx): Likewise.
15122
15123 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15124
15125         [BZ #431]
15126         * manual/string.texi: Fix strncat and wcsncat.
15127
15128 2013-10-03  Brooks Moses  <bmoses@google.com>
15129
15130         [BZ #15915]
15131         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15132         * Makerules: ...here, and adjust associated comments.
15133
15134 2013-10-02  Will Newton  <will.newton@linaro.org>
15135
15136         * malloc/Makefile: Add tst-pvalloc.
15137         * malloc/tst-pvalloc.c: New file.
15138
15139 2013-10-02  Will Newton  <will.newton@linaro.org>
15140
15141         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15142         improve test coverage.
15143
15144 2013-10-02  Will Newton  <will.newton@linaro.org>
15145
15146         * malloc/Makefile: Add tst-posix_memalign.
15147         * malloc/tst-posix_memalign.c: New file.
15148
15149 2013-10-01  Eric Blake  <eblake@redhat.com>
15150
15151         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15152         Use __THROWNL rather than __THROW on static functions.
15153
15154 2013-09-30  Petr Machata  <pmachata@redhat.com>
15155
15156         * elf/elf.h (R_AARCH64_ABS16): New macro.
15157         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15158         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15159         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15160         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15161         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15162         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15163         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15164         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15165         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15166         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15167         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15168         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15169         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15170         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15171         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15172         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15173         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15174         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15175         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15176         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15177         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15178         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15179         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15180         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15181         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15182         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15183         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15184         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15185         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15186         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15187         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15188         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15189         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15190         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15191         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15192         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15193         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15194         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15195         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15196         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15197         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15198         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15199         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15200         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15201         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15202         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15203         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15204         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15205         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15206         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15207         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15208         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15209         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15210         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15211         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15212         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15213         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15214         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15215         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15216         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15217         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15218         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15219         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15220         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15221         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15222         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15223         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15224         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15225         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15226         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15227         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15228         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15229         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15230         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15231         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15232         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15233         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15234         (R_AARCH64_TLSDESC_LDR): Likewise.
15235         (R_AARCH64_TLSDESC_ADD): Likewise.
15236         (R_AARCH64_TLSDESC_CALL): Likewise.
15237
15238 2013-09-30  Andreas Schwab  <schwab@suse.de>
15239
15240         [BZ #15048]
15241         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15242         the nss database lookup.
15243         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15245
15246 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15247
15248         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15249
15250 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15251
15252         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15253         ${Bash-specific parameter/pattern/string} parameter expansion.
15254         * sysdeps/unix/make-syscalls.sh: Likewise.
15255
15256 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15257
15258         * sysdeps/sh/stackguard-macros.h: New file.
15259
15260 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15261
15262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15264         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15265         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15266         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15267         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15268
15269 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15270
15271         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15272         Fix thread ID register.
15273
15274 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15275
15276         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15277         [POSIX || UNIX98]: Require rather than permitting all symbols from
15278         <time.h>.
15279         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15280         element of struct sched_param.
15281         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15282         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15283         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15284         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15285         constant.
15286
15287 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15288
15289         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15290         argument calculation.
15291
15292 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15293
15294         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15295         Expect macro.
15296         [POSIX] (pthread_attr_t): Do not require type.
15297         [POSIX] (pthread_cond_t): Likewise.
15298         [POSIX] (pthread_condattr_t): Likewise.
15299         [POSIX] (pthread_key_t): Likewise.
15300         [POSIX] (pthread_mutex_t): Likewise.
15301         [POSIX] (pthread_mutexattr_t): Likewise.
15302         [POSIX] (pthread_once_t): Likewise.
15303         [POSIX] (pthread_t): Likewise.
15304         [POSIX-based standards] (pthread_atfork): Expect function.
15305
15306 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15307             Richard Sandiford  <richard@codesourcery.com>
15308
15309         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15310         (swap_endianness_p): New extern variable.
15311         (set_big_endian): New inline function.
15312         (maybe_swap_uint32): Likewise.
15313         (maybe_swap_uint32_array): Likewise.
15314         (maybe_swap_uint32_obstack): Likewise.
15315         * locale/programs/locfile.c: Include <stdbool.h>.
15316         (swap_endianness_p): New variable.
15317         (add_locale_uint32): Call maybe_swap_uint32.
15318         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15319         (write_locale_data): Call maybe_swap_uint32_array.
15320         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15321         maybe_swap_uint32.
15322         (obstack_int32_grow_fast): Likewise.
15323         (output_weightwc): Call maybe_swap_uint32_obstack.
15324         (collate_output): Likewise.
15325         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15326         (OPT_LITTLE_ENDIAN): Likewise.
15327         (options): Add --little-endian and --big-endian options.
15328         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15329         * locale/programs/locarchive.c: Include "locfile.h".
15330         (GET): New macro.
15331         (SET): Likewise.
15332         (INC): Likewise.
15333         (create_archive): Use the new macros to access fields of
15334         structures directly mapped from or written to locale archives.
15335         (oldlocrecentcmp): Likewise.
15336         (enlarge_archive): Likewise.
15337         (insert_name): Likewise.
15338         (add_alias): Likewise.
15339         (add_locale): Likewise.
15340         (delete_locales_from_archive): Likewise.
15341         (show_archive_content): Likewise.
15342         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15343         locale data.
15344
15345 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15346
15347         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15348         http://www.gnu.org/doc/freemanuals.texi.
15349         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15350
15351 2013-09-24  Will Newton  <will.newton@linaro.org>
15352
15353         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15354         macro.
15355
15356 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15357
15358         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15359         unsigned char.
15360
15361 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15362
15363         * manual/threads.texi (POSIX Threads): Fix a typo.
15364
15365 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15366
15367         [BZ #14547]
15368         * string/tst-strcoll-overflow.c: New test case.
15369         * string/Makefile (xtests): Add tst-strcoll-overflow.
15370         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15371         cache if string sizes may cause integer overflow.
15372
15373         [BZ #14547]
15374         * string/strcoll_l.c (coll_seq): New members rule, idx,
15375         save_idx and back_us.
15376         (get_next_seq_nocache): New function.
15377         (do_compare_nocache): New function.
15378         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15379         when malloc fails.
15380
15381 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15382
15383         [BZ #15754]
15384         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15385         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15386         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15387
15388         [BZ #15754]
15389         * elf/Makefile (tests): Add tst-ptrguard1.
15390         (tests-static): Add tst-ptrguard1-static.
15391         (tst-ptrguard1-ARGS): Define.
15392         (tst-ptrguard1-static-ARGS): Define.
15393         * elf/tst-ptrguard1.c: New file.
15394         * elf/tst-ptrguard1-static.c: New file.
15395         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15396         * sysdeps/i386/stackguard-macros.h: Likewise.
15397         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15398         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15399         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15400         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15401         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15402         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15403
15404 2013-09-23  Hector Marco  <hecmargi@upv.es>
15405             Ismael Ripoll  <iripoll@disca.upv.es>
15406             Carlos O'Donell  <carlos@redhat.com>
15407
15408         [BZ #15754]
15409         * sysdeps/generic/stackguard-macros.h: Define
15410         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15411         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15412         Define __pointer_chk_guard_local.
15413         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15414         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15415
15416 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15417
15418         [BZ #15859]
15419         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15420
15421 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15422
15423         * include/string.h (__ffs): Declare as hidden.
15424         * string/ffs.c (__ffs): Define as hidden.
15425         * sysdeps/i386/ffs.c (__ffs): Likewise.
15426         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15427         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15428         * sysdeps/s390/ffs.c (__ffs): Likewise.
15429         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15430
15431 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15432
15433         * NEWS: Mention malloc probes.
15434
15435         * malloc/arena.c (new_heap): New memory_heap_new probe.
15436         (grow_heap): New memory_heap_more probe.
15437         (shrink_heap): New memory_heap_less probe.
15438         (heap_trim): New memory_heap_free probe.
15439         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15440         (systrim): New memory_sbrk_less probe.
15441         * manual/probes.texi: Document them.
15442
15443         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15444         * manual/probes.texi: Document it.
15445
15446         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15447         (__libc_realloc): Add memory_realloc_retry probe.
15448         (__libc_memalign): Add memory_memalign_retry probe.
15449         (__libc_valloc): Add memory_valloc_retry probe.
15450         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15451         (__libc_calloc): Add memory_calloc_retry probe.
15452         * manual/probes.texi: Document them.
15453
15454         * malloc/arena.c (get_free_list): Add probe
15455         memory_arena_reuse_free_list.
15456         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15457         and memory_arena_reuse.
15458         (arena_get2) [!PER_THREAD]: Likewise.
15459         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15460         memory_arena_reuse_realloc.
15461         * manual/probes.texi: Document them.
15462
15463         * malloc/malloc.c (__libc_free): Add
15464         memory_mallopt_free_dyn_thresholds probe.
15465         (__libc_mallopt): Add multiple memory_mallopt probes.
15466         * manual/probes.texi: Document them.
15467
15468         * malloc/malloc.c: Include stap-probe.h.
15469         (__libc_mallopt): Add memory_mallopt probe.
15470         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15471         * manual/probes.texi: New.
15472         * manual/Makefile (chapters): Add probes.
15473         * manual/threads.texi: Set next node.
15474
15475 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15476
15477         [BZ #15963, #13985]
15478         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15479         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15480         Add `Chinese' to `nan' entry name.
15481
15482 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15483
15484         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15485         (POLYNOMIAL): Likewise.
15486         (TAYLOR_SINCOS): Likewise.
15487         (TAYLOR_SLOW): Likewise.
15488         (__sin): Use TAYLOR_SINCOS.
15489         (__cos): Likewise.
15490         (slow): Use TAYLOR_SLOW.
15491         (sloww): Likewise.
15492         (bsloww): Likewise.
15493         (csloww): Likewise.
15494
15495 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15496
15497         * stdlib/strtod_l.c: Fix buffer overrun.
15498
15499 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15500
15501         * benchtests/Makefile (bench): Add sincos.
15502         * benchtests/bench-sincos.c: New file.
15503
15504         * math/libm-test.inc (cos_test_data): New test inputs.
15505         (sin_test_data): Likewise.
15506
15507         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15508         macro.
15509         (__sin): Use it.
15510         (__cos): Likewise.
15511         (slow1): Likewise.
15512         (slow2): Likewise.
15513         (sloww1): Likewise.
15514         (sloww2): Likewise.
15515         (bsloww1): Likewise.
15516         (bsloww2): Likewise.
15517         (cslow2): Likewise.
15518         (csloww1): Likewise.
15519         (csloww2): Likewise.
15520
15521         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15522         function.
15523         (__sin): Use it.
15524         (__cos): Likewise.
15525
15526         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15527         gotos.
15528         (__cos): Likewise.
15529
15530 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15531
15532         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15533         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15534         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15535         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15536         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15537         * elf/cache.c (print_entry): Handle the new cache flags.
15538
15539 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15540             Aldy Hernandez  <aldyh@redhat.com>
15541
15542         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15543         Change condition to [_SOFT_FLOAT].
15544         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15546         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15550         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15556         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15559         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15560         declaration.
15561
15562 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15563
15564         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15565         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15566         (__longjmp): Use LOAD_GP to load saved GPRs.
15567         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15568         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15569         (__sigsetjmp): Use SAVE_GP to save GPRs.
15570
15571         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15572         Do not append -msoft-float.
15573         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15574
15575 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15576
15577         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15578
15579 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15580
15581         [BZ #15966]
15582         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15583         (_FPU_GETCW): Use initial "__" on variable and field names but not
15584         on macro parameter name.
15585         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15586         parentheses around reference to macro parameter.
15587
15588 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15589
15590         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15591         prototype.
15592         (ctype_startup): Use uint32_t in cast and sizeof for
15593         ctype->charnames.
15594
15595 2013-09-11  Jia Liu  <proljc@gmail.com>
15596
15597         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15598         __daddr_t_defined.
15599         [__FreeBSD__]: Likewise.
15600
15601 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15602
15603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15604         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15605         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15606         (strchr): Remove __strchr_sse42 ifunc selection.
15607         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15608         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15609
15610 2013-09-11  Will Newton  <will.newton@linaro.org>
15611
15612         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15613         parameter to RES. Remove hardcoded 1000 value.
15614         * benchtests/bench-skeleton.c (main): Pass RES parameter
15615         to TIMING_INIT and multiply result by 1000.
15616
15617 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15618
15619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15620
15621 2013-09-11  Andreas Schwab  <schwab@suse.de>
15622
15623         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15624         if not defined.
15625         (O_TMPFILE) [__USE_GNU]: Define.
15626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15627         Define.
15628
15629 2013-09-11  Will Newton  <will.newton@linaro.org>
15630
15631         [BZ #15857]
15632         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15633         does not overflow.
15634
15635 2013-09-11  Will Newton  <will.newton@linaro.org>
15636
15637         [BZ #15856]
15638         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15639         does not overflow.
15640
15641 2013-09-11  Will Newton  <will.newton@linaro.org>
15642
15643         [BZ #15855]
15644         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15645         does not overflow.
15646
15647 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15648
15649         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15650         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15651         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15652         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15653         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15654
15655 2013-09-10  Allan McRae  <allan@archlinux.org>
15656
15657         [BZ #15748]
15658         * manual/arith.texi (Parsing of Floats): Clarify
15659         cross-reference.
15660
15661         [BZ #15849]
15662         * manual/install.texi (Running make install): Mention
15663         --enable-pt-chown.
15664         * INSTALL: Regenerated.
15665
15666 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15667
15668         * csu/init-first.c (_init): Remove the !SHARED condition around
15669         FPU control word initialization.
15670         * elf/dl-support.c (_dl_fpu_control): New variable.
15671         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15672         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15673         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15674         * math/test-fpucw-static.c: New file.
15675         * math/test-fpucw-ieee.c: New file.
15676         * math/test-fpucw-ieee-static.c: New file.
15677         * math/Makefile (tests): Add `test-fpucw-ieee' and
15678         `$(tests-static)'.
15679         (tests-static): New variable.
15680         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15681         dependency to...
15682         [($(build-shared),yes)]
15683         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15684         ... this.
15685         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15686         New dependency.
15687
15688 2013-09-09  Allan McRae  <allan@archlinux.org>
15689
15690         [BZ #15939]
15691         * manual/string.texi (Collation Functions): Fix typo in
15692         strcoll example.
15693         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15694
15695         [BZ #15893]
15696         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15697
15698         [BZ #15892]
15699         * libio/memstream.c (open_memstream): Fix memory leak.
15700         * libio/wmemstream.c (open_wmemstream): Likewise.
15701
15702         [BZ #15895]
15703         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15704
15705 2013-09-09  Will Newton  <will.newton@linaro.org>
15706
15707         * malloc/Makefile: Add tst-realloc to tests.
15708         * malloc/tst-realloc.c: New file.
15709
15710 2013-09-09  Allan McRae  <allan@archlinux.org>
15711
15712         [BZ #15844]
15713         * COPYING: Update from GNU website to fix FSF address.
15714         * COPYING.LIB: Likewise.
15715
15716 2013-09-06  David S. Miller  <davem@davemloft.net>
15717
15718         * po/zh_TW.po: Update Chinese (traditional) translation from
15719         translation project.
15720
15721 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15722             Joseph Myers  <joseph@codesourcery.com>
15723
15724         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15725         "localeinfo.h".
15726         (obstack_chunk_alloc): New macro.
15727         (obstack_chunk_free): Likewise.
15728         (record_offset): New function.
15729         (init_locale_data): Likewise.
15730         (align_locale_data): Likewise.
15731         (add_locale_empty): Likewise.
15732         (add_locale_raw_data): Likewise.
15733         (add_locale_raw_obstack): Likewise.
15734         (add_locale_string): Likewise.
15735         (add_locale_wstring): Likewise.
15736         (add_locale_uint32): Likewise.
15737         (add_locale_uint32_array): Likewise.
15738         (add_locale_char): Likewise.
15739         (start_locale_structure): Likewise.
15740         (end_locale_structure): Likewise.
15741         (start_locale_prelude): Likewise.
15742         (end_locale_prelude): Likewise.
15743         (write_locale_data): Take locale_file structure rather than an
15744         iovec.
15745         * locale/programs/locfile.h: Include "obstack.h".
15746         (struct locale_file): Change to store locale file contents instead
15747         of header.
15748         (init_locale_data): New prototype.
15749         (align_locale_data): Likewise.
15750         (add_locale_empty): Likewise.
15751         (add_locale_raw_data): Likewise.
15752         (add_locale_raw_obstack): Likewise.
15753         (add_locale_string): Likewise.
15754         (add_locale_wstring): Likewise.
15755         (add_locale_uint32): Likewise.
15756         (add_locale_uint32_array): Likewise.
15757         (add_locale_char): Likewise.
15758         (start_locale_structure): Likewise.
15759         (end_locale_structure): Likewise.
15760         (start_locale_prelude): Likewise.
15761         (end_locale_prelude): Likewise.
15762         (write_locale_data): Update prototype.
15763         * locale/programs/3level.h (struct TABLE): Remove result field.
15764         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15765         Use new locale_file interface.
15766         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15767         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15768         * locale/programs/ld-address.c (address_output): Use new
15769         locale_file interface.
15770         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15771         NO_ADD_LOCALE.
15772         (collate_finish): Don't call collseq_table_finalize.
15773         (collate_output): Use new locale_file interface.
15774         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15775         in file.
15776         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15777         (TABLE): Move defines earlier in file.
15778         (ELEMENT): Likewise.
15779         (DEFAULT): Likewise.
15780         (wctrans_table_add): Move macro and inline function earlier in
15781         file.
15782         (struct wctype_table): Move type earlier in file.
15783         (add_locale_wctype_table): New static prototype.
15784         (struct locale_ctype_t): Use logical types instead of struct iovec
15785         pointers for members.
15786         (ctype_output): Use new locale_file interface.
15787         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15788         new locale_file interface.
15789         (allocate_arrays): Update for use of new locale_file interface.
15790         * locale/programs/ld-identification.c (identification_output): Use
15791         new locale_file interface.
15792         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15793         * locale/programs/ld-messages.c (messages_output): Likewise.
15794         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15795         * locale/programs/ld-name.c (name_output): Likewise.
15796         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15797         * locale/programs/ld-paper.c (paper_output): Likewise.
15798         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15799         * locale/programs/ld-time.c (time_output): Likewise.
15800
15801 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15802
15803         * benchtests/Makefile: Add memrchr benchmark.
15804         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15805         benchmark as memrchr.
15806         * benchtests/bench-memrchr-ifunc.c: New file.
15807         * benchtests/bench-memrchr.c: New file.
15808
15809 2013-09-06   Will Newton  <will.newton@linaro.org>
15810
15811         * benchtests/Makefile (string-bench): Add memcpy.
15812
15813 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15814             Cong Wang  <amwang@redhat.com>
15815
15816         [BZ #15850]
15817         * sysdeps/unix/sysv/linux/bits/in.h
15818         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15819         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15820         before __USE_KERNEL_IPV6_DEFS uses.
15821         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15822         IPPROTO_BEETPH.
15823         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15824         sockaddr_in6, or ipv6_mreq.
15825
15826 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15827
15828         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15829         memory access for final bytes in some large inputs.
15830         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15831
15832 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15833
15834         * string/test-memrchr.c: New file.
15835         * string/test-memrchr-ifunc.c: New file.
15836         * string/Makefile: Add new memrchr testcase.
15837
15838 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15839
15840         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15841         fanotify_init returns EPERM.
15842
15843 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15844
15845         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15846         errors.
15847         (top level): Treat second token from macro or constant entries for
15848         allowed headers as allowed.
15849         * include/complex.h: Condition internal declarations on
15850         [!_ISOMAC].
15851         * include/fenv.h: Condition include of <stdbool.h> and internal
15852         declarations on [!_ISOMAC].
15853
15854 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15855
15856         [BZ #15923]
15857         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15858
15859 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15860
15861         * configure.in (--enable-versioning): Remove configure option.
15862         (libc_cv_asm_symver_directive): Remove configure test.
15863         (libc_cv_ld_version_script_option): Likewise.
15864         (VERSIONING): Remove variable and AC_SUBST.
15865         (DO_VERSIONING): Remove AC_DEFINE.
15866         * configure: Regenerated.
15867         * config.h.in (DO_VERSIONING): Remove macro.
15868         * Makerules [$(versioning) = yes]: Change conditionals to
15869         [$(build-shared) = yes].
15870         * config.make.in (versioning): Remove variable.
15871         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15872         [$(build-shared) = yes].
15873         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15874         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15875         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15876         [$(build-shared) = yes].
15877         * extra-lib.mk [$(versioning) = yes]: Likewise.
15878         * hurd/Makefile [$(versioning) = yes]: Likewise.
15879         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15880         [SHARED].
15881         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15882         [SHARED].
15883         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15884         [SHARED && !NO_HIDDEN].
15885         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15886         [SHARED].
15887         [SHARED && DO_VERSIONING]: Likewise..
15888         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15889         [$(build-shared) = yes].
15890         * manual/install.texi (--disable-versioning): Remove
15891         documentation.
15892         * INSTALL: Regenerated.
15893         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15894         to [SHARED].
15895         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15896         [$(build-shared) = yes].
15897         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15898         * sysdeps/i386/i686/multiarch/strstr-c.c
15899         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15900         [SHARED && !NO_HIDDEN].
15901         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15902         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15903         * sysdeps/powerpc/powerpc32/dl-machine.c
15904         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15905         * sysdeps/powerpc/powerpc32/sysdep.h
15906         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15907         to [SHARED && PIC && !NO_HIDDEN].
15908         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15909         conditional to [SHARED].
15910
15911 2013-09-04   Will Newton  <will.newton@linaro.org>
15912
15913         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15914         * benchtests/bench-string.h: Include bench-timing.h instead
15915         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15916         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15917         call to HP_TIMING_DIFF_INIT.
15918         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15919         instead of hp-timing.h macros.
15920         * benchtests/bench-memchr.c: Likewise.
15921         * benchtests/bench-memcmp.c: Likewise.
15922         * benchtests/bench-memcpy.c: Likewise.
15923         * benchtests/bench-memmem.c: Likewise.
15924         * benchtests/bench-memmove.c: Likewise.
15925         * benchtests/bench-memset.c: Likewise.
15926         * benchtests/bench-rawmemchr.c: Likewise.
15927         * benchtests/bench-strcasecmp.c: Likewise.
15928         * benchtests/bench-strcasestr.c: Likewise.
15929         * benchtests/bench-strcat.c: Likewise.
15930         * benchtests/bench-strchr.c: Likewise.
15931         * benchtests/bench-strcmp.c: Likewise.
15932         * benchtests/bench-strcpy.c: Likewise.
15933         * benchtests/bench-strcpy_chk.c: Likewise.
15934         * benchtests/bench-strlen.c: Likewise.
15935         * benchtests/bench-strncasecmp.c: Likewise.
15936         * benchtests/bench-strncat.c: Likewise.
15937         * benchtests/bench-strncmp.c: Likewise.
15938         * benchtests/bench-strncpy.c: Likewise.
15939         * benchtests/bench-strnlen.c: Likewise.
15940         * benchtests/bench-strpbrk.c: Likewise.
15941         * benchtests/bench-strrchr.c: Likewise.
15942         * benchtests/bench-strspn.c: Likewise.
15943         * benchtests/bench-strstr.c: Likewise.
15944
15945 2013-09-04  Will Newton  <will.newton@linaro.org>
15946
15947         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15948
15949 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15950
15951         [BZ #15427]
15952         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15953         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15954         * math/libm-test.inc (lgamma_test_data): Add more tests.
15955         * sysdeps/i386/fpu/libm-test-ulps: Update.
15956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15957
15958 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15959
15960         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15961         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15962         Add ifunc.
15963         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15964         Add strcmp-sse2-unaligned
15965         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15966
15967 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15968
15969         * Versions.def (libc): Add GLIBC_2.19.
15970
15971 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15972
15973         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15974         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15975
15976 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15977
15978         [BZ #14155]
15979         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15980         intermediate calculations in recurrence.
15981         (__ieee754_ynf): Likewise.
15982         * math/libm-test.inc (jn_test_data): Do not allow spurious
15983         underflow exception.  Add more tests.
15984         (yn_test_data): Add more tests.
15985         * sysdeps/i386/fpu/libm-test-ulps: Update.
15986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15987
15988 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15989
15990         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15991
15992 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15993
15994         * csu/init-first.c: Fix then/than typos.
15995         * locale/programs/ld-collate.c: Likewise.
15996         * locale/programs/linereader.h: Likewise.
15997         * manual/charset.texi: Likewise.
15998         * manual/filesys.texi: Likewise.
15999         * manual/stdio.texi: Likewise.
16000         * manual/string.texi: Likewise.
16001         * stdlib/fmtmsg.c: Likewise.
16002         * sysdeps/i386/stpncpy.S: Likewise.
16003         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16004         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16005         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16006         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16007
16008 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16009
16010         * elf/dl-open.c: Fix typos.
16011         * iconvdata/gbbig5.c: Likewise.
16012         * iconvdata/iso-2022-jp.c: Likewise.
16013         * iconv/gconv_int.h: Likewise.
16014         * iconv/loop.c: Likewise.
16015         * nis/rpcsvc/nis.h: Likewise.
16016         * resolv/ns_name.c: Likewise.
16017         * stdio-common/vfscanf.c: Likewise.
16018         * streams/stropts.h: Likewise.
16019         * sunrpc/rpc_thread.c: Likewise.
16020         * sysdeps/i386/strpbrk.S: Likewise.
16021         * sysdeps/ieee754/k_standard.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16023         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16024         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16025         * sysdeps/mach/hurd/profil.c: Likewise.
16026         * sysdeps/s390/dl-procinfo.h: Likewise.
16027         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16028         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16029         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16030         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16031         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16032
16033 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16034
16035         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16036         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16037
16038 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16039
16040         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16041         aix specific files.
16042         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16043         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16044         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16045         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16046         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16047         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16048         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16049         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16050
16051 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16052             Roland McGrath  <roland@hack.frob.com>
16053
16054         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16055         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16056
16057 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16058
16059         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16060         __executable_start symbol instead of _start.
16061
16062 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16063
16064         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16065         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16066         Move macros to...
16067         * sysdeps/gnu/ldsodefs.h: ... this new file.
16068
16069         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16070         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16071         instead of ELFOSABI_LINUX.
16072
16073         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16074         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16075         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16076         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16077         Likewise.
16078         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16079         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16080         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16081         Likewise.
16082         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16083         (ibm_extended_long_double): Add ieee_nan member.
16084         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16085         (do_test): New function.
16086
16087         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16088         TEST_TRUNC.
16089         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16090         functions, renamed from truncdfsf_test, trunctfsf_test,
16091         trunctfdf_test.
16092         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16093         functions.
16094         (do_test): Run all these.
16095
16096 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16097
16098         * argp/argp-help.c: Fix typos.
16099         * argp/argp-parse.c: Likewise.
16100         * debug/backtracesyms.c: Likewise.
16101         * elf/elf.h: Likewise.
16102         * malloc/malloc.c: Likewise.
16103         * nis/nis_print.c: Likewise.
16104         * resolv/res_comp.c: Likewise.
16105         * stdlib/stdlib.h: Likewise.
16106         * sunrpc/clnt_tcp.c: Likewise.
16107         * sunrpc/clnt_udp.c: Likewise.
16108         * sunrpc/clnt_unix.c: Likewise.
16109         * sysdeps/unix/bsd/ptsname.c: Likewise.
16110         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16111         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16113         Likewise.
16114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16115         Likewise.
16116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16117         Likewise.
16118         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16119
16120 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16121
16122         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16124
16125 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16126
16127         [BZ #15897]
16128         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16129         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16130         ($(objpfx)bug-dl-leaf): New rule.
16131         ($(objpfx)bug-dl-leaf.so): Likewise.
16132         ($(objpfx)bug-dl-leaf.out): Likewise.
16133         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16134         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16135         * dlfcn/bug-dl-leaf.c: New test.
16136         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16137         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16138         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16139         (dlclose): Likewise.
16140         (dlmopen): Likewise.
16141
16142 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16143
16144         * include/netdb.h [!_ISOMAC]:
16145         Don't include <tls.h>.
16146         (h_errno, __libc_h_errno): Move declaration and macros out of
16147         [_LIBC_REENTRANT].
16148
16149         * include/resolv.h [_RESOLV_H_]:
16150         Don't include <tls.h>.
16151         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16152         * resolv/res_libc.c: Don't include <tls.h>.
16153         (_res): Use __attribute__ ((nocommon)) in place of
16154         __attribute__ ((section (".bss"))).
16155
16156         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16157         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16158
16159         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16160
16161         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16162         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16163
16164         * resolv/res_mkquery.c: Include <sys/time.h>.
16165
16166         * inet/ifreq.c: Moved to ...
16167         * sysdeps/unix/ifreq.c: ... here.
16168         * inet/ifreq.c: New file, true stub version.
16169
16170         * socket/sa_len.c: New file.
16171         * socket/Makefile (aux): Add it.
16172         * sysdeps/unix/sysv/linux/Makefile
16173         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16174         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16175         and #include <socket/sa_len.c>.
16176         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16177         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16178
16179         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16180         * bits/socket.h: ... here.
16181
16182         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16183         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16184         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16185
16186 2013-08-27  Andreas Schwab  <schwab@suse.de>
16187
16188         [BZ #15736]
16189         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16190         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16191         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16192         * string/test-strcasecmp.c (test_main): Run tests in several
16193         locales.
16194         * string/test-strncasecmp.c (test_main): Likewise.
16195
16196         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16197         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16198         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16200         (__strncasecmp_ssse3) [PIC]: Likewise.
16201
16202 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16203
16204         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16205
16206         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16207         instead of explicitly declaring xdecrypt.
16208         * nis/nss_nis/nis-publickey.c: Likewise.
16209
16210 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16211
16212         [BZ #15890]
16213         * nscd/aicache.c: Include res_hconf.h.
16214         (addhstaiX): Initialize res_hconf.
16215
16216 2013-08-26  Andreas Schwab  <schwab@suse.de>
16217
16218         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16219         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16220
16221 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16222
16223         * nscd/aicache.c (addhstaiX): Fix indentation.
16224
16225 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16226
16227         * configure.ac: Quote $build_pt_chown test.
16228         * configure: Regenerated.
16229
16230 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16231
16232         [BZ #15532]
16233         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16234         * math/s_cexpf.c (__cexpf): Likewise.
16235         * math/s_cexpl.c (__cexpl): Likewise.
16236         * math/libm-test.inc (cexp_test_data): Correct expected return
16237         value for NaN + i0.  Add another test.
16238
16239 2013-08-22  David S. Miller  <davem@davemloft.net>
16240
16241         * po/ca.po: Update Catalan translation from translation project.
16242         * po/uk.po: Add Ukrainian translations from translation project.
16243
16244 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16245
16246         [BZ #15797]
16247         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16248         is infinite, not alongside NaN test.
16249         * math/s_fdimf.c (__fdimf): Likewise.
16250         * math/s_fdiml.c (__fdiml): Likewise.
16251         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16252         errno is unchanged.
16253
16254 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16255
16256         * argp/argp-help.c: Fix typos.
16257         * crypt/speeds.c: Likewise.
16258         * csu/check_fds.c: Likewise.
16259         * elf/dl-load.c: Likewise.
16260         * elf/dl-open.c: Likewise.
16261         * elf/reldep3.c: Likewise.
16262         * elf/reldep.c: Likewise.
16263         * elf/sprof.c: Likewise.
16264         * iconv/iconv_charmap.c: Likewise.
16265         * iconv/skeleton.c: Likewise.
16266         * iconv/strtab.c: Likewise.
16267         * io/lockf64.c: Likewise.
16268         * libio/libioP.h: Likewise.
16269         * resolv/gai_notify.c: Likewise.
16270         * resolv/ns_name.c: Likewise.
16271         * resolv/ns_samedomain.c: Likewise.
16272         * resolv/res_send.c: Likewise.
16273         * stdlib/random.c: Likewise.
16274         * sunrpc/rpc/xdr.h: Likewise.
16275         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16276         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16277         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16278         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16279         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16280         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16281         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16282         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16283         * sysdeps/mach/hurd/check_fds.c: Likewise.
16284         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16285         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16286         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16287         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16288         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16289         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16290         * sysdeps/pthread/aio_notify.c: Likewise.
16291         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16292         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16293         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16294         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16295         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16296
16297 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16298
16299         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16300         version if bit_Slow_SSE4_2 is set.
16301         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16302         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16303
16304 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16305
16306         [BZ #15867]
16307         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16308         trampoline stack frame information.
16309         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16310         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16311         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16312         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16313         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16314         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16315         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16316         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16317         sa_flags value.
16318         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16319         interrupting a syscall and set with option SA_SIGINFO.
16320
16321 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16322
16323         [BZ #15531]
16324         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16325         argument is infinite.
16326         * math/s_cprojf.c (__cprojf): Likewise.
16327         * math/s_cprojl.c (__cprojl): Likewise.
16328         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16329         * math/libm-test.inc (cproj_test_data): Add more tests.
16330
16331         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16332
16333         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16334         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16335         size.  Use __ffs to determine corresponding shift.
16336
16337 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16338             Roland McGrath  <roland@hack.frob.com>
16339
16340         * Makefile (INSTALL): Remove trailing blank lines from output of
16341         makeinfo.
16342
16343 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16344
16345         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16346         Align 32 bit compat elf_greg to 8 bytes.
16347
16348 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16349
16350         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16351
16352 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16353
16354         * string/strcoll_l.c (coll_seq): New structure.
16355         (get_next_seq_cached): New function.
16356         (get_next_seq): New function.
16357         (do_compare): New function.
16358         (STRCOLL): Use GNU style definition.  Simplify implementation
16359         by using get_next_seq, get_next_seq_cached and do_compare.
16360
16361 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16362
16363         [BZ #14699]
16364         CVE-2013-4237
16365         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16366         member.
16367         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16368         member.
16369         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16370         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16371         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16372         conditional.
16373         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16374         GETDENTS_64BIT_ALIGNED.
16375         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16376         * manual/filesys.texi (Reading/Closing Directory): Document
16377         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16378         strongly.
16379         * manual/conf.texi (Limits for Files): Add portability note to
16380         NAME_MAX, PATH_MAX.
16381         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16382
16383 2013-08-13  Andreas Schwab  <schwab@suse.de>
16384
16385         [BZ #15749]
16386         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16387         of fabs.
16388         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16389         LDBL_MAX_EXP >= 16384]: Add tests for it.
16390
16391 2013-08-12  David S. Miller  <davem@davemloft.net>
16392
16393         * version.h (RELEASE): Set to "development".
16394         (VERSION): Set to "2.18.90".
16395         * NEWS: Add 2.19 section.
16396
16397 2013-08-03  David S. Miller  <davem@davemloft.net>
16398
16399         * po/ko.po: Update Korean translation from translation project.
16400
16401 2013-08-01  David S. Miller  <davem@davemloft.net>
16402
16403         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16404         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16405         Bilka.
16406
16407 2013-07-30  David S. Miller  <davem@davemloft.net>
16408
16409         * po/fr.po: Update French translation from translation project.
16410
16411 2013-07-28  David S. Miller  <davem@davemloft.net>
16412
16413         * po/cs.po: Update Czech translation from translation project.
16414
16415         * po/sv.po: Update Swedish translation from translation project.
16416
16417 2013-07-27  David S. Miller  <davem@davemloft.net>
16418
16419         * po/eo.po: Update Esperanto translation from translation project.
16420
16421         * po/vi.po: Update Vietnamese translation from translation project.
16422
16423         * po/de.po: Update German translation from translation project.
16424
16425 2013-07-26  David S. Miller  <davem@davemloft.net>
16426
16427         * po/bg.po: Update Bulgarian translation from translation project.
16428
16429         * po/nl.po: Update Dutch translation from translation project.
16430         * po/pl.po: Update Polish translation from translation project.
16431         * po/ru.po: Update Russian translation from translation project.
16432
16433 2013-07-24  David S. Miller  <davem@davemloft.net>
16434
16435         * po/libc.pot: Update.
16436
16437 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16438
16439         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16440         variable page size.
16441         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16442         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16443         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16444
16445 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16446
16447         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16448
16449 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16450             Andreas Schwab  <schwab@suse.de>
16451             Roland McGrath  <roland@hack.frob.com>
16452             Joseph Myers  <joseph@codesourcery.com>
16453             Carlos O'Donell  <carlos@redhat.com>
16454
16455         [BZ #15755]
16456         * config.h.in: Define HAVE_PT_CHOWN.
16457         * config.make.in (build-pt-chown): New variable.
16458         * configure.in (--enable-pt_chown): New configure option.
16459         * configure: Regenerate.
16460         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16461         build-pt-chown is enabled.
16462         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16463         pt_chown to fix pty ownership.
16464         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16465         CLOSE_ALL_FDS.
16466         * manual/install.texi (Configuring and compiling): Mention
16467         --enable-pt_chown. Add @findex for grantpt.
16468         * INSTALL: Regenerate.
16469
16470 2013-07-20  David S. Miller  <davem@davemloft.net>
16471
16472         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16473         difference between 32-bit and 64-bit.
16474
16475 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16476
16477         [BZ #15711]
16478         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16479         Avoid system header dependency with -ffreestanding.
16480         ($(objpfx)bits/syscall%d): Likewise.
16481
16482 2013-07-13  David S. Miller  <davem@davemloft.net>
16483
16484         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16485         underflows from atanl/atan2l due to bug 15319.
16486         (casinh_test_data): Likewise.
16487
16488 2013-07-07  David S. Miller  <davem@davemloft.net>
16489
16490         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16491
16492 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16493
16494         * sysdeps/i386/fpu/libm-test-ulps: Update.
16495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16496
16497 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16498
16499         * configure.in (--enable-lock-elision): Fix message text.
16500         * INSTALL: Regenerate.
16501         * configure: Regenerate.
16502
16503 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16504
16505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16506
16507 2013-07-03  Andreas Jaeger  <aj@suse.de>
16508
16509         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16510         define.
16511         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16512         (ptrace_peeksiginfo_args): Add.
16513         (__ptrace_peeksiginfo_flags): Add.
16514         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16515         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16516         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16517
16518 2013-07-03  Allan McRae  <allan@archlinux.org>
16519
16520         * sysdeps/i386/fpu/libm-test-ulps: Update.
16521
16522 2013-07-02  David S. Miller  <davem@davemloft.net>
16523
16524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16525
16526 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16527
16528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16529
16530 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16531
16532         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16534
16535 2013-07-02  Andi Kleen <ak@linux.intel.com>
16536
16537         * config.h.in (ENABLE_LOCK_ELISION): Add.
16538         * configure.in (--enable-lock-elision): Add option.
16539         * manual/install.texi: Document --enable lock elision.
16540         * configure: Regenerate
16541         * INSTALL: Regenerate.
16542
16543 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16544
16545         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16546         SSE4.2 strcasecmp for libc.a.
16547         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16548
16549 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16550
16551         [BZ #13304]
16552         * soft-fp/op-common.h (_FP_FMA): New macro.
16553         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16554         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16555         (_FP_MUL_MEAT_1_imm): ... here.
16556         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16557         (_FP_MUL_MEAT_1_wide): ... here.
16558         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16559         (_FP_MUL_MEAT_1_hard): ... here.
16560         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16561         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16562         (_FP_MUL_MEAT_2_wide): ... here.
16563         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16564         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16565         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16566         (_FP_MUL_MEAT_2_gmp): ... here.
16567         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16568         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16569         (_FP_MUL_MEAT_4_wide): ... here.
16570         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16571         (_FP_MUL_MEAT_4_gmp): ... here.
16572         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16573         (_FP_WFRACBITS_DW_S): Likewise.
16574         (_FP_WFRACXBITS_DW_S): Likewise.
16575         (_FP_HIGHBIT_DW_S): Likewise.
16576         (FP_FMA_S): Likewise.
16577         (_FP_FRAC_HIGH_DW_S): Likewise.
16578         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16579         (_FP_WFRACBITS_DW_D): Likewise.
16580         (_FP_WFRACXBITS_DW_D): Likewise.
16581         (_FP_HIGHBIT_DW_D): Likewise.
16582         (FP_FMA_D): Likewise.
16583         (_FP_FRAC_HIGH_DW_D): Likewise.
16584         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16585         (_FP_WFRACBITS_DW_E): Likewise.
16586         (_FP_WFRACXBITS_DW_E): Likewise.
16587         (_FP_HIGHBIT_DW_E): Likewise.
16588         (FP_FMA_E): Likewise.
16589         (_FP_FRAC_HIGH_DW_E): Likewise.
16590         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16591         (_FP_WFRACBITS_DW_Q): Likewise.
16592         (_FP_WFRACXBITS_DW_Q): Likewise.
16593         (_FP_HIGHBIT_DW_Q): Likewise.
16594         (FP_FMA_Q): Likewise.
16595         (_FP_FRAC_HIGH_DW_Q): Likewise.
16596         * soft-fp/fmasf4.c: New file.
16597         * soft-fp/fmadf4.c: Likewise.
16598         * soft-fp/fmatf4.c: Likewise.
16599
16600 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16601
16602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16603         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16604         Silvermont.
16605         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16606         macro.
16607         (index_Slow_SSE4_2): Likewise.
16608         (index_Prefer_PMINUB_for_stringop): Likewise.
16609         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16610         bit_Slow_SSE4_2 is set.
16611         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16612         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16613
16614 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16615
16616         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16617         rtld_global._dl_hwcap2.
16618         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16619         POWER8.
16620         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16621         POWER8 feature descriptions defined in _dl_hwcap2.
16622         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16623         string handling for POWER8 feature bits.
16624         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16625         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16626         _dl_powerpc_cap_flags.
16627         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16628         * sysdeps/powerpc/rtld-global-offsets.sym
16629         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16630         _dl_hwcap2 in the rtld_global_ro structure.
16631
16632 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16633
16634         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16635         hardware capabilities in support of AT_HWCAP2.
16636         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16637         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16638         GLRO(dl_hwcap2).
16639         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16640         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16641         explicitly the unknown a_type display mechanism is used.
16642         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16643         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16644         struct member.
16645         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16646         to macro prototype for AT_HWCAP2 support.
16647         * sysdeps/i386/dl-procinfo.h: Likewise.
16648         * sysdeps/s390/dl-procinfo.h: Likewise.
16649         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16650         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16651         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16652         return -1 for unknown a_type display fallback.
16653         * sysdeps/sparc/dl-procinfo.h: Likewise.
16654         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16655         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16656
16657 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16658
16659         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16660         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16661
16662 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16663
16664         [BZ #12492]
16665         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16666         mprotect making __stack_prot writable.
16667
16668 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16669             Joseph Myers  <joseph@codesourcery.com>
16670
16671         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16672         as being properly aligned.
16673
16674 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16675
16676         * dlfcn/modstatic5.c: New file.
16677         * dlfcn/tststatic5.c: New file.
16678         * dlfcn/Makefile (tests): Add tststatic5.
16679         (tests-static): Likewise.
16680         (modules-names): Add modstatic5.
16681         (tststatic5-ENV): New variable.
16682         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16683
16684         [BZ #15022]
16685         * elf/dl-support.c (_dl_main_map): New variable.
16686         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16687         (_dl_nns, _dl_load_adds): Set to 1.
16688         (_dl_initial_searchlist): Refer to _dl_main_map.
16689         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16690         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16691         call to _dl_get_origin.
16692         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16693         around call_map.
16694         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16695         * dlfcn/modstatic3.c: New file.
16696         * dlfcn/tststatic3.c: New file.
16697         * dlfcn/tststatic4.c: New file.
16698         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16699         (tests-static): Likewise.
16700         (modules-names): Add modstatic3.
16701         (tststatic3-ENV, tststatic4-ENV): New variables.
16702         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16703         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16704
16705 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16706
16707         * configure.in (CC): Require GCC version 4.4 or later.
16708         * configure: Regenerated.
16709         * manual/install.texi (Tools for Compilation): Update GCC version
16710         requirement.
16711         * INSTALL: Regenerated.
16712
16713 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16714
16715         [BZ #15674]
16716         * string/test-memcmp.c (check2): New.
16717         (main): Call check2.
16718
16719         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16720
16721 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16722
16723         [BZ #15022]
16724         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16725         over to...
16726         (dl_open_worker) [!SHARED]: ... here.
16727
16728 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16729
16730         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16731
16732 2013-06-25  Richard Henderson  <rth@redhat.com>
16733
16734         * locale/programs/locarchive.c: Include <libc-internal.h>
16735
16736 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16737
16738         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16739         trailing whitespace removed.
16740
16741 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16742
16743         [BZ #10283]
16744         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16745         * locale/programs/locarchive.c: Include libc-mmap.h.
16746         (prepare_address_space): Take two new outputs (the mmap base and len).
16747         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16748         values.
16749         (create_archive): Declare new mmap base and len values for
16750         prepare_address_space, and store the result in ah.
16751         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16752         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16753         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16754         Declare new mmap base and len values for
16755         prepare_address_space, and store the result in new_ah.
16756         (open_archive): Declare new mmap base and len values for
16757         prepare_address_space, and store the result in ah.
16758         (close_archive): If ah->mmap_base is not NULL, use that and
16759         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16760         * sysdeps/generic/libc-mmap.h: New file.
16761
16762 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16763
16764         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16765         (ALIGN_UP): Likewise.
16766         (PTR_ALIGN_DOWN): Likewise.
16767         (PTR_ALIGN_UP): Likewise.
16768
16769 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16770
16771         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16772         entry mapped to PPC_PLATFORM_POWER8.
16773         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16774         POWER8.
16775         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16776         (_dl_string_platform): Add case for exporting platform position for
16777         POWER8.
16778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16779         search path to sysdeps/powerpc/powerpc32/power8 directory.
16780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16781         search path to sysdeps/powerpc/powerpc64/power8 directory.
16782         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16783         power7 directories.
16784         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16785         power7 directories.
16786
16787 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16788
16789         * INSTALL: Regenerate.
16790
16791         * nscd/connections.c (nscd_init): Fix comment.
16792
16793 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16794
16795         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16796
16797         [BZ #15667]
16798         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16799         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16800
16801 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16802
16803         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16804         DL_DST_REQ_STATIC.
16805         (DL_DST_REQ_STATIC): Remove macro.
16806
16807 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16808
16809         [BZ #7006]
16810         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16811         with a shift of 0 bits.
16812
16813 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16814
16815         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16816         $(tststatic-ENV).
16817
16818 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16819
16820         [BZ #15655]
16821         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16822
16823 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16824
16825         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16826         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16827         accepts -fno-tree-loop-distribute-patterns.
16828         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16829         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16830         recursive call.
16831         * string/memset.c (memset): Likewise.
16832         * string/test-memmove.c (simple_memmove): Disable loop transformation
16833         to library calls.
16834         * string/test-memset.c (simple_memset): Likewise.
16835         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16836         * benchtests/bench-memset.c (simple_memset): Likewise.
16837         * configure: Regenerated.
16838
16839 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16840
16841         * math/test-misc.c (main): Ignore fesetround failure when failures
16842         of subsequent rounding tests would be ignored.
16843
16844         [BZ #15654]
16845         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16846         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16847         * math/fegetenv.c (__fegetenv): Return 0.
16848         * math/fegetexcept.c (fegetexcept): Return 0.
16849         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16850         FE_TONEAREST.
16851         * math/feholdexcpt.c (feholdexcept): Return 0.
16852         * math/fesetenv.c (__fesetenv): Return 0.
16853         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16854         argument FE_TONEAREST.
16855         * math/feupdateenv.c (__feupdateenv): Return 0.
16856         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16857
16858 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16859
16860         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16861         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16862         ($(objpfx)rtld-%.os rules): Use them.
16863
16864 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16865
16866         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16867         fields.
16868
16869 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16870
16871         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16872         length of target pattern, then descending length of dependency pattern.
16873         * configure.in (AWK): Require gawk 3.1.2 or newer.
16874         * manual/install.texi (Tools for Compilation): Say that we do.
16875         * configure: Regenerated.
16876
16877         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16878         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16879         * scripts/sysd-rules.awk: ... this new script.
16880         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16881         than a glob-style pattern.
16882
16883 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16884
16885         * math/test-misc.c (main): Do not treat incorrectly rounded
16886         conversions as failure unless ROUNDING_TESTS passes.
16887
16888 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16889
16890         [BZ #15631]
16891         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16892         restore exception state around main square root computation, then
16893         check for inexactness explicitly.
16894
16895         * math/libm-test.inc (fma_test_data): Add another test.
16896
16897 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16898
16899         * manual/threads.texi (Non-POSIX Extensions): New document
16900         node.  Document pthread_getattr_default_np and
16901         pthread_setattr_default_np.
16902
16903         * Versions.def (libpthread): Add GLIBC_2.18.
16904         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16906         Likewise.
16907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16908         Likewise.
16909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16910         Likewise.
16911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16912         Likewise.
16913         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16914         Likewise.
16915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16916         Likewise.
16917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16918         Likewise.
16919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16920         Likewise.
16921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16922         Likewise.
16923
16924 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16925
16926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16927         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16928
16929 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16930             H.J. Lu  <hjl.tools@gmail.com>
16931
16932         [BZ #15627]
16933         * sysdeps/x86_64/rtld-memset.c: Remove file.
16934         * sysdeps/x86_64/rtld-memset.S: New file.
16935
16936 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16937
16938         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16939         (test_in_one_mode): Take arguments for whether the rounding mode
16940         is supported for each floating-point type.
16941         (do_test): Pass new arguments to test_in_one_mode using
16942         ROUNDING_TESTS.
16943
16944 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16945
16946         * posix/tst-waitid.c (do_test): Distinguish different instances of
16947         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16948         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16949         before entering the kernel for waitpid.
16950
16951 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16952
16953         * NEWS: Fix note on clock function precision.  Text by Roland
16954         McGrath.
16955
16956 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16957
16958         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16959         it into place only when and if the sanity check passes.
16960
16961 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16962
16963         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16964         output for whether conversion result is exact.  Take argument
16965         indicating whether type is IBM long double.
16966         (round_for_all): Change need_exact field to ibm_ld.
16967         * stdlib/tst-strtod-round.c (struct exactness): New type.
16968         (struct test): Change bool ld_ok field to struct exactness exact.
16969         (TEST): Update all definitions for change to field.
16970         (tests): Regenerate array contents.
16971         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16972         field value.  Check for IBM long double here.
16973         (do_test): Update calls to test_in_one_mode.
16974
16975 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16976
16977         [BZ #12515]
16978         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16979         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16980
16981 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16982
16983         [BZ #15605]
16984         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16985         generated by the compiler on loop optimizations.
16986         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16987         general definitions.
16988
16989 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16990
16991         * math/bug-nextafter.c: Include <math-tests.h>.
16992         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16993         the relevant type.
16994         * math/bug-nexttoward.c: Include <math-tests.h>.
16995         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16996         the relevant type.
16997         * math/test-misc.c: Include <math-tests.h>.
16998         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16999         the relevant type.
17000
17001 2013-06-12  Andreas Jaeger  <aj@suse.de>
17002
17003         * po/ia.po: Update Interlingua translation from translation
17004         project.
17005
17006 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17007
17008         * include/fenv.h: Include stdbool.h.
17009         (struct rm_ctx): New structure.
17010         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17011         Define macro.
17012         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17013         (SET_RESTORE_ROUNDF): Likewise.
17014         (SET_RESTORE_ROUNDL): Likewise.
17015         (SET_RESTORE_ROUND_NOEX): Likewise.
17016         (SET_RESTORE_ROUND_NOEXF): Likewise.
17017         (SET_RESTORE_ROUND_NOEXL): Likewise.
17018         (SET_RESTORE_ROUND_53BIT): Likewise.
17019         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17020         (libc_feresetround_noexf_ctx): Likewise.
17021         (libc_feresetround_noexl_ctx): Likewise.
17022         (libc_feholdsetround_53bit_ctx): Likewise.
17023         (libc_feresetround_53bit_ctx): Likewise.
17024         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17025         (libc_feholdexcept_setround_sse_ctx): New function.
17026         (libc_fesetenv_sse_ctx): Likewise.
17027         (libc_feupdateenv_sse_ctx): Likewise.
17028         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17029         (libc_feholdexcept_setround_387_ctx): Likewise.
17030         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17031         (libc_feholdsetround_387_prec_ctx): Likewise.
17032         (libc_feholdsetround_387_ctx): Likewise.
17033         (libc_feholdsetround_387_53bit_ctx): Likewise.
17034         (libc_feholdsetround_sse_ctx): Likewise.
17035         (libc_feresetround_sse_ctx): Likewise.
17036         (libc_feresetround_387_ctx): Likewise.
17037         (libc_feupdateenv_387_ctx): Likewise.
17038         (libc_feholdexcept_setroundf_ctx): Define macro.
17039         (libc_fesetenvf_ctx): Likewise.
17040         (libc_feupdateenvf_ctx): Likewise.
17041         (libc_feholdsetroundf_ctx): Likewise.
17042         (libc_feresetroundf_ctx): Likewise.
17043         (libc_feholdexcept_setround_ctx): Likewise.
17044         (libc_fesetenv_ctx): Likewise.
17045         (libc_feupdateenv_ctx): Likewise.
17046         (libc_feholdsetround_ctx): Likewise.
17047         (libc_feresetround_ctx): Likewise.
17048         (libc_feholdexcept_setroundl_ctx): Likewise.
17049         (libc_feupdateenvl_ctx): Likewise.
17050         (libc_feholdsetroundl_ctx): Likewise.
17051         (libc_feresetroundl_ctx): Likewise.
17052         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17053         (libc_feresetround_53bit_ctx): Likewise.
17054
17055 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17056
17057         * locale/iso-639.def: Convert to UTF-8.
17058
17059 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17060
17061         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17062         (EXCEPTION_TESTS_double): Likewise.
17063         (EXCEPTION_TESTS_long_double): Likewise.
17064         (EXCEPTION_TESTS): Likewise.
17065         * math/libm-test.inc (test_exceptions): Only test exceptions if
17066         EXCEPTION_TESTS (FLOAT).
17067
17068 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17069
17070         * benchtests/Makefile (string-bench): Add strcpy_chk and
17071         stpcpy_chk.
17072         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17073         * benchtests/bench-stpcpy_chk.c: New file.
17074         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17075         * benchtests/bench-strcpy_chk.c: New file.
17076         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17077         code.
17078         (do_test): Likewise.
17079
17080 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17081
17082         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17083         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17084         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17085         with tabs where appropriate.
17086         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17087         dl-procinfo.h.
17088         [PPC_PLATFORM_PPC440]: Likewise.
17089         [PPC_PLATFORM_PPC464]: Likewise.
17090         [PPC_PLATFORM_PPC476]: Likewise.
17091         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17092         ppc464, and ppc476 platform strings merging from ports/
17093         dl-procinfo.h.
17094
17095 2013-06-11  Andreas Schwab  <schwab@suse.de>
17096
17097         [BZ #14991]
17098         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17099         (from_ucs4_idx): Regenerate.
17100         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17101         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17102         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17103         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17104         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17105         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17106         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17107         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17108         from FROM_LOOP and TO_LOOP specific macros.
17109         (BODY): Handle combining characters.
17110         * iconvdata/BIG5HKSCS.irreversible: Update.
17111         * iconvdata/BIG5HKSCS.precomposed: New file.
17112         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17113         characters.
17114         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17115
17116 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17117
17118         * include/sys/time.h: Fix indentation and add copyright header.
17119
17120         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17121         (do_test): Likewise.
17122         * string/test-memchr.c (do_one_test): Likewise.
17123         (do_test): Likewise.
17124         * string/test-memcmp.c (do_one_test): Likewise.
17125         (do_test): Likewise.
17126         * string/test-memcpy.c (do_one_test): Likewise.
17127         (do_test): Likewise.
17128         * string/test-memmem.c (do_one_test): Likewise.
17129         (do_test): Likewise.
17130         (do_random_tests): Likewise.
17131         * string/test-memmove.c (do_one_test): Likewise.
17132         (do_test): Likewise.
17133         * string/test-memset.c (do_one_test): Likewise.
17134         (do_test): Likewise.
17135         * string/test-rawmemchr.c (do_one_test): Likewise.
17136         (do_test): Likewise.
17137         * string/test-strcasecmp.c (do_one_test): Likewise.
17138         (do_test): Likewise.
17139         * string/test-strcasestr.c (do_one_test): Likewise.
17140         (do_test): Likewise.
17141         * string/test-strcat.c (do_one_test): Likewise.
17142         (do_test): Likewise.
17143         * string/test-strchr.c (do_one_test): Likewise.
17144         (do_test): Likewise.
17145         * string/test-strcmp.c (do_one_test): Likewise.
17146         (do_test): Likewise.
17147         * string/test-strcpy.c (do_one_test): Likewise.
17148         (do_test): Likewise.
17149         * string/test-string.h: Likewise.
17150         (test_init): Likewise.
17151         * string/test-strlen.c (do_one_test): Likewise.
17152         (do_test): Likewise.
17153         * string/test-strncasecmp.c (do_one_test): Likewise.
17154         (do_test): Likewise.
17155         * string/test-strncat.c (do_one_test): Likewise.
17156         (do_test): Likewise.
17157         * string/test-strncmp.c (do_one_test): Likewise.
17158         (do_test_limit): Likewise.
17159         (do_test): Likewise.
17160         * string/test-strncpy.c (do_one_test): Likewise.
17161         (do_test): Likewise.
17162         * string/test-strnlen.c (do_one_test): Likewise.
17163         (do_test): Likewise.
17164         * string/test-strpbrk.c (do_one_test): Likewise.
17165         (do_test): Likewise.
17166         * string/test-strrchr.c (do_one_test): Likewise.
17167         (do_test): Likewise.
17168         * string/test-strspn.c (do_one_test): Likewise.
17169         (do_test): Likewise.
17170         * string/test-strstr.c (do_one_test): Likewise.
17171         (do_test): Likewise.
17172
17173         * benchtests/Makefile (string-bench): Add string benchmarks.
17174         * benchtests/bench-bcopy-ifunc.c: New file.
17175         * benchtests/bench-bcopy.c: New file.
17176         * benchtests/bench-bzero-ifunc.c: New file.
17177         * benchtests/bench-bzero.c: New file.
17178         * benchtests/bench-memccpy-ifunc.c: New file.
17179         * benchtests/bench-memccpy.c: New file.
17180         * benchtests/bench-memchr-ifunc.c: New file.
17181         * benchtests/bench-memchr.c: New file.
17182         * benchtests/bench-memcmp-ifunc.c: New file.
17183         * benchtests/bench-memcmp.c: New file.
17184         * benchtests/bench-memmem-ifunc.c: New file.
17185         * benchtests/bench-memmem.c: New file.
17186         * benchtests/bench-memmove-ifunc.c: New file.
17187         * benchtests/bench-memmove.c: New file.
17188         * benchtests/bench-mempcpy-ifunc.c: New file.
17189         * benchtests/bench-mempcpy.c: New file.
17190         * benchtests/bench-memset-ifunc.c: New file.
17191         * benchtests/bench-memset.c: New file.
17192         * benchtests/bench-rawmemchr-ifunc.c: New file.
17193         * benchtests/bench-rawmemchr.c: New file.
17194         * benchtests/bench-stpcpy-ifunc.c: New file.
17195         * benchtests/bench-stpcpy.c: New file.
17196         * benchtests/bench-stpncpy-ifunc.c: New file.
17197         * benchtests/bench-stpncpy.c: New file.
17198         * benchtests/bench-strcasecmp-ifunc.c: New file.
17199         * benchtests/bench-strcasecmp.c: New file.
17200         * benchtests/bench-strcasestr-ifunc.c: New file.
17201         * benchtests/bench-strcasestr.c: New file.
17202         * benchtests/bench-strcat-ifunc.c: New file.
17203         * benchtests/bench-strcat.c: New file.
17204         * benchtests/bench-strchr-ifunc.c: New file.
17205         * benchtests/bench-strchr.c: New file.
17206         * benchtests/bench-strchrnul-ifunc.c: New file.
17207         * benchtests/bench-strchrnul.c: New file.
17208         * benchtests/bench-strcmp-ifunc.c: New file.
17209         * benchtests/bench-strcmp.c: New file.
17210         * benchtests/bench-strcpy-ifunc.c: New file.
17211         * benchtests/bench-strcpy.c: New file.
17212         * benchtests/bench-strcspn-ifunc.c: New file.
17213         * benchtests/bench-strcspn.c: New file.
17214         * benchtests/bench-strlen-ifunc.c: New file.
17215         * benchtests/bench-strlen.c: New file.
17216         * benchtests/bench-strncasecmp-ifunc.c: New file.
17217         * benchtests/bench-strncasecmp.c: New file.
17218         * benchtests/bench-strncat-ifunc.c: New file.
17219         * benchtests/bench-strncat.c: New file.
17220         * benchtests/bench-strncmp-ifunc.c: New file.
17221         * benchtests/bench-strncmp.c: New file.
17222         * benchtests/bench-strncpy-ifunc.c: New file.
17223         * benchtests/bench-strncpy.c: New file.
17224         * benchtests/bench-strnlen-ifunc.c: New file.
17225         * benchtests/bench-strnlen.c: New file.
17226         * benchtests/bench-strpbrk-ifunc.c: New file.
17227         * benchtests/bench-strpbrk.c: New file.
17228         * benchtests/bench-strrchr-ifunc.c: New file.
17229         * benchtests/bench-strrchr.c: New file.
17230         * benchtests/bench-strspn-ifunc.c: New file.
17231         * benchtests/bench-strspn.c: New file.
17232         * benchtests/bench-strstr-ifunc.c: New file.
17233         * benchtests/bench-strstr.c: New file.
17234
17235         * benchtests/Makefile: Disable parallel execution of targets.
17236         (string-bench): Add memcpy.
17237         (benchset): New variable to store a list of benchmark sets.
17238         (bench-func): Renamed from bench.
17239         (bench-set): New target.
17240         (bench): Depend on bench-func and bench-set.
17241         * benchtests/README: Add section on benchmark sets.
17242         * benchtests/bench-memcpy-ifunc.c: New file.
17243         * benchtests/bench-memcpy.c: New file.
17244         * benchtests/bench-string.h: New file.
17245
17246 2013-06-11  Andreas Schwab  <schwab@suse.de>
17247
17248         [BZ #15577]
17249         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17250         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17251         values in the triple.
17252         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17253         terminator in the group key.
17254
17255 2013-06-11  Andreas Jaeger  <aj@suse.de>
17256
17257         * po/zh_TW.po: Update Chinese (traditional) translation from
17258         translation project.
17259
17260 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17261
17262         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17263         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17264         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17265         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17266         (clock_getcpuclockid): Likewise.
17267         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17268         Add weak_alias and libc_hidden_def.
17269         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17270         * rt/clock_gettime.c (clock_gettime): Rename to
17271         __clock_gettime.  Add weak_alias and libc_hidden_def.
17272         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17273         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17274         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17275         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17276         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17277         Likewise.
17278         * rt/clock_settime.c (clock_settime): Rename to
17279         __clock_settime.  Add weak_alias and libc_hidden_def.
17280         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17281
17282 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17283
17284         * mach/err_boot.sub: Remove trailing whitespace.
17285         * mach/err_ipc.sub: Likewise.
17286         * mach/err_mach.sub: Likewise.
17287
17288         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17289         (ROUNDING_TESTS_double): Likewise.
17290         (ROUNDING_TESTS_long_double): Likewise.
17291         (ROUNDING_TESTS): Likewise.
17292         * math/libm-test.inc: Include <math-tests.h>.
17293         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17294         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17295         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17296         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17297
17298 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17299
17300         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17301         of assigning.
17302
17303 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17304
17305         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17306         otherwise empty TRANS lines.
17307         * sysdeps/gnu/errlist.c: Regenerated.
17308
17309         * catgets/gencat.c (error_print): Use (void) in function
17310         definition.
17311         * crypt/crypt_util.c (__init_des): Likewise.
17312         * crypt/speeds.c (Stop): Likewise.
17313         (main): Likewise.
17314         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17315         * inet/ruserpass.c (token): Likewise.
17316         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17317         * intl/localealias.c (extend_alias_table): Likewise.
17318         * intl/plural-exp.c (init_germanic_plural): Likewise.
17319         * libio/fcloseall.c (__fcloseall): Likewise.
17320         * libio/genops.c (_IO_flush_all): Likewise.
17321         (_IO_flush_all_linebuffered): Likewise.
17322         (_IO_cleanup): Likewise.
17323         (_IO_iter_begin): Likewise.
17324         (_IO_iter_end): Likewise.
17325         (_IO_list_lock): Likewise.
17326         (_IO_list_unlock): Likewise.
17327         (_IO_list_resetlock): Likewise.
17328         * libio/getchar.c (getchar): Likewise.
17329         * libio/getchar_u.c (getchar_unlocked): Likewise.
17330         * libio/getwchar.c (getwchar): Likewise.
17331         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17332         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17333         * login/getpt.c (__getpt): Likewise.
17334         * login/tst-utmp.c (main): Likewise.
17335         * malloc/hooks.c (__malloc_check_init): Likewise.
17336         * malloc/malloc.c (__malloc_stats): Likewise.
17337         * malloc/mtrace.c (tr_break): Likewise.
17338         (mtrace): Likewise.
17339         (muntrace): Likewise.
17340         * misc/fstab.c (endfsent): Likewise.
17341         * misc/getclktck.c (__getclktck): Likewise.
17342         * misc/getdtsz.c (__getdtablesize): Likewise.
17343         * misc/gethostid.c (gethostid): Likewise.
17344         * misc/getpagesize.c (__getpagesize): Likewise.
17345         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17346         (__get_nprocs): Likewise.
17347         (__get_phys_pages): Likewise.
17348         (__get_avphys_pages): Likewise.
17349         * misc/getttyent.c (getttyent): Likewise.
17350         (setttyent): Likewise.
17351         (endttyent): Likewise.
17352         * misc/getusershell.c (getusershell): Likewise.
17353         (endusershell): Likewise.
17354         (setusershell): Likewise.
17355         (initshells): Likewise.
17356         * misc/hsearch.c (__hdestroy): Likewise.
17357         * misc/sync.c (sync): Likewise.
17358         * misc/syslog.c (closelog_internal): Likewise.
17359         (closelog): Likewise.
17360         * misc/ttyslot.c (ttyslot): Likewise.
17361         * misc/vhangup.c (vhangup): Likewise.
17362         * posix/fork.c (__fork): Likewise.
17363         * posix/getegid.c (__getegid): Likewise.
17364         * posix/geteuid.c (__geteuid): Likewise.
17365         * posix/getgid.c (__getgid): Likewise.
17366         * posix/getpid.c (__getpid): Likewise.
17367         * posix/getppid.c (__getppid): Likewise.
17368         * posix/getuid.c (__getuid): Likewise.
17369         * posix/pause.c (pause): Likewise.
17370         * posix/setpgrp.c (setpgrp): Likewise.
17371         * posix/setsid.c (__setsid): Likewise.
17372         * posix/test-vfork.c (noop): Likewise.
17373         * resolv/gethnamaddr.c (_endhtent): Likewise.
17374         (_gethtent): Likewise.
17375         (ht_endhostent): Likewise.
17376         (gethostent): Likewise.
17377         (dns_service): Likewise.
17378         * stdlib/drand48.c (drand48): Likewise.
17379         * stdlib/lrand48.c (lrand48): Likewise.
17380         * stdlib/mrand48.c (mrand48): Likewise.
17381         * stdlib/rand.c (rand): Likewise.
17382         * stdlib/random.c (__random): Likewise.
17383         * stdlib/setenv.c (clearenv): Likewise.
17384         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17385         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17386         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17387         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17388         (__get_nprocs): Likewise.
17389         (__get_phys_pages): Likewise.
17390         (__get_avphys_pages): Likewise.
17391         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17392         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17393         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17394         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17395         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17396         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17397         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17398         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17399         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17400         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17401         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17402         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17403         * sysdeps/posix/clock.c (clock): Likewise.
17404         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17405         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17406         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17407         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17408         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17409         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17410         (__get_nprocs_conf): Likewise.
17411         (__get_phys_pages): Likewise.
17412         (__get_avphys_pages): Likewise.
17413         * time/clock.c (clock): Likewise.
17414         * time/tzset.c (__tzname_max): Likewise.
17415
17416 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17417
17418         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17419         (__bswap_32): Do not use "register".
17420         * crypt/crypt.c (_ufc_doit_r): Likewise.
17421         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17422         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17423         * gmon/gmon.c (__monstartup): Likewise.
17424         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17425         * hurd/hurdmalloc.c (more_memory): Likewise.
17426         (malloc): Likewise.
17427         (free): Likewise.
17428         (realloc): Likewise.
17429         (malloc_fork_prepare): Likewise.
17430         (malloc_fork_parent): Likewise.
17431         (malloc_fork_child): Likewise.
17432         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17433         (_svcauth_des): Likewise.
17434         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17435         * inet/inet_net.c (inet_network): Likewise.
17436         * inet/inet_netof.c (inet_netof): Likewise.
17437         * inet/rcmd.c (__validuser2_sa): Likewise.
17438         * io/fts.c (fts_open): Likewise.
17439         (fts_load): Likewise.
17440         (fts_close): Likewise.
17441         (fts_read): Likewise.
17442         (fts_children): Likewise.
17443         (fts_build): Likewise.
17444         (fts_stat): Likewise.
17445         (fts_sort): Likewise.
17446         (fts_alloc): Likewise.
17447         (fts_lfree): Likewise.
17448         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17449         (_IO_file_xsgetn): Likewise.
17450         (_IO_file_xsgetn_mmap): Likewise.
17451         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17452         (_IO_cookie_write): Likewise.
17453         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17454         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17455         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17456         * malloc/obstack.c (_obstack_begin): Likewise.
17457         (_obstack_begin_1): Likewise.
17458         (_obstack_newchunk): Likewise.
17459         (_obstack_allocated_p): Likewise.
17460         (obstack_free): Likewise.
17461         (_obstack_memory_used): Likewise.
17462         * misc/getttyent.c (getttynam): Likewise.
17463         (getttyent): Likewise.
17464         (skip): Likewise.
17465         (value): Likewise.
17466         * misc/getusershell.c (initshells): Likewise.
17467         * misc/syslog.c (__vsyslog_chk): Likewise.
17468         * misc/ttyslot.c (ttyslot): Likewise.
17469         * nis/nis_hash.c (__nis_hash): Likewise.
17470         * posix/fnmatch_loop.c (FCT): Likewise.
17471         * posix/getconf.c (print_all): Likewise.
17472         (main): Likewise.
17473         * posix/getopt.c (exchange): Likewise.
17474         * posix/glob.c (globfree): Likewise.
17475         (prefix_array): Likewise.
17476         (__glob_pattern_type): Likewise.
17477         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17478         (NS_GET32): Likewise.
17479         (NS_PUT16): Likewise.
17480         (NS_PUT32): Likewise.
17481         * resolv/gethnamaddr.c (getanswer): Likewise.
17482         (gethostbyname2): Likewise.
17483         (gethostbyaddr): Likewise.
17484         (_gethtent): Likewise.
17485         (_gethtbyname2): Likewise.
17486         (_gethtbyaddr): Likewise.
17487         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17488         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17489         * resolv/res_init.c (__res_vinit): Likewise.
17490         (net_mask): Likewise.
17491         * resolv/res_mkquery.c (outchar): Likewise.
17492         (PRINT): Likewise.
17493         * stdio-common/printf_fp.c (outchar): Likewise.
17494         (PRINT): Likewise.
17495         * stdio-common/printf_fphex.c (outchar): Likewise.
17496         (PRINT): Likewise.
17497         * stdio-common/printf_size.c (outchar): Likewise.
17498         (PRINT): Likewise.
17499         * stdio-common/test_rdwr.c (main): Likewise.
17500         * stdio-common/tfformat.c (matches): Likewise.
17501         * stdio-common/vfprintf.c (outchar): Likewise.
17502         (printf_unknown): Likewise.
17503         (buffered_vfprintf): Likewise.
17504         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17505         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17506         (ReadFile): Likewise.
17507         * stdlib/qsort.c (SWAP): Likewise.
17508         (_quicksort): Likewise.
17509         * stdlib/setenv.c (__add_to_environ): Likewise.
17510         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17511         * stdlib/strtol_l.c (__strtol_l): Likewise.
17512         * stdlib/tst-strtod.c (main): Likewise.
17513         * stdlib/tst-strtol.c (main): Likewise.
17514         * stdlib/tst-strtoll.c (main): Likewise.
17515         * string/bits/string2.h (__strcmp_cc): Likewise.
17516         (__strcmp_cg): Likewise.
17517         (__strcspn_c1): Likewise.
17518         (__strcspn_c2): Likewise.
17519         (__strcspn_c3): Likewise.
17520         (__strspn_c1): Likewise.
17521         (__strspn_c2): Likewise.
17522         (__strspn_c3): Likewise.
17523         (__strsep_1c): Likewise.
17524         (__strsep_2c): Likewise.
17525         (__strsep_3c): Likewise.
17526         * string/memccpy.c (__memccpy): Likewise.
17527         * string/stpcpy.c (__stpcpy): Likewise.
17528         * string/strcmp.c (strcmp): Likewise.
17529         * string/strrchr.c (strrchr): Likewise.
17530         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17531         Likewise.
17532         * sysdeps/mach/hurd/getcwd.c
17533         (_hurd_canonicalize_directory_name_internal): Likewise.
17534         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17535         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17536         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17537         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17538         Likewise, in both definitions.
17539         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17540         definitions.
17541         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17542         64] (__bswap_64): Likewise.
17543         * time/test_time.c (main): Likewise.
17544         * time/tzfile.c (__tzfile_read): Likewise.
17545         (__tzfile_compute): Likewise.
17546         * time/tzset.c (__tzset_parse_tz): Likewise.
17547         (tzset_internal): Likewise.
17548         (compute_change): Likewise.
17549         * wcsmbs/wcscat.c (__wcscat): Likewise.
17550         * wcsmbs/wcschr.c (wcschr): Likewise.
17551         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17552         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17553         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17554         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17555         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17556         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17557         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17558         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17559         * wcsmbs/wmemset.c (wmemset): Likewise.
17560
17561 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17562
17563         * scripts/config.guess: Update to version 2013-05-16.
17564         * scripts/config.sub: Update to version 2013-04-24.
17565         * scripts/install-sh: Update to version 2011-11-20.07.
17566         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17567         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17568
17569 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17570
17571         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17572         * elf/sln.c: Likewise.
17573         * hurd/hurd/ioctl.h: Likewise.
17574         * hurd/hurdmalloc.c: Likewise.
17575         * hurd/xattr.c: Likewise.
17576         * include/shlib-compat.h: Likewise.
17577         * inet/ruserpass.c: Likewise.
17578         * libio/iofgets_u.c: Likewise.
17579         * libio/iofgetws_u.c: Likewise.
17580         * locale/programs/ld-identification.c: Likewise.
17581         * locale/programs/ld-time.c: Likewise.
17582         * mach/msg-destroy.c: Likewise.
17583         * nss/nss_files/files-netgrp.c: Likewise.
17584         * resolv/res_data.c: Likewise.
17585         * soft-fp/op-1.h: Likewise.
17586         * soft-fp/op-2.h: Likewise.
17587         * soft-fp/op-4.h: Likewise.
17588         * soft-fp/op-common.h: Likewise.
17589         * stdio-common/printf_fphex.c: Likewise.
17590         * stdlib/strtod_l.c: Likewise.
17591         * sunrpc/rpc/clnt.h: Likewise.
17592         * sysdeps/generic/framestate.c: Likewise.
17593         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17594         * sysdeps/i386/bsd-setjmp.S: Likewise.
17595         * sysdeps/i386/__longjmp.S: Likewise.
17596         * sysdeps/i386/setjmp.S: Likewise.
17597         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17598         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17599         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17600         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17601         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17602         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17603         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17604         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17605         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17606         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17607         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17608         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17609         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17610         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17611         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17612         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17613         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17614         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17615         * sysdeps/ieee754/support.c: Likewise.
17616         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17617         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17618         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17619         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17620         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17621         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17622         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17623         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17624         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17625         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17626         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17627         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17628         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17629         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17630         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17631         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17632         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17634
17635 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17636
17637         * posix/transbug.c: Remove executable mode.
17638
17639 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17640
17641         * crypt/speeds.c: Remove trailing whitespace.
17642         * dlfcn/default.c: Likewise.
17643         * elf/ifuncdep2.c: Likewise.
17644         * elf/ifuncmain1.c: Likewise.
17645         * elf/ifuncmain1vis.c: Likewise.
17646         * elf/testobj.h: Likewise.
17647         * elf/tst-stackguard1.c: Likewise.
17648         * gmon/sys/gmon.h: Likewise.
17649         * hurd/hurdmsg.c: Likewise.
17650         * hurd/new-fd.c: Likewise.
17651         * hurd/ports-get.c: Likewise.
17652         * iconvdata/ibm1008_420.c: Likewise.
17653         * inet/tst-getni1.c: Likewise.
17654         * inet/tst-getni2.c: Likewise.
17655         * libio/ioungetc.c: Likewise.
17656         * libio/wfiledoalloc.c: Likewise.
17657         * manual/libm-err-tab.pl: Likewise.
17658         * math/w_dremf.c: Likewise.
17659         * misc/ftruncate.c: Likewise.
17660         * posix/bug-glob2.c: Likewise.
17661         * posix/tst-pcre.c: Likewise.
17662         * posix/wait4.c: Likewise.
17663         * resolv/README: Likewise.
17664         * resolv/res_debug.h: Likewise.
17665         * resolv/tst-inet_ntop.c: Likewise.
17666         * setjmp/bug269-setjmp.c: Likewise.
17667         * soft-fp/extended.h: Likewise.
17668         * soft-fp/op-1.h: Likewise.
17669         * soft-fp/op-2.h: Likewise.
17670         * soft-fp/op-4.h: Likewise.
17671         * soft-fp/op-8.h: Likewise.
17672         * soft-fp/testit.c: Likewise.
17673         * stdio-common/bug16.c: Likewise.
17674         * stdlib/random.c: Likewise.
17675         * sunrpc/rpcsvc/rquota.x: Likewise.
17676         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17677         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17678         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17679         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17680         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17681         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17682         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17683         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17684         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17685         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17686         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17687         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17688         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17689         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17690         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17691         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17692         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17693         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17694         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17695         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17696         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17697         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17698         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17699         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17700         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17701         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17703         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17704         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17705         * sysdeps/ieee754/s_lib_version.c: Likewise.
17706         * sysdeps/mach/hurd/check_fds.c: Likewise.
17707         * sysdeps/mach/hurd/getsockname.c: Likewise.
17708         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17709         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17710         * sysdeps/powerpc/bits/link.h: Likewise.
17711         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17712         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17713         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17714         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17715         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17716         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17717         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17718         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17719         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17720         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17721         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17722         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17723         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17724         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17725         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17726         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17727         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17728         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17729         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17730         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17731         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17732         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17733         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17734         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17735         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17736         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17737         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17738         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17739         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17740         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17741         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17742         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17743         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17744         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17745         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17746         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17747         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17748         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17749         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17750         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17751         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17752         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17753         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17754         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17755         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17756         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17757         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17758         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17759         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17760         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17761         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17762         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17763         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17764         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17765         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17766         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17767         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17768         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17769         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17770         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17771         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17772         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17773         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17774         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17775         * sysdeps/powerpc/sysdep.h: Likewise.
17776         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17777         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17778         * sysdeps/sh/dl-trampoline.S: Likewise.
17779         * sysdeps/sh/memset.S: Likewise.
17780         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17781         * sysdeps/sh/strlen.S: Likewise.
17782         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17783         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17784         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17785         * sysdeps/sparc/sparc32/rem.S: Likewise.
17786         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17787         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17788         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17789         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17790         * sysdeps/sparc/sparc32/urem.S: Likewise.
17791         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17792         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17793         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17794         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17795         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17796         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17797         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17798         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17799         * sysdeps/unix/bsd/times.c: Likewise.
17800         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17801         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17805         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17806         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17807         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17808         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17809         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17810         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17811         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17812         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17813         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17814         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17815         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17816         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17817         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17818         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17819         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17820         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17821         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17822         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17823         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17824         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17825         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17826         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17827         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17828         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17829         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17830         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17831         * sysdeps/x86_64/strcspn.S: Likewise.
17832
17833 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17834
17835         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17836         generated file.  Regenerate properly from gen-translit.pl.
17837         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17838         locale/C-translit.h.
17839
17840 2013-06-05  Andreas Schwab  <schwab@suse.de>
17841
17842         [BZ #15100]
17843         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17844         week as 6 instead of -1.
17845         * time/tst-strptime.c (day_tests): Add test case.
17846
17847 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17848
17849         * sysdeps/generic/math_private.h
17850         (libc_feholdexcept_setround_53bit): Replace with
17851         libc_feholdsetround_53bit.
17852         (libc_feupdateenv_53bit): Replace with
17853         libc_feresetround_53bit.
17854         (SET_RESTORE_ROUND_53BIT): Adjust.
17855
17856 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17857
17858         * string/test-strchrnul.c: Add copyright header.
17859
17860         * posix/tst-getaddrinfo4.c: Increase test timeout.
17861
17862 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17863
17864         [BZ #15536]
17865         * math/libm-test.inc (MAX_EXP): Remove
17866         (MIN_EXP): Define.
17867         (ulp): Use MIN_EXP - MANT_DIG.
17868         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17869
17870 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17871
17872         * po/be.po: Revert last change.
17873         * po/zh_CN.po: Likewise.
17874         * po/header.pot: Likewise.
17875
17876 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17877
17878         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17879         link-libc-deps to empty as target-specific variable.
17880         * Makerules (link-libc-args): New variable.
17881         (libc-for-link): Likewise.
17882         (link-libc-deps): Likewise.
17883         (lib%.so): Depend on $(link-libc-deps).  Link with
17884         $(link-libc-args).
17885         (build-module): Link with $(link-libc-args).
17886         (build-module-asneeded): Likewise.
17887         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17888         list of objects.
17889         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17890         target-specific variable.
17891         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17892         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17893         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17894         libc.
17895         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17896         libc and ld.so.
17897         ($(objpfx)libpcprofile.so): Likewise.
17898         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17899         libc_nonshared.a.
17900         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17901         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17902         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17903         $(link-libc-deps).
17904         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17905         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17906         * login/Makefile ($(objpfx)libutil.so): Likewise.
17907         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17908         * math/Makefile ($(objpfx)libm.so): Likewise.
17909         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17910         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17911         variable instead of depending directly on libc.
17912         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17913         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17914         $(link-libc-deps).
17915         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17916         libc.
17917         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17918         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17919         ($(objpfx)libanl.so): Likewise.
17920         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17921         ld.so.
17922         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17923         $(link-libc-deps).
17924         * sysdeps/i386/fpu/Makefile: Remove file.
17925         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17926         ($(objpfx)libm.so): Remove dependency on ld.so.
17927
17928 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17929
17930         [BZ # 15553]
17931         * nis/yp_xdr.c (XDRMAXNAME): Define.
17932         (XDRMAXRECORD): Define.
17933         (xdr_domainname): Use XDRMAXNAME.
17934         (xdr_mapname): Likewise.
17935         (xdr_peername): Likewise.
17936         (xdr_keydat): Use XDRMAXRECORD.
17937         (xdr_valdat): Likewise.
17938
17939 2013-05-30  Jeff Law  <law@redhat.com>
17940
17941         [BZ #14256]
17942         * manual/errno.texi (ESTALE): Update to account for more than
17943         just NFS file systems.
17944         * sysdeps/gnu/errlist.c: Regenerated.
17945
17946 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17947
17948         [BZ #15465]
17949         * elf/Makefile (tests): Add tst-null-argv.
17950         (modules-names):  Add tst-null-argv-lib.
17951         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17952         (tst-null-argv-ENV): Set environment for tst-null-argv.
17953         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17954         (RTLD_PROGNAME): New macro.
17955         * elf/tst-null-argv.c: New test case.
17956         * elf/tst-null-argv-lib.c: Library for test case.
17957         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17958         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17959         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17960         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17961         * elf/dl-init.c (call_init): Likewise.
17962         (_dl_init): Likewise.
17963         * elf/dl-load.c (print_search_path): Likewise.
17964         (_dl_map_object): Likewise.
17965         * elf/dl-lookup.c (do_lookup_x): Likewise.
17966         (add_dependency): Likewise.
17967         (_dl_lookup_symbol_x): Likewise.
17968         (_dl_debug_bindings): Likewise.
17969         * elf/dl-open.c (_dl_show_scope): Likewise.
17970         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17971         * elf/dl-version.c (match_symbol): Likewise.
17972         (_dl_check_map_versions): Likewise.
17973         * elf/rtld.c (dl_main): Likewise.
17974         (print_unresolved): Use RTLD_PROGNAME.
17975         (print_missing_version): Likewise.
17976         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17977         (elf_machine_rela): Likewise.
17978         * sysdeps/powerpc/powerpc32/dl-machine.c
17979         (__process_machine_rela): Likewise.
17980         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17981         Likewise.
17982         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17983         Likewise.
17984         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17985         Likewise.
17986         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17987         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17988         Likewise.
17989         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17990         Likewise.
17991         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17992
17993 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17994
17995         * po/be.po: Add descriptive title.
17996         * po/zh_CN.po: Likewise.
17997         * po/header.pot: Likewise.
17998
17999 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18000
18001         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18002         error message.
18003         (enlarge_archive): Likewise.
18004
18005 2013-05-28  Ben North  <ben@redfrontdoor.org>
18006
18007         * manual/arith.texi (frexp): It is the magnitude of the return
18008         value which lies in [0.5, 1), not the return value itself.
18009
18010 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18011
18012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18013
18014 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18015
18016         * stdio-common/bug26.c (main): Correct fscanf template.
18017
18018         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18019         declare _dl_skip_args.
18020
18021         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18022         Don't declare.
18023
18024         * manual/platform.texi: Add missing @end deftypefun.
18025
18026 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18027
18028         [BZ #15529]
18029         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18030         bit of mantissa of 2^16382.
18031         * math/libm-test.inc (hypot_test_data): Add more tests.
18032
18033         * math/libm-test.inc: Add drem and pow10 to list of tested
18034         functions.
18035         (pow10_test): New function.
18036         (drem_test): Likewise.
18037         (drem_test_tonearest): Likewise.
18038         (drem_test_towardzero): Likewise.
18039         (drem_test_downward): Likewise.
18040         (drem_test_upward): Likewise.
18041         (main): Call the new functions.
18042
18043         * math/libm-test.inc (finite_test_data): Remove.
18044         (finite_test): Run tests from isfinite_test_data.
18045         (gamma_test_data): Remove.
18046         (gamma_test): Run tests from lgamma_test_data.
18047         * sysdeps/i386/fpu/libm-test-ulps: Update.
18048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18049
18050 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18051
18052         * manual/platform.texi: Add PowerPC PPR function set documentation.
18053         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18054         implementation.
18055
18056 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18057
18058         * math/libm-test.inc (MAX_EXP): Define.
18059         (ULPDIFF): Define.
18060         (ulp): New function.
18061         (check_float_internal): Use ULPDIFF.
18062         (cpow_test): Disable failing test.
18063         (check_ulp): Test ulp() implemetnation.
18064         (main): Call check_ulp before starting tests.
18065
18066 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18067
18068         * math/gen-libm-test.pl (generate_testfile): Do not handle
18069         START_DATA and END_DATA.
18070         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18071         END_DATA.
18072         (acos_tonearest_test_data): Likewise.
18073         (acos_towardzero_test_data): Likewise.
18074         (acos_downward_test_data): Likewise.
18075         (acos_upward_test_data): Likewise.
18076         (acosh_test_data): Likewise.
18077         (asin_test_data): Likewise.
18078         (asin_tonearest_test_data): Likewise.
18079         (asin_towardzero_test_data): Likewise.
18080         (asin_downward_test_data): Likewise.
18081         (asin_upward_test_data): Likewise.
18082         (asinh_test_data): Likewise.
18083         (atan_test_data): Likewise.
18084         (atanh_test_data): Likewise.
18085         (atan2_test_data): Likewise.
18086         (cabs_test_data): Likewise.
18087         (cacos_test_data): Likewise.
18088         (cacosh_test_data): Likewise.
18089         (carg_test_data): Likewise.
18090         (casin_test_data): Likewise.
18091         (casinh_test_data): Likewise.
18092         (catan_test_data): Likewise.
18093         (catanh_test_data): Likewise.
18094         (cbrt_test_data): Likewise.
18095         (ccos_test_data): Likewise.
18096         (ccosh_test_data): Likewise.
18097         (ceil_test_data): Likewise.
18098         (cexp_test_data): Likewise.
18099         (cimag_test_data): Likewise.
18100         (clog_test_data): Likewise.
18101         (clog10_test_data): Likewise.
18102         (conj_test_data): Likewise.
18103         (copysign_test_data): Likewise.
18104         (cos_test_data): Likewise.
18105         (cos_tonearest_test_data): Likewise.
18106         (cos_towardzero_test_data): Likewise.
18107         (cos_downward_test_data): Likewise.
18108         (cos_upward_test_data): Likewise.
18109         (cosh_test_data): Likewise.
18110         (cosh_tonearest_test_data): Likewise.
18111         (cosh_towardzero_test_data): Likewise.
18112         (cosh_downward_test_data): Likewise.
18113         (cosh_upward_test_data): Likewise.
18114         (cpow_test_data): Likewise.
18115         (cproj_test_data): Likewise.
18116         (creal_test_data): Likewise.
18117         (csin_test_data): Likewise.
18118         (csinh_test_data): Likewise.
18119         (csqrt_test_data): Likewise.
18120         (ctan_test_data): Likewise.
18121         (ctan_tonearest_test_data): Likewise.
18122         (ctan_towardzero_test_data): Likewise.
18123         (ctan_downward_test_data): Likewise.
18124         (ctan_upward_test_data): Likewise.
18125         (ctanh_test_data): Likewise.
18126         (ctanh_tonearest_test_data): Likewise.
18127         (ctanh_towardzero_test_data): Likewise.
18128         (ctanh_downward_test_data): Likewise.
18129         (ctanh_upward_test_data): Likewise.
18130         (erf_test_data): Likewise.
18131         (erfc_test_data): Likewise.
18132         (exp_test_data): Likewise.
18133         (exp_tonearest_test_data): Likewise.
18134         (exp_towardzero_test_data): Likewise.
18135         (exp_downward_test_data): Likewise.
18136         (exp_upward_test_data): Likewise.
18137         (exp10_test_data): Likewise.
18138         (exp2_test_data): Likewise.
18139         (expm1_test_data): Likewise.
18140         (fabs_test_data): Likewise.
18141         (fdim_test_data): Likewise.
18142         (finite_test_data): Likewise.
18143         (floor_test_data): Likewise.
18144         (fma_test_data): Likewise.
18145         (fma_towardzero_test_data): Likewise.
18146         (fma_downward_test_data): Likewise.
18147         (fma_upward_test_data): Likewise.
18148         (fmax_test_data): Likewise.
18149         (fmin_test_data): Likewise.
18150         (fmod_test_data): Likewise.
18151         (fpclassify_test_data): Likewise.
18152         (frexp_test_data): Likewise.
18153         (gamma_test_data): Likewise.
18154         (hypot_test_data): Likewise.
18155         (ilogb_test_data): Likewise.
18156         (isfinite_test_data): Likewise.
18157         (isgreater_test_data): Likewise.
18158         (isgreaterequal_test_data): Likewise.
18159         (isinf_test_data): Likewise.
18160         (isless_test_data): Likewise.
18161         (islessequal_test_data): Likewise.
18162         (islessgreater_test_data): Likewise.
18163         (isnan_test_data): Likewise.
18164         (isnormal_test_data): Likewise.
18165         (issignaling_test_data): Likewise.
18166         (isunordered_test_data): Likewise.
18167         (j0_test_data): Likewise.
18168         (j1_test_data): Likewise.
18169         (jn_test_data): Likewise.
18170         (ldexp_test_data): Likewise.
18171         (lgamma_test_data): Likewise.
18172         (lrint_test_data): Likewise.
18173         (lrint_tonearest_test_data): Likewise.
18174         (lrint_towardzero_test_data): Likewise.
18175         (lrint_downward_test_data): Likewise.
18176         (lrint_upward_test_data): Likewise.
18177         (llrint_test_data): Likewise.
18178         (llrint_tonearest_test_data): Likewise.
18179         (llrint_towardzero_test_data): Likewise.
18180         (llrint_downward_test_data): Likewise.
18181         (llrint_upward_test_data): Likewise.
18182         (log_test_data): Likewise.
18183         (log10_test_data): Likewise.
18184         (log1p_test_data): Likewise.
18185         (log2_test_data): Likewise.
18186         (logb_test_data): Likewise.
18187         (logb_downward_test_data): Likewise.
18188         (lround_test_data): Likewise.
18189         (llround_test_data): Likewise.
18190         (modf_test_data): Likewise.
18191         (nearbyint_test_data): Likewise.
18192         (nextafter_test_data): Likewise.
18193         (nexttoward_test_data): Likewise.
18194         (pow_test_data): Likewise.
18195         (pow_tonearest_test_data): Likewise.
18196         (pow_towardzero_test_data): Likewise.
18197         (pow_downward_test_data): Likewise.
18198         (pow_upward_test_data): Likewise.
18199         (remainder_test_data): Likewise.
18200         (remainder_tonearest_test_data): Likewise.
18201         (remainder_towardzero_test_data): Likewise.
18202         (remainder_downward_test_data): Likewise.
18203         (remainder_upward_test_data): Likewise.
18204         (remquo_test_data): Likewise.
18205         (rint_test_data): Likewise.
18206         (rint_tonearest_test_data): Likewise.
18207         (rint_towardzero_test_data): Likewise.
18208         (rint_downward_test_data): Likewise.
18209         (rint_upward_test_data): Likewise.
18210         (round_test_data): Likewise.
18211         (scalb_test_data): Likewise.
18212         (scalbn_test_data): Likewise.
18213         (scalbln_test_data): Likewise.
18214         (signbit_test_data): Likewise.
18215         (sin_test_data): Likewise.
18216         (sin_tonearest_test_data): Likewise.
18217         (sin_towardzero_test_data): Likewise.
18218         (sin_downward_test_data): Likewise.
18219         (sin_upward_test_data): Likewise.
18220         (sincos_test_data): Likewise.
18221         (sinh_test_data): Likewise.
18222         (sinh_tonearest_test_data): Likewise.
18223         (sinh_towardzero_test_data): Likewise.
18224         (sinh_downward_test_data): Likewise.
18225         (sinh_upward_test_data): Likewise.
18226         (sqrt_test_data): Likewise.
18227         (tan_test_data): Likewise.
18228         (tan_tonearest_test_data): Likewise.
18229         (tan_towardzero_test_data): Likewise.
18230         (tan_downward_test_data): Likewise.
18231         (tan_upward_test_data): Likewise.
18232         (tanh_test_data): Likewise.
18233         (tgamma_test_data): Likewise.
18234         (trunc_test_data): Likewise.
18235         (y0_test_data): Likewise.
18236         (y1_test_data): Likewise.
18237         (yn_test_data): Likewise.
18238         (significand_test_data): Likewise.
18239
18240         * math/gen-libm-test.pl (@functions): Remove variable.
18241         (generate_testfile): Don't handle START and END lines.
18242         * math/libm-test.inc (START): New macro.
18243         (END): Likewise.
18244         (END_COMPLEX): Likewise.
18245         (acos_test): Use END macro without arguments.
18246         (acos_test_tonearest): Likewise.
18247         (acos_test_towardzero): Likewise.
18248         (acos_test_downward): Likewise.
18249         (acos_test_upward): Likewise.
18250         (acosh_test): Likewise.
18251         (asin_test): Likewise.
18252         (asin_test_tonearest): Likewise.
18253         (asin_test_towardzero): Likewise.
18254         (asin_test_downward): Likewise.
18255         (asin_test_upward): Likewise.
18256         (asinh_test): Likewise.
18257         (atan_test): Likewise.
18258         (atanh_test): Likewise.
18259         (atan2_test): Likewise.
18260         (cabs_test): Likewise.
18261         (cacos_test): Use END_COMPLEX macro without arguments.
18262         (cacosh_test): Likewise.
18263         (carg_test): Use END macro without arguments.
18264         (casin_test): Use END_COMPLEX macro without arguments.
18265         (casinh_test): Likewise.
18266         (catan_test): Likewise.
18267         (catanh_test): Likewise.
18268         (cbrt_test): Use END macro without arguments.
18269         (ccos_test): Use END_COMPLEX macro without arguments.
18270         (ccosh_test): Likewise.
18271         (ceil_test): Use END macro without arguments.
18272         (cexp_test): Use END_COMPLEX macro without arguments.
18273         (cimag_test): Use END macro without arguments.
18274         (clog_test): Use END_COMPLEX macro without arguments.
18275         (clog10_test): Likewise.
18276         (conj_test): Likewise.
18277         (copysign_test): Use END macro without arguments.
18278         (cos_test): Likewise.
18279         (cos_test_tonearest): Likewise.
18280         (cos_test_towardzero): Likewise.
18281         (cos_test_downward): Likewise.
18282         (cos_test_upward): Likewise.
18283         (cosh_test): Likewise.
18284         (cosh_test_tonearest): Likewise.
18285         (cosh_test_towardzero): Likewise.
18286         (cosh_test_downward): Likewise.
18287         (cosh_test_upward): Likewise.
18288         (cpow_test): Use END_COMPLEX macro without arguments.
18289         (cproj_test): Likewise.
18290         (creal_test): Use END macro without arguments.
18291         (csin_test): Use END_COMPLEX macro without arguments.
18292         (csinh_test): Likewise.
18293         (csqrt_test): Likewise.
18294         (ctan_test): Likewise.
18295         (ctan_test_tonearest): Likewise.
18296         (ctan_test_towardzero): Likewise.
18297         (ctan_test_downward): Likewise.
18298         (ctan_test_upward): Likewise.
18299         (ctanh_test): Likewise.
18300         (ctanh_test_tonearest): Likewise.
18301         (ctanh_test_towardzero): Likewise.
18302         (ctanh_test_downward): Likewise.
18303         (ctanh_test_upward): Likewise.
18304         (erf_test): Use END macro without arguments.
18305         (erfc_test): Likewise.
18306         (exp_test): Likewise.
18307         (exp_test_tonearest): Likewise.
18308         (exp_test_towardzero): Likewise.
18309         (exp_test_downward): Likewise.
18310         (exp_test_upward): Likewise.
18311         (exp10_test): Likewise.
18312         (exp2_test): Likewise.
18313         (expm1_test): Likewise.
18314         (fabs_test): Likewise.
18315         (fdim_test): Likewise.
18316         (finite_test): Likewise.
18317         (floor_test): Likewise.
18318         (fma_test): Likewise.
18319         (fma_test_towardzero): Likewise.
18320         (fma_test_downward): Likewise.
18321         (fma_test_upward): Likewise.
18322         (fmax_test): Likewise.
18323         (fmin_test): Likewise.
18324         (fmod_test): Likewise.
18325         (fpclassify_test): Likewise.
18326         (frexp_test): Likewise.
18327         (gamma_test): Likewise.
18328         (hypot_test): Likewise.
18329         (ilogb_test): Likewise.
18330         (isfinite_test): Likewise.
18331         (isgreater_test): Likewise.
18332         (isgreaterequal_test): Likewise.
18333         (isinf_test): Likewise.
18334         (isless_test): Likewise.
18335         (islessequal_test): Likewise.
18336         (islessgreater_test): Likewise.
18337         (isnan_test): Likewise.
18338         (isnormal_test): Likewise.
18339         (issignaling_test): Likewise.
18340         (isunordered_test): Likewise.
18341         (j0_test): Likewise.
18342         (j1_test): Likewise.
18343         (jn_test): Likewise.
18344         (ldexp_test): Likewise.
18345         (lgamma_test): Likewise.
18346         (lrint_test): Likewise.
18347         (lrint_test_tonearest): Likewise.
18348         (lrint_test_towardzero): Likewise.
18349         (lrint_test_downward): Likewise.
18350         (lrint_test_upward): Likewise.
18351         (llrint_test): Likewise.
18352         (llrint_test_tonearest): Likewise.
18353         (llrint_test_towardzero): Likewise.
18354         (llrint_test_downward): Likewise.
18355         (llrint_test_upward): Likewise.
18356         (log_test): Likewise.
18357         (log10_test): Likewise.
18358         (log1p_test): Likewise.
18359         (log2_test): Likewise.
18360         (logb_test): Likewise.
18361         (logb_test_downward): Likewise.
18362         (lround_test): Likewise.
18363         (llround_test): Likewise.
18364         (modf_test): Likewise.
18365         (nearbyint_test): Likewise.
18366         (nextafter_test): Likewise.
18367         (nexttoward_test): Likewise.
18368         (pow_test): Likewise.
18369         (pow_test_tonearest): Likewise.
18370         (pow_test_towardzero): Likewise.
18371         (pow_test_downward): Likewise.
18372         (pow_test_upward): Likewise.
18373         (remainder_test): Likewise.
18374         (remainder_test_tonearest): Likewise.
18375         (remainder_test_towardzero): Likewise.
18376         (remainder_test_downward): Likewise.
18377         (remainder_test_upward): Likewise.
18378         (remquo_test): Likewise.
18379         (rint_test): Likewise.
18380         (rint_test_tonearest): Likewise.
18381         (rint_test_towardzero): Likewise.
18382         (rint_test_downward): Likewise.
18383         (rint_test_upward): Likewise.
18384         (round_test): Likewise.
18385         (scalb_test): Likewise.
18386         (scalbn_test): Likewise.
18387         (scalbln_test): Likewise.
18388         (signbit_test): Likewise.
18389         (sin_test): Likewise.
18390         (sin_test_tonearest): Likewise.
18391         (sin_test_towardzero): Likewise.
18392         (sin_test_downward): Likewise.
18393         (sin_test_upward): Likewise.
18394         (sincos_test): Likewise.
18395         (sinh_test): Likewise.
18396         (sinh_test_tonearest): Likewise.
18397         (sinh_test_towardzero): Likewise.
18398         (sinh_test_downward): Likewise.
18399         (sinh_test_upward): Likewise.
18400         (sqrt_test): Likewise.
18401         (tan_test): Likewise.
18402         (tan_test_tonearest): Likewise.
18403         (tan_test_towardzero): Likewise.
18404         (tan_test_downward): Likewise.
18405         (tan_test_upward): Likewise.
18406         (tanh_test): Likewise.
18407         (tgamma_test): Likewise.
18408         (trunc_test): Likewise.
18409         (y0_test): Likewise.
18410         (y1_test): Likewise.
18411         (yn_test): Likewise.
18412         (significand_test): Likewise.
18413
18414 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18415
18416         [BZ #15381]
18417         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18418
18419 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18420
18421         [BZ #14894]
18422         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18423         __ppc_mdoio and __ppc_mdoom.
18424         * manual/platform.texi: Document new functions __ppc_yield,
18425         __ppc_mdoio and __ppc_mdoom.
18426
18427 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18428
18429         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18430         (main): Mention "tls" pseudo-hwcap is legacy.
18431         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18432
18433 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18434
18435         * math/gen-libm-test.pl (parse_args): Output only string of
18436         arguments as text for test name, not full call or descriptions of
18437         tests for extra outputs.
18438         (generate_testfile): Do not pass function name to parse_args.
18439         Generate this_func variable from START.
18440         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18441         field to arg_str.
18442         (struct test_ff_f_data): Likewise.
18443         (test_ff_f_data_nexttoward): Likewise.
18444         (struct test_fi_f_data): Likewise.
18445         (struct test_fl_f_data): Likewise.
18446         (struct test_if_f_data): Likewise.
18447         (struct test_fff_f_data): Likewise.
18448         (struct test_c_f_data): Likewise.
18449         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18450         (struct test_fF_f1_data): Likewise.
18451         (struct test_ffI_f1_data): Likewise.
18452         (struct test_c_c_data): Rename test_name field to arg_str.
18453         (struct test_cc_c_data): Likewise.
18454         (struct test_f_i_data): Likewise.
18455         (struct test_ff_i_data): Likewise.
18456         (struct test_f_l_data): Likewise.
18457         (struct test_f_L_data): Likewise.
18458         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18459         and extra2_name.
18460         (COMMON_TEST_SETUP): New macro.
18461         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18462         (COMMON_TEST_CLEANUP): Likewise.
18463         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18464         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18465         macros.
18466         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18467         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18468         macros.
18469         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18470         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18471         cleanup macros.
18472         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18473         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18474         macros.
18475         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18476         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18477         macros.
18478         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18479         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18480         cleanup macros.
18481         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18482         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18483         cleanup macros.
18484         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18485         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18486         cleanup macros.
18487         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18488         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18489         macros.
18490         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18491         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18492         macros.
18493         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18494         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18495         macros.
18496         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18497         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18498         cleanup macros.
18499         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18500         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18501         cleanup macros.
18502         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18503         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18504         macros.
18505         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18506         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18507         cleanup macros.
18508         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18509         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18510         macros.
18511         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18512         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18513         macros.
18514         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18515         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18516         cleanup macros.
18517         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18518
18519 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18520
18521         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18522         to _sifields.sigfault.
18523         (si_addr_lsb): Define new macro.
18524         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18525         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18526         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18527
18528 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18529
18530         [BZ #15441]
18531         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18532         returns -1.
18533         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18534         null return -1.
18535         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18536         loading the domain.
18537
18538 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18539
18540         * math/gen-libm-test.pl (parse_args): Do not include expected
18541         result in test name.
18542         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18543         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18544         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18545         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18546         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18548
18549 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18550
18551         * benchtests/Makefile: Sort function entries.
18552
18553         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18554         tanh, asinh, acosh, atanh.
18555         * benchtests/acos-inputs: New file.
18556         * benchtests/acosh-inputs: New file.
18557         * benchtests/asin-inputs: New file.
18558         * benchtests/asinh-inputs: New file.
18559         * benchtests/atanh-inputs: New file.
18560         * benchtests/cosh-inputs: New file.
18561         * benchtests/log-inputs: New file.
18562         * benchtests/sinh-inputs: New file.
18563         * benchtests/tanh-inputs: New file.
18564
18565 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18566
18567         [BZ #15339]
18568         * posix/tst-getaddrinfo4.c: New test.
18569         * posix/Makefile (tests): Add it.
18570
18571 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18572
18573         [BZ #15339]
18574         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18575         when no services were used.
18576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18577         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18578
18579 2013-05-21  Andreas Schwab  <schwab@suse.de>
18580
18581         [BZ #15014]
18582         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18583         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18584         successful.
18585         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18586         redundant variable declarations and reallocation of buffer when
18587         parsing as IPv6 address.  Always set NSS status when called from
18588         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18589         buffer too small.  Correct computation of needed size.
18590         * nss/Makefile (tests): Add test-digits-dots.
18591         * nss/test-digits-dots.c: New test.
18592
18593 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18594
18595         * benchtests/Makefile: Remove instructions for adding
18596         benchmark tests.
18597         * benchtests/README: New file to explain how to execute and
18598         enhance the benchmark tests.
18599
18600 2013-05-21  Andreas Schwab  <schwab@suse.de>
18601
18602         [BZ #15493]
18603         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18604         * setjmp/tst-sigsetjmp.c: New test.
18605
18606 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18607
18608         * sysdeps/x86_64/memset.S (memset): New implementation.
18609         (__bzero): Likewise.
18610         (__memset_tail): New function.
18611
18612 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18613
18614         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18615         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18616         __memcpy_sse2_unaligned ifunc selection.
18617         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18618         Add memcpy-sse2-unaligned.S.
18619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18620         Add: __memcpy_sse2_unaligned.
18621
18622 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18623
18624         [BZ #15490]
18625         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18626         math_force_eval before restoring floating-point envrionment.
18627         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18628         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18629         Likewise.
18630         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18631         <math_private.h>.
18632         (__nearbyintl): Use math_force_eval before restoring
18633         floating-point environment.
18634         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18635
18636         * math/gen-libm-test.pl (special_functions): Remove.
18637         (parse_args): Don't handle TEST_extra.  Handle functions with no
18638         return value.
18639         * math/libm-test.inc (struct test_sincos_data): Replace with
18640         struct test_fFF_11_data.
18641         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18642         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18643         (sincos_test_data): Change element type to struct
18644         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18645         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18646         RUN_TEST_LOOP_sincos.
18647         * math/README.libm-test: Don't mention special handling of
18648         individual functions.
18649         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18650         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18651         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18652         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18653         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18655
18656         * math/gen-libm-test.pl (get_variable): Remove function.
18657         (parse_args): Don't show pointer parameters to call in test
18658         names.  Use "extra output N" in test names for extra outputs
18659         rather than naming variables.
18660
18661 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18662
18663         [BZ #15488]
18664         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18665         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18666         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18667         double tests.
18668         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18669         disable.
18670         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18671         check_long_double.
18672
18673         * math/gen-libm-test.pl (@tests): Remove variable.
18674         ($count): Likewise.
18675         (new_test): Remove function.
18676         (show_exceptions): New function.
18677         (special_functions): Use show_exceptions instead of new_test.
18678         (parse_args): Likewise.
18679         (generate_testfile): Pass only function name in generated call to
18680         print_max_error or print_complex_max_error.
18681         (get_ulps): Do not handle complex tests specially.
18682         (output_test): Rename to ...
18683         (get_all_ulps_for_test): ... this.  Return a string rather than
18684         printing to a file.  Require ulps to be present.
18685         (output_ulps): Generate arrays rather than #defines.
18686         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18687         (struct ulp_data): New type.
18688         (BUILD_COMPLEX_ULP): Remove macro.
18689         (compare_ulp_data): New function.
18690         (find_ulps): Likewise.
18691         (find_test_ulps): Likewise.
18692         (find_function_ulps): Likewise.
18693         (find_complex_function_ulps): Likewise.
18694         (print_max_error): Determine allowed ulps using
18695         find_function_ulps.
18696         (print_complex_max_error): Determine allowed ulps using
18697         find_complex_function_ulps.
18698         (check_float_internal): Determine max ulps using find_test_ulps.
18699         (check_float): Do not take max_ulp parameter.  Update call to
18700         check_float_internal.
18701         (check_complex): Likewise.
18702         (check_int): Do not take max_ulp parameter.
18703         (check_long): Likewise.
18704         (check_bool): Likewise.
18705         (check_longlong): Likewise.
18706         (struct test_f_f_data): Remove max_ulp field.
18707         (struct test_ff_f_data): Likewise.
18708         (struct test_ff_f_data_nexttoward): Likewise.
18709         (struct test_fi_f_data): Likewise.
18710         (struct test_fl_f_data): Likewise.
18711         (struct test_if_f_data): Likewise.
18712         (struct test_fff_f_data): Likewise.
18713         (struct test_c_f_data): Likewise.
18714         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18715         (struct test_fF_f1_data): Likewise.
18716         (struct test_ffI_f1_data): Likewise.
18717         (struct test_c_c_data): Remove max_ulp field.
18718         (struct test_cc_c_data): Likewise.
18719         (struct test_f_i_data): Likewise.
18720         (struct test_ff_i_data): Likewise.
18721         (struct test_f_l_data): Likewise.
18722         (struct test_f_L_data): Likewise.
18723         (struct test_sincos_data): Likewise.
18724         (RUN_TEST_f_f): Do not handle ulps.
18725         (RUN_TEST_LOOP_f_f): Likewise.
18726         (RUN_TEST_2_f): Likewise.
18727         (RUN_TEST_LOOP_2_f): Likewise.
18728         (RUN_TEST_fff_f): Likewise.
18729         (RUN_TEST_LOOP_fff_f): Likewise.
18730         (RUN_TEST_c_f): Likewise.
18731         (RUN_TEST_LOOP_c_f): Likewise.
18732         (RUN_TEST_f_f1): Likewise.
18733         (RUN_TEST_LOOP_f_f1): Likewise.
18734         (RUN_TEST_fF_f1): Likewise.
18735         (RUN_TEST_LOOP_fF_f1): Likewise.
18736         (RUN_TEST_fI_f1): Likewise.
18737         (RUN_TEST_LOOP_fI_f1): Likewise.
18738         (RUN_TEST_ffI_f1): Likewise.
18739         (RUN_TEST_LOOP_ffI_f1): Likewise.
18740         (RUN_TEST_c_c): Likewise.
18741         (RUN_TEST_LOOP_c_c): Likewise.
18742         (RUN_TEST_cc_c): Likewise.
18743         (RUN_TEST_LOOP_cc_c): Likewise.
18744         (RUN_TEST_f_i): Likewise.
18745         (RUN_TEST_LOOP_f_i): Likewise.
18746         (RUN_TEST_f_i_tg): Likewise.
18747         (RUN_TEST_LOOP_f_i_tg): Likewise.
18748         (RUN_TEST_ff_i_tg): Likewise.
18749         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18750         (RUN_TEST_f_b): Likewise.
18751         (RUN_TEST_LOOP_f_b): Likewise.
18752         (RUN_TEST_f_b_tg): Likewise.
18753         (RUN_TEST_LOOP_f_b_tg): Likewise.
18754         (RUN_TEST_f_l): Likewise.
18755         (RUN_TEST_LOOP_f_l): Likewise.
18756         (RUN_TEST_f_L): Likewise.
18757         (RUN_TEST_LOOP_f_L): Likewise.
18758         (RUN_TEST_sincos): Likewise.
18759         (RUN_TEST_LOOP_sincos): Likewise.
18760
18761 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18762
18763         [BZ #15480]
18764         [BZ #15485]
18765         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18766         main case of finite arguments, set rounding mode to FE_TONEAREST
18767         and discard exceptions.
18768         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18769         exceptions.
18770         (remainder_tonearest_test_data): New variable.
18771         (remainder_test_tonearest): New function.
18772         (remainder_towardzero_test_data): New variable.
18773         (remainder_test_towardzero): New function.
18774         (remainder_downward_test_data): New variable.
18775         (remainder_test_downward): New function.
18776         (remainder_upward_test_data): New variable.
18777         (remainder_test_upward): New function.
18778         (main): Call the new test functions.
18779
18780         * math/libm-test.inc (struct test_f_f1_data): Remove field
18781         extra_init.
18782         (struct test_fF_f1_data): Likewise.
18783         (struct test_ffI_f1_data): Likewise.
18784         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18785         based on value of EXTRA_EXPECTED.
18786         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18787         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18788         EXTRA_VAR based on value of EXTRA_EXPECTED.
18789         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18790         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18791         EXTRA_VAR based on value of EXTRA_EXPECTED.
18792         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18793         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18794         EXTRA_VAR based on value of EXTRA_EXPECTED.
18795         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18796         * math/gen-libm-test.pl (parse_args): Don't output initializers
18797         for extra output values.
18798
18799         * math/libm-test.inc (check_int): Expect result to be exactly
18800         equal to expected value and do not handle ulps.
18801         (check_long): Likewise.
18802         (check_longlong): Likewise.
18803
18804         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18805         exceptions.
18806         (cimag_test_data): Likewise.
18807         (conj_test_data): Likewise.
18808         (copysign_test_data): Likewise.
18809         (cproj_test_data): Likewise.
18810         (creal_test_data): Likewise.
18811         (fabs_test_data): Likewise.
18812         (fdim_test_data): Likewise.
18813         (finite_test_data): Likewise.
18814         (floor_test_data): Likewise.
18815         (fmax_test_data): Likewise.
18816         (fmin_test_data): Likewise.
18817         (fmod_test_data): Likewise.
18818         (fpclassify_test_data): Likewise.
18819         (frexp_test_data): Likewise.
18820         (ilogb_test_data): Likewise.
18821         (isfinite_test_data): Likewise.
18822         (isgreater_test_data): Likewise.
18823         (isgreaterequal_test_data): Likewise.
18824         (isinf_test_data): Likewise.
18825         (isless_test_data): Likewise.
18826         (islessequal_test_data): Likewise.
18827         (islessgreater_test_data): Likewise.
18828         (isnan_test_data): Likewise.
18829         (isnormal_test_data): Likewise.
18830         (issignaling_test_data): Likewise.
18831         (isunordered_test_data): Likewise.
18832         (ldexp_test_data): Likewise.
18833         (lrint_test_data): Likewise.
18834         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18835         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18836         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18837         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18838         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18839         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18840         test input.
18841         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18842         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18843         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18844         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18845         that test input.
18846         (lrint_downward_test_data): Test for "inexact" exceptions.
18847         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18848         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18849         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18850         test input.
18851         (lrint_upward_test_data): Test for "inexact" exceptions.
18852         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18853         test input.
18854         (llrint_test_data): Test for "inexact" exceptions.
18855         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18856         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18857         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18858         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18859         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18860         (llrint_downward_test_data): Test for "inexact" exceptions.
18861         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18862         (llrint_upward_test_data): Test for "inexact" exceptions.
18863         (logb_test_data): Likewise.
18864         (logb_downward_test_data): Likewise.
18865         (nextafter_test_data): Likewise.
18866         (nexttoward_test_data): Likewise.
18867         (remainder_test_data): Likewise.
18868         (remquo_test_data): Likewise.
18869         (scalbn_test_data): Likewise.
18870         (scalbln_test_data): Likewise.
18871         (signbit_test_data): Likewise.
18872         (sqrt_test_data): Likewise.
18873         (significand_test_data): Likewise.
18874
18875 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18876
18877         [BZ #15424]
18878         * benchtests/bench-modf.c (struct args): Mark arg0 as
18879         volatile.
18880         * scripts/bench.pl: Mark members of struct args as volatile.
18881
18882 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18883
18884         [BZ # 15497]
18885         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18886         negative infinity on POWER6 or lower.
18887         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18888
18889 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18890
18891         [BZ #15442]
18892         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18893         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18894         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18895         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18896         (_FP_SETQNAN): New macro.
18897         (_FP_SETQNAN_SEMIRAW): Likewise.
18898         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18899         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18900         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18901         (FP_EXTEND): Use _FP_FRAC_SNANP.
18902         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18903         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18904         into account.
18905         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18906         New macro.
18907         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18908         Likewise.
18909
18910 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18911
18912         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18913         with DIVIDE_BY_ZERO_EXCEPTION.
18914         (gamma_test_data): Likewise.
18915         (lgamma_test_data): Likewise.
18916         (log_test_data): Likewise.
18917         (log10_test_data): Likewise.
18918         (log2_test_data): Likewise.
18919         (tgamma_test_data): Likewise.
18920
18921         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18922         (acos_test_tonearest): Likewise.
18923         (acos_test_towardzero): Likewise.
18924         (acos_test_downward): Likewise.
18925         (acos_test_upward): Likewise.
18926         (acosh_test): Likewise.
18927         (asin_test): Likewise.
18928         (asin_test_tonearest): Likewise.
18929         (asin_test_towardzero): Likewise.
18930         (asin_test_downward): Likewise.
18931         (asin_test_upward): Likewise.
18932         (asinh_test): Likewise.
18933         (atan_test): Likewise.
18934         (atanh_test): Likewise.
18935         (atan2_test): Likewise.
18936         (cabs_test): Likewise.
18937         (cacos_test): Likewise.
18938         (cacosh_test): Likewise.
18939         (casin_test): Likewise.
18940         (casinh_test): Likewise.
18941         (catan_test): Likewise.
18942         (catanh_test): Likewise.
18943         (cbrt_test): Likewise.
18944         (ccos_test): Likewise.
18945         (ccosh_test): Likewise.
18946         (cexp_test): Likewise.
18947         (clog_test): Likewise.
18948         (clog10_test): Likewise.
18949         (cos_test): Likewise.
18950         (cos_test_tonearest): Likewise.
18951         (cos_test_towardzero): Likewise.
18952         (cos_test_downward): Likewise.
18953         (cos_test_upward): Likewise.
18954         (cosh_test): Likewise.
18955         (cosh_test_tonearest): Likewise.
18956         (cosh_test_towardzero): Likewise.
18957         (cosh_test_downward): Likewise.
18958         (cosh_test_upward): Likewise.
18959         (cpow_test): Likewise.
18960         (csin_test): Likewise.
18961         (csinh_test): Likewise.
18962         (csqrt_test): Likewise.
18963         (ctan_test): Likewise.
18964         (ctan_test_tonearest): Likewise.
18965         (ctan_test_towardzero): Likewise.
18966         (ctan_test_downward): Likewise.
18967         (ctan_test_upward): Likewise.
18968         (ctanh_test): Likewise.
18969         (ctanh_test_tonearest): Likewise.
18970         (ctanh_test_towardzero): Likewise.
18971         (ctanh_test_downward): Likewise.
18972         (ctanh_test_upward): Likewise.
18973         (erf_test): Likewise.
18974         (erfc_test): Likewise.
18975         (exp_test): Likewise.
18976         (exp_test_tonearest): Likewise.
18977         (exp_test_towardzero): Likewise.
18978         (exp_test_downward): Likewise.
18979         (exp_test_upward): Likewise.
18980         (exp10_test): Likewise.
18981         (exp2_test): Likewise.
18982         (expm1_test): Likewise.
18983         (fmod_test): Likewise.
18984         (gamma_test): Likewise.
18985         (hypot_test): Likewise.
18986         (j0_test): Likewise.
18987         (j1_test): Likewise.
18988         (jn_test): Likewise.
18989         (lgamma_test): Likewise.
18990         (log_test): Likewise.
18991         (log10_test): Likewise.
18992         (log1p_test): Likewise.
18993         (log2_test): Likewise.
18994         (logb_test_downward): Likewise.
18995         (pow_test): Likewise.
18996         (pow_test_tonearest): Likewise.
18997         (pow_test_towardzero): Likewise.
18998         (pow_test_downward): Likewise.
18999         (pow_test_upward): Likewise.
19000         (remainder_test): Likewise.
19001         (remquo_test): Likewise.
19002         (sin_test): Likewise.
19003         (sin_test_tonearest): Likewise.
19004         (sin_test_towardzero): Likewise.
19005         (sin_test_downward): Likewise.
19006         (sin_test_upward): Likewise.
19007         (sincos_test): Likewise.
19008         (sinh_test): Likewise.
19009         (sinh_test_tonearest): Likewise.
19010         (sinh_test_towardzero): Likewise.
19011         (sinh_test_downward): Likewise.
19012         (sinh_test_upward): Likewise.
19013         (sqrt_test): Likewise.
19014         (tan_test): Likewise.
19015         (tan_test_tonearest): Likewise.
19016         (tan_test_towardzero): Likewise.
19017         (tan_test_downward): Likewise.
19018         (tan_test_upward): Likewise.
19019         (tanh_test): Likewise.
19020         (tgamma_test): Likewise.
19021         (y0_test): Likewise.
19022         (y1_test): Likewise.
19023         (yn_test): Likewise.
19024
19025         * math/gen-libm-test.pl (adjust_arg): Remove function.
19026         (special_function): Remove argument $in_func.  Only handle
19027         generating output for tables of tests, not inside functions.
19028         (parse_args): Likewise.
19029         (generate_testfile): Remove variable $in_func.  Update call to
19030         parse_args.
19031         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19032         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19033         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19034         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19035         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19036         (MAX_VALUE_INIT): Rename macro to max_value.
19037         (MIN_VALUE_INIT): Rename macro to min_value.
19038         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19039         (plus_zero): Remove variable.
19040         (minus_zero): Likewise.
19041         (plus_infty): Likewise.
19042         (minus_infty): Likewise.
19043         (qnan_value): Likewise.
19044         (max_value): Likewise.
19045         (min_value): Likewise.
19046         (min_subnorm_value): Likewise.
19047
19048 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19049
19050         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19051         uint64_t or uint32_t usage.
19052         * crypt/sha256-block.c: Likewise.
19053         * crypt/sha256-crypt.c: Likewise.
19054         * crypt/sha256.c: Likewise.
19055         * crypt/sha512-block.c: Likewise.
19056         * crypt/sha512-crypt.c: Likewise.
19057         * crypt/sha512.c: Likewise.
19058         * debug/backtrace-tst.c: Likewise.
19059         * debug/pcprofiledump.c: Likewise.
19060         * elf/cache.c: Likewise.
19061         * elf/dl-cache.c: Likewise.
19062         * elf/dl-misc.c: Likewise.
19063         * elf/dl-profile.c: Likewise.
19064         * elf/dl-support.c: Likewise.
19065         * elf/ldconfig.c: Likewise.
19066         * elf/sprof.c: Likewise.
19067         * iconv/dummy-repertoire.c: Likewise.
19068         * iconv/iconv_charmap.c: Likewise.
19069         * iconv/skeleton.c: Likewise.
19070         * iconvdata/8bit-generic.c: Likewise.
19071         * iconvdata/cp737.h: Likewise.
19072         * iconvdata/cp775.h: Likewise.
19073         * iconvdata/ibm1008.h: Likewise.
19074         * iconvdata/ibm1025.h: Likewise.
19075         * iconvdata/ibm1046.h: Likewise.
19076         * iconvdata/ibm1097.h: Likewise.
19077         * iconvdata/ibm1112.h: Likewise.
19078         * iconvdata/ibm1122.h: Likewise.
19079         * iconvdata/ibm1123.h: Likewise.
19080         * iconvdata/ibm1124.h: Likewise.
19081         * iconvdata/ibm1129.h: Likewise.
19082         * iconvdata/ibm1130.h: Likewise.
19083         * iconvdata/ibm1132.h: Likewise.
19084         * iconvdata/ibm1133.h: Likewise.
19085         * iconvdata/ibm1137.h: Likewise.
19086         * iconvdata/ibm1140.h: Likewise.
19087         * iconvdata/ibm1141.h: Likewise.
19088         * iconvdata/ibm1142.h: Likewise.
19089         * iconvdata/ibm1143.h: Likewise.
19090         * iconvdata/ibm1144.h: Likewise.
19091         * iconvdata/ibm1145.h: Likewise.
19092         * iconvdata/ibm1146.h: Likewise.
19093         * iconvdata/ibm1147.h: Likewise.
19094         * iconvdata/ibm1148.h: Likewise.
19095         * iconvdata/ibm1149.h: Likewise.
19096         * iconvdata/ibm1153.h: Likewise.
19097         * iconvdata/ibm1154.h: Likewise.
19098         * iconvdata/ibm1155.h: Likewise.
19099         * iconvdata/ibm1156.h: Likewise.
19100         * iconvdata/ibm1157.h: Likewise.
19101         * iconvdata/ibm1158.h: Likewise.
19102         * iconvdata/ibm1160.h: Likewise.
19103         * iconvdata/ibm1161.h: Likewise.
19104         * iconvdata/ibm1162.h: Likewise.
19105         * iconvdata/ibm1163.h: Likewise.
19106         * iconvdata/ibm1164.h: Likewise.
19107         * iconvdata/ibm1166.h: Likewise.
19108         * iconvdata/ibm1167.h: Likewise.
19109         * iconvdata/ibm12712.h: Likewise.
19110         * iconvdata/ibm1390.h: Likewise.
19111         * iconvdata/ibm1399.h: Likewise.
19112         * iconvdata/ibm16804.h: Likewise.
19113         * iconvdata/ibm4517.h: Likewise.
19114         * iconvdata/ibm4899.h: Likewise.
19115         * iconvdata/ibm4909.h: Likewise.
19116         * iconvdata/ibm4971.h: Likewise.
19117         * iconvdata/ibm5347.h: Likewise.
19118         * iconvdata/ibm803.h: Likewise.
19119         * iconvdata/ibm856.h: Likewise.
19120         * iconvdata/ibm901.h: Likewise.
19121         * iconvdata/ibm902.h: Likewise.
19122         * iconvdata/ibm9030.h: Likewise.
19123         * iconvdata/ibm9066.h: Likewise.
19124         * iconvdata/ibm921.h: Likewise.
19125         * iconvdata/ibm922.h: Likewise.
19126         * iconvdata/ibm9448.h: Likewise.
19127         * iconvdata/isiri-3342.h: Likewise.
19128         * iconvdata/jis0201.h: Likewise.
19129         * include/link.h: Likewise.
19130         * include/netdb.h: Likewise.
19131         * inet/check_native.c: Likewise.
19132         * inet/check_pf.c: Likewise.
19133         * inet/getipv4sourcefilter.c: Likewise.
19134         * inet/getnameinfo.c: Likewise.
19135         * inet/getsourcefilter.c: Likewise.
19136         * inet/htonl.c: Likewise.
19137         * inet/setipv4sourcefilter.c: Likewise.
19138         * inet/setsourcefilter.c: Likewise.
19139         * inet/test-inet6_opt.c: Likewise.
19140         * inet/tst-network.c: Likewise.
19141         * locale/C-collate.c: Likewise.
19142         * locale/C-ctype.c: Likewise.
19143         * locale/C-time.c: Likewise.
19144         * locale/C-translit.h: Likewise.
19145         * locale/loadarchive.c: Likewise.
19146         * locale/programs/3level.h: Likewise.
19147         * locale/programs/charmap.c: Likewise.
19148         * locale/programs/charmap.h: Likewise.
19149         * locale/programs/ld-address.c: Likewise.
19150         * locale/programs/ld-collate.c: Likewise.
19151         * locale/programs/ld-ctype.c: Likewise.
19152         * locale/programs/ld-identification.c: Likewise.
19153         * locale/programs/ld-measurement.c: Likewise.
19154         * locale/programs/ld-messages.c: Likewise.
19155         * locale/programs/ld-monetary.c: Likewise.
19156         * locale/programs/ld-name.c: Likewise.
19157         * locale/programs/ld-numeric.c: Likewise.
19158         * locale/programs/ld-paper.c: Likewise.
19159         * locale/programs/ld-telephone.c: Likewise.
19160         * locale/programs/ld-time.c: Likewise.
19161         * locale/programs/linereader.c: Likewise.
19162         * locale/programs/locale.c: Likewise.
19163         * locale/programs/locarchive.c: Likewise.
19164         * locale/programs/locfile.h: Likewise.
19165         * locale/programs/repertoire.c: Likewise.
19166         * locale/programs/simple-hash.c: Likewise.
19167         * locale/programs/simple-hash.h: Likewise.
19168         * malloc/memusage.c: Likewise.
19169         * malloc/memusagestat.c: Likewise.
19170         * nis/nis_defaults.c: Likewise.
19171         * nis/nis_hash.c: Likewise.
19172         * nis/nis_print.c: Likewise.
19173         * nis/nis_xdr.c: Likewise.
19174         * nscd/connections.c: Likewise.
19175         * nscd/hstcache.c: Likewise.
19176         * nscd/nscd_gethst_r.c: Likewise.
19177         * nscd/nscd_getserv_r.c: Likewise.
19178         * nscd/nscd_helper.c: Likewise.
19179         * nscd/servicescache.c: Likewise.
19180         * nss/makedb.c: Likewise.
19181         * nss/nss_db/db-XXX.c: Likewise.
19182         * nss/nss_db/db-initgroups.c: Likewise.
19183         * nss/nss_db/db-netgrp.c: Likewise.
19184         * nss/nss_files/files-network.c: Likewise.
19185         * nss/nss_files/files-parse.c: Likewise.
19186         * posix/bug-regex5.c: Likewise.
19187         * posix/fnmatch_loop.c: Likewise.
19188         * posix/regcomp.c: Likewise.
19189         * posix/regexec.c: Likewise.
19190         * posix/tst-rfc3484-2.c: Likewise.
19191         * posix/tst-rfc3484-3.c: Likewise.
19192         * posix/tst-rfc3484.c: Likewise.
19193         * resolv/nss_dns/dns-canon.c: Likewise.
19194         * resolv/nss_dns/dns-network.c: Likewise.
19195         * resolv/res_init.c: Likewise.
19196         * resolv/res_mkquery.c: Likewise.
19197         * resolv/tst-aton.c: Likewise.
19198         * stdlib/cxa_atexit.c: Likewise.
19199         * stdlib/cxa_finalize.c: Likewise.
19200         * stdlib/gen-fpioconst.c: Likewise.
19201         * stdlib/strtol_l.c: Likewise.
19202         * string/tst-endian.c: Likewise.
19203         * sunrpc/auth_des.c: Likewise.
19204         * sunrpc/clnt_udp.c: Likewise.
19205         * sunrpc/rtime.c: Likewise.
19206         * sunrpc/svcauth_des.c: Likewise.
19207         * sunrpc/xdr.c: Likewise.
19208         * sunrpc/xdr_intXX_t.c: Likewise.
19209         * sunrpc/xdr_rec.c: Likewise.
19210         * sysdeps/generic/ldconfig.h: Likewise.
19211         * sysdeps/generic/ldsodefs.h: Likewise.
19212         * sysdeps/generic/memusage.h: Likewise.
19213         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19214         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19215         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19216         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19217         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19218         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19219         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19220         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19221         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19222         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19223         * sysdeps/posix/getaddrinfo.c: Likewise.
19224         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19225         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19226         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19227         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19228         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19229         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19230         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19231         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19232         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19233         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19234         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19235         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19236         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19237         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19238         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19239         * sysdeps/x86_64/dl-tls.h: Likewise.
19240         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19241         * time/alt_digit.c: Likewise.
19242         * time/era.c: Likewise.
19243         * wcsmbs/tst-c16c32-1.c: Likewise.
19244
19245 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19246
19247         * math/libm-test.inc (struct test_sincos_data): New type.
19248         (RUN_TEST_LOOP_sincos): New macro.
19249         (sincos_test_data): New variable.
19250         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19251
19252 2013-05-16  Richard Henderson  <rth@redhat.com>
19253
19254         * math/atest-exp2.c (LIMB64): New macro.
19255         (CONSTSZ): New macro.
19256         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19257         (hexdig): Move ...
19258         (print_mpn_fp): ... to function scope.
19259         (read_mpn_hex): Remove.
19260         (get_log2): Remove.
19261         (exp2_mpn): Use mp_log2.
19262         (main): Use mp_exp1.
19263
19264 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19265
19266         * math/libm-test.inc: Remove comment about not testing "inexact"
19267         exceptions.
19268         (INEXACT_EXCEPTION): New macro.
19269         (NO_INEXACT_EXCEPTION): Likewise.
19270         (INVALID_EXCEPTION_OK): Update value.
19271         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19272         (OVERFLOW_EXCEPTION_OK): Likewise.
19273         (UNDERFLOW_EXCEPTION_OK): Likewise.
19274         (IGNORE_ZERO_INF_SIGN): Likewise.
19275         (ERRNO_UNCHANGED): Likewise.
19276         (ERRNO_EDOM): Likewise.
19277         (ERRNO_ERANGE): Likewise.
19278         (test_exceptions): Handle testing "inexact" exceptions.
19279         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19280         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19281         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19282         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19283         INEXACT_EXCEPTION.
19284         (rint_towardzero_test_data): Likewise.
19285         (rint_downward_test_data): Likewise.
19286         (rint_upward_test_data): Likewise.
19287
19288         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19289         with OVERFLOW_EXCEPTION.
19290         (exp10_test_data): Likewise.
19291         (exp2_test_data): Likewise.
19292         (expm1_test_data): Likewise.
19293         (lgamma_test_data): Likewise.
19294         (pow_test_data): Likewise.
19295         (tgamma_test_data): Likewise.
19296         (yn_test_data): Remove duplicate test of overflow.
19297
19298         * math/libm-test.inc (struct test_cc_c_data): New type.
19299         (RUN_TEST_LOOP_cc_c): New macro.
19300         (cpow_test_data): New variable.
19301         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19302
19303         * math/libm-test.inc (struct test_f_L_data): New type.
19304         (RUN_TEST_LOOP_f_L): New macro.
19305         (llrint_test_data): New variable.
19306         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19307         (llrint_tonearest_test_data): New variable.
19308         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19309         (llrint_towardzero_test_data): New variable.
19310         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19311         (llrint_downward_test_data): New variable.
19312         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19313         (llrint_upward_test_data): New variable.
19314         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19315         (llround_test_data): New variable.
19316         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19317
19318 2013-05-13  Peter Collingbourne  <pcc@google.com>
19319
19320         * math/atest-exp2.c (get_log2): Remove const attribute.
19321
19322 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19323
19324         * math/libm-test.inc (struct test_f_l_data): New type.
19325         (RUN_TEST_LOOP_f_l): New macro.
19326         (lrint_test_data): New variable.
19327         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19328         (lrint_tonearest_test_data): New variable.
19329         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19330         (lrint_towardzero_test_data): New variable.
19331         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19332         (lrint_downward_test_data): New variable.
19333         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19334         (lrint_upward_test_data): New variable.
19335         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19336         (lround_test_data): New variable.
19337         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19338
19339 2013-05-15  Peter Collingbourne  <pcc@google.com>
19340
19341         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19342         (EXTRACT_WORDS64) Use where appropriate.
19343         (INSERT_WORDS64) Likewise.
19344
19345         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19346         constraints with x constraints.
19347         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19348
19349         * malloc/obstack.c (_obstack_compat): Add initializer.
19350
19351 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19352
19353         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19354         si_trapno and add si_addr_lsb to _sifields.sigfault.
19355         (si_trapno): Remove macro.
19356         (si_addr_lsb): Define new macro.
19357         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19358
19359 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19360
19361         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19362         instead of TEST_f_l.
19363         (llrint_test_tonearest): Likewise.
19364         (llrint_test_towardzero): Likewise.
19365         (llrint_test_downward): Likewise.
19366         (llrint_test_upward): Likewise.
19367         (llround_test): Likewise.
19368
19369         * math/libm-test.inc (struct test_f_i_data): Add comment.
19370         (RUN_TEST_LOOP_f_b): New macro.
19371         (RUN_TEST_LOOP_f_b_tg): Likewise.
19372         (finite_test_data): New variable.
19373         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19374         (isfinite_test_data): New variable.
19375         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19376         (isinf_test_data): New variable.
19377         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19378         (isnan_test_data): New variable.
19379         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19380         (isnormal_test_data): New variable.
19381         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19382         (issignaling_test_data): New variable.
19383         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19384         (signbit_test_data): New variable.
19385         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19386
19387         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19388         with INVALID_EXCEPTION.
19389         (acosh_test_data): Likewise.
19390         (asin_test_data): Likewise.
19391         (atanh_test_data): Likewise.
19392         (fmod_test_data): Likewise.
19393         (log_test_data): Likewise.
19394         (log10_test_data): Likewise.
19395         (log2_test_data): Likewise.
19396         (pow_test_data): Likewise.
19397         (sqrt_test_data): Likewise.
19398         (y0_test_data): Likewise.
19399         (y1_test_data): Likewise.
19400         (yn_test_data): Likewise.
19401
19402         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19403         function contents.
19404
19405         * math/libm-test.inc (struct test_ff_i_data): New type.
19406         (RUN_TEST_LOOP_ff_i_tg): New macro.
19407         (isgreater_test_data): New variable.
19408         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19409         (isgreaterequal_test_data): New variable.
19410         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19411         (isless_test_data): New variable.
19412         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19413         (islessequal_test_data): New variable.
19414         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19415         (islessgreater_test_data): New variable.
19416         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19417         (isunordered_test_data): New variable.
19418         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19419
19420 2013-05-14  David S. Miller  <davem@davemloft.net>
19421
19422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19423
19424 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19425
19426         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19427
19428         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19429         extra_test to int.
19430         (struct test_f_i_data): Change type of max_ulp to int.
19431
19432         * math/libm-test.inc (test_ffI_f1_data): New type.
19433         (RUN_TEST_LOOP_ffI_f1): New macro.
19434         (remquo_test_data): New variable.
19435         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19436
19437         * setjmp/tst-setjmp-fp.c: New file.
19438         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19439         (link-libm): New variable.
19440         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19441
19442         * math/libm-test.inc (struct test_f_i_data): New type.
19443         (RUN_TEST_LOOP_f_i): New macro.
19444         (RUN_TEST_LOOP_f_i_tg): Likewise.
19445         (fpclassify_test_data): New variable.
19446         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19447         (ilogb_test_data): New variable.
19448         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19449
19450         * math/libm-test.inc (scalbln_test): Correct function name in END
19451         call.
19452
19453         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19454         (RUN_TEST_LOOP_fI_f1): New macro.
19455         (frexp_test_data): New variable.
19456         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19457
19458         * math/libm-test.inc (struct test_fF_f1_data): New type.
19459         (RUN_TEST_LOOP_fF_f1): New macro.
19460         (modf_test_data): New variable.
19461         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19462
19463         * math/libm-test.inc (struct test_f_f1_data): New type.
19464         (RUN_TEST_LOOP_f_f1): New macro.
19465         (gamma_test_data): New variable.
19466         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19467         (lgamma_test_data): New variable.
19468         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19469
19470 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19471
19472         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19473         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19474         (main): Comment "tls" pseudo-hwcap.
19475
19476 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19477
19478         * math/libm-test.inc (struct test_fl_f_data): New type.
19479         (RUN_TEST_LOOP_fl_f): New variable.
19480         (scalbln_test_data): New variable.
19481         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19482
19483         * math/libm-test.inc (struct test_fi_f_data): New type.
19484         (RUN_TEST_LOOP_fi_f): New macro.
19485         (ldexp_test_data): New variable.
19486         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19487         (scalbn_test_data): New variable.
19488         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19489
19490         * math/libm-test.inc (struct test_c_f_data): New type.
19491         (RUN_TEST_LOOP_c_f): New macro.
19492         (cabs_test_data): New variable.
19493         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19494         (carg_test_data): New variable.
19495         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19496         (cimag_test_data): New variable.
19497         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19498         (creal_test_data): New variable.
19499         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19500
19501         * math/libm-test.inc (struct test_if_f_data): New type.
19502         (RUN_TEST_LOOP_if_f): New macro.
19503         (jn_test_data): New variable.
19504         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19505         (yn_test_data): New variable.
19506         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19507
19508         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19509
19510 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19511
19512         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19513         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19514
19515 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19516
19517         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19518         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19519         (bench-deps): Add bench-timing.h.
19520         * benchtests-bench-skeleton.c: Include bench-timing.h.
19521         (main): Use TIMING_* macros instead of clock_gettime.
19522         * benchtests/bench-timing.h: New file.
19523
19524         [BZ #14582]
19525         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19526         Renamed from _LIB_VERSION.
19527         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19528
19529 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19530
19531         * math/libm-test.inc (struct test_fff_f_data): New type.
19532         (RUN_TEST_LOOP_fff_f): New macro.
19533         (fma_test_data): New variable.
19534         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19535         (fma_towardzero_test_data): New variable.
19536         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19537         (fma_downward_test_data): New variable.
19538         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19539         (fma_upward_test_data): New variable.
19540         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19541
19542         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19543         (struct test_c_c_data): New type.
19544         (RUN_TEST_LOOP_c_c): New macro.
19545         (cacos_test_data): New variable.
19546         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19547         (cacosh_test_data): New variable.
19548         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19549         (casin_test_data): New variable.
19550         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19551         (casinh_test_data): New variable.
19552         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19553         (catan_test_data): New variable.
19554         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19555         (catanh_test_data): New variable.
19556         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19557         (ccos_test_data): New variable.
19558         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19559         (ccosh_test_data): New variable.
19560         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19561         (cexp_test_data): New variable.
19562         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19563         (clog_test_data): New variable.
19564         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19565         (clog10_test_data): New variable.
19566         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19567         (conj_test_data): New variable.
19568         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19569         (cproj_test_data): New variable.
19570         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19571         (csin_test_data): New variable.
19572         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19573         (csinh_test_data): New variable.
19574         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19575         (csqrt_test_data): New variable.
19576         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19577         (ctan_test_data): New variable.
19578         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19579         (ctan_tonearest_test_data): New variable.
19580         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19581         (ctan_towardzero_test_data): New variable.
19582         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19583         (ctan_downward_test_data): New variable.
19584         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19585         (ctan_upward_test_data): New variable.
19586         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19587         (ctanh_test_data): New variable.
19588         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19589         (ctanh_tonearest_test_data): New variable.
19590         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19591         (ctanh_towardzero_test_data): New variable.
19592         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19593         (ctanh_downward_test_data): New variable.
19594         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19595         (ctanh_upward_test_data): New variable.
19596         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19597         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19598         of BUILD_COMPLEX.
19599
19600         * math/libm-test.inc (struct test_ff_f_data): New type.
19601         (struct test_ff_f_data_nexttoward): Likewise.
19602         (RUN_TEST_LOOP_2_f): New macro.
19603         (RUN_TEST_LOOP_ff_f): Likewise.
19604         (atan2_test_data): New variable.
19605         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19606         (copysign_test_data): New variable.
19607         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19608         (fdim_test_data): New variable.
19609         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19610         (fmax_test_data): New variable.
19611         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19612         (fmin_test_data): New variable.
19613         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19614         (fmod_test_data): New variable.
19615         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19616         (hypot_test_data): New variable.
19617         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19618         (nextafter_test_data): New variable.
19619         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19620         (nexttoward_test_data): New variable.
19621         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19622         (pow_test_data): New variable.
19623         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19624         (pow_tonearest_test_data): New variable.
19625         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19626         (pow_towardzero_test_data): New variable.
19627         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19628         (pow_downward_test_data): New variable.
19629         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19630         (pow_upward_test_data): New variable.
19631         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19632         (remainder_test_data): New variable.
19633         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19634         (scalb_test_data): New variable.
19635         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19636         * sysdeps/i386/fpu/libm-test-ulps: Update.
19637
19638 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19639
19640         * math/libm-test.inc (fma_test): Use max_value instead of local
19641         variable fltmax.
19642         (nextafter_test): Likewise.
19643
19644         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19645         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19646         (acos_downward_test_data): New variable.
19647         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19648         (acos_upward_test_data): New variable.
19649         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19650         (acosh_test_data): New variable.
19651         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19652         (asin_test_data): New variable.
19653         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19654         (asin_tonearest_test_data): New variable.
19655         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19656         (asin_towardzero_test_data): New variable.
19657         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19658         (asin_downward_test_data): New variable.
19659         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19660         (asin_upward_test_data): New variable.
19661         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19662         (asinh_test_data): New variable.
19663         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19664         (atan_test_data): New variable.
19665         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19666         (atanh_test_data): New variable.
19667         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19668         (cbrt_test_data): New variable.
19669         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19670         (ceil_test_data): New variable.
19671         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19672         (cos_test_data): New variable.
19673         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19674         (cos_tonearest_test_data): New variable.
19675         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19676         (cos_towardzero_test_data): New variable.
19677         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19678         (cos_downward_test_data): New variable.
19679         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19680         (cos_upward_test_data): New variable.
19681         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19682         (cosh_test_data): New variable.
19683         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19684         (cosh_tonearest_test_data): New variable.
19685         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19686         (cosh_towardzero_test_data): New variable.
19687         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19688         (cosh_downward_test_data): New variable.
19689         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19690         (cosh_upward_test_data): New variable.
19691         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19692         (erf_test_data): New variable.
19693         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19694         (erfc_test_data): New variable.
19695         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19696         (exp_test_data): New variable.
19697         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19698         (exp_tonearest_test_data): New variable.
19699         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19700         (exp_towardzero_test_data): New variable.
19701         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19702         (exp_downward_test_data): New variable.
19703         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19704         (exp_upward_test_data): New variable.
19705         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19706         (exp10_test_data): New variable.
19707         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19708         (exp2_test_data): New variable.
19709         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19710         (expm1_test_data): New variable.
19711         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19712         (fabs_test_data): New variable.
19713         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19714         (floor_test_data): New variable.
19715         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19716         (j0_test_data): New variable.
19717         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19718         (j1_test_data): New variable.
19719         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19720         (log_test_data): New variable.
19721         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19722         (log10_test_data): New variable.
19723         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19724         (log1p_test_data): New variable.
19725         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19726         (log2_test_data): New variable.
19727         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19728         (logb_test_data): New variable.
19729         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19730         (logb_downward_test_data): New variable.
19731         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19732         (nearbyint_test_data): New variable.
19733         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19734         (rint_test_data): New variable.
19735         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19736         (rint_tonearest_test_data): New variable.
19737         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19738         (rint_towardzero_test_data): New variable.
19739         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19740         (rint_downward_test_data): New variable.
19741         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19742         (rint_upward_test_data): New variable.
19743         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19744         (round_test_data): New variable.
19745         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19746         (sin_test_data): New variable.
19747         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19748         (sin_tonearest_test_data): New variable.
19749         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19750         (sin_towardzero_test_data): New variable.
19751         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19752         (sin_downward_test_data): New variable.
19753         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19754         (sin_upward_test_data): New variable.
19755         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19756         (sinh_test_data): New variable.
19757         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19758         (sinh_tonearest_test_data): New variable.
19759         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19760         (sinh_towardzero_test_data): New variable.
19761         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19762         (sinh_downward_test_data): New variable.
19763         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19764         (sinh_upward_test_data): New variable.
19765         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19766         (sqrt_test_data): New variable.
19767         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19768         (tan_test_data): New variable.
19769         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19770         (tan_tonearest_test_data): New variable.
19771         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19772         (tan_towardzero_test_data): New variable.
19773         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19774         (tan_downward_test_data): New variable.
19775         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19776         (tan_upward_test_data): New variable.
19777         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19778         (tanh_test_data): New variable.
19779         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19780         (tgamma_test_data): New variable.
19781         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19782         (trunc_test_data): New variable.
19783         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19784         (y0_test_data): New variable.
19785         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19786         (y1_test_data): New variable.
19787         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19788         (significand_test_data): New variable.
19789         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19790
19791 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19792
19793         [BZ #12387]
19794         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19795
19796 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19797
19798         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19799
19800 2013-05-10  Andreas Jaeger  <aj@suse.de>
19801
19802         [BZ #15448]
19803         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19804         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19805
19806 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19807
19808         * math/gen-libm-test.pl (adjust_arg): New function.
19809         (special_functions): Handle generating output in both functions
19810         and arrays.
19811         (parse_args): Likewise.
19812         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19813         $in_func argument to parse_args.
19814         * math/libm-test.inc (struct test_f_f_data): New type.
19815         (IF_ROUND_INIT_): New macro.
19816         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19817         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19818         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19819         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19820         (ROUND_RESTORE_): Likewise.
19821         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19822         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19823         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19824         (ROUND_RESTORE_FE_UPWARD): Likewise.
19825         (RUN_TEST_LOOP_f_f): New macro.
19826         (acos_test_data): New variable.
19827         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19828         (acos_tonearest_test_data): New variable.
19829         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19830
19831 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19832
19833         * benchtests/bench-skeleton.c (startup): Fix coding style.
19834
19835 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19836
19837         [BZ #6809]
19838         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19839         negative infinity argument.
19840         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19841         negative infinity argument.
19842         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19843         negative infinity argument.
19844         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19845         domain errors.
19846
19847 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19848
19849         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19850         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19851         * iconv/iconv_prog.c (main): Likewise.
19852         * locale/programs/charmap-dir.c (charmap_readdir)
19853         (fopen_uncompressed): Likewise.
19854         * locale/programs/locfile.c (siblings_uncached)
19855         (write_locale_data): Use lstat64 instead of lstat.
19856         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19857         stat.
19858
19859 2013-05-10  Andreas Jaeger  <aj@suse.de>
19860
19861         [BZ #15395]
19862         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19863         localization.
19864         Include <locale.h>.
19865
19866 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19867
19868         * elf/dl-close.c (_dl_close_worker): Add comments.
19869
19870 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19871
19872         [BZ #15359]
19873         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19874         high part of pi/2.
19875         (__ieee754_rem_pio2l): Update comments.
19876
19877         [BZ #15429]
19878         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19879         high part of pi/2.
19880         (__ieee754_rem_pio2l): Update comments.
19881
19882         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19883         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19884
19885         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19886         M_PI_4l.
19887
19888         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19889         (M_PI_34_LOG10El): Likewise.
19890         (M_PI2_LOG10El): Likewise.
19891         (M_PI4_LOG10El): Likewise.
19892         (M_PI_LOG10El): Likewise.
19893
19894 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19895
19896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19897
19898 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19899
19900         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19901         (MINUS_ZERO_INIT): Likewise.
19902         (PLUS_INFTY_INIT): Likewise.
19903         (MINUS_INFTY_INIT): Likewise.
19904         (QNAN_VALUE_INIT): Likewise.
19905         (MAX_VALUE_INIT): Likewise.
19906         (MIN_VALUE_INIT): Likewise.
19907         (MIN_SUBNORM_VALUE_INIT): Likewise.
19908         (plus_zero): Initialize with PLUS_ZERO_INIT.
19909         (minus_zero): Initialize with MINUS_ZERO_INIT.
19910         (plus_infty): Initialize with PLUS_INFTY_INIT.
19911         (minus_infty): Initialize with MINUS_INFTY_INIT.
19912         (qnan_value): Initialize with QNAN_VALUE_INIT.
19913         (max_value): Initialize with MAX_VALUE_INIT.
19914         (min_value): Initialize with MIN_VALUE_INIT.
19915         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19916
19917         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19918         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19919         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19920         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19921
19922         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19923         (RUN_TEST_2_f): Likewise.
19924         (RUN_TEST_ff_f): Likewise.
19925         (RUN_TEST_fi_f): Likewise.
19926         (RUN_TEST_fl_f): Likewise.
19927         (RUN_TEST_fff_f): Likewise.
19928         (RUN_TEST_c_f): Likewise.
19929         (RUN_TEST_f_f1): Likewise.
19930         (RUN_TEST_fF_f1): Likewise.
19931         (RUN_TEST_fI_f1): Likewise.
19932         (RUN_TEST_ffI_f1): Likewise.
19933         (RUN_TEST_c_c): Likewise.
19934         (RUN_TEST_cc_c): Likewise.
19935         (RUN_TEST_f_i): Likewise.
19936         (RUN_TEST_f_i_tg): Likewise.
19937         (RUN_TEST_ff_i_tg): Likewise.
19938         (RUN_TEST_f_b): Likewise.
19939         (RUN_TEST_f_b_tg): Likewise.
19940         (RUN_TEST_f_l): Likewise.
19941         (RUN_TEST_f_L): Likewise.
19942         (RUN_TEST_sincos): Likewise.
19943         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19944         whether to show exceptions.  Do not include ");\n" in return
19945         value.
19946         (special_functions): Output call to RUN_TEST_sincos instead of
19947         check_float calls.  Update calls to new_test.
19948         (parse_args): Output call to single RUN_TEST_* macro instead of
19949         check_* calls and other assignments.  Update calls to new_test.
19950
19951         [BZ #2546]
19952         [BZ #2560]
19953         [BZ #5159]
19954         [BZ #15426]
19955         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19956         input to result for tgamma overflow.
19957         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19958         (gamma_coeff): New variable.
19959         (NCOEFF): New macro.
19960         (gamma_positive): New function.
19961         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19962         underflow here.  Use gamma_positive instead of exp (lgamma) for
19963         other arguments.
19964         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19965         (gamma_coeff): New variable.
19966         (NCOEFF): New macro.
19967         (gammaf_positive): New function.
19968         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19969         underflow here.  Use gamma_positive instead of exp (lgamma) for
19970         other arguments.
19971         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19972         (gamma_coeff): New variable.
19973         (NCOEFF): New macro.
19974         (gammal_positive): New function.
19975         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19976         underflow here.  Use gamma_positive instead of exp (lgamma) for
19977         other arguments.
19978         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19979         (gamma_coeff): New variable.
19980         (NCOEFF): New macro.
19981         (gammal_positive): New function.
19982         (__ieee754_gammal_r): Handle positive infinity, overflow and
19983         underflow here.  Handle NaN the same as positive infinity.  Remove
19984         check x < 0xffffffff for negative integers.  Use gamma_positive
19985         instead of exp (lgamma) for other arguments.
19986         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19987         (gamma_coeff): New variable.
19988         (NCOEFF): New macro.
19989         (gammal_positive): New function.
19990         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19991         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19992         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19993         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19994         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19995         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19996         * sysdeps/generic/math_private.h (__gamma_productf): New
19997         prototype.
19998         (__gamma_product): Likewise.
19999         (__gamma_productl): Likewise.
20000         * math/Makefile (libm-calls): Add gamma_product.
20001         * math/libm-test.inc (tgamma_test): Add more tests.
20002         * sysdeps/i386/fpu/libm-test-ulps: Update.
20003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20004
20005 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20006
20007         * benchtests/bench-skeleton.c (main): Preheat CPU.
20008
20009 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20010
20011         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20012
20013 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20014
20015         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20016         and _dl_skip_args_internal.
20017
20018 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20019
20020         * manual/message.texi (Message Translation): Talk about users.
20021         Message to key mapping impacts design.
20022
20023 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20024
20025         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20026
20027         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20028
20029         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20030         * sysdeps/wordsize-64/glob64.c: ... here.
20031
20032         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20033         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20034         New macros.
20035
20036         * debug/getlogin_r_chk.c: Moved to ...
20037         * login/getlogin_r_chk.c: ... here.
20038         * debug/Makefile (routines): Move getlogin_r_chk to ...
20039         * login/Makefile (routines): ... here.
20040         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20041         * login/Versions (libc: GLIBC_2.4): ... here.
20042
20043         * io/poll.c (__poll): Renamed from poll.
20044         Add libc_hidden_def.
20045         (poll): Define as weak alias.
20046
20047         * debug/ptsname_r_chk.c: Moved to ...
20048         * login/ptsname_r_chk.c: ... here.
20049         * debug/Makefile (routines): Move ptsname_r_chk to ...
20050         * login/Makefile (routines): ... here.
20051         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20052         * login/Versions (libc: GLIBC_2.4): ... here.
20053
20054         * posix/getlogin.c: Moved to ...
20055         * login/getlogin.c: ... here.
20056         * posix/getlogin_r.c: Moved to ...
20057         * login/getlogin_r.c: ... here.
20058         * posix/getlogin_r.c: Moved to ...
20059         * login/getlogin_r.c: ... here.
20060         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20061         * login/Makefile (routines): ... here.
20062         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20063         * login/Versions (libc: GLIBC_2.0): ... here.
20064
20065         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20066         (setrlimit): Define as weak alias.
20067
20068         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20069         Call __ names for open, ftruncate, and close.
20070         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20071         (truncate): Define as weak alias.
20072
20073 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20074
20075         * math/gen-libm-test.pl (parse_args): Initialize x before each
20076         test of frexp, modf and remquo.
20077
20078         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20079         test signgam value.
20080
20081 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20082
20083         [BZ #15418]
20084         [BZ #15419]
20085         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20086         internal tests.
20087         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20088
20089 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20090
20091         * elf/dl-writev.h: New file.
20092         * elf/dl-misc.c: Include it.
20093         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20094         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20095
20096 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20097
20098         * math/libm-test.inc (noXFails): Remove variable.
20099         (noXPasses): Likewise.
20100         (BUILD_COMPLEX_INT): Remove macro.
20101         (print_screen): Remove xfail argument.
20102         (print_screen_max_error): Likewise.
20103         (update_stats): Likewise.
20104         (print_max_error): Likewise.  Update calls to other affected
20105         functions.
20106         (print_complex_max_error): Likewise.
20107         (test_single_exception): Update calls to print_screen.
20108         (test_single_errno): Likewise.
20109         (check_float_internal): Remove xfail argument.  Update calls to
20110         other affected functions.
20111         (check_float): Likewise.
20112         (check_complex): Likewise.
20113         (check_int): Likewise.
20114         (check_long): Likewise.
20115         (check_bool): Likewise.
20116         (check_longlong): Likewise.
20117         (main): Don't print noXFails and noXPasses.
20118         * math/gen-libm-test.pl (top level): Don't mention expected
20119         failure handling in comment.
20120         (new_test): Don't handle expected failures.
20121         (parse_args): Don't mention expected failure handling in comment.
20122         (generate_testfile): Don't handle expected failures.
20123         (parse_ulps): Likewise.
20124         (print_ulps_file): Likewise.
20125         (get_failure): Remove function.
20126         (output_test): Don't handle expected failures.
20127         * make/README.libm-test: Don't mention expected failure handling.
20128
20129         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20130         (minus_zero): Likewise.
20131         (plus_infty): Likewise.
20132         (minus_infty): Likewise.
20133         (qnan_value): Likewise.
20134         (max_value): Likewise.
20135         (min_value): Likewise.
20136         (min_subnorm_value): Likewise.
20137         (initialize): Do not initialize those variables dynamically.
20138
20139 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20140
20141         * io/open.c (__open_2): Moved to ...
20142         * io/open_2.c: ... this new file.
20143         * io/open64.c (__open64_2): Moved to ...
20144         * io/open64_2.c: ... this new file.
20145         * io/openat.c (__openat_2): Moved to ...
20146         * io/openat_2.c: ... this new file.
20147         * io/openat64.c (__openat64_2): Moved to ...
20148         * io/openat64_2.c: ... this new file.
20149         * io/Makefile (routines): Add them.
20150         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20151         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20152         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20153         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20154         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20155         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20156         (__openat64): Add hidden_ver.
20157         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20158         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20159
20160         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20161         Separately conditionalize setting of GLRO(dl_sysinfo) so
20162         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20163         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20164
20165 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20166
20167         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20168         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20169         definition.
20170         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20171         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20172         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20173         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20174         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20175
20176 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20177
20178         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20179         test signgam value.
20180
20181         * math/libm-test.inc (hypot_test): Do not use
20182         IGNORE_ZERO_INF_SIGN.
20183
20184 2013-05-03  Andreas Jaeger  <aj@suse.de>
20185
20186         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20187         Linux 3.9.
20188         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20189         (PF_MAX): Adjust for VSOCK change.
20190
20191 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20192
20193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20194
20195 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20196
20197         [BZ #15264]
20198         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20199         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20200         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20201
20202 2013-05-02  David S. Miller  <davem@davemloft.net>
20203
20204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20205
20206 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20207
20208         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20209
20210 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20211
20212         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20213
20214 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20215
20216         [BZ #14952]
20217         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20218         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20219         Use __attribute__ ((__gnu_inline__)).
20220         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20221         Don't use __attribute__ ((__gnu_inline__)).
20222
20223 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20224
20225         [BZ #15423]
20226         * math/s_catan.c (__catan): Handle small real or imaginary part of
20227         input specially to avoid spurious underflow.
20228         * math/s_catanf.c (__catanf): Likewise.
20229         * math/s_catanh.c (__catanh): Likewise.
20230         * math/s_catanhf.c (__catanhf): Likewise.
20231         * math/s_catanhl.c (__catanhl): Likewise.
20232         * math/s_catanl.c (__catanl): Likewise.
20233         * math/libm-test.inc (catan_test): Add more tests.
20234         (catanh_test): Likewise.
20235         * sysdeps/i386/fpu/libm-test-ulps: Update.
20236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20237
20238 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20239
20240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20241
20242 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20243
20244         [BZ #15416]
20245         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20246         accurately for denominator in atan2.
20247         * math/s_catanf.c (__catanf): Likewise.
20248         * math/s_catanh.c (__catanh): Likewise.
20249         * math/s_catanhf.c (__catanhf): Likewise.
20250         * math/s_catanhl.c (__catanhl): Likewise.
20251         * math/s_catanl.c (__catanl): Likewise.
20252         * math/libm-test.inc (catan_test): Add more tests.
20253         (catanh_test): Likewise.
20254         * sysdeps/i386/fpu/libm-test-ulps: Update.
20255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20256
20257 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20258
20259         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20260
20261         * benchtests/Makefile (bench): Remove slow benchmarks.
20262         * benchtests/atan-inputs: Add slow benchmark inputs.
20263         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20264         (BENCH_FUNC): Accept variant offset.
20265         (VARIANT): Define.
20266         * benchtests/bench-skeleton.c (main): Run benchmark for each
20267         variant.
20268         * benchtests/cos-inputs: Add slow benchmark inputs.
20269         * benchtests/exp-inputs: Likewise.
20270         * benchtests/pow-inputs: Likewise.
20271         * benchtests/sin-inputs: Likewise.
20272         * benchtests/slowatan-inputs: Remove.
20273         * benchtests/slowatan.c: Remove.
20274         * benchtests/slowcos-inputs: Remove.
20275         * benchtests/slowcos.c: Remove.
20276         * benchtests/slowexp-inputs: Remove.
20277         * benchtests/slowexp.c: Remove.
20278         * benchtests/slowpow-inputs: Remove.
20279         * benchtests/slowpow.c: Remove.
20280         * benchtests/slowsin-inputs: Remove.
20281         * benchtests/slowsin.c: Remove.
20282         * benchtests/slowtan-inputs: Remove.
20283         * benchtests/slowtan.c: Remove.
20284         * benchtests/tan-inputs: Add slow benchmark inputs.
20285         * scripts/bench.pl: Parse comments and directives.
20286
20287         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20288         in CPPFLAGS.
20289         ($(objpfx)bench-%.c): Remove *-ITER.
20290         * benchtests/bench-modf.c: Remove definition of ITER.
20291         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20292         (main): Loop for DURATION seconds instead of fixed number of
20293         iterations.
20294         * scripts/bench.pl: Don't expect iterations in parameters.
20295
20296 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20297
20298         * io/fchdir.c (__fchdir): Renamed from fchdir.
20299         (fchdir): Define as weak alias.
20300
20301 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20302
20303         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20304         (ERRNO_EDOM): Likewise.
20305         (ERRNO_ERANGE): Likewise.
20306         (noErrnoTests): New variable.
20307         (init_max_error): Set errno to 0.
20308         (test_single_errno): New function.
20309         (test_errno): Likewise.
20310         (check_float_internal): Call test_errno.  Set errno to 0.
20311         (check_complex): Refer to errno tests in comment.
20312         (check_int): Call test_errno.  Set errno to 0.
20313         (check_long): Likewise.
20314         (check_bool): Likewise.
20315         (check_longlong): Likewise.
20316         (cos_test): Use ERRNO_* flags for errno tests instead of
20317         check_int.
20318         (expm1_test): Likewise.
20319         (fmod_test): Likewise.
20320         (ilogb_test): Likewise.
20321         (lgamma_test): Likewise.
20322         (pow_test): Likewise.
20323         (remainder_test): Likewise.
20324         (sin_test): Likewise.
20325         (tan_test): Likewise.
20326         (yn_test): Likewise.
20327         (initialize): Set errno to 0.
20328         (main): Print number of errno tests.
20329         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20330
20331 2013-04-29  Andreas Jaeger  <aj@suse.de>
20332
20333         [BZ #15084]
20334         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20335         and RES_USEVC.
20336
20337         [BZ #15085]
20338         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20339         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20340         unimplemented.
20341
20342         [BZ #15380]
20343         * stdlib/random.c (__initstate): Return NULL if
20344         __initstate fails.
20345
20346         [BZ #15086]
20347         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20348         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20349         RES_SNGLKUPREOP.
20350
20351 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20352
20353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20354
20355 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20356
20357         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20358         of individual tests.
20359         (casin_test): Likewise.
20360         (casinh_test): Likewise.
20361
20362 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20363
20364         [BZ #15409]
20365         * math/s_catan.c (__catan): Handle arguments with large real or
20366         imaginary part separately without squaring.
20367         * math/s_catanf.c (__catanf): Likewise.
20368         * math/s_catanh.c (__catanh): Likewise.
20369         * math/s_catanhf.c (__catanhf): Likewise.
20370         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20371         and redefine.
20372         (__catanhl): Handle arguments with large real or imaginary part
20373         separately without squaring.
20374         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20375         and redefine.
20376         (__catanl): Handle arguments with large real or imaginary part
20377         separately without squaring.
20378         * math/libm-test.inc (catan_test): Add more tests.
20379         (catanh_test): Likewise.
20380         * sysdeps/i386/fpu/libm-test-ulps: Update.
20381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20382
20383 2013-04-27  Andreas Jaeger  <aj@suse.de>
20384
20385         [BZ #15007]
20386         * stdlib/stdlib.h: Update guards for qecvt.
20387         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20388         <stdlib.h>.
20389
20390 2013-04-27  Allan McRae  <allan@archlinux.org>
20391
20392         * sysdeps/i386/fpu/libm-test-ulps: Update.
20393
20394 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20395
20396         [BZ #15406]
20397         * math/s_catan.c: Include <float.h>.
20398         (__catan): Ensure underflow exception occurs for underflowed
20399         result.
20400         * math/s_catanf.c: Include <float.h>.
20401         (__catanf): Ensure underflow exception occurs for underflowed
20402         result.
20403         * math/s_catanh.c: Include <float.h>.
20404         (__catanh): Ensure underflow exception occurs for underflowed
20405         result.
20406         * math/s_catanhf.c: Include <float.h>.
20407         (__catanhf): Ensure underflow exception occurs for underflowed
20408         result.
20409         * math/s_catanhl.c: Include <float.h>.
20410         (__catanhl): Ensure underflow exception occurs for underflowed
20411         result.
20412         * math/s_catanl.c: Include <float.h>.
20413         (__catanl): Ensure underflow exception occurs for underflowed
20414         result.
20415         * math/libm-test.inc (catan_test): Add more tests.
20416         (catanh_test): Likewise.
20417
20418         [BZ #15405]
20419         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20420         underflowed result.
20421         * math/s_ccoshf.c (__ccoshf): Likewise.
20422         * math/s_ccoshl.c (__ccoshl): Likewise.
20423         * math/s_csin.c (__csin): Likewise.
20424         * math/s_csinf.c (__csinf): Likewise.
20425         * math/s_csinh.c (__csinh): Likewise.
20426         * math/s_csinhf.c (__csinhf): Likewise.
20427         * math/s_csinhl.c (__csinhl): Likewise.
20428         * math/s_csinl.c (__csinl): Likewise.
20429         * math/libm-test.inc (ccos_test): Add more tests.
20430         (ccosh_test): Likewise.
20431         (csin_test): Likewise.
20432         (csinh_test): Likewise.
20433
20434 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20435
20436         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20437         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20438         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20439         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20440         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20441         powerpc/power5+/fpu folders.
20442         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20443
20444
20445 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20446
20447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20448
20449 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20450
20451         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20452         additions to variable.
20453         [$(config-machine) = x86_64] (modules-names): Likewise.
20454         ($(objpfx)tst-audit3): Remove dependency.
20455         ($(objpfx)tst-audit3.out): Likewise.
20456         ($(objpfx)tst-audit4): Likewise.
20457         ($(objpfx)tst-audit4.out): Likewise.
20458         ($(objpfx)tst-audit5): Likewise.
20459         ($(objpfx)tst-audit5.out): Likewise.
20460         ($(objpfx)tst-audit6): Likewise.
20461         ($(objpfx)tst-audit6.out): Likewise.
20462         ($(objpfx)tst-audit7): Likewise.
20463         ($(objpfx)tst-audit7.out): Likewise.
20464         (tst-audit3-ENV): Remove variable.
20465         (tst-audit4-ENV): Likewise.
20466         (tst-audit5-ENV): Likewise.
20467         (tst-audit6-ENV): Likewise.
20468         (tst-audit7-ENV): Likewise.
20469         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20470         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20471         addition to variable.
20472         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20473         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20474         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20475         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20476         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20477         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20478         tst-audit3, tst-audit4 and tst-audit5.
20479         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20480         tst-audit6 and tst-audit7.
20481         [$(subdir) = elf] (modules-names): Add audit modules for those
20482         tests.
20483         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20484         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20485         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20486         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20487         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20488         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20489         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20490         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20491         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20492         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20493         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20494         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20495         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20496         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20497         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20498         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20499         Likewise.
20500         [$(subdir) = elf && $(config-cflags-avx) = yes]
20501         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20502         [$(subdir) = elf && $(config-cflags-avx) = yes]
20503         (CFLAGS-tst-auditmod4a.c): Likewise.
20504         [$(subdir) = elf && $(config-cflags-avx) = yes]
20505         (CFLAGS-tst-auditmod4b.c): Likewise.
20506         [$(subdir) = elf && $(config-cflags-avx) = yes]
20507         (CFLAGS-tst-auditmod6b.c): Likewise.
20508         [$(subdir) = elf && $(config-cflags-avx) = yes]
20509         (CFLAGS-tst-auditmod6c.c): Likewise.
20510         [$(subdir) = elf && $(config-cflags-avx) = yes]
20511         (CFLAGS-tst-auditmod7b.c): Likewise.
20512         * elf/tst-audit3.c: Move to ...
20513         * sysdeps/x86_64/tst-audit3.c: ... here.
20514         * elf/tst-audit4.c: Move to ...
20515         * sysdeps/x86_64/tst-audit4.c: ... here.
20516         * elf/tst-audit5.c: Move to ...
20517         * sysdeps/x86_64/tst-audit5.c: ... here.
20518         * elf/tst-audit6.c: Move to ...
20519         * sysdeps/x86_64/tst-audit6.c: ... here.
20520         * elf/tst-audit7.c: Move to ...
20521         * sysdeps/x86_64/tst-audit7.c: ... here.
20522         * elf/tst-auditmod3a.c: Move to ...
20523         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20524         * elf/tst-auditmod3b.c: Move to ...
20525         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20526         * elf/tst-auditmod4a.c: Move to ...
20527         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20528         * elf/tst-auditmod4b.c: Move to ...
20529         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20530         * elf/tst-auditmod5a.c: Move to ...
20531         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20532         * elf/tst-auditmod5b.c: Move to ...
20533         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20534         * elf/tst-auditmod6a.c: Move to ...
20535         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20536         * elf/tst-auditmod6b.c: Move to ...
20537         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20538         * elf/tst-auditmod6c.c: Move to ...
20539         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20540         * elf/tst-auditmod7a.c: Move to ...
20541         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20542         * elf/tst-auditmod7b.c: Move to ...
20543         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20544
20545 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20546
20547         [BZ #15366]
20548         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20549         define unconditionally.
20550         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20551         define unconditionally.
20552         (INT8_C, INT16_C, etc.): Likewise.
20553
20554 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20555
20556         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20557         __ehdr_start with hidden visibility.
20558
20559         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20560
20561 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20562
20563         * math/libm-test.inc (cos_test): Use accurate hex constants.
20564         (sincost_test): Likewise.
20565
20566 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20567
20568         * math/libm-test.inc (catan_test): Add more tests.
20569         (catanh_test): Likewise.
20570
20571         * math/s_catanf.c (__catanf): Use suffixed floating-point
20572         constants.
20573         * math/s_catanhf.c (__catanhf): Likewise.
20574         * math/s_catanhl.c (__catanhl): Likewise.
20575         * math/s_catanl.c (__catanl): Likewise.
20576
20577         [BZ #15394]
20578         * math/s_catan.c (__catan): Calculate imaginary part of result
20579         with log1p not log unless computing log of number close to 0.
20580         * math/s_catanf.c (__catanf): Likewise.
20581         * math/s_catanl.c (__catanl): Likewise.
20582         * math/s_catanh.c (__catanh): Calculate real part of result with
20583         log1p not log unless computing log of number close to 0.
20584         * math/s_catanhf.c (__catanhf): Likewise.
20585         * math/s_catanhl.c (__catanhl): Likewise.
20586         * math/libm-test.inc (catan_test): Add more tests.
20587         (catanh_test): Likewise.
20588         * sysdeps/i386/fpu/libm-test-ulps: Update.
20589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20590
20591 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20592
20593         * benchtests/Makefile: Mention files in which fast and slow
20594         paths of math functions are implemented.
20595
20596 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20597
20598         * sysdeps/posix/timespec_get.c: New file.
20599
20600 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20601
20602         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20603         POWER.
20604         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20605         for POWER.
20606         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20607         powerpc/power5/fpu folders.
20608         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20609         * benchtests/Makefile: Add modf testcase.
20610         * benchtests/bench-modf.c: New file: Benchmark test for mo
20611
20612 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20613
20614         [BZ #14888]
20615         * time/Makefile (tests): Add tst-strptime-whitespace.
20616         * time/strptime_l.c (get_number): Use ISSPACE.
20617         (__strptime_internal): Likewise.
20618         * time/tst-strptime-whitespace.c: New test case.
20619
20620 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20621
20622         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20623         member.
20624         (_nss_files_init): Set it here.
20625
20626 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20627
20628         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20629         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20630         unsigned.
20631
20632 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20633
20634         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20635
20636 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20637
20638         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20639         size just once.
20640
20641 2013-04-21  David S. Miller  <davem@davemloft.net>
20642
20643         * po/ru.po: Update Russion translation from translation project.
20644
20645 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20646
20647         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20648         and setfsgid.
20649
20650 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20651
20652         * configure.in: Remove i386 configure warning. Remove i386 case.
20653         * configure: Regenerate.
20654         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20655         Add example to error message.
20656         * sysdeps/i386/configure: Regenerate.
20657
20658 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20659
20660         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20661         slowtan.
20662         * benchtests/cos-inputs: New file.
20663         * benchtests/slowcos-inputs: New file.
20664         * benchtests/slowcos.c: New file.
20665         * benchtests/slowtan-inputs: New file.
20666         * benchtests/slowtan.c: New file.
20667         * benchtests/tan-inputs: New file.
20668
20669 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20670
20671         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20672         considered kosher.
20673
20674 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20675
20676         * benchtests/Makefile: Include cppflags-iterator.mk to add
20677         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20678
20679         * Makefile.in (bench-clean): New target.
20680         * benchtests/Makefile (bench-clean): Likewise.
20681
20682 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20683
20684         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20685
20686 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20687
20688         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20689
20690 2013-04-15  Andreas Schwab  <schwab@suse.de>
20691
20692         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20693         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20694         * nscd/pwdcache.c (cache_addpw): Likewise.
20695         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20696         more than recsize.
20697
20698 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20699
20700         * benchtests/Makefile (bench): Write all output to
20701         bench-out.tmp together.
20702
20703 2013-04-15  Andreas Schwab  <schwab@suse.de>
20704
20705         * nscd/nscd.c (main): Don't fork again after closing files.
20706
20707 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20708
20709         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20710
20711         * benchtests/Rules (bench-deps): Collect dependencies into a
20712         single variable.  Add Makefile to dependencies.
20713         ($(objpfx)bench-%.c): Depend on bench-deps.
20714
20715 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20716             Xavier Roche  <roche+kml2@exalead.com>
20717
20718         [BZ #15361]
20719         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20720         just that it's a file descriptor.
20721         * manual/llio.texi (Synchronizing AIO Operations): Update description
20722         for EBADF error from aio_fsync.
20723
20724 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20725
20726         * Rules (bench): Move target definition...
20727         * benchtests/Makefile: ... here.
20728
20729 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20730
20731         * math/libm-test.inc (cos_test): Fix PI/2 test.
20732         (sincos_test): Likewise.
20733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20734         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20735
20736 2013-04-11  Andreas Schwab  <schwab@suse.de>
20737
20738         [BZ #13988]
20739         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20740         accept exponent character only when digits were seen.
20741         * stdio-common/Makefile (tests): Add bug26.
20742         * stdio-common/bug26.c: New file.
20743
20744         [BZ #14293]
20745         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20746         non-freeable.
20747
20748 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20749
20750         * Makeconfig (rtld-prefix): Define built linker prefix.
20751         * Rules (run-bench): Use it.
20752         * math/Makefile (run-regen-ulps): Likewise.
20753
20754         * Rules (bench): Remove eval.
20755
20756 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20757             Roland McGrath  <roland@hack.frob.com>
20758             Ondrej Bilka  <neleai@seznam.cz>
20759
20760         [BZ #15346]
20761         * time/getdate.c: Include ctype.h and alloca.h.
20762         (__getdate_r): Trim leading and trailing spaces of input.
20763         * time/tst-getdate.c (tests): Add tests with leading and
20764         trailing spaces.
20765
20766 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20767
20768         [BZ #14280]
20769         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20770         when computing value.
20771
20772 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20773
20774         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20775         Use testrun.sh to run libm tests.
20776
20777         [BZ #15309]
20778         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20779
20780 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20781
20782         [BZ #15264]
20783         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20784
20785 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20786
20787         * Makefile.in (regen-ulps): New target.
20788         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20789         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20790         [ifneq (no,$(PERL)] (regen-ulps): New target.
20791         [ifeq (no,$(PERL)] (regen-ulps): New target.
20792         * math/libm-test.inc (ulps_file_name): Define.
20793         (output_dir): New variable.
20794         (options): Add "output-dir" option.
20795         (parse_opt): Handle 'o' case.
20796         (main): If output_dir is non-NULL use it as a prefix
20797         otherwise use "".
20798         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20799
20800 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20801
20802         [BZ #10060, #10062]
20803         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20804         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20805         fail configure if __sync_val_compare_and_swap is not inlined.
20806         * sysdeps/i386/configure: Regenerate.
20807         * configure.in: Build for i686 when configured for i386.
20808         * configure: Regenerate.
20809         * README: Remove i386 reference.
20810
20811 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20812
20813         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20814         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20815
20816 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20817
20818         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20819         (lmsnanval): New variables.
20820         (F): Add conversion tests.
20821         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20822         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20823
20824         * stdio-common/tstdiomisc.c (F): Properly collect individual
20825         tests' results.
20826
20827         [BZ #14686, #15336]
20828         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20829         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20830         Instead, use input NaN values or generate a qNaN by arithmetic
20831         operation.  Also fix bugs to comply with the standard.
20832         * math/libm-test.inc (remainder_test): Add more tests.
20833
20834         [BZ #15335, #15342]
20835         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20836         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20837         input NaN values or generate a qNaN by arithmetic operation.
20838
20839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20840         unreachable code.
20841
20842         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20843         definitions.
20844
20845 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20846
20847         [BZ #14478]
20848         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20849         underflowed result.
20850         * math/s_cexpf.c (__cexpf): Likewise.
20851         * math/s_cexpl.c (__cexpl): Likewise.
20852         * math/libm-test.inc (cexp_test): Add more tests.
20853
20854 2013-04-03  Andreas Schwab  <schwab@suse.de>
20855
20856         [BZ #15330]
20857         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20858         order arrays from heap if bigger than alloca cutoff.
20859
20860 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20861
20862         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20863         (SNAN_TESTS_double): Refer to GCC PR56831.
20864         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20865         GCC PR56828.
20866
20867 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20868
20869         * Rules (bench): Move bench.out after the run is complete.
20870
20871         * Rules (bench): Echo currently running benchmark.
20872
20873         * benchtests/Makefile (bench): Add atan and slowatan.
20874         * benchtests/atan-inputs: New file.
20875         * benchtests/slowatan-inputs: New file.
20876         * benchtests/slowatan.c: New file.
20877
20878         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20879         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20880         its value.
20881
20882         [BZ #15305]
20883         * sysdeps/unix/sysv/linux/kernel-features.h
20884         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20885         __ASSUME_XFS_RESTRICTED_CHOWN.
20886         * sysdeps/unix/sysv/linux/pathconf.c
20887         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20888         Save and restore errno.
20889
20890 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20891
20892         [BZ #15327]
20893         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20894         arguments using __kernel_casinh.
20895         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20896         arguments using __kernel_casinhf.
20897         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20898         arguments using __kernel_casinhl.
20899         * math/libm-test.inc (cacosh_test): Add more tests.
20900         * sysdeps/i386/fpu/libm-test-ulps: Update.
20901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20902
20903 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20904
20905         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20907
20908         * bench/Makefile (bench): Add sin and slowsin.
20909         * benchtests/sin-inputs: New file.
20910         * benchtests/slowsin-inputs: New file.
20911         * benchtests/slowsin.c: New file.
20912
20913         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20914         (bench): Add slowexp and slowpow.
20915         (exp-ITER): Increase iterations.
20916         (pow-ITER): Likewise.
20917         * benchtests/exp-inputs: Change input.
20918         * benchtests/pow-inputs: Likewise.
20919         * benchtests/slowexp-inputs: New file.
20920         * benchtests/slowexp.c: New file.
20921         * benchtests/slowpow-inputs: New file.
20922         * benchtests/slowpow.c: New file.
20923
20924 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20925
20926         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20927         instructions.
20928         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20929         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20930         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20931         * benchtests/Makefile: Add rint benchtest.
20932         * benchtests/rint-inputs: Input for rint benchtest.
20933
20934 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20935
20936         * Versions.def (libm): Add GLIBC_2.18.
20937         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20938         hidden libm prototypes.
20939         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20940         * math/Makefile (libm-calls): Add s_issignaling.
20941         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20942         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20943         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20944         declaration.
20945         * math/math.h [__USE_GNU] (issignaling): New macro.
20946         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20947         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20948         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20949         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20950         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20951         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20952         * manual/arith.texi (issignaling): New section.
20953         * manual/libm-err-tab.pl (@all_functions): Update comment.
20954         * math/gen-libm-test.pl (parse_args): Apply special handling for
20955         issignaling.
20956         * math/libm-test.inc (print_float, issignaling_test): New
20957         functions.
20958         (check_float_internal): Add issignaling checks.
20959         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20960         default definition.
20961         * sysdeps/powerpc/math-tests.h: New file.
20962         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20963         tests.
20964         * math/test-snan.c (TEST_FUNC): Likewise.
20965
20966 2013-03-30  David S. Miller  <davem@davemloft.net>
20967
20968         * po/de.po: Update from translation team.
20969
20970 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20971
20972         [BZ #10357]
20973         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20974         imaginary part less than 1.0 and real part less than 0.5
20975         specially.
20976         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20977         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20978         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20979         (cacos_test): Add more tests.
20980         (casin_test): Likewise.
20981         (casinh_test): Likewise.
20982         * sysdeps/i386/fpu/libm-test-ulps: Update.
20983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20984
20985 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20986
20987         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20988         ONE with its value.
20989
20990         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20991         (__pow_mp): Replace ONE and MONE with their values.
20992         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20993         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20994         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20995         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20996         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20997         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20998
20999         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21000
21001         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21002         (__pow_mp): Replace ZERO and MZERO with their values.
21003         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21004         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21005         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21007         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21008         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21009         (__sqr): Likewise.
21010
21011         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21012
21013         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21014
21015 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21016
21017         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21018         Declare with __attribute__ ((weak)).
21019         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21020         Call __call_tls_dtors only if it's not NULL.
21021
21022 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21023
21024         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21025         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21026         magic __ehdr_start linker symbol if it's defined.
21027         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21028         them up here if it was already done.
21029
21030         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21031         (_dl_aux_init): Use const in cast when setting it.
21032         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21033         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21034         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21035
21036         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21037         Declare them here.
21038         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21039         * csu/libc-tls.c: Nor here.
21040         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21041
21042         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21043         (__libc_message): Never call vsyslog.
21044
21045 2013-03-28  Alan Modra  <amodra@gmail.com>
21046
21047         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21048         Define as empty.
21049         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21050         Likewise.
21051
21052 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21053
21054         [BZ #15214]
21055         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21056         underflow.
21057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21058
21059 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21060
21061         [BZ #15304]
21062         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21063         Don't add gid passed as argument.
21064
21065         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21066
21067 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21068
21069         [BZ #15307]
21070         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21071         imaginary part between 1.0 and 1.5 and real part less than 0.5
21072         specially.
21073         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21074         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21075         * math/libm-test.inc (cacos_test): Add more tests.
21076         (casin_test): Likewise.
21077         (casinh_test): Likewise.
21078         * sysdeps/i386/fpu/libm-test-ulps: Update.
21079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21080
21081 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21082
21083         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21084         constants.
21085         (norm): Likewise.
21086         (denorm): Likewise.
21087         (__dbl_mp): Likewise.
21088         (add_magnitudes): Likewise.
21089         (sub_magnitudes): Likewise.
21090         (__add): Likewise.
21091         (__sub): Likewise.
21092         (__mul): Likewise.
21093         (__sqr): Likewise.
21094         (__inv): Likewise.
21095         (__dvd): Likewise.
21096
21097         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21098         commented code.
21099         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21100         (__dubcos): Likewise.
21101         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21102         (__ieee754_acos): Likewise.
21103         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21104         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21105         (__exp1): Likewise.
21106         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21107         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21108         (log1): Likewise.
21109         (my_log2): Likewise.
21110         (checkint): Likewise.
21111         * sysdeps/ieee754/dbl-64/e_remainder.c
21112         (__ieee754_remainder): Likewise.
21113         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21115         (bsloww): Likewise.
21116         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21117
21118         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21119         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21120         MANTISSA_STORE_T to store computations on mantissa.  Use
21121         macros for rounding and division.
21122         (denorm): Likewise.
21123         (__dbl_mp): Likewise.
21124         (add_magnitudes): Likewise.
21125         (sub_magnitudes): Likewise.
21126         (__mul): Likewise.
21127         (__sqr): Likewise.
21128         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21129         powers of two in terms of TWOPOW macro.
21130         (mp_no): Make type of mantissa as MANTISSA_T.
21131         [!RADIXI]: Define RADIXI.
21132         [!TWO52]: Define TWO52.
21133         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21134
21135 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21136
21137         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21138         llroundl symbol when building for PPC32.
21139
21140 2013-03-24  Mark H Weaver  <mhw@netris.org>
21141
21142         * manual/arith.texi (Normalization Functions): Fix prototypes for
21143         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21144
21145 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21146
21147         [BZ #13889]
21148         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21149         high value to check if expl overflow.
21150         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21151         to check for underflow and overflow.
21152         * math/libm-test.inc: Add exp test.
21153
21154 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21155
21156         [BZ #11120]
21157         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21158         with NOT_IN_libc.
21159
21160 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21161
21162         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21163         symbol.
21164
21165 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21166
21167         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21168         wrap blocks consisting of several statements.
21169
21170         * sysdeps/generic/math-tests.h: New file.
21171         * sysdeps/i386/fpu/math-tests.h: Likewise.
21172         * math/test-snan.c: Include it.
21173         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21174
21175 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21176
21177         [BZ #15285]
21178         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21179         (__ieee754_j0l): Do not improve calculations using cos of twice
21180         input for inputs above LDBL_MAX / 2.0L.
21181         (__ieee754_y0l): Likewise.
21182         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21183         (__ieee754_j1l): Do not improve calculations using cos of twice
21184         input for inputs above LDBL_MAX / 2.0L.
21185         (__ieee754_y1l): Likewise.
21186         * math/libm-test.inc (j0_test): Add another test.
21187         (j1_test): Likewise.
21188         (y0_test): Likewise.
21189         (y1_test): Likewise.
21190         * sysdeps/i386/fpu/libm-test-ulps: Update.
21191
21192 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21193
21194         * Rules ($(objpfx)bench-%.c): Include code from a C source
21195         file.
21196
21197 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21198
21199         [BZ #15287]
21200         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21201         imaginary part 1.0 and real part less than 0.5 specially.
21202         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21203         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21204         * math/libm-test.inc (cacos_test): Add more tests.
21205         (casin_test): Likewise.
21206         (casinh_test): Likewise.
21207         * sysdeps/i386/fpu/libm-test-ulps: Update.
21208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21209
21210 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211
21212         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21213         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21214
21215 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21216
21217         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21218         * config.make.in (config-cflags-sse4): Remove variable.
21219         (config-cflags-avx): Likewise.
21220         (config-cflags-sse2avx): Likewise.
21221         (config-cflags-novzeroupper): Likewise.
21222         (config-asflags-i686): Likewise.
21223         (have-mfma4): Likewise.
21224         (have-as-vis3): Likewise.
21225         (MIG): Likewise.
21226         * configure.in (MIG): Do not AC_SUBST.
21227         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21228         (libc_cv_cc_sse4): Do not AC_SUBST.
21229         (libc_cv_cc_avx): Likewise.
21230         (libc_cv_cc_sse2avx): Likewise.
21231         (libc_cv_cc_novzeroupper): Likewise.
21232         (libc_cv_cc_fma4): Likewise.
21233         (libc_cv_as_i686): Likewise.
21234         (libc_cv_sparc_as_vis3): Likewise.
21235         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21236         LIBC_CONFIG_VAR.
21237         (config-asflags-i686): Likewise.
21238         (config-cflags-avx): Likewise.
21239         (config-cflags-sse2avx): Likewise.
21240         (have-mfma4): Likewise.
21241         (config-cflags-novzeroupper): Likewise.
21242         * sysdeps/mach/configure.in (MIG): Likewise.
21243         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21244         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21245         LIBC_CONFIG_VAR.
21246         (config-cflags-avx): Likewise.
21247         (config-cflags-sse2avx): Likewise.
21248         (have-mfma4): Likewise.
21249         (config-cflags-novzeroupper): Likewise.
21250         * configure: Regenerated.
21251         * sysdeps/i386/configure: Likewise.
21252         * sysdeps/mach/configure: Likewise.
21253         * sysdeps/sparc/configure: Likewise.
21254         * sysdeps/x86_64/configure: Likewise.
21255
21256 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21257
21258         [BZ #14812]
21259         * locale/programs/localedef.c (options): Put N_ translation marker
21260         on argument names, not just descriptions.
21261
21262 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21263
21264         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21265
21266 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21267
21268         [BZ #14176]
21269         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21270
21271 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21272
21273         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21274         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21275         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21276         [!BEFORE_ABORT] (before_abort): New function.
21277         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21278         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21279         (writev_for_fatal): New function.
21280         (WRITEV_FOR_FATAL): New macro; call that.
21281         (backtrace_and_maps): New function.
21282         (BEFORE_ABORT): New macro; call that.
21283         (struct str_list): Type removed.
21284         (__libc_message, __libc_fatal): Functions removed.
21285         Include <sysdeps/posix/libc_fatal.c> instead.
21286
21287 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21288
21289         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21290         constants.
21291         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21292         double constants.
21293
21294 2013-03-19  Andreas Schwab  <schwab@suse.de>
21295
21296         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21297         * sysdeps/gnu/configure: Regenerate.
21298
21299         * configure.in: Substitute libc_cv_rtlddir.
21300         * configure: Regenerate.
21301         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21302         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21303         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21304         * elf/Makefile (install-others, CFLAGS-interp.c)
21305         (ldso_install, common-ldd-rewrite): Likewise.
21306         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21307         $(inst_slibdir)/$(rtld-installed-name).
21308         * scripts/rellns-sh: Add -p option.
21309         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21310         for source.
21311
21312 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21313
21314         * manual/nptl.texi: Renamed to ...
21315         * manual/threads.texi: ... this.
21316         * manual/Makefile (chapters): Update.
21317
21318 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21319
21320         [BZ #14812]
21321         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21322         on argument names, not just descriptions.
21323         * malloc/memusagestat.c (options): Likewise.
21324         * nss/getent.c (options): Likewise.
21325
21326 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21327
21328         [BZ #14812]
21329         * iconv/iconv_prog.c (options): Put N_ translation marker
21330         on argument names, not just descriptions.
21331         * iconv/iconvconfig.c (options): Likewise.
21332
21333 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21334
21335         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21336         implementation which is faster on all x86_64 architectures.
21337         Tested on AMD, Intel Nehalem, SNB, IVB.
21338         * sysdeps/x86_64/strnlen.S: Likewise.
21339
21340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21341         Remove all multiarch strlen and strnlen versions.
21342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21343         Remove strlen and strnlen related parts.
21344
21345         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21346         Inline strlen part.
21347         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21348
21349         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21350         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21351         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21352         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21353         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21354         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21355
21356 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21357
21358         * manual/memory.texi (Malloc Tunable Parameters):
21359         Sort parameters alphabetically. Add comments for missing entries.
21360
21361 2013-03-17  David S. Miller  <davem@davemloft.net>
21362
21363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21364
21365 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21366
21367         [BZ #15283]
21368         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21369         for arguments at most half maximum finite value.
21370         * math/libm-test.inc (j0_test): Add more tests.
21371         (j1_test): Likewise.
21372         (y0_test): Likewise.
21373         (y1_test): Likewise.
21374         * sysdeps/i386/fpu/libm-test-ulps: Update.
21375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21376
21377         [BZ #14155]
21378         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21379         1 / x and functions P and Q for arguments above 0x1p256L.
21380         (__ieee754_y0l): Likewise.
21381         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21382         (__ieee754_y1l): Likewise.
21383         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21384         (j1_test): Likewise.
21385         (y0_test): Likewise.
21386         (y1_test): Likewise.
21387
21388 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21389
21390         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21391         variable.
21392
21393 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21394
21395         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21396         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21397         zero since it's initialized to EXEC_PAGESIZE.
21398
21399         * sysdeps/unix/sysv/linux/ldsodefs.h
21400         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21401         * sysdeps/generic/ldsodefs.h: ... here.
21402
21403 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21404
21405         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21406
21407         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21408         math/test-snan.c.
21409         * math/test-snan.c: Renamed from
21410         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21411         * math/Makefile (tests): Add test-snan.
21412         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21413         test-powerpc-snan.
21414
21415         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21416         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21417         functions.
21418         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21419         __builtin_nan family of functions.
21420         * math/libm-test.inc (initialize): Initialize qnan_value with
21421         __builtin_nan family of functions.
21422         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21423         Remove variables.
21424         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21425         Remove functions.
21426         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21427         storage class.  Initialize qNaN_var and sNaN_var with
21428         __builtin_nan and __builtin_nans families of functions,
21429         respectively.
21430
21431         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21432         (sqrt_test): Remove duplicate test with qNaN input.
21433         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21434         (round_test, signbit_test, significand_test): Note missing +/-Inf
21435         as well as qNaN tests.
21436
21437         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21438         qNaN_var.  Fix a few strings, too.
21439         * math/libm-test.inc (nan_value): Rename to qnan_value.
21440         * math/gen-libm-test.pl (%beautify): Adjust to that.
21441         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21442         * math/test-misc.c (main): Likewise.
21443         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21444         to __qnan_bytes, and __qnan_union, respectively.
21445         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21446         Likewise.
21447         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21448         and lqnanval, respectively.
21449         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21450         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21451         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21452         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21453
21454         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21455         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21456         doubles.
21457
21458         * math/test-misc.c (main): Fix copy'n'pastos.
21459         * misc/tst-efgcvt.c (special): Likewise.
21460
21461         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21462         Remove declarations.
21463
21464 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21465
21466         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21467         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21468         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21469         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21470
21471 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21472
21473         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21474         macro to return vdso values correctly in IFUNC implementations.
21475         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21476         Optimization by using IFUNC.
21477
21478 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21479             Richard Henderson  <rth@redhat.com>
21480             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21481
21482         * Makefile.in (bench): New target.
21483         * NEWS: Mention the benchmark framework.
21484         * Rules (bench): Likewise.
21485         (binaries-bench): Generate binaries for functions to
21486         benchmark.
21487         * benchtests/Makefile: New makefile for benchmark tests.
21488         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21489         programs.
21490         * benchtests/exp-inputs: New input file for EXP function.
21491         * benchtests/pow-inputs: New input file for POW function.
21492         * scripts/bench.pl: New script to generate source files for
21493         benchmark programs.
21494
21495 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21496
21497         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21498         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21499         computations on mantissa.  Use macros for rounding and
21500         division.
21501         (denorm): Likewise.
21502         (__dbl_mp): Likewise.
21503         (add_magnitudes): Likewise.
21504         (sub_magnitudes): Likewise.
21505         (__mul): Likewise.
21506         (__sqr): Likewise.
21507         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21508         powers of two in terms of TWOPOW macro.
21509         (mp_no): Make type of mantissa as MANTISSA_T.
21510         [!RADIXI]: Define RADIXI.
21511         [!TWO52]: Define TWO52.
21512         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21513
21514         * manual/nptl.texi (cindex): Modify threads to pthreads.
21515
21516 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21517
21518         * sysdeps/x86_64/preconfigure: Regenerated.
21519
21520 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21521
21522         [BZ #14155]
21523         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21524         0x1p28 and above.
21525         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21526         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21527         0x1p28 and above.
21528         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21529         * math/libm-test.inc (j0_test): Do not allow one spurious
21530         underflow exception.
21531         (y1_test): Likewise.
21532
21533 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21534
21535         * manual/Makefile (chapters): Add nptl.
21536         * manual/debug.texi (Debugging Support): Add link to Threads
21537         chapter.
21538         * manual/nptl.texi: New file.
21539
21540         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21541
21542 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21543
21544         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21545         for non-NULL pointer before the memory validity test. Pointed
21546         out by Holger Brunck <holger.brunck@keymile.com>.
21547
21548 2013-03-13  Andreas Schwab  <schwab@suse.de>
21549
21550         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21551         instead of .os.
21552
21553 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21554
21555         * timezone/zic.c: Update from tzcode 2013b.
21556
21557 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21558
21559         * manual/install.texi (Configuring and compiling):
21560         Mention i686 and i586.
21561         * INSTALL: Regenerate.
21562
21563 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21564
21565         * sysdeps/init_array/elf-init.c: New file.
21566         * csu/elf-init.c
21567         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21568         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21569
21570         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21571         __gmon_start__ as global, but as static with a .preinit_array pointer.
21572         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21573         * sysdeps/init_array/crti.S: New file, empty except for comments.
21574         * sysdeps/init_array/crtn.S: Likewise.
21575
21576 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21577
21578         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21579         definining bcopy.
21580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21581         Remove Prefer_SSE_for_memop.
21582         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21583         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21584         HAS_PREFER_SSE_FOR_MEMOP.
21585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21586         memset-x86-64.
21587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21588         Remove bzero, memset ifunc support.
21589         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21590         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21591         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21592         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21593
21594 2013-03-11  Andreas Schwab  <schwab@suse.de>
21595
21596         [BZ #15234]
21597         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21598         by SHLIB_COMPAT.
21599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21600         (GLIBC_2.16): Remove pthread_atfork.
21601
21602 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21603
21604         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21605         (ptestcases.h): Likewise.
21606
21607 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21608
21609         * Makeconfig ($(common-objpfx)config.status): Depend on
21610         sysdeps/*/preconfigure{,.in} too.
21611
21612 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21613
21614         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21615         (__free_hook): Use void * instead of __malloc_ptr_t.
21616         (__malloc_hook): Likewise.
21617         (__realloc_hook): Likewise.
21618         (__memalign_hook): Likewise.
21619         (__after_morecore_hook): Likewise.
21620         * malloc/arena.c (save_malloc_hook): Likewise.
21621         (save_free_hook): Likewise.
21622         * malloc/hooks.c (malloc_hook_ini): Likewise.
21623         (realloc_hook_ini): Likewise.
21624         (memalign_hook_ini): Likewise.
21625         * malloc/malloc.c (malloc_hook_ini): Likewise.
21626         (realloc_hook_ini): Likewise.
21627         (memalign_hook_ini): Likewise.
21628         (__free_hook): Likewise.
21629         (__malloc_hook): Likewise.
21630         (__realloc_hook): Likewise.
21631         (__memalign_hook): Likewise.
21632         (__libc_malloc): Likewise.
21633         (__libc_free): Likewise.
21634         (__libc_realloc): Likewise.
21635         (__libc_memalign): Likewise.
21636         (__libc_valloc): Likewise.
21637         (__libc_pvalloc): Likewise.
21638         (__libc_calloc): Likewise.
21639         (__posix_memalign): Likewise.
21640         * malloc/morecore.c (__sbrk): Likewise.
21641         (__default_morecore): Likewise.
21642
21643         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21644
21645         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21646         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21647         __malloc_ptrdiff_t.
21648
21649         * malloc/malloc.h (__malloc_size_t): Remove macro.
21650         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21651         __malloc_size_t.
21652         (old_memalign_hook): Likewise.
21653         (old_realloc_hook): Likewise.
21654         (struct hdr): Likewise.
21655         (flood): Likewise.
21656         (mallochook): Likewise.
21657         (memalignhook): Likewise.
21658         (reallochook): Likewise.
21659         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21660         (tr_old_realloc_hook): Likewise.
21661         (tr_old_memalign_hook): Likewise.
21662         (tr_mallochook): Likewise.
21663         (tr_reallochook): Likewise.
21664         (tr_memalignhook): Likewise.
21665
21666 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21667
21668         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21669         default_ldbl_pack and using as default implementation.
21670         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21671         implementation.
21672         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21673         redundant definition.
21674         (ldbl_insert_mantissa): Likewise.
21675         (ldbl_canonicalize): Likewise.
21676         (ldbl_nearbyint): Likewise.
21677         (ldbl_pack): Rename to ldbl_pack_ppc.
21678         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21679         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21680         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21681
21682 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21683
21684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21685         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21686         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21687         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21688         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21689         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21690         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21691         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21692
21693 2013-03-07  Andreas Jaeger  <aj@suse.de>
21694
21695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21696         bits/mman-linux.h.
21697
21698 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21699
21700         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21701         Include mpa.h and declare __MPEXP.
21702         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21703         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21704         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21705         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21706         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21707         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21708         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21709
21710         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21711         (__slowpow): Use long double EXPL and LOGL functions to
21712         compute POW.
21713         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21714         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21715         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21716         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21717         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21718         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21719
21720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21721         intermediate variable to calculate exponent.
21722         (__sqr): Likewise.
21723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21724         Likewise.
21725         (__sqr): Likewise.
21726
21727         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21728         [!NO__SQR]: Define __sqr.
21729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21730         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21731         sysdeps/ieee754/dbl-64/mpa.c.
21732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21733
21734         [BZ #12723]
21735         * posix/Makefile (tests): Add tst-pathconf.
21736         * posix/tst-pathconf.c: New test case.
21737         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21738         _PC_PIPE_BUF.
21739         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21740
21741 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21742
21743         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21744
21745 2013-03-06  Andreas Jaeger  <aj@suse.de>
21746
21747         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21748         definition via __MAP_ANONYMOUS.
21749
21750         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21751         it's not part of Linux headers.
21752
21753         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21754         (MAP_HUGE_MASK): Define.
21755
21756         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21757         Define.
21758         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21759         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21760         Define.
21761         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21762         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21763         Define.
21764         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21765         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21766         Define.
21767         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21768
21769         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21770         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21771         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21772         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21773         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21774         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21775
21776         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21777         Handle f2fs.
21778
21779         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21780         Handle f2fs and efivarfs.
21781
21782         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21783         f2fs.
21784
21785         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21786         (EFIVARFS_MAGIC): Add.
21787         (F2FS_LINK_MAX): Add.
21788
21789 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21790
21791         * stdio-common/vfprintf.c: Replace __builtin_expect with
21792         __glibc_unlikely.
21793
21794 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21795
21796         [BZ #13550]
21797         * sysdeps/generic/bp-sym.h: Remove file.
21798         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21799         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21800         <bp-sym.h> and <bp-asm.h>.
21801         (__longjmp): Don't use BP_SYM.
21802         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21803         and <bp-asm.h>.
21804         (memcpy): Don't use BP_SYM.
21805         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21806         <bp-sym.h> and <bp-asm.h>.
21807         (memcpy): Don't use BP_SYM.
21808         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21809         <bp-asm.h>.
21810         (memcpy): Don't use BP_SYM.
21811         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21812         <bp-asm.h>.
21813         (memset): Don't use BP_SYM.
21814         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21815         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21816         (__bzero): Don't use BP_SYM.
21817         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21818         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21819         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21820         <bp-sym.h> and <bp-asm.h>.
21821         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21822         pointers.
21823         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21824         <bp-sym.h> and <bp-asm.h>.
21825         (memcpy): Don't use BP_SYM.
21826         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21827         <bp-sym.h> and <bp-asm.h>.
21828         (memset): Don't use BP_SYM.
21829         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21830         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21831         (__bzero): Don't use BP_SYM.
21832         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21833         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21834         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21835         <bp-sym.h> and <bp-asm.h>.
21836         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21837         pointers.
21838         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21839         <bp-sym.h> and <bp-asm.h>.
21840         (memcpy): Don't use BP_SYM.
21841         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21842         <bp-sym.h> and <bp-asm.h>.
21843         (memset): Don't use BP_SYM.
21844         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21845         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21846         (__bzero): Don't use BP_SYM.
21847         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21848         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21849         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21850         <bp-sym.h> and <bp-asm.h>.
21851         (__memchr): Don't use BP_SYM.
21852         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21853         <bp-sym.h> and <bp-asm.h>.
21854         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21855         pointers.
21856         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21857         <bp-sym.h> and <bp-asm.h>.
21858         (memcpy): Don't use BP_SYM.
21859         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21860         <bp-sym.h> and <bp-asm.h>.
21861         (__mempcpy): Don't use BP_SYM.
21862         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21863         <bp-sym.h> and <bp-asm.h>.
21864         (__memrchr): Don't use BP_SYM.
21865         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21866         <bp-sym.h> and <bp-asm.h>.
21867         (memset): Don't use BP_SYM.
21868         (__bzero): Likewise.
21869         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21870         <bp-sym.h> and <bp-asm.h>.
21871         (__rawmemchr): Don't use BP_SYM.
21872         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21873         <bp-sym.h> and <bp-asm.h>.
21874         (__STRCMP): Don't use BP_SYM.
21875         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21876         <bp-sym.h> and <bp-asm.h>.
21877         (strchr): Don't use BP_SYM.
21878         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21879         <bp-sym.h> and <bp-asm.h>.
21880         (__strchrnul): Don't use BP_SYM.
21881         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21882         <bp-sym.h> and <bp-asm.h>.
21883         (strlen): Don't use BP_SYM.
21884         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21885         <bp-sym.h> and <bp-asm.h>.
21886         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21887         pointers.
21888         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21889         <bp-sym.h> and <bp-asm.h>.
21890         (__strnlen): Don't use BP_SYM.
21891         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21892         <bp-sym.h> and <bp-asm.h>.
21893         (__GI__setjmp): Don't use BP_SYM.
21894         (_setjmp): Likewise.
21895         (__sigsetjmp): Likewise.
21896         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21897         (L(start_addresses)): Don't use BP_SYM.
21898         (_start): Likewise.
21899         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21900         <bp-asm.h>.
21901         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21902         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21903         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21904         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21905         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21906         <bp-asm.h>.
21907         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21908         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21909         about bounded pointers.
21910         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21911         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21912         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21913         <bp-asm.h>.
21914         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21915         about bounded pointers.  Remove GKM FIXME comments.
21916         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21917         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21918         <bp-asm.h>.
21919         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21920         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21921         Remove GKM FIXME comments.
21922         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21923         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21924         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21925         <bp-asm.h>.
21926         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21927         about bounded pointers.  Remove GKM FIXME comment.
21928         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21929         and <bp-asm.h>.
21930         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21931         pointers.
21932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21933         <bp-sym.h> and <bp-asm.h>.
21934         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21936         <bp-sym.h> and <bp-asm.h>.
21937         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21938         comment.
21939
21940 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21941
21942         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21943         call free(NULL).
21944
21945 2013-03-05  David S. Miller  <davem@davemloft.net>
21946
21947         * po/es.po: Update from translation team.
21948
21949 2013-03-05  Andreas Jaeger  <aj@suse.de>
21950
21951         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21952         <bits/mman-linux.h>.
21953         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21954         is fine.
21955         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21956         <bits/mman-linux.h> to end of file.
21957         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21958         is fine.
21959         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21960         <bits/mman-linux.h> to end of file.
21961         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21962         is fine.
21963         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21964         <bits/mman-linux.h> to end of file.
21965
21966         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21967         (MCL_CURRENT, MCL_FUTURE): Define here.
21968
21969 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21970
21971         [BZ #15232]
21972         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21973         attribute_hidden.
21974         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21975
21976 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21977
21978         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21979         fourth parameter needed for rt_sigprocmask syscall.
21980         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21981         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21982         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21983         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21984         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21985         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21986
21987 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21988
21989         [BZ #13550]
21990         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21991         comment about bounded pointers.
21992         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21993         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21994
21995 2013-03-04  Andreas Jaeger  <aj@suse.de>
21996
21997         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21998         common definitions.
21999
22000         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22001         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22002         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22003         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22004         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22005         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22006
22007 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22008
22009         [BZ #15055]
22010         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22011         __ieee754_sqrl instead of __sqrl.
22012
22013 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22014
22015         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22016         * sysdeps/powerpc/fpu_control.h: ... here.
22017         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22018         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22019         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22020         * sysdeps/powerpc/bits/mathinline.h: ... here.
22021
22022 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22023
22024         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22025         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22026         to just [NEED_DL_SYSINFO_DSO].
22027         * elf/dl-support.c: Likewise.
22028         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22029         * elf/rtld.c (dl_main): Likewise.
22030         * elf/setup-vdso.h (setup_vdso): Likewise.
22031         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22032         * sysdeps/unix/sysv/linux/dl-sysdep.c
22033         (_dl_discover_osversion): Likewise.
22034
22035 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22036
22037         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22038         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22039
22040 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22041
22042         * NEWS: Mention libm performance improvements and non-x86 PI
22043         futex support.
22044
22045         * csu/libc-start.c (__pthread_initialize_minimal): Change
22046         function arguments.
22047         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22048
22049 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22050
22051         [BZ #13550]
22052         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22053         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22054         <bp-sym.h> and <bp-asm.h>.
22055         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22056         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22057         and <bp-asm.h>.
22058         (memcpy): Don't use BP_SYM.
22059         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22060         <bp-asm.h>.
22061         (__mpn_add_n): Don't use BP_SYM.
22062         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22063         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22064         and <bp-asm.h>.
22065         (__mpn_addmul_1): Don't use BP_SYM.
22066         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22067         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22068         <bp-sym.h>.
22069         (_setjmp): Don't use BP_SYM.
22070         (__novmx_setjmp): Likewise.
22071         (__GI__setjmp): Likewise.
22072         (__vmx_setjmp): Likewise.
22073         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22074         <bp-sym.h>.
22075         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22076         (__bzero): Don't use BP_SYM.
22077         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22078         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22079         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22080         <bp-sym.h> and <bp-asm.h>.
22081         (memcpy): Don't use BP_SYM.
22082         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22083         <bp-sym.h> and <bp-asm.h>.
22084         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22085         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22086         <bp-sym.h> and <bp-asm.h>.
22087         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22088         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22089         <bp-asm.h>.
22090         (__mpn_lshift): Don't use BP_SYM.
22091         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22092         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22093         <bp-asm.h>.
22094         (memset): Don't use BP_SYM.
22095         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22096         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22097         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22098         <bp-asm.h>.
22099         (__mpn_mul_1): Don't use BP_SYM.
22100         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22101         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22102         <bp-sym.h> and <bp-asm.h>.
22103         (memcmp): Don't use BP_SYM.
22104         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22105         <bp-sym.h> and <bp-asm.h>.
22106         (memcpy): Don't use BP_SYM.
22107         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22108         <bp-sym.h> and <bp-asm.h>.
22109         (memset): Don't use BP_SYM.
22110         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22111         <bp-sym.h> and <bp-asm.h>.
22112         (strncmp): Don't use BP_SYM.
22113         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22114         <bp-sym.h> and <bp-asm.h>.
22115         (memcpy): Don't use BP_SYM.
22116         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22117         <bp-sym.h> and <bp-asm.h>.
22118         (memset): Don't use BP_SYM.
22119         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22120         <bp-sym.h> and <bp-asm.h>.
22121         (__memchr): Don't use BP_SYM.
22122         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22123         <bp-sym.h> and <bp-asm.h>.
22124         (memcmp): Don't use BP_SYM.
22125         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22126         <bp-sym.h> and <bp-asm.h>.
22127         (memcpy): Don't use BP_SYM.
22128         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22129         <bp-sym.h> and <bp-asm.h>.
22130         (__mempcpy): Don't use BP_SYM.
22131         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22132         <bp-sym.h> and <bp-asm.h>.
22133         (__memrchr): Don't use BP_SYM.
22134         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22135         <bp-sym.h> and <bp-asm.h>.
22136         (memset): Don't use BP_SYM.
22137         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22138         <bp-sym.h> and <bp-asm.h>.
22139         (__rawmemchr): Don't use BP_SYM.
22140         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22141         <bp-sym.h> and <bp-asm.h>.
22142         (__STRCMP): Don't use BP_SYM.
22143         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22144         <bp-sym.h> and <bp-asm.h>.
22145         (strchr): Don't use BP_SYM.
22146         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22147         <bp-sym.h> and <bp-asm.h>.
22148         (__strchrnul): Don't use BP_SYM.
22149         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22150         <bp-sym.h> and <bp-asm.h>.
22151         (strlen): Don't use BP_SYM.
22152         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22153         <bp-sym.h> and <bp-asm.h>.
22154         (strncmp): Don't use BP_SYM.
22155         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22156         <bp-sym.h> and <bp-asm.h>.
22157         (__strnlen): Don't use BP_SYM.
22158         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22159         <bp-asm.h>.
22160         (__mpn_rshift): Don't use BP_SYM.
22161         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22162         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22163         <bp-sym.h> and <bp-asm.h>.
22164         (__sigsetjmp): Don't use BP_SYM.
22165         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22166         (L(start_addresses)): Don't use BP_SYM.
22167         (_start): Likewise.
22168         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22169         <bp-asm.h>.
22170         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22171         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22172         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22173         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22174         <bp-asm.h>.
22175         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22176         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22177         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22178         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22179         <bp-asm.h>.
22180         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22181         comments.
22182         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22183         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22184         <bp-asm.h>.
22185         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22186         FIXME comments.
22187         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22188         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22189         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22190         <bp-asm.h>.
22191         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22192         comment.
22193         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22194         and <bp-asm.h>.
22195         (strncmp): Don't use BP_SYM,
22196         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22197         <bp-asm.h>.
22198         (__mpn_sub_n): Don't use BP_SYM.
22199         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22200         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22201         and <bp-asm.h>.
22202         (__mpn_submul_1): Don't use BP_SYM.
22203         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22205         <bp-sym.h> and <bp-asm.h>.
22206         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22208         <bp-sym.h> and <bp-asm.h>.
22209         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22210         comment.
22211
22212 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22213
22214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22215         Use ZK to minimize writes to Z.
22216         (sub_magnitudes): Simplify code a bit.
22217         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22218         Use ZK to minimize writes to Z.
22219         (sub_magnitudes): Simplify code a bit.
22220
22221 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22222
22223         * csu/gmon-start.c: Add special exception to license text.
22224
22225 2013-02-27  Richard Henderson  <rth@redhat.com>
22226
22227         * scripts/config.guess: Update from config.git.
22228         * scripts/config.sub: Likewise.
22229
22230 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22231
22232         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22233
22234         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22235
22236         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22237
22238         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22239
22240         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22241
22242 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22243
22244         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22245         [$(build-shared = yes].
22246
22247 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22248
22249         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22250         (__mul): Reduce iterations for calculating mantissa.
22251
22252         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22253         MPTWO.
22254         (__mpranred): Likewise.
22255
22256         [BZ #15160]
22257         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22258         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22259
22260 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22261
22262         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22263         Define __attribute__.
22264
22265 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22266
22267         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22268         unused.
22269         * posix/regex_internal.h (__attribute): Remove.
22270         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22271         (re_string_context_at): Likewise.
22272         (bitset_not): Use __attribute__ and mark function as possibly
22273         unused.
22274         (bitset_merge): Likewise.
22275         (bitset_mask): Likewise.
22276         (re_string_char_size_at): Likewise.
22277         (re_string_wchar_at): Likewise.
22278         (re_string_elem_size_at): Likewise.
22279
22280 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22281
22282         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22283         code.
22284         (cc32): Likewise.
22285
22286         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22287         (__acr): Likewise.
22288         (__cpy): Likewise.
22289         (norm): Likewise.
22290         (denorm): Likewise.
22291         (__dbl_mp): Likewise.
22292         (add_magnitudes): Likewise.
22293         (sub_magnitudes): Likewise.
22294         (__mul): Likewise.
22295         (__inv): Likewise.
22296
22297         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22298         style.
22299
22300         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22301         style.
22302
22303         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22304         code.
22305
22306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22307         up changes with default code.
22308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22309         Likewise.
22310
22311 2013-02-24  Allan McRae  <allan@archlinux.org>
22312
22313         * manual/socket.texi (The Internet Namespace): Order menu items
22314         to match that in the file.
22315
22316         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22317         node listing of the info page menu.
22318
22319 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22320
22321         [BZ #13550]
22322         * sysdeps/i386/bp-asm.h: Remove file.
22323         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22324         (PARMS): Do not use macros from bp-asm.h.
22325         (S1): Likewise.
22326         (S2): Likewise.
22327         (SIZE): Likewise.
22328         (__mpn_add_n): Do not use BP_SYM
22329         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22330         "bp-asm.h".
22331         (PARMS): Do not use macros from bp-asm.h.
22332         (S1): Likewise.
22333         (SIZE): Likewise.
22334         (__mpn_addmul_1): Do not use BP_SYM
22335         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22336         "bp-asm.h".
22337         (PARMS): Do not use macros from bp-asm.h.
22338         (SIGMSK): Likewise.
22339         (_setjmp): Likewise.  Do not use BP_SYM.
22340         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22341         "bp-asm.h".
22342         (PARMS): Do not use macros from bp-asm.h.
22343         (SIGMSK): Likewise.
22344         (setjmp): Likewise.  Do not use BP_SYM.
22345         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22346         "bp-asm.h".
22347         (PARMS): Do not use macros from bp-asm.h.
22348         (__frexp): Do not use BP_SYM.
22349         (frexp): Likewise.
22350         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22351         "bp-asm.h".
22352         (PARMS): Do not use macros from bp-asm.h.
22353         (__frexpf): Do not use BP_SYM.
22354         (frexpf): Likewise.
22355         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22356         "bp-asm.h".
22357         (PARMS): Do not use macros from bp-asm.h.
22358         (__frexpl): Do not use BP_SYM.
22359         (frexpl): Likewise.
22360         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22361         "bp-asm.h".
22362         (PARMS): Do not use macros from bp-asm.h.
22363         (__remquo): Do not use BP_SYM.
22364         (remquo): Likewise.
22365         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22366         "bp-asm.h".
22367         (PARMS): Do not use macros from bp-asm.h.
22368         (__remquof): Do not use BP_SYM.
22369         (remquof): Likewise.
22370         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22371         "bp-asm.h".
22372         (PARMS): Do not use macros from bp-asm.h.
22373         (__remquol): Do not use BP_SYM.
22374         (remquol): Likewise.
22375         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22376         "bp-asm.h".
22377         (PARMS): Do not use macros from bp-asm.h.
22378         (DEST): Likewise.
22379         (SRC): Likewise.
22380         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22381         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22382         "bp-asm.h".
22383         (PARMS): Do not use macros from bp-asm.h.
22384         (strlen): Do not use BP_SYM.
22385         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22386         "bp-asm.h".
22387         (PARMS): Do not use macros from bp-asm.h.
22388         (S1): Likewise.
22389         (S2): Likewise.
22390         (SIZE): Likewise.
22391         (__mpn_add_n): Do not use BP_SYM.
22392         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22393         "bp-asm.h".
22394         (PARMS): Do not use macros from bp-asm.h.
22395         (S1): Likewise.
22396         (SIZE): Likewise.
22397         (__mpn_addmul_1): Do not use BP_SYM.
22398         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22399         weak_alias.
22400         (bzero): Likewise.
22401         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22402         "bp-asm.h".
22403         (PARMS): Do not use macros from bp-asm.h.
22404         (S): Likewise.
22405         (SIZE): Likewise.
22406         (__mpn_lshift): Do not use BP_SYM.
22407         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
22413         (memcpy): Likewise.  Do not use BP_SYM.
22414         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22415         libc_hidden_def and weak_alias.
22416         (mempcpy): Do not use BP_SYM in weak_alias.
22417         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22418         "bp-asm.h".
22419         (PARMS): Do not use macros from bp-asm.h.
22420         (DEST): Likewise.
22421         (LEN): Likewise.
22422         [!BZERO_P] (CHR): Likewise.
22423         (memset): Likewise.  Do not use BP_SYM.
22424         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
22430         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22431         "bp-asm.h".
22432         (PARMS): Do not use macros from bp-asm.h.
22433         (S): Likewise.
22434         (SIZE): Likewise.
22435         (__mpn_rshift): Do not use BP_SYM.
22436         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22437         "bp-asm.h".
22438         (PARMS): Do not use macros from bp-asm.h.
22439         (STR): Likewise.
22440         (CHR): Likewise.
22441         (strchr): Likewise.  Do not use BP_SYM.
22442         (index): Do not use BP_SYM in weak_alias.
22443         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22444         "bp-asm.h".
22445         (PARMS): Do not use macros from bp-asm.h.
22446         (DEST): Likewise.
22447         (SRC): Likewise.
22448         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22449         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22450         "bp-asm.h".
22451         (PARMS): Do not use macros from bp-asm.h.
22452         (strlen): Do not use BP_SYM.
22453         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22454         "bp-asm.h".
22455         (PARMS): Do not use macros from bp-asm.h.
22456         (S1): Likewise.
22457         (S2): Likewise.
22458         (SIZE): Likewise.
22459         (__mpn_sub_n): Do not use BP_SYM.
22460         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22461         "bp-asm.h".
22462         (PARMS): Do not use macros from bp-asm.h.
22463         (S1): Likewise.
22464         (SIZE): Likewise.
22465         (__mpn_submul_1): Do not use BP_SYM.
22466         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22467         "bp-asm.h".
22468         (PARMS): Do not use macros from bp-asm.h.
22469         (S1): Likewise.
22470         (S2): Likewise.
22471         (SIZE): Likewise.
22472         (__mpn_add_n): Do not use BP_SYM.
22473         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22474         weak_alias.
22475         (bzero): Likewise.
22476         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22477         "bp-asm.h".
22478         (PARMS): Do not use macros from bp-asm.h.
22479         (BLK2): Likewise.
22480         (LEN): Likewise.
22481         (memcmp): Do not use BP_SYM.
22482         (bcmp): Do not use BP_SYM in weak_alias.
22483         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22484         "bp-asm.h".
22485         (PARMS): Do not use macros from bp-asm.h.
22486         (DEST): Likewise.
22487         (SRC): Likewise.
22488         (LEN): Likewise.
22489         (memcpy): Likewise.  Do not use BP_SYM.
22490         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22491         "bp-asm.h".
22492         (PARMS): Do not use macros from bp-asm.h.
22493         (DEST): Likewise.
22494         (SRC): Likewise.
22495         (LEN): Likewise.
22496         (memmove): Likewise.  Do not use BP_SYM.
22497         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22498         "bp-asm.h".
22499         (PARMS): Do not use macros from bp-asm.h.
22500         (DEST): Likewise.
22501         (SRC): Likewise.
22502         (LEN): Likewise.
22503         (__mempcpy): Likewise.  Do not use BP_SYM.
22504         (mempcpy): Do not use BP_SYM in weak_alias.
22505         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22506         "bp-asm.h".
22507         (PARMS): Do not use macros from bp-asm.h.
22508         (DEST): Likewise.
22509         (LEN): Likewise.
22510         [!BZERO_P] (CHR): Likewise.
22511         (memset): Likewise.  Do not use BP_SYM.
22512         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22513         "bp-asm.h".
22514         (PARMS): Do not use macros from bp-asm.h.
22515         (STR2): Likewise.
22516         (strcmp): Do not use BP_SYM.
22517         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22518         "bp-asm.h".
22519         (PARMS): Do not use macros from bp-asm.h.
22520         (STR): Likewise.
22521         (DELIM): Likewise.
22522         [USE_AS_STRTOK_R] (SAVE): Likewise.
22523         (FUNCTION): Likewise.  Do not use BP_SYM.
22524         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22525         aliases.
22526         (strtok_r): Likewise.
22527         (__GI___strtok_r): Likewise.
22528         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22529         (PARMS): Do not use macros from bp-asm.h.
22530         (S): Likewise.
22531         (SIZE): Likewise.
22532         (__mpn_lshift): Do not use BP_SYM.
22533         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22534         (PARMS): Do not use macros from bp-asm.h.
22535         (STR): Likewise.
22536         (CHR): Likewise.
22537         (__memchr): Do not use BP_SYM.
22538         (memchr): Do not use BP_SYM in weak_alias.
22539         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22540         (PARMS): Do not use macros from bp-asm.h.
22541         (BLK2): Likewise.
22542         (LEN): Likewise.
22543         (memcmp): Do not use BP_SYM.
22544         (bcmp): Do not use BP_SYM in weak_alias.
22545         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22546         (PARMS): Do not use macros from bp-asm.h.
22547         (S1): Likewise.
22548         (SIZE): Likewise.
22549         (__mpn_mul_1): Do not use BP_SYM.
22550         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22551         "bp-asm.h".
22552         (PARMS): Do not use macros from bp-asm.h.
22553         (STR): Likewise.
22554         (CHR): Likewise.
22555         (__rawmemchr): Do not use BP_SYM.
22556         (rawmemchr): Do not use BP_SYM in weak_alias.
22557         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22558         (PARMS): Do not use macros from bp-asm.h.
22559         (S): Likewise.
22560         (SIZE): Likewise.
22561         (__mpn_rshift): Do not use BP_SYM.
22562         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22563         (PARMS): Do not use macros from bp-asm.h.
22564         (SIGMSK): Likewise.
22565         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22566         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22567         (_start): Do not use BP_SYM.
22568         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22569         (PARMS): Do not use macros from bp-asm.h.
22570         (DEST): Likewise.
22571         (SRC): Likewise.
22572         (__stpcpy): Likewise.  Do not use BP_SYM.
22573         (stpcpy): Do not use BP_SYM in weak_alias.
22574         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22575         "bp-asm.h".
22576         (PARMS): Do not use macros from bp-asm.h.
22577         (DEST): Likewise.
22578         (SRC): Likewise.
22579         (LEN): Likewise.
22580         (__stpncpy): Likewise.  Do not use BP_SYM.
22581         (stpncpy): Do not use BP_SYM in weak_alias.
22582         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22583         (PARMS): Do not use macros from bp-asm.h.
22584         (STR): Likewise.
22585         (CHR): Likewise.
22586         (strchr): Likewise.  Do not use BP_SYM.
22587         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22588         "bp-asm.h".
22589         (PARMS): Do not use macros from bp-asm.h.
22590         (STR): Likewise.
22591         (CHR): Likewise.
22592         (__strchrnul): Likewise.  Do not use BP_SYM.
22593         (strchrnul): Do not use BP_SYM in weak_alias.
22594         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22595         "bp-asm.h".
22596         (PARMS): Do not use macros from bp-asm.h.
22597         (STOP): Likewise.
22598         (strcspn): Do not use BP_SYM.
22599         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22600         "bp-asm.h".
22601         (PARMS): Do not use macros from bp-asm.h.
22602         (STR): Likewise.
22603         (STOP): Likewise.
22604         (strpbrk): Likewise.  Do not use BP_SYM.
22605         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22606         "bp-asm.h".
22607         (PARMS): Do not use macros from bp-asm.h.
22608         (STR): Likewise.
22609         (CHR): Likewise.
22610         (strrchr): Likewise.  Do not use BP_SYM.
22611         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22612         (PARMS): Do not use macros from bp-asm.h.
22613         (SKIP): Likewise.
22614         (strspn): Do not use BP_SYM.
22615         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22616         (PARMS): Do not use macros from bp-asm.h.
22617         (STR): Likewise.
22618         (DELIM): Likewise.
22619         (SAVE): Likewise.
22620         (FUNCTION): Likewise.  Do not use BP_SYM.
22621         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22622         aliases.
22623         (strtok_r): Likewise.
22624         (__GI___strtok_r): Likewise.
22625         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22626         (PARMS): Do not use macros from bp-asm.h.
22627         (S1): Likewise.
22628         (S2): Likewise.
22629         (SIZE): Likewise.
22630         (__mpn_sub_n): Do not use BP_SYM.
22631         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22632         "bp-asm.h".
22633         (PARMS): Do not use macros from bp-asm.h.
22634         (S1): Likewise.
22635         (SIZE): Likewise.
22636         (__mpn_submul_1): Do not use BP_SYM.
22637         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22638         <bp-sym.h>.
22639         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22640         and <bp-asm.h>.
22641         (PARMS): Do not use macros from bp-asm.h.
22642         (FLAGS): Likewise.
22643         (PTID): Likewise.
22644         (TLS): Likewise.
22645         (CTID): Likewise.
22646         (__clone): Do not use BP_SYM.
22647         (clone): Do not use BP_SYM in weak_alias.
22648         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22649         and <bp-asm.h>.
22650         (PARMS): Do not use macros from bp-asm.h.
22651         (LEN): Likewise.
22652         (__mmap64): Do not use BP_SYM.
22653         (mmap64): Do not use BP_SYM in weak_alias.
22654         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22655         <bp-sym.h> and <bp-asm.h>.
22656         (PARMS): Do not use macros from bp-asm.h.
22657         (__posix_fadvise64_l64): Do not use BP_SYM.
22658         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22659         (PARMS): Do not use macros from bp-asm.h.
22660         (NSOPS): Likewise.
22661         (semtimedop): Do not use BP_SYM.
22662         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22663         and <bp-asm.h>.
22664
22665 2013-02-21  Allan McRae  <allan@archlinux.org>
22666
22667         * manual/message.texi (Charset conversion in gettext):
22668         Move @end statement to beginning of line.
22669
22670 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22671
22672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22673         static.
22674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22675         Likewise.
22676
22677         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22678         (denorm): Likewise.
22679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22681
22682 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22683
22684         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22685         tail-call to the resolved function if pltexit isn't needed.
22686
22687 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22688
22689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22690         or Y being zero as being unlikely.
22691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22692         Likewise.
22693
22694 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22695
22696         * manual/nss.texi (System Databases and Name Service Switch):
22697         Remove frobnicate @pxref.
22698
22699 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22700
22701         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22702         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22703
22704 2013-02-20  Petr Machata  <pmachata@redhat.com>
22705
22706         * elf/elf.h (R_ARM_TARGET1): New macro.
22707         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22708         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22709         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22710         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22711         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22712         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22713         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22714         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22715         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22716         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22717         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22718         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22719         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22720         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22721         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22722         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22723         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22724         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22725         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22726         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22727         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22728         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22729         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22730         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22731         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22732         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22733         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22734         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22735         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22736         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22737         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22738         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22739         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22740         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22741         (R_ARM_THM_GOT_BREL12): Likewise.
22742         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22743         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22744         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22745         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22746         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22747         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22748         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22749         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22750         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22751
22752 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22753
22754         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22755         __attribute_used__ to __attribute__ ((unused)).
22756
22757 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22758
22759         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22760         powerpc mpa.c.
22761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22762         comment formatting.
22763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22764
22765 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22766
22767         [BZ #13550]
22768         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22769         Remove macro.
22770         (ENTER): Remove both macro definitions.
22771         (LEAVE): Likewise.
22772         (CHECK_BOUNDS_LOW): Likewise.
22773         (CHECK_BOUNDS_HIGH): Likewise.
22774         (CHECK_BOUNDS_BOTH): Likewise.
22775         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22776         (RETURN_BOUNDED_POINTER): Likewise.
22777         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22778         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22779         (POP_ERRNO_LOCATION_RETURN): Likewise.
22780         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22781         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22782         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22783         macros.
22784         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22785         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22786         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22787         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22788         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22789         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22790         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22791         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22792         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22793         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22794         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22795         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22796         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22797         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22798         removed macros.
22799         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22800         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22801         macros.
22802         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22803         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22804         * sysdeps/i386/i586/memset.S (memset): Likewise.
22805         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22806         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22807         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22808         macros.
22809         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22810         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22811         Change uses of L(2) to L(out).
22812         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22813         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22814         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22815         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22816         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22817         removed macros.
22818         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22819         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22820         macros.
22821         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22822         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22823         (RETURN): Do not use macro LEAVE.
22824         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22825         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22826         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22827         * sysdeps/i386/i686/memset.S (memset): Likewise.
22828         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22829         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22830         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22831         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22832         Likewise.
22833         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22834         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22835         L(1_2) and L(1_3) into L(1).
22836         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22837         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22838         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22839         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22840         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22841         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22842         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22843         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22844         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22845         macros.
22846         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22847         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22848         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22849         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22850         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22851         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22852         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22853         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22854         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22855         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22856         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22857         * sysdeps/i386/strspn.S (strspn): Likewise.
22858         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22859         conditional code.
22860         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22861         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22862         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22863         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22864         L(1_3) into L(1_1).
22865         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22866         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22867         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22868         macros.
22869         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22870
22871 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22872
22873         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22874         macro.
22875
22876 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22877
22878         * math/atest-exp.c (exp_mpn): Remove ROUND.
22879         * math/atest-exp2.c (exp_mpn): Likewise.
22880         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22881
22882         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22883         * stdlib/tst-tls-atexit-lib.c: Likewise.
22884         * stdlib/tst-tls-atexit.c: Likewise.
22885
22886 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22887
22888         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22889         and __attribute_alloc_size__.
22890
22891 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22892
22893         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22894         __attribute_alloc_size__.
22895         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22896         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22897
22898 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22899
22900         * include/programs/xmalloc.h: New file.
22901         * catgets/gencat.c: Include it.
22902         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22903         * elf/pldd.c: Likewise.
22904         * iconv/iconv_charmap.c: Likewise.
22905         * iconv/iconvconfig.c: Likewise.
22906         * iconv/strtab.c: Likewise.
22907         * locale/programs/locale.c: Likewise.
22908         * locale/programs/localedef.h: Likewise.
22909         * locale/programs/simple-hash.c: Likewise.
22910         * nscd/nscd.h: Likewise.
22911         * nss/makedb.c: Likewise.
22912         * sysdeps/generic/ldconfig.h: Likewise.
22913
22914 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22915
22916         * Versions.def: Add GLIBC_2.18.
22917         * include/link.h (struct link_map): New member l_tls_dtor_count.
22918         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22919         (__call_tls_dtors): Likewise.
22920         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22921         __cxa_thread_atexit_impl.
22922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22923         Likewise.
22924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22925         Likewise.
22926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22927         Likewise.
22928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22929         Likewise.
22930         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22932         Likewise.
22933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22934         Likewise.
22935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22937         Likewise.
22938         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22939         (tests): Add test case tst-tls-atexit.
22940         (modules-names): Add shared library for tst-tls-atexit.
22941         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22942         (GLIBC_PRIVATE): Add __call_tls_dtors.
22943         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22944         for libstdc++.
22945         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22946         * stdlib/tst-tls-atexit.c: New test case.
22947         * stdlib/tst-tls-atexit-lib.c: New test case.
22948
22949         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22950
22951         * elf/Versions (ld): Add _dl_find_dso_for_object.
22952         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22953         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22954         (dl_open_worker): Use _dl_find_dso_for_object.
22955         * elf/dl-sym.c (do_sym): Likewise.
22956         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22957
22958 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22959
22960         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22961         Syntactic changes only.
22962         (_dl_runtime_profile): Do a tail-call to the resolved function.
22963
22964 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22965
22966         [BZ #13550]
22967         * sysdeps/x86_64/bp-asm.h: Remove file.
22968         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22969         <bp-sym.h> and <bp-asm.h>.
22970         (__clone): Do not use BP_SYM.
22971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22972         <bp-sym.h> and <bp-asm.h>.
22973         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22974         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22975         "bp-asm.h".
22976         (_setjmp): Do not use BP_SYM.
22977         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22978         "bp-asm.h".
22979         (setjmp): Do not use BP_SYM.
22980         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22981         libc_hidden_def.
22982         (mempcpy): Do not use BP_SYM in weak_alias.
22983         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22984         "bp-asm.h".
22985         (strchr): Do not use BP_SYM.
22986         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22987         "bp-asm.h".
22988         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22989         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22990         (_start): Do not use BP_SYM.
22991         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22992         "bp-asm.h".
22993         (strcat): Do not use BP_SYM.
22994         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22995         "bp-asm.h".
22996         (STRCMP): Do not use BP_SYM.
22997         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22998         "bp-asm.h".
22999         (STRCPY): Do not use BP_SYM.
23000         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23001         "bp-asm.h".
23002         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23003         "bp-asm.h".
23004         (FUNCTION): Do not use BP_SYM.
23005         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23006         weak_alias.
23007         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23008
23009 2013-02-17  Andreas Jaeger  <aj@suse.de>
23010
23011         * time/Versions: Sort entries.
23012         * string/Versions: Likewise.
23013         * resolv/Versions: Likewise.
23014         * posix/Versions: Likewise.
23015         * iconv/Versions: Likewise.
23016         * elf/Versions: Likewise.
23017         * wcsmbs/Versions: Likewise.
23018
23019 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23020
23021         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23022         loop termination condition.
23023
23024         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23025         variable to calculate EZ.
23026         (__sqr): Likewise.
23027
23028         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23029         the lower precision input.
23030
23031 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23032
23033         [BZ #13550]
23034         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23035         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23036         (run-via-rtld-prefix): Do not handle %-bp tests.
23037         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23038         (all-object-suffixes): Remove .ob.
23039         (bppfx): Remove variable.
23040         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23041         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23042         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23043         [$(build-bounded) = yes] (libtype.ob): Likewise.
23044         * Makerules (elide-routines.ob): Remove variable.
23045         (do-tests-clean): Do not handle *-bp.out.
23046         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23047         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23048         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23049         (tests): Do not include $(tests-bp.out).
23050         (xtests): Do not include $(xtests-bp.out).
23051         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23052         [$(build-bounded) = yes] ($(addprefix
23053         $(objpfx),$(binaries-bounded))): Remove rule.
23054         ($(objpfx)%-bp.out): Remove rule.
23055         * config.make.in (build-bounded): Remove variable.
23056         * crypt/Makefile [$(build-bounded) = yes]
23057         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23058         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23059         append to variable.
23060         [$(build-bounded) = yes] (install-lib): Likewise.
23061         [$(build-bounded) = yes] (generated): Likewise.
23062         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23063         Remove rule.
23064         * intl/Makefile [$(build-bounded) = yes]
23065         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23066         * math/Makefile [$(build-bounded) = yes]
23067         ($(tests:%=$(objpfx)%-bp): Likewise.
23068         * misc/Makefile [$(build-bounded) = yes]
23069         ($(objpfx)tst-tsearch-bp): Likewise.
23070         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23071         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23072         Remove dependency.
23073         * string/Makefile (o-objects.ob): Remove variable.
23074         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23075         (CFLAGS-.ob): Remove variable.
23076         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23077         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23078         both definitions of variable.
23079         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23080         (ASFLAGS-.ob): Remove variable.
23081
23082 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23083
23084         [BZ #13550]
23085         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23086         Remove __BOUNDED_POINTERS__ from condition.
23087         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23088         * string/bits/string2.h [!__NO_STRING_INLINES &&
23089         !__BOUNDED_POINTERS__]: Likewise.
23090         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23091         Likewise.
23092         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23093         Remove conditional code.
23094         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23095         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23096         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23097         condition.
23098
23099         [BZ #13550]
23100         * csu/libc-start.c: Do not include <bp-sym.h>.
23101         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23102         * elf/dl-open.c: Do not include <bp-sym.h>.
23103         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23104         * math/fegetenv.c: Do not include <bp-sym.h>.
23105         (fegetenv): Do not use BP_SYM in versioned symbols.
23106         * nptl/sysdeps/pthread/bits/libc-lockP.h
23107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23108         <bp-sym.h>.
23109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23110         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23112         (__pthread_mutex_destroy): Likewise.
23113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23114         (__pthread_mutex_lock): Likewise.
23115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23116         (__pthread_mutex_trylock): Likewise.
23117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23118         (__pthread_mutex_unlock): Likewise.
23119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23120         (__pthread_mutexattr_init): Likewise.
23121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23122         (__pthread_mutexattr_destroy): Likewise.
23123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23124         (__pthread_mutexattr_settype): Likewise.
23125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23126         (__pthread_rwlock_init): Likewise.
23127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23128         (__pthread_rwlock_destroy): Likewise.
23129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23130         (__pthread_rwlock_rdlock): Likewise.
23131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23132         (__pthread_rwlock_tryrdlock): Likewise.
23133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23134         (__pthread_rwlock_wrlock): Likewise.
23135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23136         (__pthread_rwlock_trywrlock): Likewise.
23137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23138         (__pthread_rwlock_unlock): Likewise.
23139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23140         (__pthread_key_create): Likewise.
23141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23142         (__pthread_setspecific): Likewise.
23143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23144         (__pthread_getspecific): Likewise.
23145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23146         Likewise.
23147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23148         (_pthread_cleanup_push_defer): Likewise.
23149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23150         (_pthread_cleanup_pop_restore): Likewise.
23151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23152         (pthread_setcancelstate): Likewise.
23153         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23154         <bp-sym.h>.
23155         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23156         (memchr): Do not use BP_SYM in weak_alias.
23157         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23158         (fegetenv): Do not use BP_SYM in versioned symbols.
23159         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23160         (fesetenv): Do not use BP_SYM in versioned symbols.
23161         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23162         (feupdateenv): Do not use BP_SYM in versioned symbols.
23163         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23164         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23165         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23166         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23167         (open64): Do not use BP_SYM in weak_alias.
23168         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23169         (fegetenv): Do not use BP_SYM in versioned symbols.
23170         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23171         (fesetenv): Do not use BP_SYM in versioned symbols.
23172         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23173         (feupdateenv): Do not use BP_SYM in versioned symbols.
23174         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23175         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23176         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23177         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23178         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23179         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23180         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23181         <bp-sym.h>.
23182         (__libc_start_main): Do not use BP_SYM.
23183
23184 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23185
23186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23187         redundant return line.
23188         (norm): Likewise.
23189         (denorm): Likewise.
23190         (dbl_mp): Likewise.
23191         (sub_magnitudes): Likewise.
23192         (__add): Likewise.
23193         (__sub): Likewise.
23194         (__mul): Likewise.
23195         (__inv): Likewise.
23196         (__dvd): Likewise.
23197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23198         (norm): Likewise.
23199         (denorm): Likewise.
23200         (dbl_mp): Likewise.
23201         (sub_magnitudes): Likewise.
23202         (__add): Likewise.
23203         (__sub): Likewise.
23204         (__mul): Likewise.
23205         (__inv): Likewise.
23206         (__dvd): Likewise.
23207
23208         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23209         instead of __mul.
23210         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23211         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23212         (cc32): Likewise.
23213
23214         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23215         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23216         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23217         of __mul for squares.
23218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23219         function
23220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23221         Likewise.
23222         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23224
23225 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23226
23227         [BZ #13550]
23228         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23229         code.
23230         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23231         prototype or function definition.  Rename ubp_* variables and
23232         parameters.  Remove argv definitions conditional on
23233         [__BOUNDED_POINTERS__].
23234         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23235         * elf/dl-runtime.c (_dl_fixup): Likewise.
23236         * include/set-hooks.h (RUN_HOOK): Likewise.
23237         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23238         definition.
23239         * string/strcpy.c (strcpy): Do not use __unbounded.
23240         * sysdeps/generic/frame.h (struct layout): Likewise.
23241         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23242         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23243         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23244         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23245         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23246         (__backtrace): Likewise.
23247         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23248         use __ptrvalue.
23249         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23250         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23251         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23252         Likewise.
23253         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23254         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23255         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23256         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23257         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23258         Do not use __unbounded.
23259         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23260         Rename __unboundedrlimits parameter to rlimits in prototype.
23261         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23262         Do not use __unbounded.
23263         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23264         not use __ptrvalue.
23265         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23266         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23267         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23268         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23269         __ptrvalue or __unbounded.
23270         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23271         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23272         use __unbounded.
23273         (__new_msgctl): Do not use __ptrvalue.
23274         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23275         __unbounded.
23276         (__libc_msgrcv): Do not use __ptrvalue.
23277         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23278         startup_info): Do not use __unbounded.
23279         (__libc_start_main): Likewise.  Rename ubp_* variables and
23280         parameters.  Remove argv definitions conditional on
23281         [__BOUNDED_POINTERS__].
23282         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23283         __ptrvalue.
23284         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23285         use __unbounded.
23286         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23287         or __ptrvalue.
23288         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23289         use __unbounded.
23290         (__new_shmctl): Do not use __ptrvalue.
23291         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23292         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23293         Likewise.
23294         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23295         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23296         (__libc_sigaction): Likewise.
23297         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23298         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23299         Likewise.
23300         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23301
23302 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23303
23304         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23305
23306         * string/mempcpy.c: Implement by calling memcpy.
23307
23308 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23309
23310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23311
23312         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23313         evaluation.
23314
23315         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23316         values in the mantissa.
23317
23318         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23319         minimize writes to Z.
23320         (sub_magnitudes): Simplify code a bit.
23321
23322 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23323
23324         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23325         from the message.  The linker prefixes all warnings with that already.
23326
23327 2013-02-12  Andreas Schwab  <schwab@suse.de>
23328
23329         [BZ #15078]
23330         * posix/regexec.c (extend_buffers): Add parameter min_len.
23331         (check_matching): Pass minimum needed length.
23332         (clean_state_log_if_needed): Likewise.
23333         (get_subexp): Likewise.
23334         * posix/Makefile (tests): Add bug-regex34.
23335         (bug-regex34-ENV): Define.
23336         * posix/bug-regex34.c: New file.
23337
23338         [BZ #11561]
23339         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23340         elements compare against the byte sequence of it, not its name.
23341         * posix/Makefile (tests): Add bug-regex35.
23342         (bug-regex35-ENV): Define.
23343         * posix/bug-regex35.c: New file.
23344
23345 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23346
23347         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23348         comment.
23349         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23350         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23351         (CHECK_EOL): Add undef.
23352
23353 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23354
23355         * bits/stdlib-bsearch.h: New file.
23356         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23357         * stdlib/stdlib.h: Likewise.
23358
23359 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23360
23361         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23362         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23363         declaration.
23364         * manual/search.texi (Array Search Function): Add missing const in
23365         lfind prototype.
23366         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23367         declaration to use rlim_t.
23368         (Basic Scheduling Functions): Remove erroneous const from
23369         sched_getparam prototype.  Remove erroneous * from
23370         sched_get_priority_max and sched_get_priority_min prototypes.
23371         (Resource Usage): Fix summary @comment on vtimes to refer to
23372         sys/vtimes.h rather than vtimes.h.
23373         Add missing *s in vtimes prototype.
23374         (Limits on Resources): Fix ulimit prototype to return long int.
23375         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23376         prototypes to use long int rather than double.
23377         (BSD Random): Fix initstate and setstate to use char *, not void *.
23378         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23379         prototype to make second argument 'struct aiocb64 *const[]'.
23380         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23381         (Status of AIO Operations): Remove erroneous const in aio_return and
23382         aio_return64 prototypes.
23383         (Synchronizing I/O): Fix sync prototype to return void.
23384         * manual/startup.texi (Suboptions): Remove an erroneous const in
23385         getsubopt prototype.
23386         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23387         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23388         use size_t rather than int.
23389         (Scanning All Users): Likewise for getpwent_r.
23390         (Setting Groups): Add missing const to setgroups prototype.
23391         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23392         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23393         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23394         'const void *' rather than 'const char *'.
23395         (Host Address Functions): Likewise for inet_ntop.
23396         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23397         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23398         ssize_t for return value.
23399         (Sending Data): Likewise for send, sendto, sendmsg.
23400         (Socket Option Functions): Add a missing const in setsockopt prototype.
23401         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23402         use wchar_t for the argument.
23403         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23404         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23405         take no arguments.
23406         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23407         double/float/long double for second argument.
23408         Fix return types of significand, significandf, significandl.
23409         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23410         argument in fchmod prototype.
23411         (File Owner): Use uid_t and gid_t in fchown prototype.
23412         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23413         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23414         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23415         use 'const struct dirent **' as argument types to CMP function pointer
23416         argument.
23417         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23418         (File Times): Fix summary magic @comment for struct utimbuf and utime
23419         to refer to utime.h, not time.h.
23420         * manual/string.texi (Argz Functions): Add missing const in
23421         argz_extract and argz_next prototypes.
23422         (Finding Tokens in a String): Likewise for basename.
23423         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23424         (Copying and Concatenation): Fix typo in wmemmove prototype.
23425         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23426         (Signal Stack): Remove erroneous const in sigstack prototype.
23427         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23428         prototype.
23429         (Simple Calendar Time): Likewise for stime.
23430         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23431         prototype.
23432         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23433         say sys/sysctl.h instead.
23434         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23435         and vsyslog prototypes.
23436
23437 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23438
23439         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23440         Remove.
23441
23442 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23443
23444         * misc/sys/mman.h: Fix typo in mremap comment.
23445
23446 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23447
23448         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23449         the '\0' terminator.
23450
23451 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23452
23453         [BZ #13550]
23454         * debug/segfault.c: Don't include <bp-checks.h>.
23455         * sysdeps/generic/bp-checks.h: Remove file.
23456         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23457         (__GETDENTS): Don't use CHECK_N.
23458         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23459         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23460         (__getgroups): Don't use CHECK_N.
23461         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23462         (setgroups): Don't use CHECK_N.
23463         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23464         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23465         (__libc_msgrcv): Don't use CHECK_N.
23466         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23467         (__libc_msgsnd): Don't use CHECK_N.
23468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23469         <bp-checks.h>.
23470         (__libc_pread): Don't use CHECK_N.
23471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23472         include <bp-checks.h>.
23473         (__libc_pread64): Don't use CHECK_N.
23474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23475         include <bp-checks.h>.
23476         (__libc_pwrite): Don't use CHECK_N.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23478         include <bp-checks.h>.
23479         (__libc_pwrite64): Don't use CHECK_N.
23480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23481         <bp-checks.h>.
23482         (__libc_pread): Don't use CHECK_N.
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23484         include <bp-checks.h>.
23485         (__libc_pread64): Don't use CHECK_N.
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23487         include <bp-checks.h>.
23488         (__libc_pwrite): Don't use CHECK_N.
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23490         include <bp-checks.h>.
23491         (__libc_pwrite64): Don't use CHECK_N.
23492         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23493         (do_pread): Don't use CHECK_N.
23494         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23495         (do_pread64): Don't use CHECK_N.
23496         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23497         (do_pwrite): Don't use CHECK_N.
23498         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23499         (do_pwrite64): Don't use CHECK_N.
23500         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23501         (__libc_readv): Don't use CHECK_N.
23502         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23503         (semop): Don't use CHECK_N.
23504         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23505         <bp-checks.h>.
23506         (semtimedop): Don't use CHECK_N.
23507         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23508         (__libc_pread): Don't use CHECK_N.
23509         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23510         <bp-checks.h>.
23511         (__libc_pread64): Don't use CHECK_N.
23512         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23513         <bp-checks.h>.
23514         (__libc_pwrite): Don't use CHECK_N.
23515         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23516         <bp-checks.h>.
23517         (__libc_pwrite64): Don't use CHECK_N.
23518         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23519         <bp-checks.h>.
23520         (__libc_msgrcv): Don't use CHECK_N.
23521         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23522         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23523         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23524         (__libc_writev): Don't use CHECK_N.
23525
23526 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23527
23528         * string/strcpy.c: Removed unused variable.
23529
23530         * Makeconfig (+sysdep-includes): Define with := rather than =.
23531         Use an existing include/ subdir of each sysdeps dir before it.
23532
23533 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23534
23535         * nscd/connection.c (register_traced_file): Comment function.
23536         [HAVE_INOTIFY] (union __inev): Define.
23537         [HAVE_INOTIFY] (inotify_check_files): New function.
23538         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23539         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23540         clear_db_cache.
23541         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23542
23543 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23544
23545         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23546         loaded if not already and that a failure is permanent.
23547
23548 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23549
23550         [BZ #15006]
23551         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23552         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23553
23554 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23555
23556         [BZ #13550]
23557         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23558         (CHECK_1_NULL_OK): Likewise.
23559         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23560         (__fxstat): Do not use CHECK_1.
23561         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23562         <bp-checks.h>.
23563         (___fxstat64): Do not use CHECK_1.
23564         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23565         <bp-checks.h>.
23566         (__fxstatat): Do not use CHECK_1.
23567         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23568         <bp-checks.h>.
23569         (__fxstatat64): Do not use CHECK_1.
23570         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23571         <bp-checks.h>.
23572         (__fxstat): Do not use CHECK_1.
23573         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23574         <bp-checks.h>.
23575         (__fxstatat): Do not use CHECK_1.
23576         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23577         <bp-checks.h>.
23578         (__getresgid): Do not use CHECK_1.
23579         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23580         <bp-checks.h>.
23581         (__getresuid): Do not use CHECK_1.
23582         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23583         <bp-checks.h>.
23584         (__lxstat): Do not use CHECK_1.
23585         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23586         <bp-checks.h>.
23587         (__old_msgctl): Do not use CHECK_1.
23588         (__new_msgctl): Likewise.
23589         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23590         <bp-checks.h>.
23591         (__new_setrlimit): Do not use CHECK_1.
23592         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23593         <bp-checks.h>.
23594         (__old_shmctl): Do not use CHECK_1.
23595         (__new_shmctl): Likewise.
23596         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23597         <bp-checks.h>.
23598         (__xstat): Do not use CHECK_1.
23599         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23600         (__lxstat): Do not use CHECK_1.
23601         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23602         <bp-checks.h>.
23603         (___lxstat64): Do not use CHECK_1.
23604         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23605         (__old_msgctl): Do not use CHECK_1.
23606         (__new_msgctl): Likewise.
23607         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23608         <bp-checks.h>.
23609         (__gettimeofday): Do not use CHECK_1.
23610         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23611         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23612         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23613         <bp-checks.h>.
23614         (__gettimeofday): Do not use CHECK_1.
23615         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23616         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23617         (__new_shmctl): Do not use CHECK_1.
23618         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23619         <bp-checks.h>.
23620         (do_sigtimedwait): Do not use CHECK_1.
23621         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23622         <bp-checks.h>.
23623         (do_sigwaitinfo): Do not use CHECK_1.
23624         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23625         <bp-checks.h>.
23626         (msgctl): Do not use CHECK_1.
23627         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23628         <bp-checks.h>.
23629         (shmctl): Do not use CHECK_1.
23630         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23631         (ustat): Do not use CHECK_1.
23632         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23633         <bp-checks.h>.
23634         (__fxstat): Do not use CHECK_1.
23635         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23636         <bp-checks.h>.
23637         (__fxstatat): Do not use CHECK_1.
23638         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23639         <bp-checks.h>.
23640         (__lxstat): Do not use CHECK_1.
23641         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23642         <bp-checks.h>.
23643         (__xstat): Do not use CHECK_1.
23644         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23645         (__xstat): Do not use CHECK_1.
23646         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23647         (___xstat64): Do not use CHECK_1.
23648
23649         [BZ #13550]
23650         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23651         definitions.
23652         (CHECK_BOUNDS_HIGH): Likewise.
23653         * string/strcpy.c: Do not include <bp-checks.h>.
23654         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23655
23656 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23657
23658         * nscd/nscd-client.h (__nscd_drop_map_ref):
23659         Add __attribute__ ((unused)).
23660         * nis/nss-nisplus.h (niserr2nss): Likewise.
23661
23662         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23663         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23664
23665         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23666         Remove inline keyword.
23667         * include/rounding-mode.h (round_away): Likewise.
23668         * libio/wfileops.c (adjust_wide_data): Likewise.
23669         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23670         (__m128i_strloadu_tolower): Likewise.
23671         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23672         (__m128i_strloadu_tolower): Likewise.
23673         * time/mktime.c (ydhms_diff): Likewise.
23674         * locale/elem-hash.h (elem_hash): Likewise.
23675         * locale/setlocale.c (setdata): Likewise.
23676         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23677         (re_string_wchar_at): Likewise.
23678         (bitset_not, bitset_merge, bitset_mask): Likewise.
23679         [!(__GNUC__ > 3)] (inline): Remove macro.
23680         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23681         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23682         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23683         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23684         * string/memcmp.c (memcmp_bytes): Likewise.
23685         * locale/programs/locarchive.c (compute_hashval): Likewise.
23686         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23687         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23688         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23689         * nss/getent.c (print_rpc, print_protocols): Likewise.
23690         (print_passwd, print_group, print_aliases): Likewise.
23691         * nis/nss-nisplus.h (niserr2nss): Likewise.
23692         * nscd/connections.c (restart_p): Likewise.
23693         Change return type to bool.
23694
23695 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23696
23697         * Makeconfig (all-Depend-files): Add existing
23698         $(sorted-subdirs:=/Depend) files.
23699         (all-subdirs): Remove nss.
23700         * sysdeps/unix/inet/Subdirs: Add it here instead.
23701         * hesiod/Depend: New file.
23702
23703         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23704         instead of calling alloca.
23705
23706         * io/lseek.c (__lseek): Rename to __libc_lseek.
23707         Define __lseek as an alias.
23708
23709         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23710
23711 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23712
23713         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23714         else clause and remove check for non-standard endianness.
23715
23716 2013-02-04  David S. Miller  <davem@davemloft.net>
23717
23718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23719
23720 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23721
23722         [BZ #13550]
23723         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23724         (__ubp_memchr): Remove prototype.
23725         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23726         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23727         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23728         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23729         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23730         Remove alias.
23731         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23732         (__ubp_memchr): Likewise.
23733         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23734         (__ubp_memchr): Likewise.
23735         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23736         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23737         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23738         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23739         CHECK_STRING.
23740         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23741         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23742         (__getcwd): Do not use CHECK_STRING.
23743         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23744         <bp-checks.h>.
23745         (__real_chown): Do not use CHECK_STRING.
23746         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23747         <bp-checks.h>.
23748         (fchownat): Do not use CHECK_STRING.
23749         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23750         CHECK_STRING.
23751         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23752         <bp-checks.h>.
23753         (__lchown): Do not use CHECK_STRING.
23754         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23755         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23756         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23757         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23759         include <bp-checks.h>.
23760         (truncate64): Do not use CHECK_STRING.
23761         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23762         <bp-checks.h>.
23763         (__real_chown): Do not use CHECK_STRING.
23764         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23765         <bp-checks.h>.
23766         (__lchown): Do not use CHECK_STRING.
23767         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23768         <bp-checks.h>.
23769         (__chown): Do not use CHECK_STRING.
23770         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23771         <bp-checks.h>.
23772         (truncate64): Do not use CHECK_STRING.
23773         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23774         Likewise.
23775         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23776         (__xmknod): Do not use CHECK_STRING.
23777         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23778         <bp-checks.h>.
23779         (__xmknodat): Do not use CHECK_STRING.
23780         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23781         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23782
23783 2013-02-04  Andreas Schwab  <schwab@suse.de>
23784
23785         [BZ #14142]
23786         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23787         * include/netdb.h: Likewise for h_errno.
23788         * elf/tst-stackguard1.c: Include <tls.h>.
23789
23790 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23791
23792         * elf/link.h (struct link_map): Extend the l_addr comment.
23793         * include/link.h (struct link_map): Likewise.
23794
23795 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23796
23797         [BZ #13550]
23798         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23799         (BOUNDED_1): Remove macro.
23800         * debug/backtrace.c: Don't include <bp-checks.h>.
23801         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23802         (__backtrace): Likewise.
23803         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23804         <bp-checks.h>.
23805         (__backtrace): Don't use BOUNDED_1.
23806         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23807         <bp-checks.h>.
23808         (__backtrace): Don't use BOUNDED_1.
23809         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23810         (__backtrace): Don't use BOUNDED_1.
23811         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23812         (shmat): Don't use BOUNDED_N.
23813
23814 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23815
23816         [BZ #13550]
23817         * sysdeps/generic/bp-start.h: Remove file.
23818         * csu/libc-start.c: Don't include <bp-start.h>.
23819         (LIBC_START_MAIN): Set up __environ directly instead of using
23820         INIT_ARGV_and_ENVIRON.
23821         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23822         <bp-start.h>.
23823
23824         [BZ #13550]
23825         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23826         definitions.
23827         (CHECK_FCNTL): Likewise.
23828         (CHECK_N_PAGES): Likewise.
23829
23830         [BZ #13550]
23831         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23832         definitions.
23833         (CHECK_SIGSET_NULL_OK): Likewise.
23834         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23835         <bp-checks.h>.
23836         (sigpending): Don't use CHECK_SIGSET.
23837         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23838         <bp-checks.h>.
23839         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23840         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23841         <bp-checks.h>.
23842         (do_sigsuspend): Don't use CHECK_SIGSET.
23843         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23844         use CHECK_SIGSET.
23845         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23846         (do_sigwait): Don't use CHECK_SIGSET.
23847         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23848         use CHECK_SIGSET.
23849         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23850         include <bp-checks.h>.
23851         (sigpending): Don't use CHECK_SIGSET.
23852         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23853         include <bp-checks.h>.
23854         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23855         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23856         <bp-checks.h>.
23857         (sigpending): Don't use CHECK_SIGSET.
23858         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23859         <bp-checks.h>.
23860         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23861
23862         [BZ #13550]
23863         * sysdeps/generic/bp-semctl.h: Remove file.
23864         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23865         <bp-checks.h> and <bp-semctl.h>.
23866         (__old_semctl): Don't use CHECK_SEMCTL.
23867         (__new_semctl): Likewise.
23868         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23869         and <bp-semctl.h>.
23870         (__old_semctl): Don't use CHECK_SEMCTL.
23871         (__new_semctl): Likewise.
23872         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23873         <bp-checks.h> and <bp-semctl.h>.
23874         (__old_semctl): Don't use CHECK_SEMCTL.
23875         (__new_semctl): Likewise.
23876         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23877         <bp-checks.h> and <bp-semctl.h>.
23878         (semctl): Don't use CHECK_SEMCTL.
23879
23880         [BZ #13550]
23881         * Makerules (elide-bp-thunks): Remove variable.
23882         (elide-routines.oS): Don't use $(elide-bp-thunks).
23883         (elide-routines.os): Likewise.
23884         (elide-routines.o): Likewise.
23885         (elide-routines.op): Likewise.
23886         (elide-routines.og): Likewise.
23887         (objects): Don't use $(bp-thunks).
23888         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23889         include.
23890         (common-generated): Do not add s-proto-bp.d.
23891         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23892         (int): Likewise.
23893         (typ): Likewise.
23894         Do not generate makefile rules for bounded-pointer thunks.
23895         * sysdeps/generic/bp-thunks.h: Remove file.
23896         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23897         * sysdeps/unix/s-proto-bp.S: Likewise.
23898
23899         [BZ #15062]
23900         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23901         parts of result separately when argument is not close to line from
23902         -i to i and one part of argument is small.
23903         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23904         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23905         * math/libm-test.inc (cacos_test): Add more tests.
23906         (casin_test): Likewise.
23907         (casinh_test): Likewise.
23908         * sysdeps/i386/fpu/libm-test-ulps: Update.
23909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23910
23911 2013-01-31  David S. Miller  <davem@davemloft.net>
23912
23913         * po/de.po: Update from translation team.
23914
23915 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23916
23917         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23918
23919 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23920
23921         * configure.in (_AC_PROG_CC_C89): New definition.
23922         * configure: Regenerate.
23923
23924         * configure.in (AC_PROG_CPP): New definition.
23925         * configure: Regenerate.
23926
23927 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23928
23929         * debug/tst-backtrace.h: New file.
23930         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23931         (ret): Remove variable.
23932         (x): Likewise.
23933         (FAIL): Remove macro.
23934         (NO_INLINE): Likewise.
23935         (fn1): Use match function instead of strstr.
23936         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23937         (ret): Remove variable.
23938         (x): Likewise.
23939         (FAIL): Remove macro.
23940         (NO_INLINE): Likewise.
23941         (fn): Use match function instead of strstr.
23942         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23943         (ret): Remove variable.
23944         (x): Likewise.
23945         (FAIL): Remove macro.
23946         (NO_INLINE): Likewise.
23947         (handle_signal): Use match function instead of strstr.
23948         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23949         (ret): Remove variable.
23950         (x): Likewise.
23951         (FAIL): Remove macro.
23952         (NO_INLINE): Likewise.
23953         (handle_signal): Use match function instead of strstr.
23954
23955 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23956
23957         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23958
23959 2013-01-23  David S. Miller  <davem@davemloft.net>
23960
23961         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23962         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23963         argument of CAS if possible.
23964         * sysdeps/sparc/sparc64/bits/atomic.h
23965         (__arch_compare_and_exchange_val_32_acq): Likewise.
23966         (__arch_compare_and_exchange_val_64_acq): Likewise.
23967
23968 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23969
23970         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23971         * sysdeps/posix/ulimit.c: ... this.
23972         Include <limits.h>.
23973         * sysdeps/unix/bsd/ulimit.c: Remove file.
23974
23975 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23976
23977         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23978         (LDFLAGS-tst-array5): Likewise.
23979
23980 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23981
23982         [BZ #15036]
23983         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23984         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23985         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23986         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23987
23988 2013-01-21  David S. Miller  <davem@davemloft.net>
23989
23990         * sysdeps/sparc/backtrace.c: New file.
23991         * sysdeps/sparc/sparc32/backtrace.h: New file.
23992         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23993         * sysdeps/sparc/sparc64/backtrace.h: New file.
23994         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23995         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23996         -funwind-tables.
23997
23998 2013-01-21  Andreas Schwab  <schwab@suse.de>
23999
24000         [BZ #15020]
24001         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24002         closed its stdout.
24003
24004 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24005
24006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24007         "mpa2.h".
24008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24009
24010 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24011             Mark Mitchell  <mark@codesourcery.com>
24012             Tom de Vries  <tom@codesourcery.com>
24013             Paul Pluzhnikov  <ppluzhnikov@google.com>
24014
24015         * debug/tst-backtrace2.c: New file.
24016         * debug/tst-backtrace3.c: Likewise.
24017         * debug/tst-backtrace4.c: Likewise.
24018         * debug/tst-backtrace5.c: Likewise.
24019         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24020         (CFLAGS-tst-backtrace3.c): Likewise.
24021         (CFLAGS-tst-backtrace4.c): Likewise.
24022         (CFLAGS-tst-backtrace5.c): Likewise.
24023         (LDFLAGS-tst-backtrace2): Likewise.
24024         (LDFLAGS-tst-backtrace3): Likewise.
24025         (LDFLAGS-tst-backtrace4): Likewise.
24026         (LDFLAGS-tst-backtrace5): Likewise.
24027         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24028         tst-backtrace4 and tst-backtrace5.
24029
24030 2013-01-18  Anton Blanchard  <anton@samba.org>
24031             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24032
24033         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24034         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24035         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24036         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24038         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24039         "+r" and remove output regs list as redundant.  Add explicit inline
24040         asm to specify register of return val to work around compiler codegen
24041         bug.  Remove (int) cast on return value.  Add return type parameter to
24042         use in macro so that this macro does not truncate return value for
24043         64-bit values.
24044         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24045         pass to INTERNAL_VSYSCALL_NCS.
24046         (INLINE_VSYSCALL): Add 'long int' as return type to
24047         INTERNAL_VSYSCALL_NCS macro invocation.
24048         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24049         INTERNAL_VSYSCALL_NCS macro invocation.
24050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24051
24052 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24053
24054         [BZ #14496]
24055         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24056         Fix application of SIMD FP exception mask.
24057
24058         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24059         mp_no from a power of two.
24060         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24061         __mpexp_twomm1.  Use __pow_mp.
24062
24063         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24064         multiplication.
24065
24066 2013-01-17  David S. Miller  <davem@davemloft.net>
24067
24068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24069
24070 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24071
24072         [BZ #15023]
24073         * include/complex.h: Condition contents on [!_COMPLEX_H].
24074         (__kernel_casinhf): New prototype.
24075         (__kernel_casinh): Likewise.
24076         (__kernel_casinhl): Likewise.
24077         * math/Makefile (libm_calls): Add k_casinh.
24078         * math/k_casinh.c: New file.
24079         * math/k_casinhf.c: Likewise.
24080         * math/k_casinhl.c: Likewise.
24081         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24082         finite nonzero arguments.
24083         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24084         finite nonzero arguments.
24085         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24086         finite nonzero arguments.
24087         * math/s_casinh.c: Do not include <float.h>.
24088         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24089         * math/s_casinhf.c: Do not include <float.h>.
24090         (__casinhf): Move code for finite nonzero arguments to
24091         k_casinhf.c.
24092         * math/s_casinhl.c: Do not include <float.h>.
24093         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24094         redefine.
24095         (__casinhl): Move code for finite nonzero arguments to
24096         k_casinhl.c.
24097         * math/libm-test.inc (cacos_test): Add more tests.
24098         * sysdeps/i386/fpu/libm-test-ulps: Update.
24099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24100
24101 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24102
24103         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24104         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24105         [!HAVE_MREMAP]: Remove [defined linux] case.
24106         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24107
24108 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24109
24110         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24111
24112 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24113
24114         * elf/elf.h (R_386_SIZE32): New relocation.
24115         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24116         R_386_SIZE32.
24117         (elf_machine_rela): Likewise.
24118         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24119         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24120
24121 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24122
24123         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24124         (FP_FAST_FMA): Do not define.
24125         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24126         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24127         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24128         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24129         !_SOFT_FLOAT]: Likewise.
24130         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24131         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24132         value.
24133         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24134         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24135         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24136         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24137         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24138         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24139         file.
24140
24141 2013-01-16  Andreas Schwab  <schwab@suse.de>
24142
24143         [BZ #14327]
24144         * include/stdlib.h (__mktemp): Add declaration.
24145         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24146         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24147
24148 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24149
24150         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24151         definitions.
24152         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24153         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24154         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24155         definitions here.
24156         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24157         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24158         definitions.
24159         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24160         and ONE.
24161         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24162         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24163         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24164         definitions.
24165         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24166         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24167         definitions.
24168         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24169
24170         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24171
24172 2013-01-15  David S. Miller  <davem@davemloft.net>
24173
24174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24175         trunc{,f} to libm-sysdep_routes.
24176         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24178         file.
24179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24181         file.
24182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24183         file.
24184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24186         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24187         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24188         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24189         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24190         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24191         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24192
24193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24194         nearbyint{,f} to libm-sysdep_routes.
24195         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24197         New file.
24198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24199         file.
24200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24201         New file.
24202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24203         file.
24204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24206         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24207         file.
24208         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24209         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24210         file.
24211         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24212         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24213         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24214
24215         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24216         libc_feholdexcept and libc_fesetenv.
24217
24218 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24219
24220         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24221
24222 2013-01-14  David S. Miller  <davem@davemloft.net>
24223
24224         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24225         (SPARC_ASM_VIS2_IFUNC): Likewise.
24226         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24228         use of 'siam' instruction.
24229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24230         Likewise.
24231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24232         Likewise.
24233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24234         Likewise.
24235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24240         file.
24241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24242         file.
24243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24244         file.
24245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24246         file.
24247         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24249         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24250         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24252         new VIS2 routines.
24253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24256         Likewise.
24257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24258         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24262         routines to libm-sysdep_routines.
24263         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24264
24265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24266         fdim/fdimf to libm-sysdep_routines.
24267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24268         file.
24269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24271         file.
24272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24275         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24276         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24277         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24278         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24279
24280 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24281
24282         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24283         to optimize copies.
24284
24285         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24288
24289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24290         local variable MPTWO.
24291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24292         Likewise.
24293
24294 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24295
24296         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24297         GLOB_NOESCAPE.
24298
24299 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24300
24301         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24302
24303 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24304
24305         * manual/pattern.texi (glob_t): Document gl_flags.
24306         (glob64_t): Likewise.
24307
24308 2013-01-11  David S. Miller  <davem@davemloft.net>
24309
24310         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24311         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24312         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24313         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24314         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24315         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24316         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24317         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24318         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24319         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24320         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24321         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24322         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24323
24324         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24325         sparc V9 rather than using V8 code.
24326         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24327         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24328
24329         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24330         Move to...
24331         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24332         Here.
24333
24334 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24335
24336         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24337         not in the main loop.
24338         * configure: Regenerated.
24339
24340 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24341
24342         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24343         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24344         to just #else.
24345         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24346         [!__GLIBC_HAVE_LONG_LONG] case.
24347         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24348         condition to just #else.
24349         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24350         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24351         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24352         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24353         unconditional.
24354         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24355         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24356         #elif condition to just #else.
24357         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24358         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24359         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24360         #elif condition to just #else.
24361
24362 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24363
24364         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24365         (EF_MIPS_ARCH_64): Fix value.
24366         (EF_MIPS_ARCH_32R2): New.
24367         (EF_MIPS_ARCH_64R2): New.
24368
24369 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24370
24371         * Makeconfig (+link-pie-before-libc): New.
24372         (+link-pie-after-libc): Likewise.
24373         (+link-pie-tests): Likewise.
24374         (+link-pie): Rewritten.
24375         (link-before-libc): Remove $(config-LDFLAGS).
24376         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24377         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24378         (config-LDFLAGS): Renamed to ...
24379         (rtld-LDFLAGS): This.
24380         (rtld-tests-LDFLAGS): New macro.
24381         (link-libc-rpath-link): Likewise.
24382         (link-libc-tests-rpath-link): Likewise.
24383         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24384         (link-libc): Prepand $(link-libc-rpath-link).
24385         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24386         (test-program-prefix): New macro.
24387         (test-via-rtld-prefix): Likewise.
24388         (test-program-cmd): Likewise.
24389         (host-test-program-cmd): Likewise.
24390         * Makefile ($(common-objpfx)testrun.sh): Replace
24391         $(run-program-prefix) with $(test-program-prefix).
24392         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24393         $(rtld-LDFLAGS).
24394         ($(common-objpfx)shlib.lds): Likewise.
24395         (build-module-helper): Likewise.
24396         ($(common-objpfx)format.lds): Likewise.
24397         * Rules (binaries-pie-tests): New.
24398         (binaries-pie-notests): Likewise.
24399         (binaries-pie): Rewritten.
24400         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24401         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24402         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24403         (make-test-out): Replace $(host-built-program-cmd) with
24404         $(host-test-program-cmd).
24405         * config.make.in (build-hardcoded-path-in-tests): New variable.
24406         * configure.in (--enable-hardcoded-path-in-tests): New configure
24407         option.
24408         (hardcoded_path_in_tests): New AC_SUBST.
24409         * configure: Regenerated.
24410         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24411         $(built-program-cmd) with $(test-program-cmd).
24412         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24413         (test_program_cmd): This.
24414         * elf/Makefile ($(objpfx)order.out): Run test with
24415         $(test-program-prefix).
24416         ($(objpfx)order2.out): Likewise.
24417         ($(objpfx)tst-initorder.out): Likewise.
24418         ($(objpfx)tst-initorder2.out): Likewise.
24419         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24420         $(test-program-cmd).
24421         ($(objpfx)tst-array1-static.out): Likewise.
24422         ($(objpfx)tst-array2.out): Likewise.
24423         ($(objpfx)tst-array3.out): Likewise.
24424         ($(objpfx)tst-array4.out): Likewise.
24425         ($(objpfx)tst-array5.out): Likewise.
24426         ($(objpfx)tst-array5-static.out): Likewise.
24427         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24428         $(test-program-cmd).
24429         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24430         $(run-program-prefix) with $(test-program-prefix).
24431         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24432         (test_program_prefix): This.
24433         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24434         $(run-program-prefix) with $(test-program-prefix).
24435         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24436         (test_program_prefix): This.
24437         * iconvdata/tst-tables.sh: Likewise.
24438         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24439         $(run-program-prefix) with $(test-program-prefix).
24440         ($(objpfx)tst-translit.out): Likewise.
24441         ($(objpfx)tst-gettext2.out): Likewise.
24442         ($(objpfx)tst-gettext4.out): Likewise.
24443         ($(objpfx)tst-gettext6.out): Likewise.
24444         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24445         (test_program_prefix): This.
24446         * intl/tst-gettext2.sh: Likewise.
24447         * intl/tst-gettext4.sh  Likewise.
24448         * intl/tst-gettext6.sh: Likewise.
24449         * intl/tst-translit.sh: Likewise.
24450         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24451         with $(test-program-cmd).
24452         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24453         $(run-program-prefix) with $(test-program-prefix).
24454         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24455         (test_program_prefix): This.
24456         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24457         $(run-program-prefix) with $(test-program-prefix).
24458         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24459         (test_program_prefix): This.
24460         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24461         * posix/Makefile ($(objpfx)globtest.out): Replace
24462         $(run-via-rtld-prefix) and $(test-wrapper) with
24463         $(test-program-prefix) and $(test-via-rtld-prefix).
24464         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24465         $(test-program-prefix).
24466         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24467         $(host-test-program-cmd).
24468         (tst-spawn-ARGS): Likewise.
24469         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24470         $(test-program-prefix).
24471         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24472         (test_via_rtld_prefix): This.
24473         (test_wrapper): Renamed to ...
24474         (test_program_prefix): This.
24475         (run_program_prefix): Replaced by test_program_prefix.
24476         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24477         (test_program_prefix): This.
24478         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24479         with $(host-test-program-cmd).
24480         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24481         $(run-program-prefix) with $(test-program-prefix).
24482         ($(objpfx)tst-printf.out): Likewise.
24483         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24484         $(test-program-cmd).
24485         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24486         (test_program_prefix): This.
24487         * stdio-common/tst-unbputc.sh: Likewise.
24488         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24489         $(run-program-prefix) with $(test-program-prefix).
24490         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24491         (test_program_prefix): This.
24492         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24493         $(built-program-cmd) with $(test-program-cmd).
24494
24495 2013-01-11  Andreas Jaeger  <aj@suse.de>
24496
24497         [BZ #15003]
24498         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24499         value. Sync with Linux 3.7.
24500
24501 2013-01-10  David S. Miller  <davem@davemloft.net>
24502
24503         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24504         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24505         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24506
24507 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24508
24509         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24510         never set.
24511         * configure: Regenerated.
24512
24513 2013-01-10  David S. Miller  <davem@davemloft.net>
24514
24515         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24516         sparc V9 rather than using V8 code.
24517         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24518         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24519
24520 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24521
24522         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24523         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24524         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24525         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24526         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24527         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24528         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24529         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24530         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24531         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24532         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24533         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24534         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24535         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24536         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24537         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24538         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24539         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24540         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24541         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24542         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24543         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24544         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24545         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24546         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24547         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24548         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24549
24550 2013-01-10  David S. Miller  <davem@davemloft.net>
24551
24552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24553
24554 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24555
24556         * posix/Makefile (tests-static): New variable.
24557         (tests): Add $(tests-static).
24558         (tst-exec-static-ARGS): New variable.
24559         (tst-spawn-static-ARGS): Likewise.
24560         * posix/tst-exec-static.c: New file.
24561         * posix/tst-spawn-static.c: Likewise.
24562         * posix/tst-exec.c: Support run directly.
24563         * posix/tst-spawn.c: Likewise.
24564
24565 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24566
24567         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24568         long.
24569         * math/bits/mathcalls.h (llrint): Likewise.
24570         (llround): Likewise.
24571         * stdlib/stdlib.h (struct drand48_data): Likewise.
24572         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24573         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24574         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24575         Likewise.
24576         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24577         Likewise.
24578         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24579         (elf_greg_t): Likewise.
24580         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24581         (__jmp_buf): Likewise.
24582         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24583         definitions.
24584         (llrint): Likewise, for all definitions.
24585         (llrintl): Likewise.
24586
24587         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24588         Remove [__GNUC__] condition.
24589         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24590         condition to just [__USE_ISOC99].
24591         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24592
24593 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24594
24595         [BZ #14200]
24596         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24597         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24598         defined.
24599         (_POSIX_V6_ILP32_OFF32): Likewise.
24600         (_XBS5_ILP32_OFF32): Likewise.
24601         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24602         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24603
24604 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24605
24606         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24607
24608         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24609         doubles __mpexp_twomm1.  Adjust usage.
24610         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24611         Remove.
24612
24613 2013-01-10  Andreas Schwab  <schwab@suse.de>
24614
24615         [BZ #14964]
24616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24617         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24618
24619 2013-01-09  David S. Miller  <davem@davemloft.net>
24620
24621         [BZ #15003]
24622         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24623         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24624         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24625         (TCP_FASTOPEN): Define.
24626         (tcp_repair_opt): New structure.
24627         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24628         enum values.
24629         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24630         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24631         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24632         (tcp_cookie_transactions): New structure.
24633
24634 2013-01-09  Anton Blanchard  <anton@samba.org>
24635
24636         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24637         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24638         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24639         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24640
24641 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24642
24643         * include/features.h (__USE_ANSI): Remove.
24644
24645 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24646
24647         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24648
24649         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24650
24651 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24652
24653         * sysdeps/s390/fpu/libm-test-ulps: Update.
24654
24655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24656
24657         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24658         (__acr): Likewise.
24659         (__cpy): Likewise.
24660         (norm): Likewise.
24661         (denorm): Likewise.
24662         (__mp_dbl): Likewise.
24663         (__dbl_mp): Likewise.
24664         (add_magnitudes): Likewise.
24665         (sub_magnitudes): Likewise.
24666         (__add): Likewise.
24667         (__sub): Likewise.
24668         (__mul): Likewise.
24669         (__inv): Likewise.
24670         (__dvd): Likewise.
24671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24672         (__acr): Likewise.
24673         (__cpy): Likewise.
24674         (norm): Likewise.
24675         (denorm): Likewise.
24676         (__mp_dbl): Likewise.
24677         (__dbl_mp): Likewise.
24678         (add_magnitudes): Likewise.
24679         (sub_magnitudes): Likewise.
24680         (__add): Likewise.
24681         (__sub): Likewise.
24682         (__mul): Likewise.
24683         (__inv): Likewise.
24684         (__dvd): Likewise.
24685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24686         (__acr): Likewise.
24687         (__cpy): Likewise.
24688         (norm): Likewise.
24689         (denorm): Likewise.
24690         (__mp_dbl): Likewise.
24691         (__dbl_mp): Likewise.
24692         (add_magnitudes): Likewise.
24693         (sub_magnitudes): Likewise.
24694         (__add): Likewise.
24695         (__sub): Likewise.
24696         (__mul): Likewise.
24697         (__inv): Likewise.
24698         (__dvd): Likewise.
24699
24700 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24701
24702         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24703         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24704         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24705         2 && __USE_EXTERN_INLINES]: Likewise.
24706
24707 2013-01-08  Andreas Jaeger  <aj@suse.de>
24708
24709         [BZ# 14985]
24710         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24711         Remove.
24712         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24713         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24714
24715 2013-01-07  Anton Blanchard  <anton@samba.org>
24716
24717         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24718         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24719         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24720         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24721         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24722         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24723         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24724         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24726         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24727         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24728         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24729         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24730         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24731         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24732         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24733         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24734         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24735         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24736         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24737         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24738         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24739         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24740         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24741         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24742         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24743         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24744         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24745         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24746         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24747         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24749         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24750         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24751         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24752         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24753         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24754         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24755         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24756         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24757         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24758         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24759         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24760
24761 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24762
24763         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24764         (__MALLOC_PMT): Likewise.
24765         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24766         [__GNUC__], only on [_LIBC].
24767         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24768         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24769         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24770         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24771         forward declaration.
24772         (realloc_hook_ini): Likewise.
24773         (memalign_hook_ini): Likewise.
24774         (__libc_memalign): Do not use __MALLOC_PMT in variable
24775         declaration.
24776         (__libc_valloc): Likewise.
24777         (__libc_pvalloc): Likewise.
24778         (__libc_calloc): Likewise.
24779         (__posix_memalign): Likewise.
24780
24781         [BZ #14996]
24782         * math/s_casinh.c: Include <float.h>.
24783         (__casinh): Do not do computation with squaring and square root
24784         for large arguments.
24785         * math/s_casinhf.c: Include <float.h>.
24786         (__casinhf): Do not do computation with squaring and square root
24787         for large arguments.
24788         * math/s_casinhl.c: Include <float.h>.
24789         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24790         (__casinhl): Do not do computation with squaring and square root
24791         for large arguments.
24792         * math/libm-test.inc (casin_test): Add more tests.
24793         (casinh_test): Likewise.
24794         * sysdeps/i386/fpu/libm-test-ulps: Update.
24795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24796
24797 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24798
24799         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24800         (__x86_64_raw_data_cache_size): Likewise.
24801         (__x86_64_data_cache_size_half): Likewise.
24802         (__x86_64_raw_data_cache_size_half): Likewise.
24803         (__x86_64_shared_cache_size): Likewise.
24804         (__x86_64_raw_shared_cache_size): Likewise.
24805         (__x86_64_shared_cache_size_half): Likewise.
24806         (__x86_64_raw_shared_cache_size_half): Likewise.
24807         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24808         to ...
24809         (__x86_data_cache_size): This.
24810         (__x86_64_raw_data_cache_size): Renamed to ...
24811         (__x86_raw_data_cache_size): This.
24812         (__x86_64_data_cache_size_half): Renamed to ...
24813         (__x86_data_cache_size_half): This.
24814         (__x86_64_raw_data_cache_size_half): Renamed to ...
24815         (__x86_raw_data_cache_size_half): This.
24816         (__x86_64_shared_cache_size): Renamed to ...
24817         (__x86_shared_cache_size): This.
24818         (__x86_64_raw_shared_cache_size): Renamed to ...
24819         (__x86_raw_shared_cache_size): This.
24820         (__x86_64_shared_cache_size_half): Renamed to ...
24821         (__x86_shared_cache_size_half): This.
24822         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24823         (__x86_raw_shared_cache_size_half): This.
24824         * sysdeps/x86_64/memcpy.S: Updated.
24825         * sysdeps/x86_64/memset.S: Likewise.
24826         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24827         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24828         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24829
24830 2013-01-04  David S. Miller  <davem@davemloft.net>
24831
24832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24833
24834 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24835
24836         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24837         1 to avoid redefinition warning.
24838         (__USE_GNU): Don't define.
24839         (init_signaling_nan): Protoize.
24840
24841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24842
24843 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24844
24845         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24847         (__cpymn): Likewise.
24848         (norm): Remove commented code.
24849         (denorm): Likewise.
24850         (__mp_dbl): Likewise.
24851         (__inv): Likewise.
24852         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24853         (__cpymn): Likewise.
24854         (norm): Remove commented code.
24855         (denorm): Likewise.
24856         (__mp_dbl): Likewise.
24857         (__inv): Likewise.
24858
24859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24860         mp_no value for 1.0 and 2.0.
24861         (norm): Use RADIXI instead of radixi.d.
24862         (denorm): Likewise.
24863         (__mul): Use 0.0 instead of zero.d.
24864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24865         mp_no value for 1.0 and 2.0.
24866         (norm): Use RADIXI instead of radixi.d.
24867         (denorm): Likewise.
24868         (__mul): Use 0.0 instead of zero.d.
24869
24870 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24871
24872         [BZ #14994]
24873         * math/s_casinh.c (__casinh): Reduce finite argument to first
24874         quadrant then set signs of results at the end.
24875         * math/s_casinhf.c (__casinhf): Likewise.
24876         * math/s_casinhl.c (__casinhl): Likewise.
24877         * math/libm-test.inc (casin_test): Add more tests.
24878         (casinh_test): Likewise.
24879         * sysdeps/i386/fpu/libm-test-ulps: Update.
24880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24881
24882 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24883
24884         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24885
24886         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24887
24888         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24889         declarations.
24890         (denorm): Likewise.
24891         (__mp_dbl): Likewise.
24892         (__inv): Likewise.
24893
24894         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24895         and adjust the header comment.
24896
24897         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24898         variable name from declaration.
24899
24900 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24901
24902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24903         Initialize COMMON_CPUID_INDEX_7 element.
24904         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24905         (CPUID_RTM): Likewise.
24906         (HAS_RTM): Likewise.
24907         (COMMON_CPUID_INDEX_7): New enum.
24908
24909 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24910
24911         [BZ #14981]
24912         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24913         size is zero, record memory as freed.
24914
24915 2013-01-03  Andreas Jaeger  <aj@suse.de>
24916
24917         * po/ia.po: Add new Interlingua translation.
24918
24919 2012-01-03  Allan McRae  <allan@archlinux.org>
24920
24921         * locale/programs/localedef.c: Fix description of '--posix' flag.
24922
24923 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24924
24925         * NEWS: Update dates in second copyright notice.
24926         * README: Update copyright dates in example.
24927         * manual/libc.texinfo: Update copyright dates.
24928         * scripts/test-installation.pl: Update copyright date in --version
24929         output.
24930
24931         * hurd/ctty-input.c: Fix copyright notice formatting.
24932         * hurd/ctty-output.c: Likewise.
24933         * hurd/dtable.c: Likewise.
24934         * hurd/hurd-raise.c: Likewise.
24935         * hurd/hurdprio.c: Likewise.
24936         * hurd/msgportdemux.c: Likewise.
24937         * misc/sys/file.h: Likewise.
24938         * misc/sys/ioctl.h: Likewise.
24939         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24940         * sysdeps/mach/hurd/chdir.c: Likewise.
24941         * sysdeps/mach/hurd/fchdir.c: Likewise.
24942         * sysdeps/mach/hurd/rename.c: Likewise.
24943         * sysdeps/mach/hurd/rmdir.c: Likewise.
24944         * sysdeps/mach/hurd/seekdir.c: Likewise.
24945         * sysdeps/mach/hurd/setsid.c: Likewise.
24946         * sysdeps/posix/wait3.c: Likewise.
24947
24948         * All files with FSF copyright notices: Update copyright dates
24949         using scripts/update-copyrights.
24950         * intl/plural.c: Regenerated.
24951         * locale/programs/charmap-kw.h: Likewise.
24952         * locale/programs/locfile-kw.h: Likewise.
24953
24954 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24955
24956         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24957         four values.
24958
24959         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24960         calculation loop and add branch prediction.
24961
24962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24963         check access beyond bounds of m1np.
24964
24965         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24966         MPTWO.
24967         (__inv): Remove local variable MPTWO to use the global
24968         constant.
24969         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24970         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24971         variable MPTWO.
24972         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24973         MP3HALFS static const.
24974
24975 2013-01-01  David S. Miller  <davem@davemloft.net>
24976
24977         * po/ca.po: Update from translation team.
24978
24979 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24980
24981         * scripts/update-copyrights: New file.
24982         * Makeconfig: Reformat copyright notice.
24983         * ctype/ctype.h: Likewise.
24984         * debug/swprintf_chk.c: Likewise.
24985         * elf/dl-cache.c: Likewise.
24986         * elf/dl-debug.c: Likewise.
24987         * elf/dl-object.c: Likewise.
24988         * grp/initgroups.c: Likewise.
24989         * hurd/Makefile: Likewise.
24990         * hurd/hurd/signal.h: Likewise.
24991         * hurd/hurdfault.c: Likewise.
24992         * hurd/hurdioctl.c: Likewise.
24993         * hurd/hurdlookup.c: Likewise.
24994         * hurd/intr-msg.c: Likewise.
24995         * iconv/gconv_open.c: Likewise.
24996         * libio/swprintf.c: Likewise.
24997         * locale/lc-ctype.c: Likewise.
24998         * locale/nl_langinfo.c: Likewise.
24999         * mach/Machrules: Likewise.
25000         * mach/Makefile: Likewise.
25001         * malloc/obstack.h: Likewise.
25002         * manual/Makefile: Likewise.
25003         * manual/tsort.awk: Likewise.
25004         * misc/bits/stab.def: Likewise.
25005         * nis/nis_print_group_entry.c: Likewise.
25006         * nis/nis_table.c: Likewise.
25007         * nis/nss_compat/compat-pwd.c: Likewise.
25008         * nis/nss_compat/compat-spwd.c: Likewise.
25009         * po/Makefile: Likewise.
25010         * posix/fnmatch.c: Likewise.
25011         * posix/regex.h: Likewise.
25012         * resolv/Makefile: Likewise.
25013         * resolv/nss_dns/dns-network.c: Likewise.
25014         * resolv/res_hconf.c: Likewise.
25015         * scripts/gen-sorted.awk: Likewise.
25016         * soft-fp/soft-fp.h: Likewise.
25017         * stdio-common/printf.h: Likewise.
25018         * stdlib/monetary.h: Likewise.
25019         * stdlib/random.c: Likewise.
25020         * stdlib/random_r.c: Likewise.
25021         * sysdeps/generic/Makefile: Likewise.
25022         * sysdeps/gnu/Makefile: Likewise.
25023         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25024         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25025         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25026         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25027         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25029         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25030         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25031         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25032         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25033         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25034         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25035         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25036         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25037         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25038         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25039         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25040         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25041         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25042         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25043         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25044         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25045         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25046         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25047         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25048         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25049         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25050         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25051         * sysdeps/mach/hurd/errnos.awk: Likewise.
25052         * sysdeps/mach/hurd/fork.c: Likewise.
25053         * sysdeps/mach/hurd/getcwd.c: Likewise.
25054         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25055         * sysdeps/mach/hurd/mmap.c: Likewise.
25056         * sysdeps/mach/hurd/utimes.c: Likewise.
25057         * sysdeps/mach/hurd/xmknod.c: Likewise.
25058         * sysdeps/posix/profil.c: Likewise.
25059         * sysdeps/posix/readdir_r.c: Likewise.
25060         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25061         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25062         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25063         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25065         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25066         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25067         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25068         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25069         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25070         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25071         * sysdeps/pthread/lio_listio.c: Likewise.
25072         * sysdeps/sparc/dl-procinfo.h: Likewise.
25073         * sysdeps/unix/i386/sysdep.S: Likewise.
25074         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25075         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25076         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25077         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25079         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25080         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25081         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25082         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25083         * sysdeps/wordsize-32/divdi3.c: Likewise.
25084         * time/sys/time.h: Likewise.
25085         * wcsmbs/Makefile: Likewise.
25086
25087 2013-01-01  David S. Miller  <davem@davemloft.net>
25088
25089         * po/fr.po: Update from translation team.
25090
25091         * catgets/gencat.c: Update copyright year.
25092         * csu/version.c: Likewise.
25093         * debug/catchsegv.sh: Likewise.
25094         * debug/pcprofiledump.c: Likewise.
25095         * debug/xtrace.sh: Likewise.
25096         * elf/ldconfig.c: Likewise.
25097         * elf/ldd.bash.in: Likewise.
25098         * elf/pldd.c: Likewise.
25099         * elf/sotruss.ksh: Likewise.
25100         * elf/sprof.c: Likewise.
25101         * iconv/iconv_prog.c: Likewise.
25102         * iconv/iconvconfig.c: Likewise.
25103         * locale/programs/locale.c: Likewise.
25104         * locale/programs/localedef.c: Likewise.
25105         * login/programs/pt_chown.c: Likewise.
25106         * malloc/memusage.sh: Likewise.
25107         * malloc/memusagestat.c: Likewise.
25108         * malloc/mtrace.pl: Likewise.
25109         * nscd/nscd.c: Likewise.
25110         * nss/getent.c: Likewise.
25111         * nss/makedb.c: Likewise.
25112         * posix/getconf.c: Likewise.
25113
25114 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25115
25116         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25117         numbers.
25118
25119 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25120
25121         * math/bits/mathcalls.h (modf): Use __nonnull.
25122
25123 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25124
25125         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25126         (split): Use macro CN instead of the bare value.
25127         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25128         could be used.
25129         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25130         instead of the bare value.
25131         (power1): Likewise.
25132
25133 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25134
25135         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25136         __ATAN_TWOM.
25137         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25138
25139         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25140         their values.
25141         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25142         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25143         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25144         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25145
25146 2012-12-28  Andreas Jaeger  <aj@suse.de>
25147
25148         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25149         values are from Linux 3.7.
25150
25151         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25152         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25153
25154 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25155
25156         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25157         TRUE case.
25158
25159         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25160         (norm): Likewise.
25161         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25162         variables with preprocessor constants.
25163         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25164         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25165         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25166
25167 2012-12-27  Bruno Haible  <bruno@clisp.org>
25168
25169         [BZ #14317]
25170         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25171         only if needed.
25172
25173 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25174
25175         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25176         and use variable directly.
25177         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25178
25179         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25180         MPONE.
25181         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25182         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25183         variable MPONE.
25184         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25186         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25187         include directive.  Remove local variable MPONE.
25188         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25189         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25190         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25191
25192 2012-12-25  David S. Miller  <davem@davemloft.net>
25193
25194         * version.h (RELEASE): Set to "development".
25195         (VERSION): Set to "2.17.90".
25196         * NEWS: Add 2.18 section.
25197
25198 2012-12-21  David S. Miller  <davem@davemloft.net>
25199
25200         * po/hr.po: Update from translation team.
25201
25202 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25203
25204         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25205
25206 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25207
25208         * NEWS:  Mention new memcpy for MIPS.
25209
25210 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25211
25212         * manual/contrib.texi (Contributors): Spelling correction.
25213
25214 2012-12-15  David S. Miller  <davem@davemloft.net>
25215
25216         * po/ru.po: Update from translation team.
25217
25218 2012-12-13  David S. Miller  <davem@davemloft.net>
25219
25220         * NEWS: Mention IFUNC testsuite enhancements.
25221
25222         * po/pl.po: Update from translation team.
25223         * po/bg.po: Likewise.
25224
25225         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25226         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25227
25228 2012-12-11  David S. Miller  <davem@davemloft.net>
25229
25230         * po/sv.po: Update from translation team.
25231
25232         * po/vi.po: Update from translation team.
25233
25234         * po/cs.po: Update from translation team.
25235
25236         * po/de.po: Update from translation team.
25237         * po/eo.po: Likewise.
25238         * po/nl.po: Likewise.
25239
25240 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25241
25242         [BZ #14246]
25243         * manual/argp.texi (Argp Helper Functions): Move node to follow
25244         Argp Parsing State.
25245
25246         [BZ #14872]
25247         * manual/conf.texi (Limits on File System Capacity): Mention if
25248         terminating null is included in the max size.
25249
25250 2012-12-10  Andreas Jaeger  <aj@suse.de>
25251
25252         * po/cs.po: Update from translation team.
25253
25254 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25255
25256         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25257         void pointer and cast to uintptr_t.
25258         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25259         path.
25260         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25261         * sysdeps/s390/s390-64/memset.S: Likewise.
25262
25263 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25264
25265         [BZ #14833]
25266         * menual/message.texi (Message Translation): Fix typos.
25267         (Helper programs for gettext): Likewise.
25268
25269 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25270
25271         [BZ #14898]
25272         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25273         Change to -1.
25274
25275 2012-12-07  David S. Miller  <davem@davemloft.net>
25276
25277         * po/libc.pot: Update.
25278
25279 2012-12-07  Richard Henderson  <rth@redhat.com>
25280
25281         [BZ #10114]
25282         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25283         normal/normal case to before the switch.
25284         (_FP_DIV): Likewise.
25285
25286 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25287             Mike Frysinger  <vapier@gentoo.org>
25288
25289         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25290         check for __NR_fadvise64_64.
25291
25292 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25293
25294         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25295         0, not just to plain "0" as a statement.
25296         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25297         with cw.
25298
25299 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25300
25301         * NEWS: Use sourceware.org in Bugzilla URL.
25302
25303 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25304
25305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25306         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25307
25308         * stdio-common/tst-put-error.c (do_test): Add newline to the
25309         padded test to ensure flush.
25310
25311 2012-12-05  Jeff Law  <law@redhat.com>
25312
25313         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25314
25315 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25316
25317         * README: Don't refer to ports add-on as distributed separately.
25318         Mention AArch64 in list of systems supported in the ports add-on.
25319
25320         * LICENSES: Add more non-FSF copyright and license notices.
25321
25322         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25323         ((unused)).
25324
25325         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25326
25327         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25328         10000 as width of padded output.
25329
25330 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25331
25332         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25333
25334         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25335         variable LX with __attribute__ ((unused)).
25336         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25337         Likewise.
25338         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25340         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25341         with __attribute__ ((unused)).
25342
25343 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25344
25345         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25346
25347 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25348
25349         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25350         (CFLAGS-nldbl-acos.c): New variable.
25351         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25352         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25353         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25354         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25355         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25356         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25357         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25358         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25359         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25360         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25361         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25362         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25363         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25364         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25365         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25366         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25367         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25368         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25369         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25370         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25371         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25372         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25373         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25374         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25375         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25376         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25377         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25378         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25379         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25380         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25381         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25382         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25383         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25384         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25385         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25386         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25387         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25388         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25389         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25390         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25391         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25392         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25393         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25394         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25395         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25396         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25397         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25398         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25399         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25400         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25401         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25402         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25403         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25404         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25405         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25406         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25407         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25408         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25409         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25410         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25411         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25412         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25413         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25414         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25415         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25416         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25417         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25418         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25419         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25420         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25421         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25422         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25423         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25424         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25425         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25426         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25427         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25428         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25429         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25430         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25431         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25432         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25433         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25434         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25435         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25436         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25437         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25438         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25439         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25440         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25441         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25442         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25443         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25444         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25445         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25446         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25447         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25448
25449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25450         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25451
25452         [BZ #14914]
25453         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25454         whole low double instead of just low 47 bits when splitting values
25455         into two parts.
25456
25457 2012-12-03  Allan McRae  <allan@archlinux.org>
25458
25459         * manual/stdio.texi (Predefined Printf Handlers): Remove
25460         @hsep and @vsep usage.
25461
25462 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25463
25464         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25465         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25466
25467 2012-12-03  Jeff Law  <law@redhat.com>
25468
25469         * time/sys/time.h (settimeofday): Do not mark TV argument
25470         as __nonnull.
25471
25472 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25473
25474         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25475         when currently writing and seek to current position when not.
25476         * libio/Makefile (tests): Remove bug-fclose1.
25477         * libio/bug-fclose1.c: Delete.
25478
25479 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25480
25481         * manual/arith.texi (feenableexcept): Fix typo.
25482         (fedisableexcept): Likewise.
25483
25484 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25485
25486         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25487         second, differently-typed declaration, rather than a cast.
25488
25489 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25490
25491         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25492         * include/rpc/svc.h: ... here.
25493
25494 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25495
25496         [BZ #13013]
25497         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25498         depending n and resplen2 to catch cases where answer
25499         equals answerp2.
25500
25501 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25502
25503         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25504         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25505
25506 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25507
25508         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25509
25510 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25511
25512         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25513
25514 2012-11-28  Jeff Law  <law@redhat.com>
25515
25516         [BZ #13761]
25517         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25518         dataset_temporary.  Track alloca usage into alloca_used.
25519         If dataset is large allocate and release it via malloc/free.
25520
25521 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25522
25523         [BZ #14197]
25524         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25525
25526 2012-11-28  David S. Miller  <davem@davemloft.net>
25527
25528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25529
25530 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25531
25532         [BZ #14803]
25533         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25534         of pi/2 rounded to nearest to 64 bits.
25535         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25536         nearest to 64 bits.
25537         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25538         bits.
25539
25540 2012-11-28  Jeff Law <law@redhat.com>
25541             Martin Osvald <mosvald@redhat.com>
25542
25543         [BZ #14889]
25544         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25545         * sunrpc/svc.c: Include time.h.
25546         (__svc_accept_failed): New function.
25547         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25548         any reason other than EINTR, call __svc_accept_failed.
25549         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25550         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25551
25552 2012-11-28  Andreas Schwab  <schwab@suse.de>
25553
25554         * scripts/abilist.awk: Also handle indirect functions in .opd
25555         section.
25556
25557 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25558
25559         [BZ #13881]
25560         * sysdeps/x86/fpu/powl_helper.c: New file.
25561         * sysdeps/x86/fpu/Makefile: Likewise.
25562         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25563         (p3): New object.
25564         (__ieee754_powl): Use __powl_helper for finite arguments except
25565         integer exponents below 8.
25566         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25567         (p3): New object.
25568         (__ieee754_powl): Use __powl_helper for finite arguments except
25569         integer exponents below 8.
25570         * math/libm-test.inc (pow_test): Add more tests and enable some
25571         previously disabled tests.
25572         * sysdeps/i386/fpu/libm-test-ulps: Update.
25573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25574
25575 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25576             Carlos O'Donell  <carlos_odonell@mentor.com>
25577
25578         * nss/makedb.c (is_prime): Assert that input is odd and greater
25579         than 4.  Note that fact in a comment too.
25580         (next_prime): Add 4 to input.
25581
25582 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25583
25584         [BZ #11741]
25585         * libio/Makefile (tests): Add test case tst-fwrite-error.
25586         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25587         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25588         * libio/tst-fwrite-error.c: New test case.
25589
25590 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25591
25592         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25593         before casting to void *.
25594         * include/libc-internal.h (__pointer_type): New macro.
25595         (__integer_if_pointer_type_sub): Likewise.
25596         (__integer_if_pointer_type): Likewise.
25597         (cast_to_integer): Likewise.
25598         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25599         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25600         before casting to atomic64_t.
25601         (atomic_exchange_acq): Likewise.
25602         (__arch_exchange_and_add_body): Likewise.
25603         (__arch_add_body): Likewise.
25604         (atomic_add_negative): Likewise.
25605         (atomic_add_zero): Likewise.
25606
25607 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25608
25609         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25610         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25611         (add_fdes): Likewise.
25612         (linear_search_fdes): Likewise.
25613         (binary_search_unencoded_fdes): Likewise.
25614
25615 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25616
25617         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25618
25619 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25620
25621         * configure.in: Autodetect C++ header directories.
25622         * configure: Regenerated.
25623
25624 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25625
25626         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25627
25628 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25629
25630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25631
25632 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25633
25634         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25635         LDBL_MANT_DIG == 106]: Disable some tests.
25636         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25637         Likewise.
25638         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25639         Likewise.
25640
25641         [BZ #14871]
25642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25643         input for small inputs.  Return +/- pi/2 for large inputs.
25644         * math/libm-test.inc (atan_test): Add more tests.
25645
25646         * sysdeps/generic/unwind-dw2-fde-glibc.c
25647         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25648         __attribute__ ((unused)).
25649
25650         [BZ #14645]
25651         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25652         x * y if x and y are nonzero and z is zero.
25653
25654         [BZ #14811]
25655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25656         nonzero exponents with absolute value below 0x1p-117 to +/-
25657         0x1p-117.
25658
25659         [BZ #14869]
25660         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25661         up arguments below 2**-450, not just those below 2**-500.
25662         * math/libm-test.inc (hypot_test): Add another test.
25663
25664         [BZ #14868]
25665         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25666         Return a+b for ratio over 2**120, not 2**60.
25667         * math/libm-test.inc (hypot_test): Add another test.
25668
25669         * math/libm-test.inc (clog_test): Use
25670         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25671         (clog10_test): Likewise.
25672
25673         [BZ #6778]
25674         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25675
25676 2012-11-22  Andreas Schwab  <schwab@suse.de>
25677
25678         * sysdeps/i386/fpu/libm-test-ulps: Update.
25679
25680 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25681
25682         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25683         printf output with newline.
25684
25685 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25686
25687         [BZ #14865]
25688         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25689         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25690         -z nodlopen, -z initfirst and -z execstack support.
25691         * configure: Regenerated.
25692
25693         * elf/elf.h (DF_1_NODIRECT): New macro.
25694         (DF_1_IGNMULDEF): Likewise.
25695         (DF_1_NOKSYMS): Likewise.
25696         (DF_1_NOHDR): Likewise.
25697         (DF_1_EDITED): Likewise.
25698         (DF_1_NORELOC): Likewise.
25699         (DF_1_SYMINTPOSE): Likewise.
25700         (DF_1_GLOBAUDIT): Likewise.
25701         (DF_1_SINGLETON): Likewise.
25702         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25703         DT_1_SUPPORTED_MASK bits.
25704         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25705
25706 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25707
25708         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25709
25710 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25711
25712         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25713         macro.
25714
25715         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25716         (sendmmsg): Move declarations...
25717         * socket/sys/socket.h: ... here.
25718         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25719         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25720         include it from...
25721         * socket/recvmmsg.c: ... this new file.
25722         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25723         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25724         definition of __sendmmsg hidden.
25725         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25726         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25727         Move ENOSYS stub into and include it from...
25728         * socket/sendmmsg.c: ... this new file.
25729         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25730         (sysdep_routines): Move recvmmsg and sendmmsg...
25731         * socket/Makefile (routines): ... here.
25732         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25733         (GLIBC_PRIVATE): Add __sendmmsg.
25734         * include/sys/socket.h (__sendmmsg): Add declarations.
25735         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25736         sendmmsg.
25737
25738 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25739
25740         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25741         variable I1 with __attribute__ ((unused)).
25742         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25743
25744 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25745
25746         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25747         DUMMY variables with __attribute__ ((unused)).
25748
25749         * bits/byteswap.h: Include <bits/types.h>.
25750         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25751
25752 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25753
25754         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25755         string_t.  Do not manually set errno.
25756         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25757         length with __strnlen.  Make sure to both set errno and return it on
25758         failure.
25759
25760 2012-11-19  David S. Miller  <davem@davemloft.net>
25761
25762         With help from Joseph Myers.
25763         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25764         very large arguments properly.
25765         * math/libm-test.inc (atan_test): New tests.
25766         (atan2_test): New tests.
25767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25769
25770 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25771
25772         [BZ #14856]
25773         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25774         Define to 3.
25775
25776         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25777         [POSIX] (EADDRNOTAVAIL): Likewise.
25778         [POSIX] (EAFNOSUPPORT): Likewise.
25779         [POSIX] (EALREADY): Likewise.
25780         [POSIX] (ECONNABORTED): Likewise.
25781         [POSIX] (ECONNREFUSED): Likewise.
25782         [POSIX] (ECONNRESET): Likewise.
25783         [POSIX] (EDESTADDRREQ): Likewise.
25784         [POSIX] (EDQUOT): Likewise.
25785         [POSIX] (EHOSTUNREACH): Likewise.
25786         [POSIX] (EIDRM): Likewise.
25787         [POSIX] (EISCONN): Likewise.
25788         [POSIX] (ELOOP): Likewise.
25789         [POSIX] (EMULTIHOP): Likewise.
25790         [POSIX] (ENETDOWN): Likewise.
25791         [POSIX] (ENETUNREACH): Likewise.
25792         [POSIX] (ENOBUFS): Likewise.
25793         [POSIX] (ENODATA): Likewise.
25794         [POSIX] (ENOLINK): Likewise.
25795         [POSIX] (ENOMSG): Likewise.
25796         [POSIX] (ENOPROTOOPT): Likewise.
25797         [POSIX] (ENOSR): Likewise.
25798         [POSIX] (ENOSTR): Likewise.
25799         [POSIX] (ENOTCONN): Likewise.
25800         [POSIX] (ENOTSOCK): Likewise.
25801         [POSIX] (EOPNOTSUPP): Likewise.
25802         [POSIX] (EOVERFLOW): Likewise.
25803         [POSIX] (EPROTO): Likewise.
25804         [POSIX] (EPROTONOSUPPORT): Likewise.
25805         [POSIX] (EPROTOTYPE): Likewise.
25806         [POSIX] (ESTALE): Likewise.
25807         [POSIX] (ETIME): Likewise.
25808         [POSIX] (ETXTBSY): Likewise.
25809         [POSIX] (EWOULDBLOCK): Likewise.
25810         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25811         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25812         [POSIX] (SEEK_CUR): Likewise.
25813         [POSIX] (SEEK_END): Likewise.
25814         [POSIX || UNIX98] (mode_t): Do not require.
25815         [POSIX] (off_t): Likewise.
25816         [POSIX] (pid_t): Likewise.
25817         [POSIX] (sys/stat.h): Do not allow header.
25818         [POSIX] (unistd.h): Likewise.
25819         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25820         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25821         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25822         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25823         require.
25824         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25825         sigevent): Specify elements.
25826         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25827         entry.
25828         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25829         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25830
25831         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25832         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25833         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25834         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25835         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25836         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25837         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25838         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25839         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25840         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25841         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25842         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25843         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25844         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25845         Likewise.
25846         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25847         Likewise.
25848         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25849         Likewise.
25850         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25851         Likewise.
25852         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25853         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25854         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25855         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25856         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25857         Specify lower bound on value.
25858         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25859         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25860         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25861         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25862         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25863         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25864         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25865         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25866         value.
25867         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25868         as optional.
25869         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25870         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25871         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25872         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25873         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25874         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25875         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25876         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25877         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25878         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25879         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25880         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25881         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25882         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25883         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25884         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25885         entry.
25886         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25887         optional.
25888         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25889         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25890         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25891         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25892         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25893         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25894         Likewise.
25895         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25896         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25897         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25898         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25899         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25900         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25901         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25902         as optional.
25903         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25904         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25905         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25906         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25907         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25908         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25909         specify as optional.
25910         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25911         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25912         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25913         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25914         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25915         [XPG3] (NL_LANGMAX): Likewise.
25916         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25917         [POSIX || XPG3] (NL_NMAX): Likewise.
25918         [POSIX || XPG3] (NL_SETMAX): Likewise.
25919         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25920         [XPG3] (NZERO): Likewise.
25921         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25922         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25923         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25924         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25925         (REG_ERANGE): Expect.
25926         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25927         optional-constant.
25928         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25929         Use (void) in prototype.
25930         [POSIX] (*_t): Allow.
25931         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25932         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25933         (WRDE_BADVAL): Expect.
25934
25935         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25936         expect.
25937         [XPG3 || XPG4] (O_RSYNC): Likewise.
25938         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25939         Likewise.
25940         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25941         [XPG3 || XPG4] (sigqueue): Likewise.
25942         [XPG3 || XPG4] (sigtimedwait): Likewise.
25943         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25944         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25945         [XPG3 || XPG4] (vsnprintf): Likewise.
25946         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25947         Likewise.
25948         [XPG3 || XPG4] (blksize_t): Likewise.
25949         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25950         Likewise.
25951         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25952         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25953         [XPG3 || XPG4] (struct itimerspec): Likewise.
25954         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25955         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25956         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25957         [XPG3 || XPG4] (clockid_t): Likewise.
25958         [XPG3 || XPG4] (timer_t): Likewise.
25959         [XPG3 || XPG4] (clock_getres): Likewise.
25960         [XPG3 || XPG4] (clock_gettime): Likewise.
25961         [XPG3 || XPG4] (clock_settime): Likewise.
25962         [XPG3 || XPG4] (nanosleep): Likewise.
25963         [XPG3 || XPG4] (timer_create): Likewise.
25964         [XPG3 || XPG4] (timer_delete): Likewise.
25965         [XPG3 || XPG4] (timer_gettime): Likewise.
25966         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25967         [XPG3 || XPG4] (timer_settime): Likewise.
25968         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25969         [XPG3 || XPG4] (getlogin_r): Likewise.
25970         [XPG3 || XPG4] (pread): Likewise.
25971         [XPG3 || XPG4] (pthread_atfork): Likewise.
25972         [XPG3 || XPG4] (pwrite): Likewise.
25973
25974         [BZ #14835]
25975         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25976         <bits/siginfo.h>.
25977
25978 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25979
25980         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25981         finalizing MALLSTREAM.
25982
25983         * sysdeps/mach/hurd/syncfs.c: New file.
25984
25985 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25986
25987         [BZ #14719]
25988         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25989         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25990         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25991         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25992         (_nss_dns_gethostbyname4_r): Likewise.
25993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25994         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25995
25996 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25997
25998         [BZ #13763]
25999         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26000
26001 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26002
26003         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26004         * elf/cache.c (print_entry): Print ",AArch64" for
26005         FLAG_AARCH64_LIB64
26006
26007         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26008         * elf/cache.c (print_entry): Print ",hard-float" for
26009         FLAG_ARM_LIBHF.
26010
26011 2012-11-18  David S. Miller  <davem@davemloft.net>
26012
26013         With help from Joseph Myers.
26014         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26015         cutoff to 2**-13.
26016         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26017         cutoff to 2**-25.
26018         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26019         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26020         small.
26021         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26022         * math/libm-test.inc (y0_test): New tests.
26023         (y1_test): New tests.
26024         * sysdeps/i386/fpu/libm-test-ulps: Update.
26025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26027
26028 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26029
26030         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26031         64-bit targets.
26032         * configure: Regenerated.
26033
26034 2012-11-17  David S. Miller  <davem@davemloft.net>
26035
26036         [BZ #14811]
26037         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26038         nonzero exponents with absolute value below 0x1p-128 to +/-
26039         0x1p-128.
26040
26041 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26042
26043         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26044
26045         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26046
26047         * posix/getconf-speclist.c: New file.
26048         * posix/posix-envs.def: Likewise.
26049         * posix/confstr.c (START_ENV_GROUP): New macro.
26050         (END_ENV_GROUP): Likewise.
26051         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26052         (KNOWN_PRESENT_ENV_STRING): Likewise.
26053         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26054         (UNKNOWN_ENVIRONMENT): Likewise.
26055         (confstr): Include posix-envs.def instead of handling
26056         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26057         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26058         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26059         (END_ENV_GROUP): Likewise.
26060         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26061         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26062         (UNKNOWN_ENVIRONMENT): Likewise.
26063         (__sysconf): Include posix-envs.def instead of handling associated
26064         cases directly here.
26065         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26066         preprocessing getconf-speclist.c rather than running getconf or
26067         generating empty file.
26068
26069 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26070
26071         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26072
26073 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26074
26075         [BZ #14672]
26076         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26077
26078 2012-11-16  David S. Miller  <davem@davemloft.net>
26079
26080         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26081         smaller than LDBL_EPSILON/2.0L, just return xm1.
26082
26083 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26084
26085         * elf/tst-array1.c (init): Set constructor priority to 1000.
26086         (fini): Set destructor priority to 1000.
26087         * elf/tst-array2dep.c: Likewise.
26088
26089 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26090
26091         [BZ #11741]
26092         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26093         (_IO_new_file_xsputn): Also return EOF if none of the input
26094         data was written when overflow failed.
26095         * libio/iopadn.c (_IO_padn): Likewise.
26096         * libio/iowpadn.c (_IO_wpadn): Likewise.
26097         * stdio-common/tst-put-error.c: Add copyright notice.
26098         (do_test): Add case for printing padded string.
26099         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26100         _IO_padn returned error.
26101         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26102         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26103         return EOF.
26104
26105 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26106
26107         * libio/libioP.h: Add comment note that the references to C++
26108         bits are now obsolete.
26109
26110 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26111
26112         * math/libm-test.inc (check_complex): Use asprintf.
26113
26114 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26115
26116         * debug/pcprofiledump.c (print_version): Update copyright year.
26117         * malloc/memusagestat.c (print_version): Likewise.
26118
26119 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26120
26121         [BZ #14831]
26122         * elf/Makefile (tests): Add tst-audit8.
26123         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26124         ($(objpfx)tst-audit8.out): New target.
26125         (tst-audit8-ENV): New variable.
26126         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26127         audit if l_reloc_result is NULL.
26128         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26129         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26130         * elf/tst-audit8.c: New file.
26131
26132 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26133
26134         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26135         * misc/Makefile (CFLAGS-select.c): Define.
26136         * posix/Makefile (CFLAGS-pause.c): Define.
26137
26138 2012-11-13  David S. Miller  <davem@davemloft.net>
26139
26140         * crypt/Makefile: Move test targets after toplevel Rules
26141         inclusion.  Grab any necessary sysdep routines when linking.
26142         * crypt/md5.c (md5_process_block): Remove define, we will always
26143         name it __md5_process_block.
26144         (md5_finish_ctx): Update md5_process_block call.
26145         (md5_stream): Likewise.
26146         (md5_process_bytes): Likewise.
26147         (md5_process_block): Rename to __md5_process_block and move to ...
26148         * crypt/md5-block.c: ... here.
26149         * crypt/sha256.c (sha256_process_block): Move to ...
26150         * crypt/sha256-block.c: ... here.
26151         * crypt/sha512.c (sha512_process_block): Move to ...
26152         * crypt/sha512-block.c: ... here.
26153         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26154         path.
26155         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26156         * sysdeps/sparc/sparc64/multiarch/Makefile
26157         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26158         crypt subdir.
26159         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26160         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26161         multiarch changes.
26162         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26163         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26164         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26165         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26166         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26167         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26168         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26169         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26170         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26171         file.
26172         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26173         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26174         file.
26175         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26176
26177 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26178
26179         * timezone/tzselect.ksh: Update from tzcode git revision
26180         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26181         * timezone/zdump.c: Likewise.
26182         * timezone/zic.c: Likewise.
26183         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26184         in TZVERSION setting, not $(PKGVERSION).
26185         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26186         REPORT_BUGS_TO settings.
26187
26188         [BZ #14838]
26189         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26190         macro.
26191
26192 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26193
26194         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26195         detection to immediately after _FP_ROUND().
26196         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26197         bits are 0.
26198
26199 2012-11-11  David S. Miller  <davem@davemloft.net>
26200
26201         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26202         inttypes.h
26203         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26204         __close rather than their public counterparts.
26205
26206 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26207
26208         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26209         file.
26210         [UNIX98] (sem_timedwait): Do not expect.
26211         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26212         [XPG4 || UNIX98] (sockatmark): Do not expect.
26213         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26214         (clock_getcpuclockid): Do not expect.
26215         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26216         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26217         Do not expect.
26218         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26219         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26220         [UNIX98] (vwscanf): Likewise.
26221         [UNIX98] (vswscanf): Likewise.
26222
26223 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26224
26225         * timezone/version.h: Remove file.
26226         * timezone/README: Do not refer to version.h.
26227         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26228         $(objpfx)version.h.
26229         ($(objpfx)zdump.o): Likewise.
26230         ($(objpfx)version.h): New target.
26231
26232         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26233         2012i.
26234         * timezone/README: Don't mention modification to tzselect.ksh.
26235         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26236         work on unmodified tzselect.ksh.  Substitute version numbers in
26237         tzselect.ksh.
26238
26239         * Makefile (format-me): Remove.
26240         (INSTALL): Adjust indentation.  Use commands directly instead of
26241         using $(format-me).
26242
26243         * aclocal.m4 (ACX_PKGVERSION): New macro.
26244         (ACX_BUGURL): Likewise.
26245         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26246         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26247         (REPORT_BUGS_TO): Likewise.
26248         * configure: Regenerated.
26249         * config.h.in (PKGVERSION): New macro.
26250         (REPORT_BUGS_TO): Likewise.
26251         * config.make.in (PKGVERSION): New variable.
26252         (PKGVERSION_TEXI): Likewise.
26253         (REPORT_BUGS_TO): Likewise.
26254         (REPORT_BUGS_TEXI): Likewise.
26255         * Makefile (format-me): Use -I$(common-objpfx)manual.
26256         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26257         ($(common-objpfx)manual/%): New target.
26258         (manual/%): Remove target.
26259         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26260         (print_version): Use PKGVERSION.
26261         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26262         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26263         and REPORT_BUGS_TO.
26264         ($(objpfx)xtrace): Likewise.
26265         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26266         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26267         (print_version): Use PKGVERSION.
26268         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26269         (do_version): Use PKGVERSION.
26270         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26271         REPORT_BUGS_TO.
26272         (common-ldd-rewrite): Likewise.
26273         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26274         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26275         (print_version): Use PKGVERSION.
26276         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26277         * elf/pldd.c (argp_program_bug_address): Remove variable.
26278         (more_help): New function.
26279         (argp): Use more_help.
26280         (print_version): Use PKGVERSION.
26281         * elf/sln.c (main): Use PKGVERSION.
26282         (usage): Use REPORT_BUGS_TO.
26283         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26284         (top level): Use PKGVERSION.
26285         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26286         (print_version): Use PKGVERSION.
26287         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26288         (print_version): Use PKGVERSION.
26289         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26290         (print_version): Use PKGVERSION.
26291         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26292         (print_version): Use PKGVERSION.
26293         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26294         (print_version): Use PKGVERSION.
26295         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26296         (print_version): Use PKGVERSION.
26297         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26298         and BUGURL.
26299         ($(objpfx)memusage): Likewise.
26300         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26301         (do_version): Use PKGVERSION.
26302         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26303         (print_version): Use PKGVERSION.
26304         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26305         ($PKGVERSION): New variable.
26306         ($REPORT_BUGS_TO): Likewise.
26307         (usage): Use $REPORT_BUGS_TO.
26308         (top level): Use $PKGVERSION.
26309         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26310         ($(objpfx)pkgvers.texi): New rule.
26311         ($(objpfx)stamp-pkgvers): Likewise.
26312         * manual/install.texi: Include pkgvers.texi.
26313         (--with-pkgversion): Document new configure option.
26314         (--with-bugurl): Likewise.
26315         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26316         than necessarily for this particular distribution.  Use
26317         REPORT_BUGS_TO for where to report bugs.
26318         * INSTALL: Regenerated.
26319         * manual/libc.texinfo: Include pkgvers.texi.
26320         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26321         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26322         (print_version): Use PKGVERSION.
26323         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26324         (print_version): Use PKGVERSION.
26325         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26326         (print_version): Use PKGVERSION.
26327         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26328         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26329         macro.
26330         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26331         (print_version): Use PKGVERSION.
26332         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26333         (print_version): Use PKGVERSION.
26334         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26335         and PKGVERSION.
26336
26337         * timezone/checktab.awk: Update from tzcode 2012i.
26338         * timezone/ialloc.c: Likewise.
26339         * timezone/private.h: Likewise.
26340         * timezone/scheck.c: Likewise.
26341         * timezone/tzfile.h: Likewise.
26342         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26343         (TZVERSION): Hardcode tzcode version number.
26344         * timezone/zdump.c: Update from tzcode 2012i.
26345         * timezone/zic.c: Likewise.
26346         * timezone/version.h: New file.
26347         * timezone/README: Describe version.h.  Update upstream location.
26348
26349         [BZ #14824]
26350         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26351         (mktemp): Enable declaration.
26352         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26353         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26354         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26355         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26356         Likewise.
26357         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26358         Likewise.
26359         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26360         Likewise.
26361         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26362         Likewise.
26363         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26364         Likewise.
26365         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26366         Likewise.
26367
26368         [BZ #14821]
26369         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26370         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26371         for copies of such integer values.
26372         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26373         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26374
26375 2012-11-09  Andreas Jaeger  <aj@suse.de>
26376
26377         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26378         definitions and declarations that are provided by
26379         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26380
26381 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26382
26383         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26384         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26385         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26386         definition.
26387
26388 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26389
26390         * elf/elf.h: Update comment before AArch64 relocations.
26391
26392 2012-11-07  David S. Miller  <davem@davemloft.net>
26393
26394         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26395         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26396         (__start_context): Declare.
26397         (__makecontext_ret): Delete.
26398         (__makecontext): Hook up __start_context instead of
26399         __makecontext_ret.
26400         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26401         (sysdep_routines): Add __start_context when in stdlib.
26402
26403 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26404
26405         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26406         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26407         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26408         hardcoded "nm".
26409         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26410         (READELF): New variable.  Use it instead of hardcoded "readelf".
26411
26412 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26413
26414         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26415         * sysdeps/x86/Makefile: Here.
26416         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26417         * sysdeps/x86/tst-xmmymm.sh: This.
26418
26419 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26420
26421         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26422         expectations.
26423         [UNIX98] (pthread_barrier_t): Do not expect.
26424         [UNIX98] (pthread_barrierattr_t): Likewise.
26425         [UNIX98] (pthread_spinlock_t): Likewise.
26426         [UNIX98] (pthread_barrier_destroy): Likewise.
26427         [UNIX98] (pthread_barrier_init): Likewise.
26428         [UNIX98] (pthread_barrier_wait): Likewise.
26429         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26430         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26431         [UNIX98] (pthread_barrierattr_init): Likewise.
26432         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26433         [UNIX98] (pthread_getcpuclockid): Likewise.
26434         [UNIX98] (pthread_mutex_timedlock): Likewise.
26435         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26436         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26437         [UNIX98] (pthread_sigmask): Likewise.
26438         [UNIX98] (pthread_spin_destroy): Likewise.
26439         [UNIX98] (pthread_spin_init): Likewise.
26440         [UNIX98] (pthread_spin_lock): Likewise.
26441         [UNIX98] (pthread_spin_trylock): Likewise.
26442         [UNIX98] (pthread_spin_unlock): Likewise.
26443         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26444         Do not expect.
26445         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26446         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26447         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26448         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26449         [XPG3 || XPG4] (pthread_key_t): Likewise.
26450         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26451         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26452         [XPG3 || XPG4] (pthread_once_t): Likewise.
26453         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26454         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26455         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26456         [XPG3 || XPG4] (pthread_t): Likewise.
26457
26458         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26459         not expect.
26460         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26461
26462         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26463         Change function return type to int.
26464
26465         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26466         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26467         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26468         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26469         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26470         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26471         [!POSIX] (posix_madvise): Likewise.
26472         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26473         && !UNIX98].
26474         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26475         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26476         (mode_t): Likewise.
26477         (posix_mem_offset): Likewise.
26478         (posix_typed_mem_get_info): Likewise.
26479         (posix_typed_mem_open): Likewise.
26480
26481         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26482         Change condition to [XOPEN2K8].
26483
26484         * conform/conformtest.pl: Preprocess allow-header data with -x c
26485         instead of from stdin.
26486         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26487         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26488         [C99-based standards] (cerfc): Likewise.
26489         [C99-based standards] (cexp2): Likewise.
26490         [C99-based standards] (cexpm1): Likewise.
26491         [C99-based standards] (clog10): Likewise.
26492         [C99-based standards] (clog1p): Likewise.
26493         [C99-based standards] (clog2): Likewise.
26494         [C99-based standards] (clgamma): Likewise.
26495         [C99-based standards] (ctgamma): Likewise.
26496         [C99-based standards] (cerff): Likewise.
26497         [C99-based standards] (cerfcf): Likewise.
26498         [C99-based standards] (cexp2f): Likewise.
26499         [C99-based standards] (cexpm1f): Likewise.
26500         [C99-based standards] (clog10f): Likewise.
26501         [C99-based standards] (clog1pf): Likewise.
26502         [C99-based standards] (clog2f): Likewise.
26503         [C99-based standards] (clgammaf): Likewise.
26504         [C99-based standards] (ctgammaf): Likewise.
26505         [C99-based standards] (cerfl): Likewise.
26506         [C99-based standards] (cerfcl): Likewise.
26507         [C99-based standards] (cexp2l): Likewise.
26508         [C99-based standards] (cexpm1l): Likewise.
26509         [C99-based standards] (clog10l): Likewise.
26510         [C99-based standards] (clog1pl): Likewise.
26511         [C99-based standards] (clog2l): Likewise.
26512         [C99-based standards] (clgammal): Likewise.
26513         [C99-based standards] (ctgammal): Likewise.
26514         * conform/data/inttypes.h-data [C99-based standards]: Include
26515         stdint.h-data.  Remove all expectations for stdint.h contents.
26516         [C99-based standards] (PRI*): Do not allow.
26517         [C99-based standards] (SCN*): Likewise.
26518         [C99-based standards] (*_t): Likewise.
26519         [C99-based-standards] (PRId8): Expect macro.
26520         [C99-based-standards] (PRIi8): Likewise.
26521         [C99-based-standards] (PRIo8): Likewise.
26522         [C99-based-standards] (PRIu8): Likewise.
26523         [C99-based-standards] (PRIx8): Likewise.
26524         [C99-based-standards] (PRIX8): Likewise.
26525         [C99-based-standards] (SCNd8): Likewise.
26526         [C99-based-standards] (SCNi8): Likewise.
26527         [C99-based-standards] (SCNo8): Likewise.
26528         [C99-based-standards] (SCNu8): Likewise.
26529         [C99-based-standards] (SCNx8): Likewise.
26530         [C99-based-standards] (PRIdLEAST8): Likewise.
26531         [C99-based-standards] (PRIiLEAST8): Likewise.
26532         [C99-based-standards] (PRIoLEAST8): Likewise.
26533         [C99-based-standards] (PRIuLEAST8): Likewise.
26534         [C99-based-standards] (PRIxLEAST8): Likewise.
26535         [C99-based-standards] (PRIXLEAST8): Likewise.
26536         [C99-based-standards] (SCNdLEAST8): Likewise.
26537         [C99-based-standards] (SCNiLEAST8): Likewise.
26538         [C99-based-standards] (SCNoLEAST8): Likewise.
26539         [C99-based-standards] (SCNuLEAST8): Likewise.
26540         [C99-based-standards] (SCNxLEAST8): Likewise.
26541         [C99-based-standards] (PRIdFAST8): Likewise.
26542         [C99-based-standards] (PRIiFAST8): Likewise.
26543         [C99-based-standards] (PRIoFAST8): Likewise.
26544         [C99-based-standards] (PRIuFAST8): Likewise.
26545         [C99-based-standards] (PRIxFAST8): Likewise.
26546         [C99-based-standards] (PRIXFAST8): Likewise.
26547         [C99-based-standards] (SCNdFAST8): Likewise.
26548         [C99-based-standards] (SCNiFAST8): Likewise.
26549         [C99-based-standards] (SCNoFAST8): Likewise.
26550         [C99-based-standards] (SCNuFAST8): Likewise.
26551         [C99-based-standards] (SCNxFAST8): Likewise.
26552         [C99-based-standards] (PRId16): Likewise.
26553         [C99-based-standards] (PRIi16): Likewise.
26554         [C99-based-standards] (PRIo16): Likewise.
26555         [C99-based-standards] (PRIu16): Likewise.
26556         [C99-based-standards] (PRIx16): Likewise.
26557         [C99-based-standards] (PRIX16): Likewise.
26558         [C99-based-standards] (SCNd16): Likewise.
26559         [C99-based-standards] (SCNi16): Likewise.
26560         [C99-based-standards] (SCNo16): Likewise.
26561         [C99-based-standards] (SCNu16): Likewise.
26562         [C99-based-standards] (SCNx16): Likewise.
26563         [C99-based-standards] (PRIdLEAST16): Likewise.
26564         [C99-based-standards] (PRIiLEAST16): Likewise.
26565         [C99-based-standards] (PRIoLEAST16): Likewise.
26566         [C99-based-standards] (PRIuLEAST16): Likewise.
26567         [C99-based-standards] (PRIxLEAST16): Likewise.
26568         [C99-based-standards] (PRIXLEAST16): Likewise.
26569         [C99-based-standards] (SCNdLEAST16): Likewise.
26570         [C99-based-standards] (SCNiLEAST16): Likewise.
26571         [C99-based-standards] (SCNoLEAST16): Likewise.
26572         [C99-based-standards] (SCNuLEAST16): Likewise.
26573         [C99-based-standards] (SCNxLEAST16): Likewise.
26574         [C99-based-standards] (PRIdFAST16): Likewise.
26575         [C99-based-standards] (PRIiFAST16): Likewise.
26576         [C99-based-standards] (PRIoFAST16): Likewise.
26577         [C99-based-standards] (PRIuFAST16): Likewise.
26578         [C99-based-standards] (PRIxFAST16): Likewise.
26579         [C99-based-standards] (PRIXFAST16): Likewise.
26580         [C99-based-standards] (SCNdFAST16): Likewise.
26581         [C99-based-standards] (SCNiFAST16): Likewise.
26582         [C99-based-standards] (SCNoFAST16): Likewise.
26583         [C99-based-standards] (SCNuFAST16): Likewise.
26584         [C99-based-standards] (SCNxFAST16): Likewise.
26585         [C99-based-standards] (PRId32): Likewise.
26586         [C99-based-standards] (PRIi32): Likewise.
26587         [C99-based-standards] (PRIo32): Likewise.
26588         [C99-based-standards] (PRIu32): Likewise.
26589         [C99-based-standards] (PRIx32): Likewise.
26590         [C99-based-standards] (PRIX32): Likewise.
26591         [C99-based-standards] (SCNd32): Likewise.
26592         [C99-based-standards] (SCNi32): Likewise.
26593         [C99-based-standards] (SCNo32): Likewise.
26594         [C99-based-standards] (SCNu32): Likewise.
26595         [C99-based-standards] (SCNx32): Likewise.
26596         [C99-based-standards] (PRIdLEAST32): Likewise.
26597         [C99-based-standards] (PRIiLEAST32): Likewise.
26598         [C99-based-standards] (PRIoLEAST32): Likewise.
26599         [C99-based-standards] (PRIuLEAST32): Likewise.
26600         [C99-based-standards] (PRIxLEAST32): Likewise.
26601         [C99-based-standards] (PRIXLEAST32): Likewise.
26602         [C99-based-standards] (SCNdLEAST32): Likewise.
26603         [C99-based-standards] (SCNiLEAST32): Likewise.
26604         [C99-based-standards] (SCNoLEAST32): Likewise.
26605         [C99-based-standards] (SCNuLEAST32): Likewise.
26606         [C99-based-standards] (SCNxLEAST32): Likewise.
26607         [C99-based-standards] (PRIdFAST32): Likewise.
26608         [C99-based-standards] (PRIiFAST32): Likewise.
26609         [C99-based-standards] (PRIoFAST32): Likewise.
26610         [C99-based-standards] (PRIuFAST32): Likewise.
26611         [C99-based-standards] (PRIxFAST32): Likewise.
26612         [C99-based-standards] (PRIXFAST32): Likewise.
26613         [C99-based-standards] (SCNdFAST32): Likewise.
26614         [C99-based-standards] (SCNiFAST32): Likewise.
26615         [C99-based-standards] (SCNoFAST32): Likewise.
26616         [C99-based-standards] (SCNuFAST32): Likewise.
26617         [C99-based-standards] (SCNxFAST32): Likewise.
26618         [C99-based-standards] (PRId64): Likewise.
26619         [C99-based-standards] (PRIi64): Likewise.
26620         [C99-based-standards] (PRIo64): Likewise.
26621         [C99-based-standards] (PRIu64): Likewise.
26622         [C99-based-standards] (PRIx64): Likewise.
26623         [C99-based-standards] (PRIX64): Likewise.
26624         [C99-based-standards] (SCNd64): Likewise.
26625         [C99-based-standards] (SCNi64): Likewise.
26626         [C99-based-standards] (SCNo64): Likewise.
26627         [C99-based-standards] (SCNu64): Likewise.
26628         [C99-based-standards] (SCNx64): Likewise.
26629         [C99-based-standards] (PRIdLEAST64): Likewise.
26630         [C99-based-standards] (PRIiLEAST64): Likewise.
26631         [C99-based-standards] (PRIoLEAST64): Likewise.
26632         [C99-based-standards] (PRIuLEAST64): Likewise.
26633         [C99-based-standards] (PRIxLEAST64): Likewise.
26634         [C99-based-standards] (PRIXLEAST64): Likewise.
26635         [C99-based-standards] (SCNdLEAST64): Likewise.
26636         [C99-based-standards] (SCNiLEAST64): Likewise.
26637         [C99-based-standards] (SCNoLEAST64): Likewise.
26638         [C99-based-standards] (SCNuLEAST64): Likewise.
26639         [C99-based-standards] (SCNxLEAST64): Likewise.
26640         [C99-based-standards] (PRIdFAST64): Likewise.
26641         [C99-based-standards] (PRIiFAST64): Likewise.
26642         [C99-based-standards] (PRIoFAST64): Likewise.
26643         [C99-based-standards] (PRIuFAST64): Likewise.
26644         [C99-based-standards] (PRIxFAST64): Likewise.
26645         [C99-based-standards] (PRIXFAST64): Likewise.
26646         [C99-based-standards] (SCNdFAST64): Likewise.
26647         [C99-based-standards] (SCNiFAST64): Likewise.
26648         [C99-based-standards] (SCNoFAST64): Likewise.
26649         [C99-based-standards] (SCNuFAST64): Likewise.
26650         [C99-based-standards] (SCNxFAST64): Likewise.
26651         [C99-based-standards] (PRIdMAX): Likewise.
26652         [C99-based-standards] (PRIiMAX): Likewise.
26653         [C99-based-standards] (PRIoMAX): Likewise.
26654         [C99-based-standards] (PRIuMAX): Likewise.
26655         [C99-based-standards] (PRIxMAX): Likewise.
26656         [C99-based-standards] (PRIXMAX): Likewise.
26657         [C99-based-standards] (SCNdMAX): Likewise.
26658         [C99-based-standards] (SCNiMAX): Likewise.
26659         [C99-based-standards] (SCNoMAX): Likewise.
26660         [C99-based-standards] (SCNuMAX): Likewise.
26661         [C99-based-standards] (SCNxMAX): Likewise.
26662         [C99-based-standards] (PRIdPTR): Likewise.
26663         [C99-based-standards] (PRIiPTR): Likewise.
26664         [C99-based-standards] (PRIoPTR): Likewise.
26665         [C99-based-standards] (PRIuPTR): Likewise.
26666         [C99-based-standards] (PRIxPTR): Likewise.
26667         [C99-based-standards] (PRIXPTR): Likewise.
26668         [C99-based-standards] (SCNdPTR): Likewise.
26669         [C99-based-standards] (SCNiPTR): Likewise.
26670         [C99-based-standards] (SCNoPTR): Likewise.
26671         [C99-based-standards] (SCNuPTR): Likewise.
26672         [C99-based-standards] (SCNxPTR): Likewise.
26673         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26674         allow.
26675         * conform/data/stdint.h-data: Update comments to clarify
26676         requirements.
26677         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26678         type.
26679         [C99-based standards] (INT8_MAX): Likewise.
26680         [C99-based standards] (INT16_MIN): Likewise.
26681         [C99-based standards] (INT16_MAX): Likewise.
26682         [C99-based standards] (INT32_MIN): Likewise.
26683         [C99-based standards] (INT32_MAX): Likewise.
26684         [C99-based standards] (INT64_MIN): Likewise.
26685         [C99-based standards] (INT64_MAX): Likewise.
26686         [C99-based standards] (UINT8_MAX): Likewise.
26687         [C99-based standards] (UINT16_MAX): Likewise.
26688         [C99-based standards] (UINT32_MAX): Likewise.
26689         [C99-based standards] (UINT64_MAX): Likewise.
26690         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26691         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26692         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26693         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26694         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26695         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26696         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26697         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26698         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26699         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26700         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26701         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26702         [C99-based standards] (INT_FAST8_MIN): Likewise.
26703         [C99-based standards] (INT_FAST8_MAX): Likewise.
26704         [C99-based standards] (INT_FAST16_MIN): Likewise.
26705         [C99-based standards] (INT_FAST16_MAX): Likewise.
26706         [C99-based standards] (INT_FAST32_MIN): Likewise.
26707         [C99-based standards] (INT_FAST32_MAX): Likewise.
26708         [C99-based standards] (INT_FAST64_MIN): Likewise.
26709         [C99-based standards] (INT_FAST64_MAX): Likewise.
26710         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26711         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26712         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26713         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26714         [C99-based standards] (INTPTR_MIN): Likewise.
26715         [C99-based standards] (INTPTR_MAX): Likewise.
26716         [C99-based standards] (UINTPTR_MAX): Likewise.
26717         [C99-based standards] (INTMAX_MIN): Likewise.
26718         [C99-based standards] (INTMAX_MAX): Likewise.
26719         [C99-based standards] (UINTMAX_MAX): Likewise.
26720         [C99-based standards] (PTRDIFF_MIN): Likewise.
26721         [C99-based standards] (PTRDIFF_MAX): Likewise.
26722         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26723         [C99-based standards] (SIZE_MAX): Likewise.
26724         [C99-based standards] (WCHAR_MAX): Likewise.
26725         [C99-based standards] (WINT_MAX): Likewise.
26726         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26727         constraint on value.
26728         [C99-based standards] (WCHAR_MIN): Likewise.
26729         [C99-based standards] (WINT_MIN): Likewise.
26730         [C99-based standards] (*_t): Allow.
26731         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26732         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26733         Include math.h-data and complex.h-data.  Remove all expectations
26734         of math.h and complex.h contents.
26735         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26736         at end of line.
26737         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26738         (struct tm): Expect tag.
26739         [C99-based-standards] (wcstof): Expect function.
26740         [C99-based-standards] (wcstold): Likewise.
26741         [C99-based-standards] (wcstoll): Likewise.
26742         [C99-based-standards] (wcstoull): Likewise.
26743         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26744         macro-int-constant.  Specify type.
26745         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26746         constraint on value.
26747         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26748         Specify type.
26749         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26750         Specify value.
26751         [ISO C standards]: Do not allow headers.
26752         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26753         wcs[abcdefghijklmnopqrstuvwxyz]*.
26754         [ISO C standards] (*_t): Do not allow.
26755         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26756         Expect function.
26757         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26758         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26759         Specify type.
26760         [ISO C standards]: Do not allow headers.
26761         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26762         is[abcdefghijklmnopqrstuvwxyz]*.
26763         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26764         to[abcdefghijklmnopqrstuvwxyz]*.
26765         [ISO C standards] (*_t): Do not allow.
26766         * conform/data/stdalign.h-data: New file.
26767         * conform/data/stdbool.h-data: Likewise.
26768         * conform/data/stdnoreturn.h-data: Likewise.
26769
26770 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26771
26772         [BZ #14815]
26773         * manual/filesys.texi (Directory Entries): Typo fix.
26774         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26775
26776 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26777
26778         * elf/elf.h (EM_AARCH64): New macro.
26779         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26780         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26781         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26782         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26783         (R_AARCH64_TLSDESC): Likewise.
26784         (NT_ARM_TLS): Likewise.
26785         (NT_ARM_HW_BREAK): Likewise.
26786         (NT_ARM_HW_WATCH): Likewise.
26787
26788 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26789
26790         [BZ #14811]
26791         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26792         (__ieee754_powl): Saturate nonzero exponents with absolute value
26793         below 0x1p-79 to +/- 0x1p-79.
26794         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26795         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26796         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26797         nonzero exponents with absolute value below 0x1p-32 to +/-
26798         0x1p-32.
26799         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26800         (__ieee754_powl): Saturate nonzero exponents with absolute value
26801         below 0x1p-79 to +/- 0x1p-79.
26802         * math/libm-test.inc (pow_test): Add more tests.
26803
26804 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26805
26806         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26807         _dl_s390_cap_flags with kernel. Increase string length.
26808         (_dl_s390_platforms): Add z196 and zEC12.
26809
26810 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26811
26812         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26813         Change XOPEN21K to XOPEN2K.
26814
26815 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26816
26817         * string/memmove.c: Use memcpy when possible.
26818
26819 2012-11-06  Andreas Jaeger  <aj@suse.de>
26820
26821         * po/eo.po: Update from translation team.
26822
26823 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26824
26825         [BZ #14793]
26826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26827         exponent and small x and y exponents, scale x or y up.  Increase
26828         by 2 the exponent used in scaling up.
26829         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26830         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26831         * math/libm-test.inc (fma_test): Add more tests.
26832         (fma_test_towardzero): Likewise.
26833         (fma_test_downward): Likewise.
26834         (fma_test_upward): Likewise.
26835
26836 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26837
26838         [BZ #14805]
26839         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26840         fenv_t *.
26841
26842         [BZ #14801]
26843         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26844         namespace for names of struct fields.
26845         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26846         fenv_t fields.
26847         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26848         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26849
26850 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26851
26852         [BZ #3665]
26853         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26854
26855 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26856
26857         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26858         PTR_DEMANGLE.
26859
26860         [BZ #5246]
26861         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26862         PTR_DEMANGLE.
26863
26864 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26865
26866         [BZ #14797]
26867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26868         definitely overflow as x * y not x * y + z.
26869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26871         * math/libm-test.inc (fma_test): Add more tests.
26872         (fma_test_towardzero): Likewise.
26873         (fma_test_downward): Likewise.
26874         (fma_test_upward): Likewise.
26875
26876 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26877
26878         [BZ #157]
26879
26880         * include/stub-tag.h: Remove file.
26881         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26882         '#include' of it.
26883         * manual/maint.texi (Porting): Don't reference it.
26884         * Makerules ($(objpfx)stubs): Likewise.
26885         * dirent/closedir.c: Don't include <stub-tag.h>.
26886         * dirent/dirfd.c: Likewise.
26887         * dirent/fdopendir.c: Likewise.
26888         * dirent/getdents.c: Likewise.
26889         * dirent/getdents64.c: Likewise.
26890         * dirent/opendir.c: Likewise.
26891         * dirent/readdir.c: Likewise.
26892         * dirent/readdir64.c: Likewise.
26893         * dirent/readdir64_r.c: Likewise.
26894         * dirent/readdir_r.c: Likewise.
26895         * dirent/rewinddir.c: Likewise.
26896         * dirent/seekdir.c: Likewise.
26897         * dirent/telldir.c: Likewise.
26898         * gmon/profil.c: Likewise.
26899         * grp/setgroups.c: Likewise.
26900         * inet/if_index.c: Likewise.
26901         * io/access.c: Likewise.
26902         * io/chdir.c: Likewise.
26903         * io/chmod.c: Likewise.
26904         * io/chown.c: Likewise.
26905         * io/close.c: Likewise.
26906         * io/dup.c: Likewise.
26907         * io/dup2.c: Likewise.
26908         * io/dup3.c: Likewise.
26909         * io/euidaccess.c: Likewise.
26910         * io/faccessat.c: Likewise.
26911         * io/fchdir.c: Likewise.
26912         * io/fchmod.c: Likewise.
26913         * io/fchmodat.c: Likewise.
26914         * io/fchown.c: Likewise.
26915         * io/fchownat.c: Likewise.
26916         * io/fcntl.c: Likewise.
26917         * io/flock.c: Likewise.
26918         * io/fstatfs.c: Likewise.
26919         * io/fstatfs64.c: Likewise.
26920         * io/fstatvfs.c: Likewise.
26921         * io/fstatvfs64.c: Likewise.
26922         * io/futimens.c: Likewise.
26923         * io/fxstat.c: Likewise.
26924         * io/fxstat64.c: Likewise.
26925         * io/fxstatat.c: Likewise.
26926         * io/fxstatat64.c: Likewise.
26927         * io/getcwd.c: Likewise.
26928         * io/isatty.c: Likewise.
26929         * io/lchmod.c: Likewise.
26930         * io/lchown.c: Likewise.
26931         * io/link.c: Likewise.
26932         * io/linkat.c: Likewise.
26933         * io/lseek.c: Likewise.
26934         * io/lseek64.c: Likewise.
26935         * io/lxstat64.c: Likewise.
26936         * io/mkdir.c: Likewise.
26937         * io/mkdirat.c: Likewise.
26938         * io/mkfifo.c: Likewise.
26939         * io/mkfifoat.c: Likewise.
26940         * io/open.c: Likewise.
26941         * io/open64.c: Likewise.
26942         * io/openat.c: Likewise.
26943         * io/openat64.c: Likewise.
26944         * io/pipe.c: Likewise.
26945         * io/pipe2.c: Likewise.
26946         * io/poll.c: Likewise.
26947         * io/posix_fadvise.c: Likewise.
26948         * io/posix_fadvise64.c: Likewise.
26949         * io/posix_fallocate.c: Likewise.
26950         * io/posix_fallocate64.c: Likewise.
26951         * io/read.c: Likewise.
26952         * io/readlink.c: Likewise.
26953         * io/readlinkat.c: Likewise.
26954         * io/rmdir.c: Likewise.
26955         * io/sendfile.c: Likewise.
26956         * io/sendfile64.c: Likewise.
26957         * io/statfs.c: Likewise.
26958         * io/statfs64.c: Likewise.
26959         * io/statvfs.c: Likewise.
26960         * io/statvfs64.c: Likewise.
26961         * io/symlink.c: Likewise.
26962         * io/symlinkat.c: Likewise.
26963         * io/ttyname.c: Likewise.
26964         * io/ttyname_r.c: Likewise.
26965         * io/umask.c: Likewise.
26966         * io/unlink.c: Likewise.
26967         * io/unlinkat.c: Likewise.
26968         * io/utime.c: Likewise.
26969         * io/utimensat.c: Likewise.
26970         * io/write.c: Likewise.
26971         * io/xmknod.c: Likewise.
26972         * io/xmknodat.c: Likewise.
26973         * io/xstat.c: Likewise.
26974         * io/xstat64.c: Likewise.
26975         * login/getpt.c: Likewise.
26976         * login/grantpt.c: Likewise.
26977         * login/unlockpt.c: Likewise.
26978         * math/e_acoshl.c: Likewise.
26979         * math/e_acosl.c: Likewise.
26980         * math/e_asinl.c: Likewise.
26981         * math/e_atan2l.c: Likewise.
26982         * math/e_atanhl.c: Likewise.
26983         * math/e_coshl.c: Likewise.
26984         * math/e_expl.c: Likewise.
26985         * math/e_fmodl.c: Likewise.
26986         * math/e_gammal_r.c: Likewise.
26987         * math/e_hypotl.c: Likewise.
26988         * math/e_j0l.c: Likewise.
26989         * math/e_j1l.c: Likewise.
26990         * math/e_jnl.c: Likewise.
26991         * math/e_lgammal_r.c: Likewise.
26992         * math/e_log10l.c: Likewise.
26993         * math/e_log2l.c: Likewise.
26994         * math/e_logl.c: Likewise.
26995         * math/e_powl.c: Likewise.
26996         * math/e_rem_pio2l.c: Likewise.
26997         * math/e_sinhl.c: Likewise.
26998         * math/e_sqrtl.c: Likewise.
26999         * math/fclrexcpt.c: Likewise.
27000         * math/fedisblxcpt.c: Likewise.
27001         * math/feenablxcpt.c: Likewise.
27002         * math/fegetenv.c: Likewise.
27003         * math/fegetexcept.c: Likewise.
27004         * math/fegetround.c: Likewise.
27005         * math/feholdexcpt.c: Likewise.
27006         * math/fesetenv.c: Likewise.
27007         * math/fesetround.c: Likewise.
27008         * math/feupdateenv.c: Likewise.
27009         * math/fgetexcptflg.c: Likewise.
27010         * math/fraiseexcpt.c: Likewise.
27011         * math/fsetexcptflg.c: Likewise.
27012         * math/ftestexcept.c: Likewise.
27013         * math/k_cosl.c: Likewise.
27014         * math/k_rem_pio2l.c: Likewise.
27015         * math/k_sinl.c: Likewise.
27016         * math/k_tanl.c: Likewise.
27017         * math/s_asinhl.c: Likewise.
27018         * math/s_atanl.c: Likewise.
27019         * math/s_cbrtl.c: Likewise.
27020         * math/s_erfl.c: Likewise.
27021         * math/s_expm1l.c: Likewise.
27022         * math/s_log1pl.c: Likewise.
27023         * math/s_tanhl.c: Likewise.
27024         * misc/acct.c: Likewise.
27025         * misc/brk.c: Likewise.
27026         * misc/chflags.c: Likewise.
27027         * misc/chroot.c: Likewise.
27028         * misc/fchflags.c: Likewise.
27029         * misc/fgetxattr.c: Likewise.
27030         * misc/flistxattr.c: Likewise.
27031         * misc/fremovexattr.c: Likewise.
27032         * misc/fsetxattr.c: Likewise.
27033         * misc/fsync.c: Likewise.
27034         * misc/ftruncate.c: Likewise.
27035         * misc/futimes.c: Likewise.
27036         * misc/futimesat.c: Likewise.
27037         * misc/getdomain.c: Likewise.
27038         * misc/getdtsz.c: Likewise.
27039         * misc/gethostid.c: Likewise.
27040         * misc/gethostname.c: Likewise.
27041         * misc/getloadavg.c: Likewise.
27042         * misc/getpagesize.c: Likewise.
27043         * misc/getsysstats.c: Likewise.
27044         * misc/getxattr.c: Likewise.
27045         * misc/gtty.c: Likewise.
27046         * misc/ioctl.c: Likewise.
27047         * misc/lgetxattr.c: Likewise.
27048         * misc/listxattr.c: Likewise.
27049         * misc/llistxattr.c: Likewise.
27050         * misc/lremovexattr.c: Likewise.
27051         * misc/lsetxattr.c: Likewise.
27052         * misc/lutimes.c: Likewise.
27053         * misc/madvise.c: Likewise.
27054         * misc/mincore.c: Likewise.
27055         * misc/mlock.c: Likewise.
27056         * misc/mlockall.c: Likewise.
27057         * misc/mmap.c: Likewise.
27058         * misc/mprotect.c: Likewise.
27059         * misc/msync.c: Likewise.
27060         * misc/munlock.c: Likewise.
27061         * misc/munlockall.c: Likewise.
27062         * misc/munmap.c: Likewise.
27063         * misc/preadv.c: Likewise.
27064         * misc/preadv64.c: Likewise.
27065         * misc/ptrace.c: Likewise.
27066         * misc/pwritev.c: Likewise.
27067         * misc/pwritev64.c: Likewise.
27068         * misc/readv.c: Likewise.
27069         * misc/reboot.c: Likewise.
27070         * misc/remap_file_pages.c: Likewise.
27071         * misc/removexattr.c: Likewise.
27072         * misc/revoke.c: Likewise.
27073         * misc/select.c: Likewise.
27074         * misc/setdomain.c: Likewise.
27075         * misc/setegid.c: Likewise.
27076         * misc/seteuid.c: Likewise.
27077         * misc/sethostid.c: Likewise.
27078         * misc/sethostname.c: Likewise.
27079         * misc/setregid.c: Likewise.
27080         * misc/setreuid.c: Likewise.
27081         * misc/setxattr.c: Likewise.
27082         * misc/sstk.c: Likewise.
27083         * misc/stty.c: Likewise.
27084         * misc/swapoff.c: Likewise.
27085         * misc/swapon.c: Likewise.
27086         * misc/sync.c: Likewise.
27087         * misc/syncfs.c: Likewise.
27088         * misc/syscall.c: Likewise.
27089         * misc/truncate.c: Likewise.
27090         * misc/ualarm.c: Likewise.
27091         * misc/usleep.c: Likewise.
27092         * misc/ustat.c: Likewise.
27093         * misc/utimes.c: Likewise.
27094         * misc/vhangup.c: Likewise.
27095         * misc/writev.c: Likewise.
27096         * posix/_exit.c: Likewise.
27097         * posix/alarm.c: Likewise.
27098         * posix/execve.c: Likewise.
27099         * posix/fexecve.c: Likewise.
27100         * posix/fork.c: Likewise.
27101         * posix/fpathconf.c: Likewise.
27102         * posix/getaddrinfo.c: Likewise.
27103         * posix/getegid.c: Likewise.
27104         * posix/geteuid.c: Likewise.
27105         * posix/getgid.c: Likewise.
27106         * posix/getgroups.c: Likewise.
27107         * posix/getlogin.c: Likewise.
27108         * posix/getlogin_r.c: Likewise.
27109         * posix/getpgid.c: Likewise.
27110         * posix/getpid.c: Likewise.
27111         * posix/getppid.c: Likewise.
27112         * posix/getresgid.c: Likewise.
27113         * posix/getresuid.c: Likewise.
27114         * posix/getsid.c: Likewise.
27115         * posix/getuid.c: Likewise.
27116         * posix/glob64.c: Likewise.
27117         * posix/nanosleep.c: Likewise.
27118         * posix/pathconf.c: Likewise.
27119         * posix/pause.c: Likewise.
27120         * posix/posix_madvise.c: Likewise.
27121         * posix/pread.c: Likewise.
27122         * posix/pread64.c: Likewise.
27123         * posix/pwrite.c: Likewise.
27124         * posix/pwrite64.c: Likewise.
27125         * posix/sched_getaffinity.c: Likewise.
27126         * posix/sched_getp.c: Likewise.
27127         * posix/sched_gets.c: Likewise.
27128         * posix/sched_primax.c: Likewise.
27129         * posix/sched_primin.c: Likewise.
27130         * posix/sched_rr_gi.c: Likewise.
27131         * posix/sched_setaffinity.c: Likewise.
27132         * posix/sched_setp.c: Likewise.
27133         * posix/sched_sets.c: Likewise.
27134         * posix/sched_yield.c: Likewise.
27135         * posix/setgid.c: Likewise.
27136         * posix/setlogin.c: Likewise.
27137         * posix/setpgid.c: Likewise.
27138         * posix/setresgid.c: Likewise.
27139         * posix/setresuid.c: Likewise.
27140         * posix/setsid.c: Likewise.
27141         * posix/setuid.c: Likewise.
27142         * posix/sleep.c: Likewise.
27143         * posix/spawni.c: Likewise.
27144         * posix/sysconf.c: Likewise.
27145         * posix/times.c: Likewise.
27146         * posix/wait.c: Likewise.
27147         * posix/wait3.c: Likewise.
27148         * posix/wait4.c: Likewise.
27149         * posix/waitpid.c: Likewise.
27150         * resolv/gai_sigqueue.c: Likewise.
27151         * resource/getpriority.c: Likewise.
27152         * resource/getrlimit.c: Likewise.
27153         * resource/getrusage.c: Likewise.
27154         * resource/nice.c: Likewise.
27155         * resource/setpriority.c: Likewise.
27156         * resource/setrlimit.c: Likewise.
27157         * resource/ulimit.c: Likewise.
27158         * rt/aio_cancel.c: Likewise.
27159         * rt/aio_fsync.c: Likewise.
27160         * rt/aio_read.c: Likewise.
27161         * rt/aio_sigqueue.c: Likewise.
27162         * rt/aio_suspend.c: Likewise.
27163         * rt/aio_write.c: Likewise.
27164         * rt/clock_getres.c: Likewise.
27165         * rt/clock_gettime.c: Likewise.
27166         * rt/clock_nanosleep.c: Likewise.
27167         * rt/clock_settime.c: Likewise.
27168         * rt/lio_listio.c: Likewise.
27169         * rt/mq_close.c: Likewise.
27170         * rt/mq_getattr.c: Likewise.
27171         * rt/mq_notify.c: Likewise.
27172         * rt/mq_open.c: Likewise.
27173         * rt/mq_receive.c: Likewise.
27174         * rt/mq_send.c: Likewise.
27175         * rt/mq_setattr.c: Likewise.
27176         * rt/mq_timedreceive.c: Likewise.
27177         * rt/mq_timedsend.c: Likewise.
27178         * rt/mq_unlink.c: Likewise.
27179         * rt/shm_open.c: Likewise.
27180         * rt/shm_unlink.c: Likewise.
27181         * rt/timer_create.c: Likewise.
27182         * rt/timer_delete.c: Likewise.
27183         * rt/timer_getoverr.c: Likewise.
27184         * rt/timer_gettime.c: Likewise.
27185         * rt/timer_settime.c: Likewise.
27186         * setjmp/__longjmp.c: Likewise.
27187         * setjmp/setjmp.c: Likewise.
27188         * signal/kill.c: Likewise.
27189         * signal/killpg.c: Likewise.
27190         * signal/raise.c: Likewise.
27191         * signal/sigaction.c: Likewise.
27192         * signal/sigaltstack.c: Likewise.
27193         * signal/sigblock.c: Likewise.
27194         * signal/sigignore.c: Likewise.
27195         * signal/sigintr.c: Likewise.
27196         * signal/signal.c: Likewise.
27197         * signal/sigpause.c: Likewise.
27198         * signal/sigpending.c: Likewise.
27199         * signal/sigqueue.c: Likewise.
27200         * signal/sigreturn.c: Likewise.
27201         * signal/sigset.c: Likewise.
27202         * signal/sigsetmask.c: Likewise.
27203         * signal/sigstack.c: Likewise.
27204         * signal/sigsuspend.c: Likewise.
27205         * signal/sigtimedwait.c: Likewise.
27206         * signal/sigvec.c: Likewise.
27207         * signal/sigwait.c: Likewise.
27208         * signal/sigwaitinfo.c: Likewise.
27209         * signal/sysv_signal.c: Likewise.
27210         * socket/accept.c: Likewise.
27211         * socket/accept4.c: Likewise.
27212         * socket/bind.c: Likewise.
27213         * socket/connect.c: Likewise.
27214         * socket/getpeername.c: Likewise.
27215         * socket/getsockname.c: Likewise.
27216         * socket/getsockopt.c: Likewise.
27217         * socket/isfdtype.c: Likewise.
27218         * socket/listen.c: Likewise.
27219         * socket/recv.c: Likewise.
27220         * socket/recvfrom.c: Likewise.
27221         * socket/recvmsg.c: Likewise.
27222         * socket/send.c: Likewise.
27223         * socket/sendmsg.c: Likewise.
27224         * socket/sendto.c: Likewise.
27225         * socket/setsockopt.c: Likewise.
27226         * socket/shutdown.c: Likewise.
27227         * socket/sockatmark.c: Likewise.
27228         * socket/socket.c: Likewise.
27229         * socket/socketpair.c: Likewise.
27230         * stdio-common/ctermid.c: Likewise.
27231         * stdio-common/cuserid.c: Likewise.
27232         * stdio-common/remove.c: Likewise.
27233         * stdio-common/rename.c: Likewise.
27234         * stdio-common/renameat.c: Likewise.
27235         * stdio-common/tempname.c: Likewise.
27236         * stdlib/getcontext.c: Likewise.
27237         * stdlib/makecontext.c: Likewise.
27238         * stdlib/setcontext.c: Likewise.
27239         * stdlib/swapcontext.c: Likewise.
27240         * stdlib/system.c: Likewise.
27241         * streams/fattach.c: Likewise.
27242         * streams/fdetach.c: Likewise.
27243         * streams/getmsg.c: Likewise.
27244         * streams/getpmsg.c: Likewise.
27245         * streams/putmsg.c: Likewise.
27246         * streams/putpmsg.c: Likewise.
27247         * sysdeps/unix/bsd/getpt.c: Likewise.
27248         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27249         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27250         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27252         Likewise.
27253         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27254         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27255         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27256         * sysvipc/msgctl.c: Likewise.
27257         * sysvipc/msgget.c: Likewise.
27258         * sysvipc/msgrcv.c: Likewise.
27259         * sysvipc/msgsnd.c: Likewise.
27260         * sysvipc/semctl.c: Likewise.
27261         * sysvipc/semget.c: Likewise.
27262         * sysvipc/semop.c: Likewise.
27263         * sysvipc/semtimedop.c: Likewise.
27264         * sysvipc/shmat.c: Likewise.
27265         * sysvipc/shmctl.c: Likewise.
27266         * sysvipc/shmdt.c: Likewise.
27267         * sysvipc/shmget.c: Likewise.
27268         * termios/tcdrain.c: Likewise.
27269         * termios/tcflow.c: Likewise.
27270         * termios/tcflush.c: Likewise.
27271         * termios/tcgetattr.c: Likewise.
27272         * termios/tcgetpgrp.c: Likewise.
27273         * termios/tcsendbrk.c: Likewise.
27274         * termios/tcsetattr.c: Likewise.
27275         * termios/tcsetpgrp.c: Likewise.
27276         * time/adjtime.c: Likewise.
27277         * time/clock.c: Likewise.
27278         * time/getitimer.c: Likewise.
27279         * time/gettimeofday.c: Likewise.
27280         * time/setitimer.c: Likewise.
27281         * time/settimeofday.c: Likewise.
27282         * time/stime.c: Likewise.
27283         * time/time.c: Likewise.
27284
27285 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27286
27287         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27288         /usr/old/bin.
27289
27290         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27291         instead of spaces.
27292         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27293
27294 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27295
27296         [BZ #14796]
27297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27298         FE_TONEAREST before applying Dekker multiplication and Knuth
27299         addition.  Clear inexact exceptions and check for exact zero
27300         results afterwards.
27301         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27302         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27303         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27304         * math/libm-test.inc (fma_test): Add more tests.
27305         (fma_test_towardzero): Likewise.
27306         (fma_test_downward): Likewise.
27307         (fma_test_upward): Likewise.
27308         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27309         function.
27310         (libc_fesetround): New macro.
27311         (libc_fesetroundf): Likewise.
27312         (libc_fesetroundl): Likewise.
27313         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27314         function.
27315         (libc_fesetround_387): Likewise.
27316         (libc_fesetroundf): New macro.
27317         (libc_fesetround): Likewise.
27318         (libc_fesetroundl): Likewise.
27319         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27320         function.
27321         (libc_fesetroundf): New macro.
27322         (libc_fesetround): Likewise.
27323         (libc_fesetroundl): Likewise.
27324         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27325         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27326         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27327         libm_hidden_ver.
27328         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27329         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27330         libm_hidden_def.
27331         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27332         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27333         libm_hidden_ver.
27334         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27335         libm_hidden_def.
27336
27337         [BZ #3439]
27338         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27339         integer constant usable in #if and use that to give value to enum
27340         constant.
27341         (FE_DIVBYZERO): Likewise.
27342         (FE_UNDERFLOW): Likewise.
27343         (FE_OVERFLOW): Likewise.
27344         (FE_INVALID): Likewise.
27345         (FE_INVALID_SNAN): Likewise.
27346         (FE_INVALID_ISI): Likewise.
27347         (FE_INVALID_IDI): Likewise.
27348         (FE_INVALID_ZDZ): Likewise.
27349         (FE_INVALID_IMZ): Likewise.
27350         (FE_INVALID_COMPARE): Likewise.
27351         (FE_INVALID_SOFTWARE): Likewise.
27352         (FE_INVALID_SQRT): Likewise.
27353         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27354         (FE_TONEAREST): Likewise.
27355         (FE_TOWARDZERO): Likewise.
27356         (FE_UPWARD): Likewise.
27357         (FE_DOWNWARD): Likewise.
27358         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27359         (FE_DIVBYZERO): Likewise.
27360         (FE_OVERFLOW): Likewise.
27361         (FE_UNDERFLOW): Likewise.
27362         (FE_INEXACT): Likewise.
27363         (FE_TONEAREST): Likewise.
27364         (FE_DOWNWARD): Likewise.
27365         (FE_UPWARD): Likewise.
27366         (FE_TOWARDZERO): Likewise.
27367         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27368         (FE_UNDERFLOW): Likewise.
27369         (FE_OVERFLOW): Likewise.
27370         (FE_DIVBYZERO): Likewise.
27371         (FE_INVALID): Likewise.
27372         (FE_TONEAREST): Likewise.
27373         (FE_TOWARDZERO): Likewise.
27374         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27375         (FE_OVERFLOW): Likewise.
27376         (FE_UNDERFLOW): Likewise.
27377         (FE_DIVBYZERO): Likewise.
27378         (FE_INEXACT): Likewise.
27379         (FE_TONEAREST): Likewise.
27380         (FE_TOWARDZERO): Likewise.
27381         (FE_UPWARD): Likewise.
27382         (FE_DOWNWARD): Likewise.
27383         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27384         (FE_DIVBYZERO): Likewise.
27385         (FE_OVERFLOW): Likewise.
27386         (FE_UNDERFLOW): Likewise.
27387         (FE_INEXACT): Likewise.
27388         (FE_TONEAREST): Likewise.
27389         (FE_DOWNWARD): Likewise.
27390         (FE_UPWARD): Likewise.
27391         (FE_TOWARDZERO): Likewise.
27392
27393 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27394
27395         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27396
27397 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27398
27399         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27400         commands.  Quote $PWD.
27401         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27402         -x" by "export".
27403         (remove_newlines): Remove.
27404
27405 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27406
27407         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27408         * stdlib/stdlib.h (atof): Moved to ...
27409         * include/bits/stdlib-float.h: Here.  New file.
27410         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27411         * stdlib/bits/stdlib-float.h: New file.
27412         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27413         -mno-sse -mno-mmx.
27414         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27415         <xmmintrin.h>.
27416
27417 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27418
27419         * conform/conformtest.pl (@headers): Add fenv.h.
27420         * conform/data/fenv.h-data: New file.
27421         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27422         include of <math/fenv.h>.
27423
27424         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27425         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27426         && !UNIX98].  Enables tests for XOPEN2K8.
27427         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27428         POSIX2008]: Likewise.
27429
27430         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27431         (struct rusage): Do not expect type or its members.
27432
27433         [BZ #3439]
27434         * math/math.h (FP_NAN): Define macro to integer constant usable in
27435         #if and use that to give value to enum constant.
27436         (FP_INFINITE): Likewise.
27437         (FP_ZERO): Likewise.
27438         (FP_SUBNORMAL): Likewise.
27439         (FP_NORMAL): Likewise.
27440
27441 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27442
27443         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27444         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27445         arguments.
27446
27447 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27448
27449         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27450         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27451         autoconf-time if not.
27452         * configure.in: Remove AC_PREREQ.
27453
27454 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27455
27456         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27457         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27458         of the internal implementation.
27459
27460 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27461
27462         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27463         except include of <misc/sys/syslog.h>.
27464
27465 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27466
27467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27468         function returns with a NULL context exit with zero.
27469
27470 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27471
27472         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27473
27474 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27475
27476         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27477         (run_program_cmd): This.
27478         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27479         (tst_langinfo): New variable.  Use it.
27480
27481 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27482
27483         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27484         floating point opcodes.
27485
27486 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27487
27488         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27489         variable.
27490
27491         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27492
27493         * sysdeps/mach/hurd/powerpc: Remove directory.
27494         * sysdeps/mach/powerpc: Likewise.
27495
27496 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27497
27498         * scripts/check-local-headers.sh: Ignore c++ headers.
27499
27500 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27501
27502         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27503         __libc_cleanup_region_start argument.
27504
27505 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27506
27507         [BZ #14784]
27508         [BZ #14785]
27509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27510         x * y using scaling, not as x * y + z.
27511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27512         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27513         * math/libm-test.inc (fma_test): Add more tests.
27514         (fma_test_towardzero): Likewise.
27515         (fma_test_downward): Likewise.
27516         (fma_test_upward): Likewise.
27517
27518 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27519
27520         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27521
27522 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27523
27524         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27525         New variable.
27526
27527 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27528
27529         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27530
27531 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27532
27533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27534         Fix sort order.
27535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27536         Likewise.
27537
27538 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27539
27540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27541         Fix the order of the list for glibc 2.17.
27542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27543         Likewise.
27544
27545 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27546
27547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27548
27549 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27550
27551         [BZ #14610]
27552         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27553         for low part of x being zero before using __atanl (y).
27554         * math/libm-test.inc (atan2_test): Add another test.
27555
27556         * manual/install.texi (Configuring and compiling): Document
27557         general use of test-wrapper and test-wrapper-env.
27558         * INSTALL: Regenerated.
27559
27560         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27561         (__fma): Do not extract and scale down low bits on after-rounding
27562         systems when result rounded to normal precision would have normal
27563         exponent.
27564         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27565         (__fmal): Do not extract and scale down low bits on after-rounding
27566         systems when result rounded to normal precision would have normal
27567         exponent.
27568         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27569         (__fmal): Do not extract and scale down low bits on after-rounding
27570         systems when result rounded to normal precision would have normal
27571         exponent.
27572         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27573         macro.
27574         (fma_test): Add more tests.
27575         (fma_test_towardzero): Likewise.
27576         (fma_test_downward): Likewise.
27577         (fma_test_upward): Likewise.
27578
27579 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27580
27581         * sysdeps/i386/tininess.h: Renamed to ...
27582         * sysdeps/x86/tininess.h: This.
27583         * sysdeps/x86_64/tininess.h: Removed.
27584
27585 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27586
27587         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27588         input.  Use $(build-program-cmd).
27589         ($(objpfx)tst-array1-static.out): Likewise.
27590         ($(objpfx)tst-array2.out): Likewise.
27591         ($(objpfx)tst-array3.out): Likewise.
27592         ($(objpfx)tst-array4.out): Likewise.
27593         ($(objpfx)tst-array5.out): Likewise.
27594         ($(objpfx)tst-array5-static.out): Likewise.
27595
27596 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27597
27598         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27599         if defined.
27600
27601         * nss/nsswitch.h (nss_interface_function): Provide new
27602         macro for use with NSS functions.
27603         * grp/initgroups.c: Use new macro.
27604         * nss/getXXbyYY.c: Likewise.
27605         * nss/getXXbyYY_r.c: Likewise.
27606         * nss/getXXent.c: Likewise.
27607         * nss/getXXent_r.c: Likewise.
27608         * sysdeps/posix/getaddrinfo.c: Likewise.
27609
27610 2012-10-30  Andreas Jaeger  <aj@suse.de>
27611
27612         * po/ru.po: Update Russion translation from translation project.
27613
27614 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27615
27616         [BZ #14152]
27617         [BZ #14783]
27618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27619         result and shift together with sticky bit instead of replicating
27620         round-to-nearest rounding.
27621         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27622         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27623         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27624         missing underflow exceptions.
27625         (fma_test_towardzero): Add more tests.
27626         (fma_test_downward): Likewise.
27627         (fma_test_upward): Likewise.
27628
27629         [BZ #14047]
27630         * sysdeps/generic/tininess.h: New file.
27631         * sysdeps/i386/tininess.h: Likewise.
27632         * sysdeps/sh/tininess.h: Likewise.
27633         * sysdeps/x86_64/tininess.h: Likewise.
27634         * stdlib/tst-strtod-underflow.c: Likewise.
27635         * stdlib/tst-tininess.c: Likewise.
27636         * stdlib/strtod_l.c: Include <tininess.h>.
27637         (round_and_return): Do not set errno for exact underflow cases.
27638         Force an underflow exception when setting errno for underflow.
27639         Determine underflow based on rounding to normal precision if
27640         TININESS_AFTER_ROUNDING.
27641         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27642         ERANGE for exact underflow cases.
27643         * stdlib/Makefile (tests): Add tst-tininess and
27644         tst-strtod-underflow.
27645         ($(objpfx)tst-tininess): Use $(link-libm).
27646         ($(objpfx)tst-strtod-underflow): Likewise.
27647
27648 2012-10-30  Andreas Jaeger  <aj@suse.de>
27649
27650         [BZ#14767]
27651         * elf/Makefile (tests): Remove conditional for have-initfini-array
27652         since this is now always required and the variable does not exist
27653         anymore.
27654         (tests-static): Likewise.
27655         (modules-names): Likewise.
27656
27657         * po/eo.po: Add Esperanto translation from translation project.
27658
27659         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27660         merged with constructor/destructor.
27661         (init_array): Likewise.
27662         * elf/tst-array2dep.c (fini_array): Likewise.
27663         (init_array): Likewise.
27664
27665 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27666
27667         * manual/message.texi: Delete @cartouche tags.
27668
27669 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27670
27671         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27672         EOPNOTSUPP.
27673         * sysdeps/mach/hurd/fsync.c: Likewise.
27674
27675         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27676         [_POSIX_REALTIME_SIGNALS]: Change condition to
27677         [_POSIX_REALTIME_SIGNALS > 0].
27678
27679 2012-10-27  Andreas Jaeger  <aj@suse.de>
27680
27681         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27682         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27684         [__WORDSIZE != 64]: Likewise.
27685
27686 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27687
27688         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27689         *  iconvdata/tst-tables.sh: Likewise.
27690
27691 2012-10-25  David S. Miller  <davem@davemloft.net>
27692
27693         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27694         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27695         of strtoull.
27696
27697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27698         ifunc-impl-list.c
27699         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27700         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27701         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27702         file.
27703
27704 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27705
27706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27707         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27708         __getdirentries.
27709
27710 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27711             Jim Blandy  <jimb@codesourcery.com>
27712
27713         * scripts/cross-test-ssh.sh: New file.
27714         * manual/install.texi (Configuring and compiling): Document use of
27715         cross-test-ssh.sh.
27716         * INSTALL: Regenerated.
27717
27718 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27719
27720         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27721         EOPNOTSUPP.
27722
27723 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27724
27725         * Makeconfig (run-program-prefix): Fix comment.
27726
27727 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27728             Jim Blandy  <jimb@codesourcery.com>
27729
27730         * Makeconfig (test-wrapper): New variable,
27731         (test-wrapper-env): Likewise.
27732         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27733         (run-built-tests): Define to yes.
27734         (run-program-prefix): Use $(test-wrapper).
27735         (built-program-cmd): Likewise.
27736         * Rules (make-test-out): Use $(test-wrapper-env) and
27737         $(host-built-program-cmd).
27738         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27739         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27740         tst-pathopt.sh.
27741         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27742         $(test-wrapper-env) to tst-rtld-load-self.sh.
27743         ($(objpfx)order2.out): Use $(test-wrapper).
27744         ($(objpfx)tst-initorder.out): Likewise.
27745         ($(objpfx)tst-initorder2.out): Likewise.
27746         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27747         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27748         (test_wrapper_env): New variable.  Use it to run ld.so.
27749         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27750         Use it to run ld.so.
27751         (test_wrapper_env): Likewise.
27752         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27753         $(test-wrapper) to run-iconv-test.sh.
27754         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27755         (ICONV): Use $test_wrapper.
27756         * posix/Makefile ($(objpfx)globtest.out): Pass
27757         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27758         globtest.sh, not $(run-program-prefix).
27759         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27760         (test_wrapper): Likewise.
27761         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27762         set together with run_via_rtld_prefix.
27763         (run_program_prefix): Define in terms of test_wrapper and
27764         run_via_rtld_prefix.
27765
27766 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27767
27768         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27769         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27770         Targets removed.
27771
27772         [BZ #14743]
27773         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27774         Declare __clock_getres, __clock_gettime, __clock_settime,
27775         __clock_nanosleep, and __clock_getcpuclockid.
27776         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27777         Remove librt_hidden_def (clock_gettime).
27778         * sysdeps/unix/clock_gettime.c: Likewise.
27779         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27781         * rt/clock_getres.c: Define __clock_getres as an alias.
27782         * sysdeps/posix/clock_getres.c: Likewise.
27783         * rt/clock_settime.c: Define __clock_settime as an alias.
27784         * sysdeps/unix/clock_settime.c: Likewise.
27785         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27786         * sysdeps/unix/clock_nanosleep.c: Likewise.
27787         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27788         * rt/clock-compat.c: New file.
27789         * rt/Makefile (librt-routines): Add clock-compat and move
27790         $(clock-routines) to ...
27791         (routines): ... here, new variable.
27792         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27793         Don't add get_clockfreq here.
27794         * rt/Versions (libc: GLIBC_2.17): New version set.
27795         Add clock_* symbols here.
27796         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27797         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27798         (GLIBC_2.17): Add clock_* symbols.
27799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27801         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27803         Likewise.
27804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27805         Likewise.
27806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27810         * NEWS: Mention the move.
27811
27812         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27813         Use __open, __read, __close rather than their public counterparts.
27814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27815         (__get_clockfreq_via_cpuinfo): Likewise.
27816         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27817         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27818
27819         * config.h.in (HAVE_IFUNC): New #undef.
27820         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27821         was successful.
27822         * configure: Regenerated.
27823
27824 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27825
27826         * configure.in: Move READELF check to start of file.
27827         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27828         libc_cv_asm_gnu_indirect_function in the process.
27829         * configure: Regenerated.
27830
27831 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27832
27833         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27834         send the output to /dev/null.
27835         (libc_cv_cc_with_libunwind): Likewise.
27836         (libc_cv_as_noexecstack): Likewise.
27837         * configure: Regenerate.
27838
27839 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27840
27841         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27842
27843         * posix/globtest.sh (TMPDIR): Do not set.
27844         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27845         (testout): Likewise.
27846
27847 2012-10-24  Andreas Jaeger  <aj@suse.de>
27848
27849         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27850         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27851         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27852         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27853         posix_fadvise64, posix_fallocate64.
27854
27855         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27856         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27857         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27858         Likewise.
27859         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27860         Likewise.
27861         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27862
27863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27864         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27865         <bits/fcntl-linux.h>.
27866         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27867
27868         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27869         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27870         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27871         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27872         [__WORDSIZE != 64]: Likewise.
27873
27874 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27875
27876         * Makeconfig (run-built-tests): New variable.
27877         * Rules [$(cross-compiling) = yes]: Change condition to
27878         [$(run-built-tests) = no].
27879         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27880         to [$(run-built-tests) = yes].
27881         * elf/Makefile [$(cross-compiling) = no]: Likewise
27882         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27883         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27884         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27885         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27886         * io/Makefile [$(cross-compiling) = no]: Likewise.
27887         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27888         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27889         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27890         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27891         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27892         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27893         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27894         * string/Makefile [$(cross-compiling) = no]: Likewise.
27895
27896         * posix/Makefile ($(objpfx)globtest.out): Pass
27897         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27898         $(rtld-installed-name).
27899         * posix/globtest.sh (elf_objpfx): Remove variable.
27900         (rtld_installed_name): Likewise.
27901         (library_path): Likewise.
27902         (run_program_prefix): New variable.  Use for running globtest
27903         binary.
27904
27905 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27906             Joseph Myers  <joseph@codesourcery.com>
27907
27908         * Makeconfig (host-built-program-cmd): New variable.
27909         * elf/Makefile (tst-stackguard1-ARGS): Use
27910         $(host-built-program-cmd).
27911         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27912         (tst-spawn-ARGS): Likewise.
27913         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27914
27915 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27916             Jim Blandy  <jimb@codesourcery.com>
27917
27918         * Makeconfig (run-via-rtld-prefix): New variable.
27919         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27920         (built-program-cmd): Likewise.
27921
27922 2012-10-22  Andreas Jaeger  <aj@suse.de>
27923
27924         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27925         __O_RSYNC if it exists, otherwise to O_SYNC.
27926
27927 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27928             Joseph Myers  <joseph@codesourcery.com>
27929
27930         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27931         /dev/null.
27932         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27933         from /dev/null
27934         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27935         /dev/null.
27936
27937 2012-10-22  Andreas Jaeger  <aj@suse.de>
27938
27939         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27940         Define always.
27941         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27942
27943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27944         bits/fcntl-linux.h.
27945
27946         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27947         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27948
27949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27950         to __O_LARGEFILE.
27951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27952         to __O_LARGEFILE.
27953
27954 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27955             Joseph Myers  <joseph@codesourcery.com>
27956
27957         * config.make.in (NM): New variable.
27958
27959 2012-10-21  Andreas Jaeger  <aj@suse.de>
27960
27961         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27962         definitions and declarations that are provided by
27963         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27964
27965 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27966
27967         [BZ #14683]
27968         * elf/Makefile (tests-static): Add tst-leaks1-static.
27969         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27970         ($(objpfx)tst-leaks1-static): New rule.
27971         ($(objpfx)tst-leaks1-static-mem): Likewise.
27972         (tst-leaks1-static-ENV): New macro.
27973         * elf/dl-open.c (dl_open_worker): Check the main application
27974         only if SHARED is defined.
27975         * elf/tst-leaks1-static.c: New file.
27976
27977 2012-10-20  Andreas Jaeger  <aj@suse.de>
27978
27979         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27980         generic values for Linux.
27981         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27982         and declarations that are provided by <bits/fcntl-linux.h> and
27983         include <bits/fcntl-linux.h>.
27984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27986
27987 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27988
27989         * io/fcntl.h: Move include of <bits/types.h> to the top and
27990         include it unconditionally.
27991
27992 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27993
27994         * wcsmbs/Makefile (tests-ifunc): New variable.
27995         (tests): Add $(tests-ifunc).
27996         * wcsmbs/test-wcschr-ifunc.c: New file.
27997         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27998         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27999         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28000         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28001         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28002
28003         * string/Makefile (tests-ifunc): New variable.
28004         (tests): Add $(tests-ifunc).
28005         * string/test-memccpy.c (TEST_NAME): New macro.
28006         * string/test-memchr.c (TEST_NAME): Likewise.
28007         * string/test-memcmp.c (TEST_NAME): Likewise.
28008         * string/test-memcpy.c (TEST_NAME): Likewise.
28009         * string/test-memmem.c (TEST_NAME): Likewise.
28010         * string/test-memmove.c (TEST_NAME): Likewise.
28011         * string/test-memset.c (TEST_NAME): Likewise.
28012         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28013         * string/test-stpcpy.c (TEST_NAME): Likewise.
28014         * string/test-stpncpy.c (TEST_NAME): Likewise.
28015         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28016         * string/test-strcasestr.c (TEST_NAME): Likewise.
28017         * string/test-strcat.c (TEST_NAME): Likewise.
28018         * string/test-strchr.c (TEST_NAME): Likewise.
28019         * string/test-strcmp.c(TEST_NAME): Likewise.
28020         * string/test-strcpy.c (TEST_NAME): Likewise.
28021         * string/test-strcspn.c (TEST_NAME): Likewise.
28022         * string/test-strlen.c (TEST_NAME): Likewise.
28023         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28024         * string/test-strncmp.c (TEST_NAME): Likewise.
28025         * string/test-strncpy.c (TEST_NAME): Likewise.
28026         * string/test-strnlen.c (TEST_NAME): Likewise.
28027         * string/test-strpbrk.c (TEST_NAME): Likewise.
28028         * string/test-strrchr.c (TEST_NAME): Likewise.
28029         * string/test-strspn.c (TEST_NAME): Likewise.
28030         * string/test-strstr.c (TEST_NAME): Likewise.
28031         * string/test-bcopy-ifunc.c: New file.
28032         * string/test-bzero-ifunc.c: Likewise.
28033         * string/test-memccpy-ifunc.c: Likewise.
28034         * string/test-memchr-ifunc.c: Likewise.
28035         * string/test-memcmp-ifunc.c: Likewise.
28036         * string/test-memcpy-ifunc.c: Likewise.
28037         * string/test-memmem-ifunc.c: Likewise.
28038         * string/test-memmove-ifunc.c: Likewise.
28039         * string/test-mempcpy-ifunc.c: Likewise.
28040         * string/test-memset-ifunc.c: Likewise.
28041         * string/test-rawmemchr-ifunc.c: Likewise.
28042         * string/test-stpcpy-ifunc.c: Likewise.
28043         * string/test-stpncpy-ifunc.c: Likewise.
28044         * string/test-strcasecmp-ifunc.c: Likewise.
28045         * string/test-strcasestr-ifunc.c: Likewise.
28046         * string/test-strcat-ifunc.c: Likewise.
28047         * string/test-strchr-ifunc.c: Likewise.
28048         * string/test-strchrnul-ifunc.c: Likewise.
28049         * string/test-strcmp-ifunc.c: Likewise.
28050         * string/test-strcpy-ifunc.c: Likewise.
28051         * string/test-strcspn-ifunc.c: Likewise.
28052         * string/test-strlen-ifunc.c: Likewise.
28053         * string/test-strncasecmp-ifunc.c: Likewise.
28054         * string/test-strncat-ifunc.c: Likewise.
28055         * string/test-strncmp-ifunc.c: Likewise.
28056         * string/test-strncpy-ifunc.c: Likewise.
28057         * string/test-strnlen-ifunc.c: Likewise.
28058         * string/test-strpbrk-ifunc.c: Likewise.
28059         * string/test-strrchr-ifunc.c: Likewise.
28060         * string/test-strspn-ifunc.c: Likewise.
28061         * string/test-strstr-ifunc.c: Likewise.
28062
28063         * debug/Makefile (tests-ifunc): New variable.
28064         (tests): Add $(tests-ifunc).
28065         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28066         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28067         * debug/test-stpcpy_chk-ifunc.c: New file.
28068         * debug/test-strcpy_chk-ifunc.c: Likewise.
28069
28070 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28071
28072         [BZ #13601]
28073         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28074         header is not read in.
28075
28076 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28077
28078         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28079         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28080         directly.  Pass built executable to script as
28081         $(built-program-cmd).
28082         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28083         $testprogram without using LD_LIBRARY_PATH and $ldso.
28084
28085         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28086         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28087         $(rtld-installed-name).
28088         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28089         (rtld_installed_name): Likewise.
28090         (library_path): Likewise.
28091         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28092         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28093         $(run-program-prefix) to tst-tables.sh.
28094         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28095         it to run tst-table-from and tst-table-to.
28096         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28097         Pass it to tst-table.sh.
28098         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28099         $(run-program-prefix) to tst-gettext.sh.
28100         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28101         tst-translit.sh.
28102         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28103         tst-gettext2.sh.
28104         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28105         to run tst-gettext.
28106         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28107         to run tst-gettext2.
28108         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28109         to run tst-translit.
28110         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28111         $(run-program-prefix) to tst-mtrace.sh.
28112         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28113         to run tst-mtrace.
28114         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28115         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28116         $(rtld-installed-name).
28117         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28118         (rtld_installed_name): Likewise.
28119         (run_program_prefix): New variable.  Use it to run wordexp-test.
28120
28121         * Makeconfig (ARCH): Remove all definitions.
28122         (machine): Likewise.
28123         [ARCH]: Remove conditional code.
28124         [!objdir]: Give error.
28125         [!objdir] (objpfx): Remove.
28126         [!objdir] (common-objpfx): Likewise.
28127         [!objdir] (common-objdir): Likewise.
28128         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28129         AC_CONFIG_FILES call.
28130         * configure: Regenerated.
28131
28132         [BZ #13888]
28133         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28134         or TMPDIR.
28135         (testout): Likewise.
28136
28137         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28138         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28139         $(rtld-installed-name).
28140         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28141         (rtld_installed_name): Likwise.
28142         (runit): Remove function.
28143         (run_getconf): New variable,  Use it for running getconf binary.
28144
28145 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28146
28147         [BZ #14716]
28148         * string/test-memmem.c (check_result): New function.
28149         (do_one_test): Use it.
28150         (check1): New function.
28151         (test_main): Use it.
28152
28153 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28154
28155         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28156
28157 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28158
28159         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28160         (_G_LSEEK64): Likewise.
28161         (_G_MMAP64): Likewise.
28162         (_G_FSTAT64): Likewise.
28163         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28164         (_G_LSEEK64): Likewise.
28165         (_G_MMAP64): Likewise.
28166         (_G_FSTAT64): Likewise.
28167         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28168         unconditional.  Call __mmap64 directly.
28169         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28170         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28171         __lseek64 directly.
28172         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28173         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28174         __mmap64 directly.
28175         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28176         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28177         __lseek64 directly.
28178         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28179         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28180         __lseek64 directly.
28181         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28182         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28183         __lseek64 directly.
28184         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28185         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28186         __fxstat64 directly.
28187         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28188         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28189         unconditional.
28190         (freopen64) [!_G_OPEN64]: Remove conditional code.
28191         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28192         unconditional.
28193         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28194         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28195         unconditional.
28196         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28197         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28198         unconditional.
28199         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28200         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28201         unconditional.
28202         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28203         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28204         unconditional.
28205         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28206         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28207         unconditional.
28208         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28209         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28210         unconditional.
28211         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28212
28213 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28214
28215         [BZ #12140]
28216         * manual/memory.texi (Malloc Tunable Parameters): Add note
28217         about free list pointers overwriting some perturb bytes.
28218         Wording suggested by Roland McGrath.
28219
28220 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28221
28222         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28223         (lgamma_test): Likewise.
28224         (tgamma_test): Likewise.
28225
28226 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28227
28228         [BZ #14700]
28229         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28230         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28231
28232 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28233
28234         * NEWS: Mention BZ #14716.
28235         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28236         when removing AVAILABLE1_USES_J macro.
28237
28238 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28239
28240         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28241         (__bswap_64): __uint64_t for unsigned 64-bit int.
28242
28243 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28244
28245         * include/string.h (memmem): Declare libc hidden alias.
28246         * string/memmem.c (memmem): Define libc hidden alias.
28247         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28248         __read, __close instead of open, read, close.
28249
28250 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28251
28252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28253         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28254         global and hidden.
28255         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28256         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28257         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28258         Likewise.
28259         (__rawmemchr_sse2): Likewise.
28260         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28261         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28262         (__strchr_sse2): Likewise.
28263         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28264         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28265         (__strcasecmp_sse2): Likewise.
28266         (__strncasecmp_sse2): Likewise.
28267         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28268         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28269         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28270         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28271         (__strrchr_sse2): Likewise.
28272         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28273         ifunc-impl-list.c.
28274         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28275         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28276         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28277         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28278         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28279         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28280         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28281         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28282         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28283         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28284         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28285         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28286         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28287         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28288         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28289         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28290         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28291         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28292         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28293         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28294         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28295         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28296         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28297         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28298         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28299         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28300         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28301         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28302         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28303         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28304
28305         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28306         global and hidden.
28307         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28308         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28309         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28310         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28311         Likewise.
28312         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28313         Likewise.
28314         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28315         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28316         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28317         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28318         ifunc-impl-list.c.
28319         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28320         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28321         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28322         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28323         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28324         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28325         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28326         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28327         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28328         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28329         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28330         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28331         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28332         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28333         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28334         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28335         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28336         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28337         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28338         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28339         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28340         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28341         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28342         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28343         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28344         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28345         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28346         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28347         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28348         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28349         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28350         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28351         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28352         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28353         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28354         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28355         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28356         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28357         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28358         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28359         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28360
28361         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28362         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28363         * include/ifunc-impl-list.h: New file.
28364         * misc/ifunc-impl-list.c: Likewise.
28365         * misc/Makefile (routines): Add ifunc-impl-list.
28366         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28367         * string/test-string.h: Include <ifunc-impl-list.h>.
28368         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28369         TEST_NAME]: New variables.
28370         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28371         are defined.
28372         (test_init): Call __libc_ifunc_impl_list to initialize
28373         func_list if TEST_IFUNC and TEST_NAME are defined.
28374
28375         * string/Makefile (strop-tests): Add bcopy and bzero.
28376         * string/test-bcopy.c: New file.
28377         * string/test-bzero.c: Likewise.
28378         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28379         defined.
28380         * string/test-memset.c: Support bzero test if TEST_BZERO is
28381         defined.
28382         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28383         __libc_memmove.
28384         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28385         __libc_memset.
28386         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28387         of memset.
28388
28389 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28390
28391         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28392         * configure: Regenerated.
28393
28394         * Makeconfig (+link-static-before-libc): Don't include
28395         $(link-static-libc).
28396
28397         * libio/libio.h (_IO_pos_t): Remove.
28398
28399 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28400
28401         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28402         McGrath.
28403
28404 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28405
28406         * crypt/crypt-entry.c: Include fips-private.h.
28407         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28408         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28409         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28410         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28411
28412 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28413
28414         * crypt/crypt-private.h: Include stdbool.h.
28415         (_ufc_setup_salt_r): Return bool.
28416         * crypt/crypt-entry.c: Include errno.h.
28417         (__crypt_r): Return NULL with EINVAL for bad salt.
28418         * crypt/crypt_util.c (bad_for_salt): New.
28419         (_ufc_setup_salt_r): Check that salt is long enough and within
28420         the specified alphabet.
28421         * crypt/badsalttest.c: New file.
28422         * crypt/Makefile (tests): Add it.
28423         ($(objpfx)badsalttest): New.
28424
28425 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28426
28427         * NEWS: Add entry for BZ #14602.
28428
28429 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28430
28431         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28432         type-generic.
28433         * math/libm-test.inc: Update comment listing what functions and
28434         macros are tested.
28435         (isgreater_test): New function.
28436         (isgreaterequal_test): Likewise.
28437         (isless_test): Likewise.
28438         (islessequal_test): Likewise.
28439         (islessgreater_test): Likewise.
28440         (isunordered_test): Likewise.
28441         (main): Call the new functions.
28442
28443 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28444
28445         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28446         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28447         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28448         * sysdeps/i386/configure: Regenerated.
28449         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28450         * sysdeps/mach/configure: Regenerated.
28451         * sysdeps/mach/hurd/configure: Regenerated.
28452         * sysdeps/powerpc/configure: Regenerated.
28453         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28454         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28455         * sysdeps/s390/s390-32/configure: Regenerated.
28456         * sysdeps/s390/s390-64/configure: Regenerated.
28457         * sysdeps/sh/configure: Regenerated.
28458         * sysdeps/sparc/configure: Regenerated.
28459         * sysdeps/unix/sysv/linux/configure: Regenerated.
28460         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28461         * sysdeps/x86_64/configure: Regenerated.
28462
28463         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28464         defined.  Don't check if MAP is NULL.
28465
28466 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28467
28468         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28469         (_G_stat64): Likewise.
28470         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28471         (_G_stat64): Likewise.
28472         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28473         instead of struct _G_stat64.
28474         * libio/fileops.c (mmap_remap_check): Likewise.
28475         (decide_maybe_mmap): Likewise.
28476         (_IO_new_file_seekoff): Likewise.
28477         (_IO_file_stat): Likewise.
28478         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28479         _G_off64_t.
28480         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28481         instead of struct _G_stat64.
28482         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28483
28484 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28485
28486         [BZ #14602]
28487         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28488         Replace with ...
28489         (CHECK_EOL): New macro.
28490         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28491         CHECK_EOL.
28492         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28493         Replace with CHECK_EOL.
28494         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28495         Replace with CHECK_EOL.
28496
28497 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28498
28499         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28500         type-generic.
28501         * math/libm-test.inc: Update comment listing what functions and
28502         macros are tested.
28503         (finite_test): New function.
28504         (isinf_test): Likewise.
28505         (isnan_test): Likewise.
28506         (fpclassify_test): Test subnormal input.
28507         (isfinite_test): Likewise.
28508         (isnormal_test): Likewise.
28509         (main): Call the new functions.
28510
28511 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28512
28513         [BZ #14660]
28514         * Makerules (%.dynsym): Force C locale when running
28515         $(OBJDUMP) --dynamic-syms.
28516
28517 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28518
28519         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28520         <stdint.h>.
28521
28522 2012-10-06  David S. Miller  <davem@davemloft.net>
28523
28524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28525         upper 32-bits of the length value in %o2 since we use branch-on-register
28526         tests which consider the entire 64-bit register.
28527
28528 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28529
28530         * string/test-strstr.c (check2): Add a test for page boundary.
28531
28532 2012-10-05  David S. Miller  <davem@davemloft.net>
28533
28534         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28535         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28536         file.
28537         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28538         sysdep_routines.
28539         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28540         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28541         and bzero when HWCAP_SPARC_CRYPTO is present.
28542
28543 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28544
28545         [BZ #14602]
28546         * string/test-strstr.c (check2): New function.
28547         (test_main): Call check2.
28548
28549         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28550         and bug-strchr1.
28551         * string/bug-strcasestr1.c (do_test): Moved to ...
28552         * string/test-strcasestr.c (check1): Here.  New function.
28553         (do_one_test): Break out result checking code into ...
28554         (check_result): This.  New function.
28555         (do_one_test): Call check_result.
28556         (test_main): Call check1.
28557         * string/bug-strchr1.c (do_test): Moved to ...
28558         * string/test-strchr.c (check1): Here.  New function.
28559         (do_one_test): Break out result checking code into ...
28560         (check_result): This.  New function.
28561         (do_one_test): Call check_result.
28562         (test_main): Call check1.
28563         * string/bug-strstr1.c (main): Moved to ...
28564         * string/test-strstr.c (check1): Here.  New function.
28565         (do_one_test): Break out result checking code into ...
28566         (check_result): This.  New function.
28567         (do_one_test): Call check_result.
28568         (test_main): Call check1.
28569         * string/bug-strcasestr1.c: Removed.
28570         * string/bug-strchr1.c: Likewise.
28571         * string/bug-strstr1.c: Likewise.
28572
28573         * elf/Makefile (dl-routines): Add hwcaps.
28574         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28575         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28576         (_dl_important_hwcaps): Moved to ...
28577         * elf/dl-hwcaps.c: Here.  New file.
28578         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28579
28580         [BZ #14557]
28581         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28582         if IS_IN_rtld isn't defined.
28583
28584         * elf/dl-support.c (_dl_sysinfo_map): New.
28585         Include "get-dynamic-info.h" and "setup-vdso.h".
28586         (_dl_non_dynamic_init): Call setup_vdso.
28587         * elf/dynamic-link.h: Don't include <assert.h>.
28588         (elf_get_dynamic_info): Moved to ...
28589         * elf/get-dynamic-info.h: Here.  New file.
28590         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28591         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28592         * elf/setup-vdso.h: Here.  New file.
28593         * elf/rtld.c: Include "setup-vdso.h".
28594         (dl_main): Call setup_vdso.
28595
28596 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28597
28598         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28599         creal in comment listing functions tested.  List finite, isinf,
28600         isnan, isless, islessequal, isgreater, isgreaterequal,
28601         islessgreater, isunordered, lgamma_r and pow10 as functions and
28602         macros not tested.  Mention which functions not tested are aliases
28603         for other functions.  Fix typo.  Note that signs of NaNs are not
28604         tested.
28605
28606         * scripts/config.guess: Update from config.git.
28607         * scripts/config.sub: Likewise.
28608
28609 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28610
28611         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28612         * misc/madvise.c (madvise): Renamed to __madvise.
28613         Make madvise a weak alias.
28614         * include/sys/mman.h: Declare __madvise.
28615         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28616         * sysdeps/unix/syscalls.list
28617         (madvise): Make __madvise the strong name, and madvise a weak alias.
28618         * sysdeps/unix/sysv/linux/syscalls.list
28619         (madvise, mmap): Remove redundant entries.
28620         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28621         * malloc/malloc.c (mtrim): Likewise.
28622         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28623
28624 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28625
28626         * sysdeps/mach/hurd/dl-cache.c: File removed.
28627         * config.h.in (USE_LDCONFIG): New #undef.
28628         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28629         * configure: Regenerated.
28630         * elf/Makefile (dl-routines): Add dl-cache only under
28631         [$(use-ldconfig) = yes].
28632         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28633         cache on [USE_LDCONFIG].
28634         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28635         [USE_LDCONFIG].
28636         * elf/rtld.c (dl_main): Likewise.
28637
28638 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28639
28640         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28641         _SC_LEVEL4_CACHE_LINESIZE.
28642
28643 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28644
28645         * sysdeps/unix/bsd/confstr.h: File removed.
28646
28647 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28648
28649         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28650         sys/sdt-config.h.
28651
28652 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28653
28654         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28655         Make 'mapoff' field ElfW(Off) rather than off_t.
28656
28657 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28658
28659         * nscd/Makefile: Remove nscd-cflags and all its users.
28660         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28661         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28662
28663         [BZ #10631]
28664         * malloc.c (malloc_printerr): Clarify error message.
28665
28666 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28667
28668         [BZ #14648]
28669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28670         Set bit_FMA_Usable if FMA is supported.
28671         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28672         macro.
28673         (bit_FMA4_Usable): Updated.
28674         (index_FMA_Usable): New macro.
28675         (CPUID_FMA): Likewise
28676         (HAS_FMA): Defined with bit_FMA_Usable.
28677
28678 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28679
28680         * bits/types.h (__swblk_t): Type removed.
28681         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28682         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28684         (__SWBLK_T_TYPE): Likewise.
28685         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28686         (__SWBLK_T_TYPE): Likewise.
28687         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28688         (__SWBLK_T_TYPE): Likewise.
28689         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28690         (__SWBLK_T_TYPE): Likewise.
28691
28692 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28693             Honza Horak <hhorak@redhat.com>
28694
28695         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28696         (xdr_mapname): Use YPMAXMAP as maxsize.
28697         (xdr_peername): Use YPMAXPEER as maxsize.
28698         (xdr_keydat): Use YPAXRECORD as maxsize.
28699         (xdr_valdat): Use YPMAXRECORD as maxsize.
28700
28701 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28702
28703         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28704
28705         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28706         * csu/init-first.c: ... here.
28707         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28708         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28709         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28710         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28711         * sysdeps/i386/init-first.c: File removed.
28712         * sysdeps/sh/init-first.c: File removed.
28713
28714 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28715
28716         [BZ #14645]
28717         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28718         if x * y might underflow to zero and z is zero.
28719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28720         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28721         * math/libm-test.inc (min_subnorm_value): New variable.
28722         (fma_test): Add more tests.
28723         (fma_test_towardzero): Likewise.
28724         (fma_test_downward): Likewise
28725         (fma_test_upward): Likewise.
28726         (initialize): Set min_subnorm_value.
28727
28728 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28729
28730         [BZ #14638]
28731         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28732         0 + 0.
28733         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28734         mode for addition resulting in exact zero.
28735         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28736         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28737         exact 0 + 0.
28738         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28740         * math/libm-test.inc (fma_test): Add more tests.
28741         (fma_test_towardzero): New function.
28742         (fma_test_downward): Likewise.
28743         (fma_test_upward): Likewise.
28744         (main): Call the new functions.
28745
28746 2012-09-28  David S. Miller  <davem@davemloft.net>
28747
28748         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28749
28750 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28751
28752         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28753         instead of SIGALRM.
28754
28755         * sysdeps/gnu/_G_config.h: Moved to ...
28756         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28757         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28758         * sysdeps/generic/_G_config.h: ... here.
28759
28760         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28761
28762         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28763
28764         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28765         Conditionalize target on [libnss_test1.so-version].
28766
28767         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28768
28769         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28770         (elfobjdir): Move out of conditionals.
28771
28772         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28773         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28774         (__nss_lookup_function): Conditionalize label remove_from_tree on
28775         [!DO_STATIC_NSS || SHARED], matching its only use.
28776
28777 2012-09-28  David S. Miller  <davem@davemloft.net>
28778
28779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28780         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28781         file.
28782         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28783         sysdep_routines.
28784         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28785         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28786         when HWCAP_SPARC_CRYPTO is present.
28787
28788 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28789
28790         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28791
28792 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28793
28794         [BZ #6530]
28795         * stdio-common/vfprintf.c (process_string_arg): Revert
28796         2000-07-22 change.
28797
28798 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28799
28800         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28801         for testcase.
28802         * stdio-common/tst-sprintf.c: Include <locale.h>
28803         (main): Test sprintf's handling of incomplete multibyte
28804         characters.
28805
28806 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28807
28808         * elf/dl-runtime.c (VERSYMIDX): Removed.
28809         * elf/dl-version.c (VERSYMIDX): Likewise.
28810         * elf/do-rel.h (VERSYMIDX): Likewise.
28811         (VALIDX): Likewise.
28812         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28813         * elf/rtld.c (VALIDX): Likewise.
28814         (ADDRIDX): Likewise.
28815         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28816         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28817         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28818         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28819         (VALIDX): Likewise.
28820         (ADDRIDX): Likewise.
28821
28822 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28823
28824         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28825
28826 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28827
28828         [BZ #11438]
28829         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28830         to global scope.
28831         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28832         addresses are in the same scope as 192.0.2/24.
28833         * posix/gai.conf: Document new scope table defaults.
28834
28835 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836
28837         [BZ #5298]
28838         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28839         for ftell.  Compute offsets from write pointers instead.
28840         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28841
28842 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28843
28844         [BZ #14543]
28845         * libio/Makefile (tests): New test case tst-fseek.
28846         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28847         combination works in wide mode.
28848         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28849         state when the external buffer state changes.
28850
28851 2012-09-27  David S. Miller  <davem@davemloft.net>
28852
28853         [BZ #14376]
28854         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28855         pass reloc->r_addend in as the 'high' argument to
28856         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28857
28858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28859
28860 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28861
28862         * rt/tst-aio2.c: Include <pthread.h>.
28863         * rt/tst-aio3.c: Likewise.
28864
28865 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28866
28867         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28868
28869 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28870
28871         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28872         contents on [SHARED].
28873
28874 2012-09-26  Marek Polacek  <polacek@redhat.com>
28875
28876         [BZ #14530]
28877         [BZ #13741]
28878         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28879         for C++ and GCC <4.3 as well as for non GCC compilers.
28880
28881 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28882
28883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28884
28885 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28886
28887         * Makefile.in (all, install): Declare with .PHONY.
28888         Reported by Michael Hope <michael.hope@linaro.org>.
28889
28890 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28891
28892         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28893         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28894         system header.
28895         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28896         Likewise.
28897         (sydep_routines): Add the new and the internal functions.
28898         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28899         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28901         (GLIBC_2.17): Add the new function.
28902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28903         (GLIBC_2.17): Likewise.
28904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28905         (GLIBC_2.17): Likewise.
28906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28907         (GLIBC_2.17): Likewise.
28908         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28909
28910 2012-09-25  Alan Modra  <amodra@gmail.com>
28911
28912         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28913         Add release barrier before setting once_control to say
28914         initialisation is done.  Add hints on lwarx.  Use macro in
28915         place of isync.
28916         (clear_once_control): Add release barrier.
28917
28918 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28919
28920         [BZ #13629]
28921         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28922         specially.
28923         * math/s_clog10.c (__clog10): Likewise.
28924         * math/s_clog10f.c (__clog10f): Likewise.
28925         * math/s_clog10l.c (__clog10l): Likewise.
28926         * math/s_clogf.c (__clogf): Likewise.
28927         * math/s_clogl.c (__clogl): Likewise.
28928         * math/Makefile (libm-calls): Add x2y2m1.
28929         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28930         (__x2y2m1): Likewise.
28931         (__x2y2m1l): Likewise.
28932         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28933         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28934         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28935         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28936         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28937         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28938         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28939         * sysdeps/i386/fpu/libm-test-ulps: Update.
28940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28941
28942         [BZ #14621]
28943         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28944         int as type of variable DEPTH.
28945         (glob): Use size_t instead of int as type of variables NEWCOUNT
28946         and OLD_PATHC.
28947
28948 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28949
28950         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28951         Add s_sincosf-sse2.
28952         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28953         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28954         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28955         macros for using routine as __sincosf_ia32.
28956         Use macro for function declaration and weak_alias.
28957         * sysdeps/i386/fpu/libm-test-ulps: Update.
28958
28959         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28961
28962         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28963         subnormal argument.
28964         * math/s_cexpf.c (__cexpf): Likewise.
28965         * math/s_csinf.c (__csinf): Likewise.
28966         * math/s_csinhf.c (__csinhf): Likewise.
28967         * math/s_ctanf.c (__ctanf): Likewise.
28968         * math/s_ctanhf.c (__ctanhf): Likewise.
28969         * math/s_ccosh.c (__ccoshf): Likewise.
28970         * math/s_cexp.c (__cexpl): Likewise.
28971         * math/s_csin.c (__csin): Likewise.
28972         * math/s_csinh.c (__csinh): Likewise.
28973         * math/s_ctan.c (__ctan): Likewise.
28974         * math/s_ctanh.c (ctanh): Likewise.
28975         * math/s_ccoshl.c (__ccoshl): Likewise.
28976         * math/s_cexpl.c (__cexpl): Likewise.
28977         * math/s_csinl.c (__csinl): Likewise.
28978         * math/s_csinhl.c (__csinhl): Likewise.
28979         * math/s_ctanl.c (__ctanl): Likewise.
28980         * math/s_ctanhl.c (__ctanhl): Likewise.
28981
28982 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28983
28984         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28985         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28986         (_IO_off_t): Define to __off_t, not _G_off_t.
28987         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28988         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28989         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28990         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28991         type of __dummy and __dummy2 fields.
28992         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28993         (_G_ssize_t): Likewise.
28994         (_G_off_t): Likewise.
28995         (_G_pid_t): Likewise.
28996         (_G_uid_t): Likewise.
28997         (_G_wchar_t): Likewise.
28998         (_G_wint_t): Likewise.
28999         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29000         (_G_ssize_t): Likewise.
29001         (_G_off_t): Likewise.
29002         (_G_pid_t): Likewise.
29003         (_G_uid_t): Likewise.
29004         (_G_wchar_t): Likewise.
29005         (_G_wint_t): Likewise.
29006         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29007         (_G_ssize_t): Likewise.
29008         (_G_off_t): Likewise.
29009         (_G_pid_t): Likewise.
29010         (_G_uid_t): Likewise.
29011         (_G_wchar_t): Likewise.
29012         (_G_wint_t): Likewise.
29013
29014 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29015
29016         * malloc/arena.c: Include malloc-sysdep.h.
29017         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29018         is sufficient to shrink the heap or an unmap is needed.
29019         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29020         new function check_may_shrink_heap.
29021         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29022         new function check_may_shrink_heap.
29023
29024 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29025
29026         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29027         comments.
29028
29029 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29030
29031         * catgets/test-gencat.sh: Add "set -e".
29032         * elf/tst-pathopt.sh: Likewise.
29033         * grp/tst_fgetgrent.sh: Likewise.
29034         * iconvdata/run-iconv-test.sh: Likewise.
29035         * intl/tst-gettext.sh: Likewise.
29036         * intl/tst-gettext2.sh: Likewise.
29037         * intl/tst-gettext4.sh: Likewise.
29038         * intl/tst-gettext6.sh: Likewise.
29039         * intl/tst-translit.sh: Likewise.
29040         * io/ftwtest-sh: Likewise.
29041         * libio/test-freopen.sh: Likewise.
29042         * malloc/tst-mtrace.sh: Likewise.
29043         * posix/globtest.sh: Likewise.
29044         * posix/tst-getconf.sh: Likewise.
29045         * posix/wordexp-tst.sh: Likewise.
29046         * stdio-common/tst-printf.sh: Likewise.
29047         * stdio-common/tst-unbputc.sh: Likewise.
29048         * stdlib/tst-fmtmsg.sh: Likewise.
29049         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29050         * catgets/Makefile: Do not specify -e option when running
29051         testsuite shell scripts.
29052         * elf/Makefile: Likewise.
29053         * grp/Makefile: Likewise.
29054         * iconvdata/Makefile: Likewise.
29055         * intl/Makefile: Likewise.
29056         * io/Makefile: Likewise.
29057         * libio/Makefile: Likewise.
29058         * malloc/Makefile: Likewise.
29059         * posix/Makefile: Likewise.
29060         * stdio-common/Makefile: Likewise.
29061         * stdlib/Makefile: Likewise.
29062         * sysdeps/x86_64/Makefile: Likewise.
29063
29064         * io/ftwtest-sh: Add copyright header.
29065         * posix/globtest.sh: Likewise.
29066         * posix/tst-getconf.sh: Likewise.
29067         * posix/wordexp-tst.sh: Likewise.
29068         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29069
29070 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29071
29072         [BZ #13679]
29073         * Makeconfig (+link): Defined as $(+link-static) if
29074         $(build-shared) isn't yes.
29075         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29076         isn't yes.
29077         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29078
29079         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29080
29081         [BZ #14562]
29082         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29083         new chunk size with MALLOC_ALIGN_MASK.
29084
29085 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29086
29087         [BZ #5044]
29088         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29089         <rounding-mode.h>.
29090         (__printf_fphex): Determine rounding using get_rounding_mode and
29091         round_away.
29092         * stdio-common/tst-printf-round.c (struct hex_test): New
29093         structure.
29094         (hex_tests): New variable.
29095         (test_hex_in_one_mode): New function.
29096         (do_test): Also run tests for hex float output.
29097
29098 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29099
29100         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29101         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29102         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29103         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29104         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29105         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29106         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29107         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29108
29109 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29110
29111         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29112         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29113         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29114         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29115
29116 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29117
29118         [BZ #14579]
29119         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29120         mode only.
29121         * elf/tst-rtld-load-self.sh: New test.
29122         * elf/Makefile: Run it.
29123
29124 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29125
29126         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29127         (tst-writev-ENV): Remove.
29128         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29129
29130 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29131
29132         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29133
29134 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29135
29136         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29137         unconditional.
29138         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29139         Likewise.
29140         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29141         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29142         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29143         Likewise.
29144
29145 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29146
29147         [BZ #14587]
29148         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29149         * config.make.in (have-cpp-asm-debuginfo): Removed.
29150         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29151         * configure: Regenerated.
29152
29153 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29154
29155         [BZ #5044]
29156         * stdio-common/printf_fp.c: Include <stdbool.h> and
29157         <rounding-mode.h>.
29158         (___printf_fp): Determine rounding using get_rounding_mode and
29159         round_away.
29160         * stdio-common/tst-printf-round.c: New file.
29161         * stdio-common/Makefile (tests): Add tst-printf-round.
29162         (link-libm): New variable.
29163         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29164
29165 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29166
29167         [BZ #14576]
29168         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29169         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29170         Likewise.
29171         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29172         Likewise.
29173
29174 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29175
29176         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29177         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29178         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29179         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29180
29181 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29182
29183         [BZ #14518]
29184         * include/rounding-mode.h: New file.
29185         * sysdeps/generic/get-rounding-mode.h: Likewise.
29186         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29187         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29188         (MAX_VALUE): New macro.
29189         (MIN_VALUE): Likewise.
29190         (overflow_value): New function.
29191         (underflow_value): Likewise.
29192         (round_and_return): Use overflow_value and underflow_value to
29193         determine return values in overflow and underflow cases.  Use
29194         round_away to determine rounding depending on rounding mode.
29195         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29196         determine return values in overflow and underflow cases.
29197         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29198         (struct test_results): New structure.
29199         (struct test): Use struct test_results to store expected results
29200         for all rounding modes.
29201         (TEST): Include expected results for all rounding modes.
29202         (test_in_one_mode): New function.
29203         (do_test): Use test_in_one_mode to compute and check results.
29204         Check results for all rounding modes.
29205         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29206         $(link-libm).
29207
29208 2012-12-09  Allan McRae  <allan@archlinux.org>
29209
29210         * sysdeps/i386/fpu/libm-test-ulps: Update
29211
29212 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29213
29214         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29215         (_G_int32_t): Likewise.
29216         (_G_uint16_t): Likewise.
29217         (_G_uint32_t): Likewise.
29218         (_G_HAVE_BOOL): Likewise.
29219         (_G_HAVE_ATEXIT): Likewise.
29220         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29221         (_G_HAVE_IO_FILE_OPEN): Likewise.
29222         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29223         (_G_int32_t): Likewise.
29224         (_G_uint16_t): Likewise.
29225         (_G_uint32_t): Likewise.
29226         (_G_HAVE_BOOL): Likewise.
29227         (_G_HAVE_ATEXIT): Likewise.
29228         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29229         (_G_HAVE_IO_FILE_OPEN): Likewise.
29230         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29231         (_G_int32_t): Likewise.
29232         (_G_uint16_t): Likewise.
29233         (_G_uint32_t): Likewise.
29234         (_G_HAVE_BOOL): Likewise.
29235         (_G_HAVE_ATEXIT): Likewise.
29236         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29237         (_G_HAVE_IO_FILE_OPEN): Likewise.
29238
29239 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29240
29241         * csu/libc-tls.c: Update copyright years.
29242
29243 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29244
29245         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29246         [!_G_USING_THUNKS]: Remove conditional code.
29247         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29248         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29249
29250         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29251         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29252         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29253         (_G_VTABLE_LABEL_PREFIX): Likewise.
29254         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29255         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29256         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29257         (_G_VTABLE_LABEL_PREFIX): Likewise.
29258         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29259         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29260         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29261         (_G_VTABLE_LABEL_PREFIX): Likewise.
29262         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29263
29264 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29265
29266         * libio/Makefile: Include ../Makeconfig before tests.
29267         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29268         only if $(build-shared) is yes.
29269
29270         * iconv/gconv_db.c: Update copyright years.
29271
29272 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29273
29274         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29275         unwind info if defined PIC. Fix special cases description.
29276         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29277
29278         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29279         DP_HI_MASK entry.
29280         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29281
29282 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29283
29284         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29285
29286         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29287         is NULL.
29288
29289         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29290         (LDLIBS-tst-chk4): This.
29291         (LDFLAGS-tst-chk5): Renamed to ...
29292         (LDLIBS-tst-chk5): This.
29293         (LDFLAGS-tst-chk6): Renamed to ...
29294         (LDLIBS-tst-chk6): This.
29295         (LDFLAGS-tst-lfschk4): Renamed to ...
29296         (LDLIBS-tst-lfschk4): This.
29297         (LDFLAGS-tst-lfschk5): Renamed to ...
29298         (LDLIBS-tst-lfschk5): This.
29299         (LDFLAGS-tst-lfschk6): Renamed to ...
29300         (LDLIBS-tst-lfschk6): This.
29301
29302         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29303         on $(common-objpfx)soversions.mk.
29304
29305 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29306
29307         [BZ #10014]
29308         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29309         example host name.
29310
29311 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29312
29313         * malloc/arena.c (arena_get_retry): New function that gets
29314         another arena for the caller to try its request on.
29315         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29316         current arena cannot fulfill the request.
29317         (__libc_memalign): Likewise.
29318         (__libc_memalign): Likewise.
29319         (__libc_pvalloc): Likewise.
29320         (__libc_calloc): Likewise.
29321
29322 2012-09-05  John Tobey  <john.tobey@gmail.com>
29323
29324         [BZ #13542]
29325         * manual/arith.texi (Operations on Complex): Fix description
29326         of carg branch cut.
29327
29328 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29329
29330         [BZ #10014]
29331         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29332         host name.
29333
29334         [BZ #10038]
29335         * manual/memory.texi (Memory): Make order of menu items match
29336         order of sections.
29337
29338 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29339
29340         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29341         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29342         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29343
29344 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29345
29346         * csu/libc-tls.c (static_dtv): Renamed to ...
29347         (_dl_static_dtv): This.  Make it global.
29348         (_dl_initial_dtv): Removed.
29349         (__libc_setup_tls): Updated.
29350         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29351         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29352         DL_INITIAL_DTV.
29353
29354 2012-09-06  Petr Machata  <pmachata@redhat.com>
29355
29356         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29357         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29358         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29359         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29360
29361 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29362
29363         [BZ #14545]
29364         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29365         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29366         freeing dtv[-1].
29367
29368 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29369
29370         [BZ #14544]
29371         * Makeconfig (link-static-before-libc): Replace $(+prector)
29372         with $(+prectorT).
29373         (link-static-after-libc): Replace $(+postctor) with
29374         $(+postctorT).
29375         (link-bounded): Replace $(+prector)/$(+postctor) with
29376         $(+prectorT)/$(+postctorT).
29377         (+prectorT): New macro.
29378         (+postctorT): Likewise.
29379
29380 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29381
29382         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29383         (round_str): Handle values above the maximum for IBM long double
29384         as inexact.
29385         * stdlib/tst-strtod-round.c (tests): Regenerated.
29386
29387 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29388
29389         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29390         assembler flag.
29391         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29392         zarch_nohighgprs around the zarch optimized routines.
29393         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29394         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29395         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29396         for zarch.
29397
29398 2012-09-05  David S. Miller  <davem@davemloft.net>
29399
29400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29401
29402         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29403         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29404         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29405         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29406         entries.
29407
29408 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29409
29410         * malloc/arena.c: Fold copyright years.
29411         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29412
29413 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29414
29415         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29416
29417 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29418
29419         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29420
29421 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29422
29423         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29424         change internal state upon failure.
29425
29426 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29427
29428         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29429         * malloc/memusage.c (mmap): Likewise.
29430         (mmap64, mremap): Likewise.  Adjust name in comment.
29431
29432 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29433
29434         * libio/fileops.c: Fix typos in comments.
29435         * libio/oldfileops.c: Likewise.
29436         * libio/wfileops.c: Likewise.
29437
29438 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29439
29440         [BZ #1349]
29441         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29442         (tst-malloc-usable-ENV): Set environment for test case.
29443         * malloc/hooks.c (malloc_check_get_size): New function to get
29444         requested size.
29445         * malloc/malloc.c (musable): Use malloc_check_get_size.
29446         * malloc/tst-malloc-usable.c: New test case.
29447
29448 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29449
29450         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29451
29452 2012-09-05  Allan McRae  <allan@archlinux.org>
29453
29454         [BZ #13966]
29455         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29456         determine header location.
29457         * configure: Regenerated.
29458
29459 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29460
29461         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29462         float format.
29463         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29464         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29465         format.
29466         (test): Regenerate.
29467
29468 2012-09-04  David S. Miller  <davem@davemloft.net>
29469
29470         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29471         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29472         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29473
29474 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29475
29476         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29477         failures.
29478
29479         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29480
29481 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29482
29483         [BZ #9914]
29484         * libio/iogetdelim.c: Include <limits.h>.
29485         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29486         + len + 1 would overflow.
29487
29488 2012-09-03  Andreas Jaeger  <aj@suse.de>
29489
29490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29491         * sysdeps/i386/fpu/libm-test-ulps: Update.
29492
29493 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29494
29495         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29496         Add s_sinf-sse2, s_conf-sse2.
29497
29498         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29499         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29500         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29501         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29502
29503         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29504         for using routine as __sinf_ia32.
29505         Use macro for function declaration and weak_alias.
29506         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29507         for using routine as __cosf_ia32.
29508         Use macro for function declaration and weak_alias.
29509
29510         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29511         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29512
29513         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29514         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29516
29517         * math/libm-test.inc (cos_test): Add more test cases.
29518         (sin_test): Likewise.
29519         (sincos_test): Likewise.
29520
29521 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29522
29523         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29524         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29525         hidden.
29526         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29527
29528 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29529
29530         [BZ #14538]
29531         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29532         first element of the GOT.
29533         (elf_machine_load_address): Return the difference between
29534         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29535
29536 2012-09-01  Allan McRae  <allan@archlinux.org>
29537
29538         [BZ #13412]
29539         * configure.in (AWK): Require gawk version 3.0 or later.
29540         * configure: Regenerated.
29541
29542 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29543
29544         * sysdeps/unix/sysv/linux/kernel-features.h
29545         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29546         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29547         [__NR_clock_getres]: Make code unconditional.
29548         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29549         (clock_getcpuclockid): Remove code left unreachable by removal of
29550         conditionals.
29551         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29552         code unconditional.
29553         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29554         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29555         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29556         Make code unconditional.
29557         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29558         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29559         * sysdeps/unix/sysv/linux/clock_settime.c
29560         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29561         conditional code.
29562         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29563         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29564
29565 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29566
29567         [BZ #14476]
29568         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29569         scripts/test-installation.pl.
29570
29571         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29572         and $ld_so_version if it is set.
29573
29574 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29575
29576         [BZ #14516]
29577         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29578         failure if reading from procfs failed.
29579         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29580
29581 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29582
29583         * sysdeps/unix/sysv/linux/kernel-features.h
29584         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29585         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29586         Remove conditional code.
29587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29588         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29589         Remove conditional code.
29590         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29591         * sysdeps/unix/sysv/linux/i386/fxstat.c
29592         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29593         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29594         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29595         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29596         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29597         * sysdeps/unix/sysv/linux/i386/lxstat.c
29598         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29599         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29600         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29601         Remove conditional code.
29602         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29603         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29604         Remove conditional code.
29605         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29606         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29607         <kernel-features.h>.
29608         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29609         Remove.
29610         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29611         Remove conditional code.
29612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29613         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29614         Remove conditional.
29615
29616 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29617
29618         [BZ #5400]
29619         * NEWS: Add fixed bug number.
29620
29621 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29622
29623         [BZ #14519]
29624         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29625         underflowing exponent in case of negative sign.
29626         * stdlib/tst-strtod-round-data: Add more tests.
29627         * stdlib/tst-strtod-round.c (tests): Regenerated.
29628
29629         [BZ #3479]
29630         * stdlib/strtod_l.c (NDIG): Remove.
29631         (HEXNDIG): Likewise.
29632         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29633         smallest representable value.
29634         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29635         lie within an exact representation of 1/2 ulp of the result.
29636         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29637         unconditionally.
29638         (TENS_P9_IDX): Define unconditionally.
29639         (TENS_P9_SIZE): Likewise.
29640         (TENS_P10_IDX): Likewise.
29641         (TENS_P10_SIZE): Likewise.
29642         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29643         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29644         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29645         entries for 10^2^13 and 10^2^14.
29646         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29647         (TENS_P13_IDX): Define.
29648         (TENS_P13_SIZE): Likewise.
29649         (TENS_P14_IDX): Likewise.
29650         (TENS_P14_SIZE): Likewise.
29651         (_fpioconst_pow10): Change array size to
29652         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29653         unconditional.
29654         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29655         1024]: Add entries for 10^2^13 and 10^2^14.
29656         [LAST_POW10 > _LAST_POW10]: Remove #error.
29657         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29658         (_fpioconst_pow10): Change array size to
29659         FPIOCONST_POW10_ARRAY_SIZE.
29660         * stdlib/gen-fpioconst.c: New file.
29661         * stdlib/gen-tst-strtod-round.c: Likewise.
29662         * stdlib/tst-strtod-round-data: Likewise.
29663         * stdlib/tst-strtod-round.c: Likewise.
29664         * stdlib/Makefile (tests): Add tst-strtod-round.
29665
29666         [BZ #14459]
29667         * stdlib/strtod_l.c: Include <stdint.h>.
29668         (NDEBUG): Do not define.
29669         (round_and_return): Change EXPONENT parameter to type intmax_t.
29670         Rearrange calculations to avoid internal overflow possibilities.
29671         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29672         Rearrange calculations to avoid internal overflow possibilities.
29673         Assert that number fits inside MPNSIZE limbs.
29674         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29675         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29676         calculations and add assertions to avoid internal overflow
29677         possibilities.  Add casts to avoid signed/unsigned operations.
29678         * stdlib/tst-strtod-overflow.c: New file.
29679         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29680
29681 2012-08-25  Marek Polacek  <polacek@redhat.com>
29682
29683         * time/time.h: Fix some typos in comments.
29684
29685 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29686
29687         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29688         * posix/tst-rfc3484-2.c: Likewise.
29689         * posix/tst-rfc3484-3.c: Likewise.
29690
29691 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29692
29693         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29694         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29695
29696 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29697
29698         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29699         #include of fxstatat64.c.
29700
29701 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29702
29703         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29704         * shadow/getspent_r.c: Likewise.
29705         * shadow/getspnam.c: Likewise.
29706         * shadow/getspnam_r.c: Likewise.
29707         * gshadow/getsgent.c: Likewise.
29708         * gshadow/getsgent_r.c: Likewise.
29709         * gshadow/getsgnam.c: Likewise.
29710         * gshadow/getsgnam_r.c: Likewise.
29711         * inet/getnetbyad.c: Likewise.
29712         * inet/getnetbyad_r.c: Likewise.
29713         * inet/getnetbynm.c: Likewise.
29714         * inet/getnetbynm_r.c: Likewise.
29715         * inet/getnetent.c: Likewise.
29716         * inet/getnetent_r.c: Likewise.
29717         * inet/getproto.c: Likewise.
29718         * inet/getproto_r.c: Likewise.
29719         * inet/getprtent.c: Likewise.
29720         * inet/getprtent_r.c: Likewise.
29721         * inet/getprtname.c: Likewise.
29722         * inet/getprtname_r.c: Likewise.
29723         * inet/getrpcbyname.c: Likewise.
29724         * inet/getrpcbyname_r.c: Likewise.
29725         * inet/getrpcbynumber.c: Likewise.
29726         * inet/getrpcbynumber_r.c: Likewise.
29727         * inet/getrpcent.c: Likewise.
29728         * inet/getrpcent_r.c: Likewise.
29729         * inet/getaliasent.c: Likewise.
29730         * inet/getaliasent_r.c: Likewise.
29731         * inet/getaliasname.c: Likewise.
29732         * inet/getaliasname_r.c: Likewise.
29733         * nscd/getgrgid_r.c: Likewise.
29734         * nscd/getgrnam_r.c: Likewise.
29735         * nscd/gethstbyad_r.c: Likewise.
29736         * nscd/gethstbynm3_r.c: Likewise.
29737         * nscd/getpwnam_r.c: Likewise.
29738         * nscd/getpwuid_r.c: Likewise.
29739         * nscd/getsrvbynm_r.c: Likewise.
29740         * nscd/getsrvbypt_r.c: Likewise.
29741         * nscd/gai.c: Likewise.
29742
29743         * configure.in (build_nscd): New substituted variable, set
29744         by --disable-build-nscd and defaults to $use_nscd.
29745         * configure: Regenerated.
29746         * config.make.in (build-nscd): New substituted variable.
29747         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29748         Change conditional to require [$(build-nscd) = yes] as well.
29749         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29750
29751         [BZ# 13696]
29752         * configure.in (use_nscd): New substituted variable, set by
29753         --disable-nscd.  If enabled, define USE_NSCD.
29754         * configure: Regenerated.
29755         * config.h.in: Add USE_NSCD.
29756         * config.make.in (use-nscd): New substituted variable.
29757         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29758         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29759         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29760         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29761         (CFLAGS-getgrnam_r.c): Likewise.
29762         (CFLAGS-initgroups.c): Likewise.
29763         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29764         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29765         Variables removed.
29766         * inet/getnetgrent_r.c
29767         (nscd_setnetgrent): New function, broken out of ...
29768         (setnetgrent): ... here.  Call it.
29769         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29770         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29771         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29772         * nscd/Makefile (routines, aux): Move definitions after include of
29773         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29774         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29775         Conditionalize on [USE_NSCD].
29776         (is_nscd, nscd_init_cb): Likewise.
29777         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29778         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29779         * nss/nss_db/db-init.c: Likewise.
29780         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29781         [USE_NSCD].
29782         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29783         (make_request): Use it.
29784         (cache_valid_p): New function.
29785         (__check_pf): Use it.
29786         * NEWS: Add item for --disable-nscd.
29787
29788 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29789
29790         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29791         to support sed >= 4.2.1-20-ga9bf076.
29792         * configure: Regenerated.
29793
29794 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29795
29796         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29797         Conditionalize whole body on [IREL].
29798
29799 2012-08-22  Jeff Law <law@redhat.com>
29800
29801         [BZ #14505]
29802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29803         if the family is PF_UNSPEC.
29804
29805 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29806
29807         * Makerules (lib-version): Rename from V.
29808         (install-lib-nosubdir): Change V to lib-version.
29809
29810 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29811
29812         [BZ #14252]
29813         * powerpc32/power6/wcschr.c: New file.
29814         * powerpc32/power6/wcscpy.c: New file.
29815         * powerpc32/power6/wcsrchr.c: New file.
29816         * powerpc64/power6/wcschr.c: New file.
29817         * powerpc64/power6/wcscpy.c: New file.
29818         * powerpc64/power6/wcsrchr.c: New file.
29819
29820 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29821
29822         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29823         (two_way_short_needle): Use it.
29824         * string/strstr.c (AVAILABLE1_USES_J): Define.
29825         * string/strcasestr.c: Likewise.
29826
29827         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29828         array references.
29829         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29830
29831         [BZ #11607]
29832         * NEWS: Add an entry.
29833         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29834         define their defaults.
29835         (two_way_short_needle): Detect end-of-string on-the-fly.
29836         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29837         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29838         * string/bug-strcasestr1.c: New test.
29839         * string/Makefile: Run it.
29840
29841 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29842
29843         [BZ #11607]
29844         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29845         the first character.
29846
29847 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29848
29849         * csu/elf-init.c (__libc_csu_irel): Function removed.
29850         * csu/libc-start.c (apply_irel): New function.
29851         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29852
29853 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29854
29855         * sysdeps/unix/sysv/linux/kernel-features.h
29856         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29857         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29858         <kernel-features.h>.
29859         [__NR_fadvise64_64]: Make code unconditional.
29860         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29861         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29862         !__NR_fadvise64_64)]: Likewise.
29863         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29864         !__NR_fadvise64_64))]: Likewise.
29865         [__NR_fadvise64]: Make code unconditional.
29866         [!__NR_fadvise64]: Remove conditional code.
29867         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29868         <kernel-features.h>.
29869         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29870         unconditional.
29871         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29872         conditional code.
29873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29874         not include <kernel-features.h>.
29875         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29876         unconditional.
29877         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29878         conditional code.
29879         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29880         include <kernel-features.h>.
29881         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29882         unconditional.
29883         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29884         conditional code.
29885
29886 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29887
29888         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29889         slight instruction rearrangements per scrollpipe analysis.
29890         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29891
29892 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29893
29894         * manual/syslog.texi (syslog; vsyslog, closelog):
29895         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29896         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29897
29898         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29899         DSOCAPS to match condition on defining it.
29900
29901 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29902
29903         * sysdeps/unix/sysv/linux/kernel-features.h
29904         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29906         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29907         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29909         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29910         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29912         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29913         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29914
29915         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29916         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29917
29918         * sysdeps/unix/sysv/linux/kernel-features.h
29919         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29920         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29921         unconditional.
29922         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29923         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29924         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29925         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29926         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29927         Make code unconditional.
29928         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29929         (__mmap64) [!__NR_mmap2]: Likewise.
29930         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29931         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29932         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29933         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29934         [__NR_mmap2]: Make code unconditional.
29935         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29936         (__mmap64) [!__NR_mmap2]: Likewise.
29937
29938 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29939
29940         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29941
29942 2012-08-18  Andreas Jaeger  <aj@suse.de>
29943
29944         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29945
29946 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29947
29948         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29949         * include/unistd.h (__have_sock_cloexec): Likewise.
29950         (__have_pipe2): Likewise.
29951         (__have_dup3): Likewise.
29952
29953 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29954
29955         [BZ #9685]
29956         * include/unistd.h (__have_pipe2): Change define into an extern int.
29957         (__have_dup3): Likewise.
29958         * socket/have_sock_cloexec.c: Include fcntl.h.
29959         (__have_pipe2): New variable.
29960         (__have_dup3): Likewise.
29961
29962 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29963
29964         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29965
29966 2012-08-17  Marek Polacek  <polacek@redhat.com>
29967
29968         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29969         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29970
29971 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29972
29973         * configure.in: Add AC_SUBST for sysheaders.
29974         * configure: Regenerated.
29975         * config.make.in (sysheaders): New substituted variable.
29976
29977         * sysdeps/unix/mkfifo.c: Moved ...
29978         * sysdeps/posix/mkfifo.c: ... here.
29979         * sysdeps/unix/mkfifoat.c: Moved ...
29980         * sysdeps/posix/mkfifoat.c: ... here.
29981
29982         * sysdeps/unix/utime.c: Moved ...
29983         * sysdeps/posix/utime.c: ... here.
29984
29985         * sysdeps/unix/time.c: Moved ...
29986         * sysdeps/posix/time.c: ... here.
29987         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29988         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29989
29990         * sysdeps/unix/nice.c: Moved ...
29991         * sysdeps/posix/nice.c: ... here.
29992
29993         * sysdeps/unix/alarm.c: Moved ...
29994         * sysdeps/posix/alarm.c: ... here.
29995
29996         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29997
29998 2012-08-17  Jeff Law <law@redhat.com>
29999
30000         * intl/Makefile (codeset_mo): New variable.
30001         ($(codeset_mo)): New target.
30002         (tst-codeset.out): Depend on that.  Remove explicit rule.
30003         (tst-gettext3.out, tst-gettext5.out): Likewise.
30004         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30005         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30006         * intl/tst-codeset.sh: Remove.
30007         * intl/tst-gettext3.sh: Likewise.
30008         * intl/tst-gettext5.sh: Likewise.
30009
30010 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30011
30012         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30013         * sysdeps/unix/syscalls.list: ... here.
30014
30015         * sysdeps/posix/getaddrinfo.c
30016         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30017         (gaiconf_init, gaiconf_reload): Use them.
30018         [!_STATBUF_ST_NSEC]
30019         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30020         Define using time_t rather than struct timespec.
30021
30022         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30023         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30024         Macros removed.
30025         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30026         [!NO_THREADS].
30027         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30028         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30029         Likewise.
30030
30031         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30032         __libc_cleanup_push argument.
30033
30034         * bits/param.h: New file.
30035         * misc/sys/param.h: New file.
30036         * include/sys/param.h: New file.
30037         * misc/Makefile (headers): Add bits/param.h.
30038         * sysdeps/generic/sys/param.h: File removed.
30039         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30040         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30041         * sysdeps/mach/hurd/bits/param.h: New file.
30042         * sysdeps/mach/hurd/sys/param.h: File removed.
30043
30044         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30045         last change.
30046
30047         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30048         [_IO_MTSAFE_IO].
30049         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30050         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30051         New macros.
30052
30053         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30054         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30055         rather than -D_IO_MTSAFE_IO conditionally.
30056         * stdio-common/Makefile (CPPFLAGS): Likewise.
30057         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30058         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30059         Use $(libio-mtsafe).
30060         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30061         of -D_IO_MTSAFE_IO.
30062         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30063         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30064         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30065         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30066         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30067         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30068         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30069         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30070         (CFLAGS-fread_u_chk.c): Likewise.
30071         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30072         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30073         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30074         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30075         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30076         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30077         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30078         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30079         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30080
30081         * libio/Makefile: Test [$(libc-reentrant) = yes]
30082         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30083
30084         * Makeconfig
30085         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30086         * sysdeps/pthread/configure: File removed.
30087         * sysdeps/pthread/Makeconfig: New file.
30088         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30089         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30090
30091 2012-08-16  Gary Benson  <gbenson@redhat.com>
30092
30093         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30094         unmapping the first object in a namespace.
30095
30096 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30097
30098         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30099         (__internal_setnetgrent): ... this.  Add internal_function to
30100         definition.  Add libc_hidden_def.
30101         (setnetgrent): Update caller.
30102         (internal_endnetgrent): Renamed to ...
30103         (__internal_endnetgrent): ... this.  Add internal_function to
30104         definition.  Add libc_hidden_def.
30105         (endnetgrent): Update caller.
30106         (internal_getnetgrent_r): Renamed to ...
30107         (__internal_getnetgrent_r): ... this.  Add internal_function to
30108         definition.  Add libc_hidden_def.
30109         (__getnetgrent_r): Update caller.
30110         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30111
30112 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30113
30114         * stdlib/longlong.h: Update from GCC.
30115
30116 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30117
30118         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30119         on _QL, which is set by umul_ppmm but never used.
30120         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30121         variables, which are set by GMP macros but never used.
30122         * stdio-common/_itowa.c (_itowa): Likewise.
30123         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30124         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30125
30126 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30127
30128         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30129         struct La_sh_regs is not constant.
30130         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30131         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30132         and struct La_sparc64_regs are not constant.
30133
30134 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30135
30136         * sysdeps/unix/sysv/linux/kernel-features.h
30137         (__ASSUME_POSIX_TIMERS): Remove.
30138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30139         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30140         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30141         Make code unconditional.
30142         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30143         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30144         Make code unconditional.
30145         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30146         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30147         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30148         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30149         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30150         Make code unconditional.
30151         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30152         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30153         (__libc_missing_posix_timers): Remove.
30154
30155 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30156
30157         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30158         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30159
30160         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30161
30162         * elf/dl-sym.c: Include <stdlib.h>.
30163
30164         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30165         constants, which avoids warnings in 32-bit builds.
30166
30167         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30168         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30169
30170         * misc/lseek.c: File moved to ...
30171         * io/lseek.c: ... here.
30172
30173         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30174
30175         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30176         shifting LEN more than 31 bits at once.
30177
30178 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30179
30180         [BZ #14195]
30181         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30182         segmentation fault for a case of two empty input strings.
30183         * string/test-strncasecmp.c (check1): Renamed to...
30184         (bz12205): ...this.
30185         (bz14195): Add new testcase for two empty input strings and N > 0.
30186         (test_main): Call new testcase, adapt for renamed function.
30187
30188 2012-08-15  Andreas Jaeger  <aj@suse.de>
30189
30190         [BZ #14090]
30191         * crypt/md5test2.c: New test, based on test supplied by Serge
30192         Belyshev <belyshev@depni.sinp.msu.ru>.
30193         * crypt/Makefile (xtests): Add md5test-giant..
30194         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30195
30196 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30197
30198         [BZ #14090]
30199         * crypt/md5.c (md5_process_block): Don't assume the buffer
30200         length is less than 2**32.
30201         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30202         length is less than 2**64.
30203
30204 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30205
30206         * string/str-two-way.h: Include <sys/param.h>.
30207         (MAX): Macro removed.
30208
30209         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30210         Move #define and #undef of memmove to just before and after
30211         including <string.h>.
30212
30213         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30214         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30215         and after including <string.h>.  Move declarations of
30216         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30217         to before #include "string/memmove.c".
30218
30219         * include/dirent.h: Declare __getdirentries.
30220
30221         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30222         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30223
30224 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30225
30226         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30227         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30228         * sysdeps/i386/configure: Regenerated.
30229         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30230         STABS_CURRENT_FILE, and STABS_FUN.
30231         (END): Remove call to STABS_FUN_END.
30232         (STABS_CURRENT_FILE1): Delete.
30233         (STABS_CURRENT_FILE): Likewise.
30234         (STABS_FUN): Likewise.
30235         (STABS_FUN_END): Likewise.
30236         (STABS_FUN2): Likewise.
30237         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30238         * sysdeps/x86_64/configure: Regenerated.
30239
30240 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30241
30242         * elf/dl-open.c: Include <atomic.h>.
30243         * elf/dl-lookup.c: Likewise.
30244
30245 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30246
30247         * sysdeps/unix/sysv/linux/kernel-features.h
30248         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30249         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30250         unconditionally.
30251         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30252         unconditionally.
30253         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30254         condition on __ASSUME_CLONE_THREAD_FLAGS.
30255
30256 2012-08-14  Andreas Jaeger  <aj@suse.de>
30257
30258         * sysdeps/i386/fpu/libm-test-ulps: Update.
30259
30260 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30261
30262         * include/atomic.h (atomic_exchange_and_add): Split into ...
30263         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30264         New atomic macros.
30265
30266 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30267
30268         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30269
30270 2012-08-13  Jeff Law <law@redhat.com>
30271
30272         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30273         null byte in the output string.
30274
30275 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30276
30277         * sysdeps/unix/sysv/linux/kernel-features.h
30278         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30279         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30280         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30281         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30282         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30283         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30284         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30285
30286 2012-08-09  Jeff Law <law@redhat.com>
30287
30288         [BZ #13939]
30289         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30290         When avoid_arena is set, don't retry in the that arena.  Pick the
30291         next one, whatever it might be.
30292         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30293         (arena_lock): Pass in new parameter to arena_get2.
30294         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30295         arena_get2.
30296         (__libc_malloc): Unify retrying after main arena failure with
30297         __libc_memalign version.
30298         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30299
30300 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30301
30302         [BZ #14166]
30303         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30304         to __redirect_strstr.
30305         (__strstr_sse42): Use typeof __redirect_strstr.
30306         (__strstr_ia32): Likewise.
30307         (__libc_strstr): New prototype.
30308         (strstr): Renamed to ...
30309         (__libc_strstr): This.
30310         (strstr): New strong alias of __libc_strstr.
30311         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30312         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30313         __redirect_time.
30314         Include <time.h>.
30315         (__libc_time): New prototype.
30316         (time_ifunc): Replace time with __libc_time.
30317         (time): New strong alias and hidden definition of __libc_time.
30318         (__GI_time): Remove strong alias.
30319         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30320         Include <stddef.h>.
30321         (memmove): Redefined to __redirect_memmove.
30322         (__memmove_sse2): Use typeof __redirect_memmove.
30323         (__memmove_ssse3): Likewise.
30324         (__memmove_ssse3_back): Likewise.
30325         (__libc_memmove): New prototype.
30326         (memmove): Renamed to ...
30327         (__libc_memmove): This.
30328         (memmove): New strong alias of __libc_memmove.
30329
30330 2012-08-08  Mark Salter  <msalter@redhat.com>
30331
30332         * elf/elf.h
30333         (R_MN10300_TLS_GD): Define.
30334         (R_MN10300_TLS_LD): Likewise.
30335         (R_MN10300_TLS_LDO): Likewise.
30336         (R_MN10300_TLS_GOTIE): Likewise.
30337         (R_MN10300_TLS_IE): Likewise.
30338         (R_MN10300_TLS_LE): Likewise.
30339         (R_MN10300_TLS_DTPMOD): Likewise.
30340         (R_MN10300_TLS_DTPOFF): Likewise.
30341         (R_MN10300_TLS_TPOFF): Likewise.
30342         (R_MN10300_SYM_DIFF): Likewise.
30343         (R_MN10300_ALIGN): Likewise.
30344         (R_MN10300_NUM): Update.
30345
30346 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30347
30348         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30349         Remove.
30350
30351 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30352
30353         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30354
30355         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30356         sysdeps/unix -> sysdeps/posix move.
30357         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30358
30359 2012-08-07      Allan McRae     <allan@archlinux.org>
30360
30361         [BZ #14303]
30362         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30363         (SUNOS_CPP): Likewise.
30364         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30365         not found.
30366         (open_input): Call CPP using execvp.
30367
30368 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30369
30370         * sysdeps/unix/sysv/linux/kernel-features.h
30371         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30372         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30373         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30374         (__ASSUME_WAITID_SYSCALL): Likewise.
30375         * sysdeps/unix/sysv/linux/dl-execstack.c
30376         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30377         code unconditional.
30378         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30379         conditional code.
30380         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30381         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30382         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30383         code.
30384         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30385         unconditional.
30386         [__ASSUME_WAITID_SYSCALL]: Likewise.
30387         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30388
30389 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30390
30391         * sysdeps/unix/closedir.c: Renamed to ...
30392         * sysdeps/posix/closedir.c: ... here.
30393         * sysdeps/unix/dirfd.c: Renamed to ...
30394         * sysdeps/posix/dirfd.c: ... here.
30395         * sysdeps/unix/dirstream.h: Renamed to ...
30396         * sysdeps/posix/dirstream.h: ... here.
30397         * sysdeps/unix/fdopendir.c: Renamed to ...
30398         * sysdeps/posix/fdopendir.c: ... here.
30399         * sysdeps/unix/opendir.c: Renamed to ...
30400         * sysdeps/posix/opendir.c: ... here.
30401         * sysdeps/unix/readdir.c: Renamed to ...
30402         * sysdeps/posix/readdir.c: ... here.
30403         * sysdeps/unix/readdir_r.c: Renamed to ...
30404         * sysdeps/posix/readdir_r.c: ... here.
30405         * sysdeps/unix/rewinddir.c: Renamed to ...
30406         * sysdeps/posix/rewinddir.c: ... here.
30407         * sysdeps/unix/seekdir.c: Renamed to ...
30408         * sysdeps/posix/seekdir.c: ... here.
30409         * sysdeps/unix/telldir.c: Renamed to ...
30410         * sysdeps/posix/telldir.c: ... here.
30411         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30412         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30413         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30414         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30415
30416         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30417         * bits/fcntl.h: ... here.
30418
30419         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30420         not 0.
30421         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30422         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30423         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30424         (struct flock): Move l_start, l_len to the beginning.
30425         Use __pid_t for l_pid.
30426         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30427         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30428         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30429         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30430         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30431         [__USE_LARGEFILE64] (struct flock64): New type.
30432         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30433
30434         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30435         * bits/dirent.h: ... here.
30436
30437         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30438         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30439
30440 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30441
30442         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30443         Change from 2.6.0 to 2.6.16.
30444         * sysdeps/unix/sysv/linux/configure: Regenerated.
30445         * sysdeps/unix/sysv/linux/kernel-features.h
30446         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30447         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30448         version.
30449         (__ASSUME_UTIMES): Likewise.
30450         (__ASSUME_CLONE_STOPPED): Remove.
30451         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30452         architectures, not kernel version.
30453         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30454         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30455         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30456         (__ASSUME_WAITID_SYSCALL): Likewise.
30457         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30458         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30459         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30460         refer to older versions.
30461
30462 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30463
30464         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30465         Define alphasort64 as an alias.
30466         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30467         Define versionsort64 as an alias.
30468         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30469         Define scandir64 as an alias.
30470         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30471         Define scandirat64 as an alias.
30472         * dirent/alphasort64.c (alphasort64):
30473         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30474         * dirent/versionsort64.c: Likewise.
30475         * dirent/scandir64.c: Likewise.
30476         * dirent/scandirat64.c: Likewise.
30477         * sysdeps/wordsize-64/alphasort.c: File removed.
30478         * sysdeps/wordsize-64/alphasort64.c: File removed.
30479         * sysdeps/wordsize-64/scandir.c: File removed.
30480         * sysdeps/wordsize-64/scandir64.c: File removed.
30481         * sysdeps/wordsize-64/scandirat.c: File removed.
30482         * sysdeps/wordsize-64/scandirat64.c: File removed.
30483         * sysdeps/wordsize-64/versionsort.c: File removed.
30484         * sysdeps/wordsize-64/versionsort64.c: File removed.
30485         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30486         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30487         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30488         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30489         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30490         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30491         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30492         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30493
30494         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30495         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30496         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30498         [defined __arch64__ || defined __sparcv9]
30499         (__INO_T_MATCHES_INO64_T): New macro.
30500         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30501         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30502         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30503         * sysdeps/unix/sysv/linux/bits/dirent.h
30504         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30505         (_DIRENT_MATCHES_DIRENT64): New macro.
30506
30507         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30508         Define lockf64 as an alias.
30509         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30510         Define fseeko64 as an alias.
30511         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30512         Define ftello64 as an alias.
30513         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30514         Define _IO_fgetpos64 and fgetpos64 as aliases.
30515         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30516         Define _IO_fsetpos64 and fsetpos64 as aliases.
30517         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30518         Conditionalize body on this.
30519         * libio/fseeko64.c: Likewise.
30520         * libio/ftello64.c: Likewise.
30521         * libio/iofgetpos64.c: Likewise.
30522         * libio/iofsetpos64.c: Likewise.
30523         * sysdeps/wordsize-64/lockf.c: File removed.
30524         * sysdeps/wordsize-64/lockf64.c: File removed.
30525         * sysdeps/wordsize-64/fseeko.c: File removed.
30526         * sysdeps/wordsize-64/fseeko64.c: File removed.
30527         * sysdeps/wordsize-64/ftello.c: File removed.
30528         * sysdeps/wordsize-64/ftello64.c: File removed.
30529         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30530         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30531         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30532         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30533         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30534         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30535         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30536         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30537         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30538         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30539         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30540         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30541         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30542         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30543
30544         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30545         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30546         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30547         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30548         [defined __arch64__ || defined __sparcv9]
30549         (__OFF_T_MATCHES_OFF64_T): New macro.
30550         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30551         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30552         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30553         (__OFF_T_MATCHES_OFF64_T): New macro.
30554
30555 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30556
30557         * stdlib/secure-getenv.c (__secure_getenv): Replace
30558         GLIBC_2_16 with GLIBC_2_17.
30559
30560 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30561
30562         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30563         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30564
30565 2012-08-03  David S. Miller  <davem@davemloft.net>
30566
30567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30568
30569 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30570
30571         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30572         Remove.
30573         (__ASSUME_CORRECT_SI_PID): Likewise.
30574         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30575         (__ASSUME_TMPFS_NAME): Likewise.
30576         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30577         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30578         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30579         (HAVE_AUX_SECURE): Make definition unconditional.
30580         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30581         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30582
30583 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30584
30585         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30586         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30587         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30588         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30589         __eloop_threshold instead of SYMLOOP_MAX.
30590
30591         * sysdeps/generic/eloop-threshold.h: New file.
30592         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30593         of MAXSYMLINKS.
30594         * elf/chroot_canon.c (chroot_canon): Likewise.
30595
30596 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30597
30598         [BZ #13717]
30599         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30600         Change to 2.6.0 everywhere.
30601         * sysdeps/unix/sysv/linux/configure: Regenerated.
30602         * sysdeps/unix/sysv/linux/kernel-features.h
30603         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30604         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30605         kernel versions.
30606         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30607         (__ASSUME_FUTEX_REQUEUE): Remove.
30608         (__ASSUME_STATFS64): Define unconditionally.
30609         (__ASSUME_AT_SECURE): Likewise.
30610         (__ASSUME_CORRECT_SI_PID): Likewise.
30611         (__ASSUME_TGKILL): Define without depending on kernel version for
30612         i386.
30613         (__ASSUME_UTIMES): Likewise.
30614         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30615         kernel version.
30616         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30617         (__ASSUME_TMPFS_NAME): Likewise.
30618         * README: Update reference to Linux kernel versions.
30619
30620 2012-08-02  Marek Polacek  <polacek@redhat.com>
30621
30622         [BZ# 14150]
30623         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30624         libc_cv_asm_type_prefix with %.
30625         * configure: Regenerated.
30626         * include/libc-symbols.h: Remove comment about
30627         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30628         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30629         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30630         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30631         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30632         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30633         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30634         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30635         * elf/tst-unique2mod1.c: Likewise.
30636         * elf/tst-unique1mod2.c: Likewise.
30637         * elf/tst-unique1mod1.c: Likewise.
30638         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30639         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30640         Replace ASM_TYPE_DIRECTIVE with .type.
30641         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30642         * sysdeps/i386/sysdep.h: Likewise.
30643         * sysdeps/x86_64/sysdep.h: Likewise.
30644         * sysdeps/sh/sysdep.h: Likewise.
30645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30646         Do not define ASM_TYPE_DIRECTIVE.
30647         * sysdeps/powerpc/sysdep.h: Likewise.
30648         * sysdeps/powerpc/powerpc32/sysdep.h:
30649         Replace ASM_TYPE_DIRECTIVE with .type.
30650         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30651         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30652         * sysdeps/i386/fpu/e_powf.S: Likewise.
30653         * sysdeps/i386/fpu/e_expl.S: Likewise.
30654         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30655         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30656         * sysdeps/i386/fpu/e_pow.S: Likewise.
30657         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30658         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30659         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30660         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30661         * sysdeps/i386/fpu/e_log2.S: Likewise.
30662         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30663         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30664         * sysdeps/i386/fpu/e_powl.S: Likewise.
30665         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30666         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30667         * sysdeps/i386/fpu/e_logl.S: Likewise.
30668         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30669         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30670         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30671         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30672         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30673         * sysdeps/i386/fpu/e_log.S: Likewise.
30674         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30675         * sysdeps/i386/fpu/e_logf.S: Likewise.
30676         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30677         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30678         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30679         * sysdeps/i386/fpu/e_log10.S: Likewise.
30680         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30681         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30682         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30683         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30684         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30685         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30686         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30687         * sysdeps/i386/i686/strtok.S: Likewise.
30688         * sysdeps/i386/i386-mcount.S: Likewise.
30689         * sysdeps/i386/strtok.S: Likewise.
30690         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30691         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30692         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30693         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30694         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30695         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30696         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30697         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30698         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30699         * sysdeps/x86_64/_mcount.S: Likewise.
30700         * sysdeps/x86_64/strtok.S: Likewise.
30701         * sysdeps/sh/_mcount.S: Likewise.
30702
30703 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30704
30705         * libio/iofopen.c: Include <fcntl.h>.
30706         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30707         (_IO_fopen64, fopen64): Define as aliases.
30708         * libio/iofopen64.c: Include <fcntl.h>.
30709         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30710         Conditionalize body on this.
30711         * sysdeps/wordsize-64/iofopen.c: File removed.
30712         * sysdeps/wordsize-64/iofopen64.c: File removed.
30713
30714 2012-08-01  Marek Polacek  <polacek@redhat.com>
30715
30716         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30717         Use dlfcn directly instead of a variable.
30718         (binfmt-subdir): Do not define.
30719         (dlfcn): Likewise.
30720
30721 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30722
30723         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30724         Remove all definitions.
30725         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30726         <kernel-features.h>.
30727         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30728         (miss_F_GETOWN_EX): Remove all definitions.
30729         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30730         macro definition.
30731         [!__ASSUME_FCNTL64]: Remove conditional code.
30732         [__ASSUME_FCNTL64]: Make code unconditional.
30733         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30734         <kernel-features.h>.
30735         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30736         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30737         (lockf64) [__NR_fcntl64]: Make code unconditional.
30738         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30739
30740         * sysdeps/unix/sysv/linux/kernel-features.h
30741         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30742         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30743         Make code unconditional.
30744         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30745         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30747         [__NR_vfork]: Make code unconditional.
30748         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30749         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30751         [__NR_vfork]: Make code unconditional.
30752         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30753         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30754
30755 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30756
30757         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30758         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30759
30760         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30761         Define mkstemp64 as an alias.
30762         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30763         Define mkstemps64 as an alias.
30764         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30765         Define mkostemp64 as an alias.
30766         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30767         Define mkostemps64 as an alias.
30768         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30769         Conditionalize body on this.
30770         * misc/mkostemp64.c: Likewise.
30771         * misc/mkostemps64.c: Likewise.
30772         * misc/mkstemps64.c: Likewise.
30773         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30774         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30775         * sysdeps/wordsize-64/mkostemp.c: File removed.
30776         * sysdeps/wordsize-64/mkstemp.c: File removed.
30777         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30778         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30779         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30780         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30781
30782         [BZ #14138]
30783         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30784         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30785         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30786         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30787
30788         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30789         compat_symbol macros from <shlib-compat.h> rather than the underlying
30790         default_symbol_version and symbol_version macros, so that DEFAULT
30791         lines in shlib-versions are respected.
30792         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30793
30794 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30795
30796         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30797         Declare with warn_unused_result.
30798         (setgid, setregid, setegid, setresgid): Likewise.
30799         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30800         Likewise.
30801         * WUR-REPORT: Remove set*id functions.
30802
30803 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30804
30805         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30806
30807 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30808
30809         [BZ #10191]
30810         * include/sys/socket.h (__libc_accept, __libc_accept4):
30811         Add attribute_hidden.
30812         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30813
30814         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30815         use of PTR_MANGLE.
30816         * inet/getnetgrent_r.c (setup): Likewise.
30817
30818         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30819
30820 2012-07-31  David S. Miller  <davem@davemloft.net>
30821
30822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30823
30824 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30825
30826         [BZ #13629]
30827         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30828         value between 1.0 and 2.0 and smaller part has absolute value less
30829         than 1.0.
30830         * math/s_clog10.c (__clog10): Likewise.
30831         * math/s_clog10f.c (__clog10f): Likewise.
30832         * math/s_clog10l.c (__clog10l): Likewise.
30833         * math/s_clogf.c (__clogf): Likewise.
30834         * math/s_clogl.c (__clogl): Likewise.
30835         * math/libm-test.inc (clog_test): Add more tests.
30836         (clog10_test): Likewise.
30837         * sysdeps/i386/fpu/libm-test-ulps: Update.
30838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30839
30840 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30841
30842         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30843         Exit with zero in case no suitable GID is found, and write a
30844         message to standard error.
30845
30846 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30847
30848         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30849         rather than to 1.
30850         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30851         (MAXPATHLEN): Removed.
30852         (NOGROUP, NODEV): New macros.
30853         (setbit, clrbit, isset, isclr): New macros.
30854         (howmany, roundup, powerof2): New macros.
30855         (DEV_BSIZE): New macro.
30856
30857         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30858         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30859
30860         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30861         definition on [!__NO_LONG_DOUBLE_MATH].
30862
30863         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30864         PTR_MANGLE and PTR_DEMANGLE.
30865
30866         * socket/accept4.c (accept4): Rename to __libc_accept4.
30867         Define accept4 as a weak alias.
30868
30869         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30870         on [_DIRENT_HAVE_D_TYPE].
30871         * io/ftw.c (ftw_dir): Likewise.
30872
30873         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30874
30875         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30876
30877         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30878         Use the BSD numbers rather than the arbitrary ones we had.
30879         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30880         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30881         (SIGXCPU, SIGXFSZ): New macros.
30882         (_NSIG): Now 32.
30883
30884         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30885         initializer on [_LIBC_REENTRANT].
30886
30887         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30888         definitions inside [_POSIX_MAPPED_FILES].
30889
30890         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30891
30892         * dirent/opendir.c: Include <fcntl.h>.
30893
30894         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30895         (__libc_getspecific): Likewise.
30896         (__libc_key_create): Likewise.
30897
30898         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30899         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30900         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30901         (tmpfile64): Define as alias.
30902         * sysdeps/wordsize-64/tmpfile.c: File removed.
30903         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30904         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30905         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30906
30907         * stdio-common/vfscanf.c: Include <stdbool.h>.
30908         * nss/makedb.c: Likewise.
30909         * stdio-common/_i18n_number.h: Likewise.
30910         * argp/argp-help.c: Likewise.
30911         * posix/wordexp.c: Likewise.
30912         * sysdeps/posix/spawni.c: Likewise.
30913         * nss/nss_files/files-initgroups.c: Likewise.
30914         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30915         * nss/nss_files/files-initgroups.c: Likewise.
30916         * nss/nss_db/db-netgrp.c: Likewise.
30917         * nss/nss_db/db-initgroups.c: Likewise.
30918         * io/fchmodat.c: Include <sys/stat.h>.
30919
30920         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30921         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30922
30923         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30924         [HAVE_MMAP].
30925
30926         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30927         Add multiple inclusion protection.
30928
30929 2012-07-27  David S. Miller  <davem@davemloft.net>
30930
30931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30932
30933 2012-07-27  Gary Benson  <gbenson@redhat.com>
30934
30935         [BZ #14298]
30936         * elf/rtld.c: Include <stap-probe.h>.
30937         (dl_main): Added static probes "init_start" and "init_complete".
30938         * elf/dl-load.c: Include <stap-probe.h>.
30939         (lose): Take new parameter "nsid".
30940         Added static probe "map_failed".
30941         (_dl_map_object_from_fd): Pass namespace id to lose.
30942         Added static probe "map_start".
30943         (open_verify): Pass namespace id to lose.
30944         * elf/dl-open.c: Include <stap-probe.h>.
30945         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30946         and "reloc_complete".
30947         * elf/dl-close.c: Include <stap-probe.h>.
30948         (_dl_close_worker): Added static probes "unmap_start" and
30949         "unmap_complete".
30950         * elf/rtld-debugger-interface.txt: New file documenting the above.
30951
30952 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30953
30954         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30955         rather than a string variable.
30956         * sunrpc/rpc_main.c (h_output): Likewise.
30957         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30958
30959 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30960
30961         * inet/check_native.c: New file.
30962
30963 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30964
30965         [BZ #13629]
30966         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30967         if larger part has absolute value 1.0.
30968         * math/s_clog10.c (__clog10): Likewise.
30969         * math/s_clog10f.c (__clog10f): Likewise.
30970         * math/s_clog10l.c (__clog10l): Likewise.
30971         * math/s_clogf.c (__clogf): Likewise.
30972         * math/s_clogl.c (__clogl): Likewise.
30973         * math/libm-test.inc (clog_test): Add more tests.
30974         (clog10_test): Likewise.
30975         * sysdeps/i386/fpu/libm-test-ulps: Update.
30976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30977
30978         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30979         (pltexit): Likewise.
30980         (La_regs): Likewise.
30981         (La_retval): Likewise.
30982         (int_retval): Likewise.
30983         Update #error for removed macros to refer only to definitions in
30984         tst-audit.h.
30985         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30986         macro.
30987         (pltexit): Likewise.
30988         (La_regs): Likewise.
30989         (La_retval): Likewise.
30990         (int_retval): Likewise.
30991         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30992         macro.
30993         (pltexit): Likewise.
30994         (La_regs): Likewise.
30995         (La_retval): Likewise.
30996         (int_retval): Likewise.
30997         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30998         macro.
30999         (pltexit): Likewise.
31000         (La_regs): Likewise.
31001         (La_retval): Likewise.
31002         (int_retval): Likewise.
31003         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31004         macro.
31005         (pltexit): Likewise.
31006         (La_regs): Likewise.
31007         (La_retval): Likewise.
31008         (int_retval): Likewise.
31009         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31010         macro.
31011         (pltexit): Likewise.
31012         (La_regs): Likewise.
31013         (La_retval): Likewise.
31014         (int_retval): Likewise.
31015         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31016         macro.
31017         (pltexit): Likewise.
31018         (La_regs): Likewise.
31019         (La_retval): Likewise.
31020         (int_retval): Likewise.
31021         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31022         macro definitions in tst-audit.h.
31023         * sysdeps/i386/tst-audit.h: New file.
31024         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31025         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31026         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31027         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31028         * sysdeps/sh/tst-audit.h: Likewise.
31029         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31030         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31031         * sysdeps/x86_64/tst-audit.h: Likewise.
31032
31033 2012-07-26  Andreas Jaeger  <aj@suse.de>
31034
31035         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31036         ptrace.
31037
31038         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31039         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31040         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31041         PTRACE_O_MASK.
31042         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31043         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31044         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31045
31046         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31047         value.
31048
31049         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31050         _sigsys.
31051         (si_call_addr, si_syscall, si_arch): Define new macro.
31052         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31053         _sigsys.
31054         (si_call_addr, si_syscall, si_arch): Define new marcro.
31055         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31056         _sigsys.
31057         (si_call_addr, si_syscall, si_arch): Define new macro.
31058         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31059         _sigsys.
31060         (si_call_addr, si_syscall, si_arch): Define new macro.
31061
31062 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31063
31064         [BZ #13717]
31065         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31066         Change to 2.4.21 where previously 2.4.1.
31067         * sysdeps/unix/sysv/linux/configure: Regenerated.
31068         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31069         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31070         Linux kernel version.
31071         (__ASSUME_STD_AUXV): Remove.
31072         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31073         kernel version.
31074         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31075         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31076         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31077         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31078         (__ASSUME_NETLINK_SUPPORT): Likewise.
31079         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31080         (__no_netlink_support): Remove conditional definition.
31081         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31082         Remove.
31083         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31084         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31085         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31086         (if_nameindex_ioctl): Remove.
31087         (if_nameindex_netlink): Do not handle __no_netlink_support.
31088         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31089         code.
31090         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31091         Remove conditional code.
31092         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31093         code.
31094         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31095         unconditional.
31096         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31097         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31098         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31099         Remove.
31100         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31101         [!__ASSUME_STD_AUXV]: Remove conditional code.
31102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31103         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31104         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31106         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31107         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31108         code.
31109         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31111         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31112         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31113         conditional code.
31114         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31116         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31117         code.
31118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31119         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31120         conditional code.
31121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31122         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31123         code unconditional.
31124         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31125         conditional code.
31126         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31127         unconditional.
31128         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31129         conditional code.
31130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31131         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31132         unconditional.
31133         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31134         conditional code.
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31136         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31137         code unconditional.
31138         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31139         conditional code.
31140         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31141         unconditional.
31142         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31143         conditional code.
31144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31145         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31146         code unconditional.
31147         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31148         conditional code.
31149         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31150         unconditional.
31151         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31152         conditional code.
31153
31154 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31155
31156         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31157         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31158         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31159         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31160         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31161         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31162         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31163         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31164         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31165         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31166         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31167         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31168         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31169         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31170         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31171         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31172         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31173         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31174         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31176         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31177         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31178         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31179
31180 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31181
31182         * Versions.def: Add GLIBC_2.17.
31183         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31184         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31185         Introduce __libc_secure_getenv.
31186         * stdlib/Versions (2.17): Add secure_getenv
31187         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31188         * stdlib/secure-getenv.c: Rename __secure_getenv to
31189         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31190         symbol __secure_getenv for GLIBC_2.0.
31191         * stdlib/tst-secure-getenv.c: New.
31192         * stdlib/Makefile (tests): Add testcase.
31193         * manual/startup.texi (Environment Access): Document
31194         secure_getenv.
31195         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31196         __libc_secure_getenv.
31197         * inet/ruserpass.c (ruserpass): Likewise.
31198         * malloc/mtrace.c (mtrace): Likewise.
31199         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31200         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31201         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31202         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31203         HAVE_SECURE_GETENV.
31204         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31205         __secure_getenv to __libc_secure_getenv.
31206         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31208         Likewise.
31209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31210         Likewise.
31211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31213         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31218
31219 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31220
31221         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31222         (struct La_i86_retval): Likewise.
31223         (struct La_x86_64_regs): Likewise.
31224         (struct La_x86_64_retval): Likewise.
31225         (struct La_x32_regs): Likewise.
31226         (struct La_x32_retval): Likewise.
31227         (struct La_ppc32_regs): Likewise.
31228         (struct La_ppc32_retval): Likewise.
31229         (struct La_ppc64_regs): Likewise.
31230         (struct La_ppc64_retval): Likewise.
31231         (struct La_sh_regs): Likewise.
31232         (struct La_sh_retval): Likewise.
31233         (struct La_s390_32_regs): Likewise.
31234         (struct La_s390_32_retval): Likewise.
31235         (struct La_s390_64_regs): Likewise.
31236         (struct La_s390_64_retval): Likewise.
31237         (struct La_sparc32_regs): Likewise.
31238         (struct La_sparc32_retval): Likewise.
31239         (struct La_sparc64_regs): Likewise.
31240         (struct La_sparc64_retval): Likewise.
31241         (struct audit_ifaces): Remove architecture-specific pltenter and
31242         pltexit members.
31243         * sysdeps/i386/ldsodefs.h: New file.
31244         * sysdeps/powerpc/ldsodefs.h: Likewise.
31245         * sysdeps/s390/ldsodefs.h: Likewise.
31246         * sysdeps/sh/ldsodefs.h: Likewise.
31247         * sysdeps/sparc/ldsodefs.h: Likewise.
31248         * sysdeps/x86_64/ldsodefs.h: Likewise.
31249
31250 2012-07-25  Marek Polacek  <polacek@redhat.com>
31251
31252         [BZ #6808]
31253         * math/libm-test.inc (yn_test): Add another test.
31254         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31255         to ERANGE when the result is +-Inf.
31256         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31257         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31258         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31259         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31260
31261 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31262
31263         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31264         equal to 0.
31265         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31266         clock_t.
31267         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31268
31269 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31270
31271         * configure.in <sysdeps resolving>: Correct printing
31272         Implies_before.
31273         * configure: Regenerate.
31274
31275 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31276
31277         * math/w_ilogb.c: Include <limits.h>.
31278         * math/w_ilogbl.c: Likewise.
31279
31280 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31281
31282         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31283         va_copy.  Document allowing for unavailable va_copy only as
31284         pre-C99 compatibility.
31285         * manual/string.texi (Copying and Concatenation): Use va_copy
31286         instead of __va_copy in concat example.
31287
31288 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31289
31290         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31291         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31292         it if not null.
31293
31294         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31295         with O_NOLINK passed to __file_name_lookup.
31296
31297         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31298         with O_NOLINK passed to __file_name_lookup.
31299
31300         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31301         negative N or less than NGIDS.
31302
31303         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31304         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31305         enough.  Use memcpy instead of strncpy.
31306
31307 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31308
31309         * elf/Makefile (check-data): Remove.
31310         (localplt.data): New vpath directive.
31311         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31312         instead of $(check-data).
31313         * scripts/data/localplt-generic.data: Move to ...
31314         * sysdeps/generic/localplt.data: ... here.
31315         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31316         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31317         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31319         ... here.
31320         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31322         ... here.
31323         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31325         ... here.
31326         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31328         ... here.
31329         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31331         ... here.
31332         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31334         ... here.
31335
31336 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31337
31338         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31339         PPC32 and PPC64 files.
31340         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31341         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31342
31343 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31344
31345         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31346         __makecontext_ret to ...
31347         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31348         ... here and call exit if uc_link is NULL.  New file.
31349         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31350         __makecontext_ret.S.
31351         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31352         __makecontext_ret to ...
31353         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31354         ... here and call exit if uc_link is NULL.  New file.
31355         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31356         __makecontext_ret.S.
31357
31358 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31359
31360         * elf/elf.h (R_390_IRELATIVE): New definition.
31361         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31362         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31363         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31364         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31365         (elf_machine_lazy_rel): Likewise.
31366         * sysdeps/s390/dl-irel.h: New file.
31367         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31368         * sysdeps/s390/s390-64/memset.S: New asm code.
31369         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31370         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31371         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31372         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31373         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31374         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31375         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31376         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31377         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31378         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31379         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31380         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31381         * sysdeps/s390/s390-32/memset.S: New asm code.
31382         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31383
31384 2012-07-17  Marek Polacek  <polacek@redhat.com>
31385
31386         [BZ #14349]
31387         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31388         * sysdeps/s390/s390-64/configure.in: Likewise.
31389         * sysdeps/sparc/configure.in: Likewise.
31390         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31391         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31392         * sysdeps/i386/configure.in: Likewise.
31393         * sysdeps/x86_64/configure.in: Likewise.
31394         * sysdeps/sh/configure.in: Likewise.
31395         * sysdeps/s390/s390-32/configure: Regenerated.
31396         * sysdeps/s390/s390-64/configure: Likewise.
31397         * sysdeps/x86_64/configure: Likewise.
31398         * sysdeps/sh/configure: Likewise.
31399         * sysdeps/powerpc/powerpc64/configure: Likewise.
31400         * sysdeps/powerpc/powerpc32/configure: Likewise.
31401         * sysdeps/sparc/configure: Likwise.
31402         * sysdeps/i386/configure: Likewise.
31403
31404         * elf/dl-open.c: Comment fixes.
31405
31406 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31407
31408         * Makefile [CXX] (check-data): Remove.
31409         [CXX] (c++-types.data): New vpath directive.
31410         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31411         vpath.  Do not allow for C++ type data being missing.
31412         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31413         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31414         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31415         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31416         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31417         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31418         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31420         ... here.
31421         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31423         ... here.
31424         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31426         ... here.
31427         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31429         ... here.
31430         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31432         ... here.
31433         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31435         ... here.
31436         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31438         ... here.
31439         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31441
31442         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31443         definitions to architecture-specific files.
31444         (TLS_IE): Likewise.
31445         (TLS_LD): Likewise.
31446         (TLS_GD): Likewise.
31447         * sysdeps/i386/tls-macros.h: New file.
31448         * sysdeps/powerpc/tls-macros.h: Likewise.
31449         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31450         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31451         * sysdeps/sh/tls-macros.h: Likewise.
31452         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31453         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31454         * sysdeps/x86_64/tls-macros.h: Likewise.
31455
31456 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31457
31458         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31459         zero value for regular exit case.
31460
31461         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31462         (__start_context): Preserve zero value for regular exit case.
31463
31464 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31465             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31466
31467         * manual/setjmp.texi (setcontext): Clarify normal process
31468         termination when uc_link is the null pointer.
31469         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31470         exit call.
31471
31472 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31473
31474         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31475         preprocessor.  Test for each exception mask separately.
31476
31477 2012-07-16  Andreas Jaeger  <aj@suse.de>
31478
31479         * po/ru.po: Update from translation team.
31480
31481 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31482
31483         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31484         equal to 0.
31485         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31486         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31487         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31488         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31489         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31490
31491 2012-07-13  Andreas Jaeger  <aj@suse.de>
31492
31493         * po/fr.po: Update from translation team.
31494
31495 2012-07-12  Marek Polacek  <polacek@redhat.com>
31496
31497         [BZ #14173]
31498         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31499         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31500         loop condition.
31501
31502 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31503
31504         [BZ #13717]
31505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31506         Change to 2.4.1 where previously 2.4.0.
31507         * sysdeps/unix/sysv/linux/configure: Regenerated.
31508         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31509         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31510         version.
31511         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31512         (__ASSUME_AT_CLKTCK): Remove.
31513         (__ASSUME_AT_PAGESIZE): Likewise.
31514         (__ASSUME_AT_XID): Likewise.
31515         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31516         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31517         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31518         unconditionally.
31519         (HAVE_AUX_PAGESIZE): Likewise.
31520         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31521         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31522         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31523
31524 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31525
31526         [BZ #14307]
31527         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31528         the temporary buffer used to invoke __gethostbyname2_r,
31529         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31530         host_data / struct gaih_addrtuple.
31531         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31532         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31533         header file nss/nsswitch.h.
31534         * nss/nsswitch.h (global scope): Add definition of implementation
31535         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31536         resolv/nss_dns/dns-host.c).
31537
31538 2012-07-11  Andreas Jaeger  <aj@suse.de>
31539
31540         * po/fr.po: Update from translation team.
31541
31542         * po/sv.po: Update from translation team
31543         * po/fr.po: Another update from translation team.
31544
31545 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31546
31547         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31548         for subnormals or multiply small sinh result by itself.
31549         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31551
31552 2012-07-11  David S. Miller  <davem@davemloft.net>
31553
31554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31555
31556 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31557
31558         [BZ #14347]
31559         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31560         (INTERNAL_MARK): Shift it here.
31561
31562 2012-07-10  Marek Polacek  <polacek@redhat.com>
31563
31564         [BZ #14151]
31565         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31566         libc_cv_asm_global_directive with .globl.
31567         * configure: Regenerated.
31568         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31569         with .globl.
31570         * sysdeps/i386/configure: Regenerated.
31571         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31572         with .globl.
31573         * sysdeps/x86_64/configure: Regenerated.
31574         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31575         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31576         * elf/tst-unique2mod2.c: Likewise.
31577         * elf/tst-unique2mod1.c: Likewise.
31578         * elf/tst-unique1mod2.c: Likewise.
31579         * elf/tst-unique1mod1.c: Likewise.
31580         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31581         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31582         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31583         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31584         * sysdeps/mach/sysdep.h: Likewise.
31585         * sysdeps/i386/sysdep.h: Likewise.
31586         * sysdeps/i386/i386-mcount.S: Likewise.
31587         * sysdeps/x86_64/_mcount.S: Likewise.
31588         * sysdeps/x86_64/sysdep.h: Likewise.
31589         * sysdeps/sh/_mcount.S: Likewise.
31590         * sysdeps/sh/sysdep.h: Likewise.
31591         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31592         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31593         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31594         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31595         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31596         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31597         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31598         * locale/localeinfo.h: Likewise.
31599         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31600         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31601
31602 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31603
31604         [BZ #14336]
31605         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31606         system".
31607         * manual/message.texi (The Uniforum approach): Likewise.
31608         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31609         (glibc iconv Implementation): Likewise.
31610
31611 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31612
31613         [BZ #14337]
31614         * math/s_clog.c (__clog): Avoid scaling a value down where that
31615         could result in underflow.
31616         * math/s_clog10.c (__clog10): Likewise.
31617         * math/s_clog10f.c (__clog10f): Likewise.
31618         * math/s_clog10l.c (__clog10l): Likewise.
31619         * math/s_clogf.c (__clogf): Likewise.
31620         * math/s_clogl.c (__clogl): Likewise.
31621         * math/libm-test.inc (clog_test): Add more tests.
31622         (clog10_test): Likewise.
31623         * sysdeps/i386/fpu/libm-test-ulps: Update.
31624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31625
31626 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31627
31628         [BZ #14283]
31629         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31630         by 7 not 8 to examine high bit of fractional part.
31631
31632         [BZ #14042]
31633         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31634         for call to __mcount_internal.
31635         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31636         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31637         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31638
31639 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31640
31641         [BZ #14154]
31642         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31643         approximation for values within 0x1p-13f of an odd multiple of
31644         pi/4.
31645         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31646         exception.  Add more tests.
31647         * sysdeps/i386/fpu/libm-test-ulps: Update.
31648
31649         [BZ #6778]
31650         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31651         inputs and return -1 for them.  Do not check for +Inf in case not
31652         reachable for +Inf.
31653         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31654         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31655         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31656         and return -1 for them.  Do not check for +Inf in case not
31657         reachable for +Inf.
31658         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31659         define.
31660         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31661         and return -1 for them.  Do not check for +Inf in case not
31662         reachable for +Inf.
31663         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31664         spurious underflow.
31665         * sysdeps/i386/fpu/libm-test-ulps: Update.
31666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31667
31668 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31669
31670         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31671
31672 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31673
31674         [BZ #14157]
31675         [BZ #14331]
31676         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31677         could result in spurious underflow.  Scale down values above
31678         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31679         * math/s_csqrtf.c (__csqrtf): Likewise.
31680         * math/s_csqrtl.c (__csqrtl): Likewise.
31681         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31682         spurious underflow.
31683         * sysdeps/i386/fpu/libm-test-ulps: Update.
31684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31685
31686 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31687
31688         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31689         xopen-msg.sed.
31690         * catgets/xopen-msg.awk: New file.
31691         * catgets/xopen-msg.sed: Removed.
31692
31693         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31694         po2text.sed.
31695         * intl/po2test.awk: New file.
31696         * intl/po2test.sed: Removed.
31697
31698 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31699
31700         [BZ #14328]
31701         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31702         or multiply small sinh result by itself.
31703         * math/s_ctanf.c (__ctanf): Likewise.
31704         * math/s_ctanh.c (__ctanh): Likewise.
31705         * math/s_ctanhf.c (__ctanhf): Likewise.
31706         * math/s_ctanhl.c (__ctanhl): Likewise.
31707         * math/s_ctanl.c (__ctanl): Likewise.
31708         * math/libm-test.inc (ctan_test_tonearest): New function.
31709         (ctan_test_towardzero): Likewise.
31710         (ctan_test_downward): Likewise.
31711         (ctan_test_upward): Likewise.
31712         (ctanh_test_tonearest): Likewise.
31713         (ctanh_test_towardzero): Likewise.
31714         (ctanh_test_downward): Likewise.
31715         (ctanh_test_upward): Likewise.
31716         (main): Call these new functions.
31717         * sysdeps/i386/fpu/libm-test-ulps: Update.
31718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31719
31720 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31721
31722         * .gitignore: Delete /ports entry.
31723
31724 2012-07-03  Andreas Jaeger  <aj@suse.de>
31725
31726         * po/bg.po: Update from translation team.
31727         * po/cs.po: Likewise.
31728         * po/de.po: Likewise.
31729         * po/hr.po: Likewise.
31730         * po/nl.pl: Likewise.
31731         * po/pl.po: Likewise.
31732         * po/vi.po: Likewise.
31733
31734 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31735
31736         * Makeconfig [!+link] (+link-before-libc): New variable.
31737         [!+link] (+link-after-libc): Likewise.
31738         [!+link] (+link-tests): Likewise.
31739         [!+link] (+link): Define in terms of $(+link-before-libc) and
31740         $(+link-after-libc).
31741         [!+link-static] (+link-static-before-libc): New variable.
31742         [!+link-static] (+link-static-after-libc): Likewise.
31743         [!+link-static] (+link-static-tests): Likewise.
31744         [!+link-static] (+link-static): Define in terms of
31745         $(+link-static-before-libc) and $(+link-static-after-libc).
31746         [build-shared] (link-libc-before-gnulib): New variable.
31747         [build-shared] (link-libc-tests): Likewise.
31748         [build-shared] (link-libc): Define in terms of
31749         $(link-libc-before-gnulib).
31750         [!build-shared] (link-libc-tests): New variable.
31751         (link-libc-static-tests): New variable.
31752         [!gnulib] (gnulib-arch): New variable.
31753         [!gnulib] (gnulib-tests): Likewise.
31754         [!gnulib] (static-gnulib-arch): Likewise.
31755         [!gnulib] (static-gnulib-tests): Likewise.
31756         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31757         Define with "=" instead of ":=".
31758         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31759         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31760         * Rules (binaries-all-notests): New variable.
31761         (binaries-all-tests): Likewise.
31762         (binaries-static-notests): Likewise.
31763         (binaries-static-tests): Likewise.
31764         (binaries-all): Define using $(binaries-all-notests) and
31765         $(binaries-all-tests).
31766         (binaries-static): Define using $(binaries-static-notests) and
31767         $(binaries-static-tests).
31768         (binaries-shared-tests): New variable.
31769         (binaries-shared-notests): Likewise.
31770         (binaries-shared): Remove variable.
31771         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31772         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31773         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31774         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31775         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31776         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31777         * elf/Makefile (sln-modules): New variable.
31778         (extra-objs): Add $(sln-modules:=.o).
31779         (ldconfig-modules): Add static-stubs.
31780         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31781         * elf/static-stubs.c: New file.
31782
31783         [BZ #14283]
31784         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31785         by 7 not 8 to examine high bit of fractional part.  Use volatile
31786         variables when splitting into final array of floats if
31787         __FLT_EVAL_METHOD__ != 0.
31788         * math/libm-test.inc (cos_test): Add another test.
31789         (sin_test): Likewise.
31790         * sysdeps/i386/fpu/libm-test-ulps: Update.
31791
31792         [BZ #14273]
31793         * math/libm-test.inc (cosh_test): Add more tests.
31794
31795         * version.h (RELEASE): Set to "development".
31796         (VERSION): Set to "2.16.90".
31797
31798 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31799
31800         * NEWS: Update copyright. Remove last-updated date.
31801         Mention math library bug fixes and timezone data changes.
31802         * README: Mention GNU/Hurd, x32, and HPPA support status.
31803
31804 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31805
31806         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31807
31808 2012-06-27  Andreas Jaeger  <aj@suse.de>
31809
31810         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31811
31812 2012-06-25  Andreas Jaeger  <aj@suse.de>
31813
31814         * sysdeps/s390/fpu/libm-test-ulps: Update.
31815
31816 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31817             Thomas Schwinge  <thomas@codesourcery.com>
31818
31819         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31820         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31822         fanotify_mark.
31823
31824 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31825
31826         * sysdeps/mach/start.c: Remove file.
31827         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31828         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31829         * sysdeps/sh/init-first.c: Likewise.
31830
31831         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31832         registers for frame unwinding purposes, add CFI directives.
31833         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31834         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31835         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31836         Likewise.
31837
31838         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31839         __fortify_fail returning.
31840         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31841
31842         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31843         sysdeps/sh/____longjmp_chk.S.
31844         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31845         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31846         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31847         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31848
31849         * sysdeps/sh/abort-instr.h: New file.
31850         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31851         process in case exit returns.
31852
31853         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31854         initialize the GOT register before use.
31855
31856         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31857         calculation of ARGC > 4.
31858
31859         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31860         meaningful names to some local labels.
31861
31862 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31863             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31864
31865         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31866         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31867         (__arch_compare_and_exchange_val_16_acq): Likewise.
31868         (__arch_compare_and_exchange_val_32_acq): Likewise.
31869         (atomic_exchange_and_add): Fix gUSA sequence.
31870         (atomic_add): Likewise.
31871         (atomic_add_negative): Likewise.
31872         (atomic_add_zero): Likewise.
31873         (atomic_bit_test_set): Likewise.
31874
31875 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31876
31877         [BZ #13579]
31878         * include/link.h (struct link_map): Add l_free_initfini.
31879         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31880         l_initfini.
31881         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31882         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31883         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31884         set.
31885
31886 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31887
31888         * configure.in: Use AC_LANG_SOURCE.
31889         * configure: Regenerate.
31890
31891 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31892
31893         * configure.in (libc_cv_localstatedir): New substituted variable.
31894         * configure: Regenerated.
31895         * config.make.in (localstatedir): New variable, substituted from
31896         libc_cv_localstatedir.
31897         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31898         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31899         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31900         * sysdeps/gnu/configure: Regenerated.
31901
31902 2012-06-21  Jeff Law  <law@redhat.com>
31903
31904         [BZ #14277]
31905         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31906         free.  Simplify list management for _LIBC case.
31907
31908 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31909
31910         [BZ #14273]
31911         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31912         Clear sign bit of 64-bit integer value before comparing against
31913         overflow value.
31914
31915         * sysdeps/mach/configure: Regenerated.
31916
31917 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31918
31919         [BZ #14278]
31920         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31921
31922 2012-06-21  Jeff Law  <law@redhat.com>
31923
31924         [BZ #13882]
31925         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31926         uint16_t for elements in the "seen" array to avoid char overflows.
31927         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31928         * elf/dl-open.c (dl_open_worker): Likewise.
31929
31930 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31931
31932         * scripts/list-sources.sh: Scan PORTS for translations.
31933         * po/libc.pot: Regenerated.
31934
31935 2012-06-21  Andreas Jaeger  <aj@suse.de>
31936
31937         [BZ #12194]
31938         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31939         warning.
31940         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31941         * bits/byteswap-16.h (__bswap_16): Likewise.
31942         * bits/byteswap.h (__bswap_constant_16): Likewise.
31943
31944 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31945
31946         [BZ #14117]
31947         * sysdeps/i386/fpu_control.h: Removed.
31948         * sysdeps/x86_64/fpu_control.h: Moved to ...
31949         * sysdeps/x86/fpu_control.h: Here.
31950
31951         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31952         (_FPU_SETCW): Likewise.
31953
31954 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31955
31956         [BZ #14117]
31957         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31958         * sysdeps/x86/fpu/bits/mathinline.h: This.
31959         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31960
31961         [BZ #14050]
31962         [BZ #14117]
31963         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31964         functions if __x86_64__ is defined.
31965
31966 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31967
31968         * string/endian.h: Add !__ASSEMBLER__ condition for including
31969         conversion interfaces.
31970
31971 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31972
31973         [BZ #14241]
31974         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31975         of ABS(x) in calculating zero to negative powers other than odd
31976         integers.
31977         * math/libm-test.inc (pow_test): Add more tests.
31978
31979 2012-06-15  Andreas Jaeger  <aj@suse.de>
31980
31981         * manual/contrib.texi (Contributors): Update entry of Liubov
31982         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31983         Machado Filho.
31984
31985 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31986
31987         * string/string.h: Add __wur to GNU version of strerror_r.
31988
31989 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31990
31991         [BZ #14229]
31992         * string/Makefile (tests): Add tst-strtok_r.
31993         * string/tst-strtok_r.c: New file.
31994         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31995         RAX_LP/RDX_LP on SAVE_PTR.
31996
31997 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31998
31999         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32000
32001 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32002
32003         * libm_test.inc (csqrt_test): Allow more spurious underflow
32004         exceptions.
32005         (j0_test): Likewise.
32006         (j1_test): Likewise.
32007         (y0_test): Likewise.
32008         (y1_test): Likewise.
32009
32010 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32011
32012         * po/Makefile (libc.pot): Use UTF-8 charset.
32013
32014 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32015
32016         [BZ #14210]
32017         Suppress sign-conversion warning from FD_SET.
32018         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32019         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32020         not unsigned long int.
32021         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32022
32023 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32024
32025         [BZ #14050]
32026         [BZ #14117]
32027         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32028         __extern_always_inline instead of __extern_inline.
32029         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32030         (__signbit): Likewise.
32031         (__signbitl): Support C++ namespace.
32032         (lrintf): New inline function.
32033         (lrint): Likewise.
32034         (llrintf): Likewise.
32035         (llrint): Likewise.
32036         (fmaxf): Likewise.
32037         (fmax): Likewise.
32038         (fminf): Likewise.
32039         (fmin): Likewise.
32040         (rint): Likewise.
32041         (rintf): Likewise.
32042         (ceil): Likewise.
32043         (ceilf): Likewise.
32044         (floor): Likewise.
32045         (floorf): Likewise.
32046         (nearbyint): Likewise.
32047         (nearbyintf): Likewise.
32048
32049 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32050
32051         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32052         non-default versions.
32053
32054 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32055
32056         [BZ #14218]
32057         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32058
32059 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32060
32061         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32062         (FE_UPWARD, FE_DOWNWARD): Don't define.
32063         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32064         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32065
32066         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32067         reading it.
32068         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32069         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32070
32071 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32072
32073         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32074         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32075         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32076         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32077
32078 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32079
32080         [BZ #14117]
32081         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32082         * sysdeps/i386/fpu/Implies: New file.
32083         * sysdeps/x86_64/fpu/Implies: Likewise.
32084         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32085         * sysdeps/x86/fpu/bits/fenv.h: This.
32086
32087         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32088         __SSE_MATH__.
32089
32090 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32091
32092         [BZ #14134]
32093         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32094         character 0xffff that matches the last element of the
32095         conversion table.
32096
32097 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32098
32099         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32100         fmodl commit.
32101
32102 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32103
32104         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32105         values higher than 25.6283.
32106
32107 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32108
32109         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32110         subnormal exponent extraction and add some __builtin_expect.
32111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32112         Fix for subnormal mantissa calculation.
32113
32114 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32115
32116         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32117         cpu2 is -1 and errno is not ENOSYS.
32118
32119 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32120
32121         [BZ #14117]
32122         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32123         * sysdeps/x86/bits/string.h: This.
32124         * sysdeps/x86_64/bits/string.h: Removed.
32125
32126         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32127         if not compiling for x86-64, but compiling for >= i486.
32128
32129         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32130         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32131
32132         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32133         New macro from Linux kernel 3.4.0.
32134         (FP_XSTATE_MAGIC2): Likewise.
32135         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32136         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32137         (struct _fpx_sw_bytes): New struct.
32138         (struct _xsave_hdr): Likewise.
32139         (struct _ymmh_state): Likewise.
32140         (struct _xstate): Likewise.
32141
32142         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32143         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32144         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32145         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32146         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32147         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32148
32149         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32150         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32151         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32152         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32153         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32154         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32155
32156 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32157
32158         [BZ #13743]
32159         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32160         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32161         (sysdep_headers): Include sys/platform/ppc.h.
32162         * sysdeps/powerpc/test-gettimebase.c: Test for
32163         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32164         * manual/Makefile (appendices): Include platform.texi.
32165         * manual/contrib.texi (Contributors): Update @node pointers.
32166         * manual/maint.texi (Maintenance): Likewise.
32167         (Platform): New node.
32168         * manual/platform.texi: New file.  Document the new features.
32169
32170 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32171             Jakub Jelinek  <jakub@redhat.com>
32172
32173         [BZ #14188]
32174         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32175         where __builtin_expect is unavailable.
32176
32177 2012-06-03  David S. Miller  <davem@davemloft.net>
32178
32179         * stdlib/longlong.h: Updated from GCC.
32180
32181 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32182
32183         [BZ #14042]
32184         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32185         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32186         __mcount_internal.
32187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32188         (GLIBC_2.16): Likewise.
32189
32190 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32191
32192         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32193
32194 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32195
32196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32197         (default-abi): New variable.
32198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32199         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32200         variable.
32201         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32202         Likewise.
32203         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32204         Likewise.
32205         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32206         Likewise.
32207
32208         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32209         definition.  Document in comment.
32210
32211 2012-06-01  David S. Miller  <davem@davemloft.net>
32212
32213         * stdlib/longlong.h: Updated from GCC.
32214
32215 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32216
32217         [BZ #14117]
32218         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32219         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32220         sys/debugreg.h sys/io.h here.
32221         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32222         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32223         sys/io.h.
32224         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32225         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32226         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32227         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32228         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32229         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32230
32231         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32232         Define only if __x86_64__ is defined.
32233
32234 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32235
32236         [BZ #14048]
32237         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32238         Use int64_t for variable i.
32239         * math/libm-test.inc (fmod_test): Add more tests.
32240
32241         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32242         z computation is not scheduled after fetestexcept.
32243         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32244         Use math_force_eval instead of asm to ensure calculation scheduled
32245         before exception test.
32246         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32247         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32248
32249 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32250
32251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32252         computation is not scheduled after fetestexcept.
32253
32254 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32255
32256         [BZ #14117]
32257         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32258         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32259
32260 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32261
32262         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32263         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32264
32265 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32266
32267         [BZ #14117]
32268         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32269         <bits/wordsize.h>.
32270         (__WCHAR_MIN): Support __WORDSIZE == 64.
32271         (__WCHAR_MAX): Likewise.
32272
32273         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32274         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32275
32276         [BZ #14183]
32277         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32278         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32279
32280         [BZ #14117]
32281         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32282         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32283
32284         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32285         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32286
32287         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32288         Defined to 1 if __x86_64__ isn't defined.
32289         (_STAT_VER_LINUX_OLD): New.
32290         (st_atime): Remove duplicate.
32291         (st_mtime): Likewise.
32292         (st_ctime): Likewise.
32293
32294 2012-05-31  David S. Miller  <davem@davemloft.net>
32295
32296         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32297         entries.
32298
32299 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32300
32301         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32302         gen-libm-test.pl.
32303
32304         [BZ #14132]
32305         * elf/dl-reloc.c: Include <_itoa.h>.
32306         (_dl_reloc_bad_type): Remove use of INTUSE.
32307         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32308         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32309         * stdio-common/psiginfo.c (psiginfo): Likewise.
32310         * stdio-common/psignal.c (psignal): Likewise.
32311         * string/strsignal.c (strsignal): Likewise.
32312         * include/signal.h (_sys_siglist): Declare hidden proto.
32313         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32314         INTVARDEF with libc_hidden_data_def.
32315         * stdio-common/itoa-udigits.c: Likewise.
32316         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32317         (_itoa_lower_digits_internal): Remove declaration.
32318         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32319         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32320         (_sys_sigabbrev_internal): Remove aliases.
32321         (_sys_siglist): Define hidden alias.
32322
32323 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32324
32325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32326         bits/sysctl.h.
32327
32328 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32329
32330         [BZ #14117]
32331         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32332         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32333
32334         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32335         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32336         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32337         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32338         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32339         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32340
32341         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32342         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32343         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32344
32345         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32346         with __addr.
32347         (insw): Likewise.
32348         (insl): Likewise.
32349         (outsb): Likewise.
32350         (outsw): Likewise.
32351         (outsl): Likewise.
32352
32353         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32354         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32355         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32356
32357         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32358         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32359         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32360         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32361         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32362         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32363
32364         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32365         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32366
32367         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32368         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32369
32370         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32371         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32372         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32373
32374         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32375         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32376         to ...
32377         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32378
32379         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32380         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32381         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32382
32383         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32384         for x86-64.
32385         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32386
32387 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32388
32389         * math/math.h (M_El): Use two more decimal places.
32390         (M_LOG2El): Likewise.
32391         (M_LOG10El): Likewise.
32392         (M_LN2l): Likewise.
32393         (M_LN10l): Likewise.
32394         (M_PIl): Likewise.
32395         (M_PI_2l): Likewise.
32396         (M_PI_4l): Likewise.
32397         (M_1_PIl): Likewise.
32398         (M_2_PIl): Likewise.
32399         (M_2_SQRTPIl): Likewise.
32400         (M_SQRT2l): Likewise.
32401         (M_SQRT1_2l): Likewise.
32402
32403 2012-05-31  David S. Miller  <davem@davemloft.net>
32404
32405         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32406         values between float registers.
32407         * sysdeps/sparc/sparc64/memset.S: Likewise.
32408         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32409
32410 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32411
32412         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32413         -D_FORTIFY_SOURCE=1.
32414         (CPPFLAGS-tst-longjmp_chk.c): Define.
32415         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32416         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32417         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32418         CFLAGS-tst-wchar-h.c.
32419
32420 2012-05-31  Marek Polacek  <polacek@redhat.com>
32421
32422         [BZ #14132]
32423         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32424         __endmntent_internal): Remove declaration.
32425         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32426         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32427         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32428
32429 2012-05-30  David S. Miller  <davem@davemloft.net>
32430
32431         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32432         (___Q_simulate_exceptions): Use real FP ops rather than writing
32433         into the %fsr.
32434         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32435         Likewise.
32436
32437 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32438
32439         [BZ #14117]
32440         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32441         * sysdeps/x86/bits/xtitypes.h: This.
32442
32443         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32444         * sysdeps/x86/bits/wordsize.h: This.
32445
32446         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32447         * sysdeps/x86/bits/huge_vall.h: This.
32448
32449         * sysdeps/i386/bits/select.h: Removed.
32450         * sysdeps/x86_64/bits/select.h: Renamed to ...
32451         * sysdeps/x86/bits/select.h: This.
32452
32453         * sysdeps/i386/bits/setjmp.h: Removed.
32454         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32455         * sysdeps/x86/bits/setjmp.h: This.
32456
32457         * sysdeps/i386/bits/mathdef.h: Removed.
32458         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32459         * sysdeps/x86/bits/mathdef.h: This.
32460
32461 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32462
32463         [BZ #14132]
32464         * include/sys/socket.h (__connect_internal)
32465         (__libc_sa_len_internal): Remove declaration.
32466         (__connect, __libc_sa_len): Declare hidden_proto.
32467         (SA_LEN): Remove use of INTUSE.
32468         * socket/connect.c: Add libc_hidden_def.
32469         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32470         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32471         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32472         alias.
32473         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32474         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32475         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32476         of adding _internal alias.
32477
32478 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32479
32480         [BZ #14117]
32481         * sysdeps/i386/bits/link.h: Removed.
32482         * sysdeps/i386/bits/linkmap.h: Likewise.
32483         * sysdeps/x86_64/bits/link.h: Renamed to ...
32484         * sysdeps/x86/bits/link.h: This.
32485         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32486         * sysdeps/x86/bits/linkmap.h: This.
32487
32488         * sysdeps/i386/bits/endian.h: Removed.
32489         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32490         * sysdeps/x86/bits/endian.h: This.
32491
32492         * sysdeps/i386/bits/byteswap.h: Removed.
32493         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32494         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32495         * sysdeps/x86/bits/byteswap.h: This.
32496         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32497         * sysdeps/x86/bits/byteswap-16.h: This.
32498         * sysdeps/i386/Implies: Add x86.
32499         * sysdeps/x86_64/Implies: Likewise.
32500
32501 2012-05-30  David S. Miller  <davem@davemloft.net>
32502
32503         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32504         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32505         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32506         (FP_TRAPPING_EXCEPTIONS): Define.
32507         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32508         (FP_TRAPPING_EXCEPTIONS): Define.
32509         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32510         subnormals only when inexact has been signalled or underflow
32511         exceptions are enabled.
32512         (_FP_PACK_CANONICAL): Likewise.
32513
32514 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32515
32516         [BZ #14183]
32517         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32518         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32519
32520 2012-05-30  Richard Henderson  <rth@twiddle.net>
32521
32522         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32523         with #ifndef NOT_IN_libc.
32524
32525         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32526         marked to avoid plt entry.
32527
32528 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32529
32530         [BZ #14112]
32531         * Makeconfig (default-abi): New macro.
32532         (abi-includes): Likewise.
32533         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32534         $(abi-$(default-abi)-lib-soname) for soname if defined.
32535         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32536         abi-variants.
32537         * Makefile (installed-stubs): Likewise.
32538         * include/stubs-biarch.h: Removed.
32539         * scripts/lib-names.awk: Only handle one library at a time.
32540         * scripts/soversions.awk: Remove WORDSIZE support.
32541         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32542         entries.
32543         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32544         Removed.
32545         (syscall-list-default-condition): Likewise.
32546         (syscall-list-default-condition): Likewise.
32547         (syscall-list-includes): Likewise.
32548         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32549         syscall-list-* with abi-*.  Handle undefined abi-variants.
32550         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32551         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32552         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32553         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32554         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32555         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32556         Removed.
32557         (syscall-list-32-options): Likewise.
32558         (syscall-list-32-condition): Likewise.
32559         (syscall-list-64-options): Likewise.
32560         (syscall-list-64-condition): Likewise.
32561         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32562         macro.
32563         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32564         Renamed to ...
32565         (abi-*): This.
32566         (abi-64-ld-soname): New macro.
32567         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32568         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32569         Renamed to ...
32570         (abi-*): This.
32571         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32572         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32573
32574 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32575
32576         * sysdeps/unix/sysv/linux/kernel-features.h
32577         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32578         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32579         include <kernel-features.h>.
32580         [!__NR_ftruncate64]: Remove conditional code.
32581         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32582         [__NR_ftruncate64]: Make code unconditional.
32583         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32584         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32585         include <kernel-features.h>.
32586         [!__NR_ftruncate64]: Remove conditional code.
32587         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32588         [__NR_ftruncate64]: Make code unconditional.
32589         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32591         include <kernel-features.h>.
32592         [!__NR_ftruncate64]: Remove conditional code.
32593         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32594         [__NR_ftruncate64]: Make code unconditional.
32595         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32597         include <kernel-features.h>.
32598         [!__NR_ftruncate64]: Remove conditional code.
32599         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32600         [__NR_ftruncate64]: Make code unconditional.
32601         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32602
32603         * configure.in (libc_cv_fpie): Weaken to a compile test using
32604         LIBC_TRY_CC_OPTION.
32605         * configure: Regenerated.
32606
32607 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32608
32609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32613         Refreshed.
32614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32620         Refreshed.
32621
32622 2012-05-27  David S. Miller  <davem@davemloft.net>
32623
32624         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32625         (___Q_zero): New.
32626         (__Q_simulate_exceptions): Return void.  Change to simulate
32627         exceptions by writing into the %fsr.
32628         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32629         (__Qp_handle_exceptions): Likewise.
32630         (numbers): Delete.
32631         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32632         __Qp_handle_exceptions.
32633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32634         __Qp_handle_exceptions.
32635         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32636         as unused and give dummy FP_RND_NEAREST initializer.
32637         (FP_INHIBIT_RESULTS): Define.
32638         (___Q_simulate_exceptions): Update declaration.
32639         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32640         formatting.
32641         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32642         as unused and give dummy FP_RND_NEAREST initializer.
32643         (__Qp_handle_exceptions): Update declaration.
32644         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32645         formatting.
32646
32647 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32648
32649         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32650         the temporary FPU control word.
32651         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32652         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32653         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32654         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32655         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32656         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32657         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32658         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32659         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32660         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32661         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32662
32663 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32664
32665         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32666         fields.
32667
32668 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32669
32670         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32671         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32672         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32673         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32674         Likewise.
32675         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32676         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32677         Likewise.
32678
32679 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32680
32681         * po/h.po: Update from translation team.
32682
32683 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32684
32685         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32686
32687         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32688         handling of denormals.
32689         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32690         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32691         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32692         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32695         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32696         Likewise.
32697
32698 2012-05-26  Marek Polacek  <polacek@redhat.com>
32699
32700         [BZ #14152]
32701         * math/libm-test.inc (fma_test): Don't always expect underflow
32702         exception.
32703
32704 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32705
32706         [BZ #12416]
32707         * elf/tst-execstack.c: Include stackinfo.h.
32708         (do_test): Adjust test case to ensure that pthread_getattr_np
32709         behaviour remains the same after marking stack executable.
32710
32711 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32712
32713         * sysdeps/unix/sysv/linux/kernel-features.h
32714         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32715         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32716         kernel-features.h.
32717         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32718         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32719         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32720         kernel-features.h.
32721         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32722         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32723
32724 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32725
32726         * configure.in: Define the default includes to being none.
32727         * configure: Regenerated.
32728
32729 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32730
32731         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32732         * sysdeps/x86_64/setjmp.S: Likewise.
32733         * sysdeps/i386/bsd-setjmp.S: Likewise.
32734         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32735         * sysdeps/i386/setjmp.S: Likewise.
32736         * sysdeps/i386/__longjmp.S: Likewise.
32737         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32738         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32739
32740         * include/stap-probe.h: New file.
32741         * configure.in: Handle --enable-systemtap.
32742         * configure: Regenerated.
32743         * config.h.in (USE_STAP_PROBE): New #undef.
32744         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32745         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32746         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32747
32748 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32749
32750         [BZ #13717]
32751         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32752         to 2.4.0 where earlier.
32753         * sysdeps/unix/sysv/linux/configure: Regenerated.
32754         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32755         <kernel-features.h>.
32756         [__ASSUME_32BITUIDS]: Make code unconditional.
32757         [!__ASSUME_32BITUIDS]: Remove conditional code.
32758         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32759         <kernel-features.h>.
32760         [__ASSUME_32BITUIDS]: Make code unconditional.
32761         [!__ASSUME_32BITUIDS]: Remove conditional code.
32762         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32763         [__ASSUME_32BITUIDS]: Make code unconditional.
32764         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32765         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
32770         <kernel-features.h>.
32771         [__ASSUME_32BITUIDS]: Make code unconditional.
32772         [!__ASSUME_32BITUIDS]: Remove conditional code.
32773         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32774         <kernel-features.h>.
32775         [__ASSUME_32BITUIDS]: Make code unconditional.
32776         [!__ASSUME_32BITUIDS]: Remove conditional code.
32777         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32778         <kernel-features.h>.
32779         [__ASSUME_32BITUIDS]: Make code unconditional.
32780         [!__ASSUME_32BITUIDS]: Remove conditional code.
32781         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32782         <kernel-features.h>.
32783         [__ASSUME_32BITUIDS]: Make code unconditional.
32784         [!__ASSUME_32BITUIDS]: Remove conditional code.
32785         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32786         <kernel-features.h>.
32787         [__ASSUME_32BITUIDS]: Make code unconditional.
32788         [!__ASSUME_32BITUIDS]: Remove conditional code.
32789         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32790         <kernel-features.h>.
32791         [__ASSUME_32BITUIDS]: Make code unconditional.
32792         [!__ASSUME_32BITUIDS]: Remove conditional code.
32793         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32794         <kernel-features.h>.
32795         [__ASSUME_32BITUIDS]: Make code unconditional.
32796         [!__ASSUME_32BITUIDS]: Remove conditional code.
32797         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32798         <kernel-features.h>.
32799         [__ASSUME_32BITUIDS]: Make code unconditional.
32800         [!__ASSUME_32BITUIDS]: Remove conditional code.
32801         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32802         <kernel-features.h>.
32803         [__ASSUME_32BITUIDS]: Make code unconditional.
32804         [!__ASSUME_32BITUIDS]: Remove conditional code.
32805         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32806         <kernel-features.h>.
32807         [__NR_setresgid] (__setresgid): Do not declare.
32808         [__ASSUME_32BITUIDS]: Make code unconditional.
32809         [!__ASSUME_32BITUIDS]: Remove conditional code.
32810         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32811         <kernel-features.h>.
32812         [__NR_setresuid] (__setresuid): Do not declare.
32813         [__ASSUME_32BITUIDS]: Make code unconditional.
32814         [!__ASSUME_32BITUIDS]: Remove conditional code.
32815         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
32820         <kernel-features.h>.
32821         [__ASSUME_32BITUIDS]: Make code unconditional.
32822         [!__ASSUME_32BITUIDS]: Remove conditional code.
32823         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32824         <kernel-features.h>.
32825         [__ASSUME_32BITUIDS]: Make code unconditional.
32826         [!__ASSUME_32BITUIDS]: Remove conditional code.
32827         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32828         <kernel-features.h>.
32829         [__ASSUME_32BITUIDS]: Make code unconditional.
32830         [!__ASSUME_32BITUIDS]: Remove conditional code.
32831         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32832         <kernel-features.h>.
32833         [__ASSUME_32BITUIDS]: Make code unconditional.
32834         [!__ASSUME_32BITUIDS]: Remove conditional code.
32835         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32836         <kernel-features.h>.
32837         [__ASSUME_32BITUIDS]: Make code unconditional.
32838         [!__ASSUME_32BITUIDS]: Remove conditional code.
32839         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32840         <kernel-features.h>.
32841         [__ASSUME_32BITUIDS]: Make code unconditional.
32842         [!__ASSUME_32BITUIDS]: Remove conditional code.
32843         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32844         <kernel-features.h>.
32845         [__ASSUME_32BITUIDS]: Make code unconditional.
32846         [!__ASSUME_32BITUIDS]: Remove conditional code.
32847         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32848         <kernel-features.h>.
32849         [__ASSUME_32BITUIDS]: Make code unconditional.
32850         [!__ASSUME_32BITUIDS]: Remove conditional code.
32851         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32852         <kernel-features.h>.
32853         [__ASSUME_32BITUIDS]: Make code unconditional.
32854         [!__ASSUME_32BITUIDS]: Remove conditional code.
32855         * sysdeps/unix/sysv/linux/kernel-features.h
32856         (__ASSUME_SETRESUID_SYSCALL): Remove.
32857         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32858         (__ASSUME_32BITUIDS): Likewise.
32859         (__ASSUME_LDT_WORKS): Likewise.
32860         (__ASSUME_O_DIRECTORY): Likewise.
32861         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32862         architecture but not kernel version.
32863         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32864         (__ASSUME_MMAP2_SYSCALL): Likewise.
32865         (__ASSUME_STAT64_SYSCALL): Likewise.
32866         (__ASSUME_IPC64): Likewise.
32867         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32868         <kernel-features.h>.
32869         [__ASSUME_32BITUIDS]: Make code unconditional.
32870         [!__ASSUME_32BITUIDS]: Remove conditional code.
32871         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32872         <kernel-features.h>.
32873         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32874         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32875         132096]: Remove conditional code.
32876         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32877         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32878         <kernel-features.h>.
32879         [__ASSUME_32BITUIDS]: Make code unconditional.
32880         [!__ASSUME_32BITUIDS]: Remove conditional code.
32881         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32882         <kernel-features.h>.
32883         [__ASSUME_32BITUIDS]: Make code unconditional.
32884         [!__ASSUME_32BITUIDS]: Remove conditional code.
32885         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32886         <kernel-features.h>.
32887         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32888         unconditional.
32889         (__setresgid): Do not declare.
32890         [__ASSUME_32BITUIDS]: Make code unconditional.
32891         [!__ASSUME_32BITUIDS]: Remove conditional code.
32892         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32893         <kernel-features.h>.
32894         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32895         unconditional.
32896         (__setresuid): Do not declare.
32897         [__ASSUME_32BITUIDS]: Make code unconditional.
32898         [!__ASSUME_32BITUIDS]: Remove conditional code.
32899         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32900         <kernel-features.h>.
32901         [__ASSUME_32BITUIDS]: Make code unconditional.
32902         [!__ASSUME_32BITUIDS]: Remove conditional code.
32903         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32904         <kernel-features.h>.
32905         [__ASSUME_32BITUIDS]: Make code unconditional.
32906         [!__ASSUME_32BITUIDS]: Remove conditional code.
32907
32908 2012-05-25  Richard Henderson  <rth@twiddle.net>
32909
32910         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32911         dl_hwcap to ifunc resolver.
32912         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32913         elf_ifunc_invoke.
32914         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32915         dl_hwcap to ifunc resolver.
32916         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32917
32918 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32919
32920         [BZ #14153]
32921         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32922         for |x| <= 2**-26, not 2**-57.
32923         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32924         exception.
32925
32926 2012-05-24  Jeff Law  <law@redhat.com>
32927
32928         * stdio-common/Makefile (tests): Add bug25.
32929         * stdio-common/bug25.c: New test.
32930
32931 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32932
32933         [BZ #13576]
32934         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32935         multiple of MALLOC_ALIGNMENT in size.
32936         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32937
32938 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32939
32940         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32941         Require >= 256.
32942         (FILENAME_MAX): Use macro-int-constant.
32943         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32944         (_IOFBF): Use macro-int-constant.
32945         (_IOLBF): Likewise.
32946         (_IONBF): Likewise.
32947         (SEEK_CUR): Likewise.
32948         (SEEK_END): Likewise.
32949         (SEEK_SET): Likewise.
32950         (TMP_MAX): Likewise.
32951         (EOF): Use macro-int-constant.  Require < 0.
32952         (NULL): Use macro-constant.  Require == 0.
32953         (stdin): Require type to be FILE *.
32954         (stdout): Likewise.
32955         (stderr): Likewise.
32956         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32957         macro-int-constant.
32958         (EXIT_SUCCESS): Likewise.
32959         (NULL): Use macro-constant.  Require == 0.
32960         (RAND_MAX): Use macro-int-constant.
32961         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32962         [C99-based standards] (strtof): Require function.
32963         [C99-based standards] (strtold): Likewise.
32964         [C99-based standards] (strtoll): Likewise.
32965         [C99-based standards] (strtoull): Likewise.
32966         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32967         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32968         [ISO || ISO99 || ISO11] (math.h): Likewise.
32969         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32970         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32971         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32972
32973 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32974
32975         [BZ #14132]
32976         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32977         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32978         * intl/dgettext.c (DCGETTEXT): Likewise.
32979         * intl/gettext.c (DCGETTEXT): Likewise.
32980         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32981         * posix/regex_internal.h (gettext): Likewise.
32982         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32983         Remove declaration.
32984         * include/argz.h (__argz_count_internal)
32985         (__argz_stringify_internal): Remove declaration.
32986         (__argz_count, __argz_stringify): Declare hidden proto.
32987         * intl/dcgettext.c: Remove use of INTDEF.
32988         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32989         * string/argz-stringify.c: Likewise.
32990         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32991         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32992         Declare hidden proto.
32993         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32994         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32995         Declare hidden proto.
32996         * include/stdio.h (__asprintf_internal): Don't declare.
32997         (__asprintf): Don't define as macro.  Declare hidden proto.
32998         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32999         (__fsetlocking): Declare hidden proto.
33000         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33001         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33002         hidden proto.
33003         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33004         (_IO_setlinebuf): Remove use of INTUSE.
33005         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33006         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33007         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33008         Remove declaration.
33009         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33010         (_IO_do_flush): Remove use of INTUSE.
33011         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33012         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33013         (_IO_adjust_column, _IO_least_wmarker)
33014         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33015         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33016         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33017         (_IO_default_doallocate, _IO_wdefault_doallocate)
33018         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33019         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33020         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33021         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33022         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33023         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33024         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33025         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33026         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33027         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33028         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33029         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33030         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33031         proto.
33032         (_IO_flush_all_internal, _IO_adjust_column_internal)
33033         (_IO_default_uflow_internal, _IO_default_finish_internal)
33034         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33035         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33036         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33037         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33038         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33039         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33040         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33041         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33042         (_IO_file_close_internal, _IO_file_close_it_internal)
33043         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33044         (_IO_file_init_internal, _IO_file_attach_internal)
33045         (_IO_file_fopen_internal, _IO_file_read_internal)
33046         (_IO_file_sync_internal, _IO_file_seek_internal)
33047         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33048         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33049         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33050         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33051         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33052         (_IO_list_all_internal, _IO_link_in_internal)
33053         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33054         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33055         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33056         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33057         (_IO_do_write_internal, _IO_padn_internal)
33058         (_IO_getline_info_internal, _IO_getline_internal)
33059         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33060         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33061         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33062         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33063         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33064         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33065         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33066         with libc_hidden_ver, remove use of INTUSE.
33067         * libio/genops.c: Likewise.
33068         * libio/freopen.c: Likewise.
33069         * libio/freopen64.c: Likewise.
33070         * libio/iofclose.c: Likewise.
33071         * libio/iofdopen.c: Likewise.
33072         * libio/iofflush.c: Likewise.
33073         * libio/iofflush_u.c: Likewise.
33074         * libio/iofgets.c: Likewise.
33075         * libio/iofgets_u.c: Likewise.
33076         * libio/iofopen.c: Likewise.
33077         * libio/iofopncook.c: Likewise.
33078         * libio/iofread.c: Likewise.
33079         * libio/iofread_u.c: Likewise.
33080         * libio/ioftell.c: Likewise.
33081         * libio/iofwrite.c: Likewise.
33082         * libio/iogetline.c: Likewise.
33083         * libio/iogets.c: Likewise.
33084         * libio/iogetwline.c: Likewise.
33085         * libio/iopadn.c: Likewise.
33086         * libio/iopopen.c: Likewise.
33087         * libio/ioseekoff.c: Likewise.
33088         * libio/ioseekpos.c: Likewise.
33089         * libio/iosetbuffer.c: Likewise.
33090         * libio/iosetvbuf.c: Likewise.
33091         * libio/ioungetc.c: Likewise.
33092         * libio/ioungetwc.c: Likewise.
33093         * libio/iovdprintf.c: Likewise.
33094         * libio/iovsprintf.c: Likewise.
33095         * libio/iovsscanf.c: Likewise.
33096         * libio/memstream.c: Likewise.
33097         * libio/obprintf.c: Likewise.
33098         * libio/oldfileops.c: Likewise.
33099         * libio/oldiofclose.c: Likewise.
33100         * libio/oldiofdopen.c: Likewise.
33101         * libio/oldiofopen.c: Likewise.
33102         * libio/oldiopopen.c: Likewise.
33103         * libio/oldstdfiles.c: Likewise.
33104         * libio/putc.c: Likewise.
33105         * libio/setbuf.c: Likewise.
33106         * libio/setlinebuf.c: Likewise.
33107         * libio/stdfiles.c: Likewise.
33108         * libio/strops.c: Likewise.
33109         * libio/vasprintf.c: Likewise.
33110         * libio/vscanf.c: Likewise.
33111         * libio/vsnprintf.c: Likewise.
33112         * libio/vswprintf.c: Likewise.
33113         * libio/wfiledoalloc.c: Likewise.
33114         * libio/wfileops.c: Likewise.
33115         * libio/wgenops.c: Likewise.
33116         * libio/wmemstream.c: Likewise.
33117         * libio/wstrops.c: Likewise.
33118         * libio/__fpurge.c: Likewise.
33119         * libio/__fsetlocking.c: Likewise.
33120         * assert/assert.c: Likewise.
33121         * debug/fgets_chk.c: Likewise.
33122         * debug/fgets_u_chk.c: Likewise.
33123         * debug/fread_chk.c: Likewise.
33124         * debug/fread_u_chk.c: Likewise.
33125         * debug/gets_chk.c: Likewise.
33126         * debug/obprintf_chk.c: Likewise.
33127         * debug/vasprintf_chk.c: Likewise.
33128         * debug/vdprintf_chk.c: Likewise.
33129         * debug/vsnprintf_chk.c: Likewise.
33130         * debug/vsprintf_chk.c: Likewise.
33131         * malloc/mtrace.c: Likewise.
33132         * misc/error.c: Likewise.
33133         * misc/syslog.c: Likewise.
33134         * stdio-common/asprintf.c: Likewise.
33135         * stdio-common/fxprintf.c: Likewise.
33136         * stdio-common/getw.c: Likewise.
33137         * stdio-common/isoc99_fscanf.c: Likewise.
33138         * stdio-common/isoc99_scanf.c: Likewise.
33139         * stdio-common/isoc99_vfscanf.c: Likewise.
33140         * stdio-common/isoc99_vscanf.c: Likewise.
33141         * stdio-common/isoc99_vsscanf.c: Likewise.
33142         * stdio-common/printf-prs.c: Likewise.
33143         * stdio-common/printf_fp.c: Likewise.
33144         * stdio-common/printf_fphex.c: Likewise.
33145         * stdio-common/printf_size.c: Likewise.
33146         * stdio-common/putw.c: Likewise.
33147         * stdio-common/scanf.c: Likewise.
33148         * stdio-common/sprintf.c: Likewise.
33149         * stdio-common/tmpfile.c: Likewise.
33150         * stdio-common/vfprintf.c: Likewise.
33151         * stdio-common/vfscanf.c: Likewise.
33152         * stdlib/strfmon_l.c: Likewise.
33153         * sunrpc/openchild.c: Likewise.
33154         * sunrpc/xdr_stdio.c: Likewise.
33155         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33156         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33157
33158 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33159
33160         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33161
33162         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33163         in the third column, to generate for the shared library an IFUNC
33164         that uses _dl_vdso_vsym.
33165         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33166         * Makeconfig (object-suffixes-noshared): New variable.
33167
33168         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33169         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33170         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33171         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33172
33173         [BZ #14132]
33174         * include/sys/time.h (__gettimeofday): Remove macro.
33175         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33176         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33177         Remove INTDEF.
33178         (__gettimeofday): Add libc_hidden_def.
33179         (gettimeofday): Add libc_hidden_weak.
33180         * sysdeps/mach/gettimeofday.c: Likewise.
33181         * sysdeps/posix/gettimeofday.c: Likewise.
33182         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33183         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33184         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33185         (__gettimeofday_internal): Remove strong_alias.
33186         (__gettimeofday): Add libc_hidden_def.
33187         (gettimeofday): Add libc_hidden_weak.
33188         * sysdeps/unix/syscalls.list (gettimeofday):
33189         Remove __gettimeofday_internal alias.
33190
33191 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33192             H.J. Lu  <hongjiu.lu@intel.com>
33193
33194         [BZ #12495]
33195         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33196         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33197         (largebin_index_32_big): New.
33198         (largebin_index): Use it for 16-byte alignment.
33199         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33200         correction with front_misalign.
33201
33202 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33203
33204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33206         Likewise.
33207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33208         Likewise.
33209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33210         Likewise.
33211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33212         Likewise.
33213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33214         Likewise.
33215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33216         Likewise.
33217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33218         Likewise.
33219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33220         Likewise.
33221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33222         Likewise.
33223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33224         Likewise.
33225         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33226         Likewise.
33227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33228         Likewise.
33229
33230         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33231         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33232
33233 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33234
33235         [BZ #10846]
33236         [BZ #14036]
33237         * math/libm-test.inc (exp_test): Add test from bug 14036.
33238         (pow_test): Add test from bug 10846.
33239
33240         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33241         and other flags.
33242         (special_function): Do not include flags in test name.
33243         (parse_args): Likewise.
33244         * sysdeps/i386/fpu/libm-test-ulps: Update.
33245         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33246         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33247         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33249
33250         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33251         exceptions.
33252         * math/libm-test.inc ("Philosophy"): Update comment about
33253         exception testing.
33254         (UNDERFLOW_EXCEPTION): New macro.
33255         (UNDERFLOW_EXCEPTION_OK): Likewise.
33256         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33257         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33258         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33259         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33260         (INVALID_EXCEPTION_OK): Update value.
33261         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33262         (OVERFLOW_EXCEPTION_OK): Likewise.
33263         (IGNORE_ZERO_INF_SIGN): Likewise.
33264         (test_exceptions): Handle underflow exceptions.
33265         (acos_test): Update for underflow exception expectations.
33266         (cexp_test): Likewise.
33267         (clog_test): Likewise.
33268         (clog10_test): Likewise.
33269         (csqrt_test): Likewise.
33270         (ctan_test): Likewise.
33271         (ctanh_test): Likewise.
33272         (exp_test): Likewise.
33273         (exp10_test): Likewise.
33274         (exp2_test): Likewise.
33275         (expm1_test): Likewise.
33276         (fma_test): Likewise.
33277         (j0_test): Likewise.
33278         (jn_test): Likewise.
33279         (nexttoward_test): Likewise.
33280         (pow_test): Likewise.
33281         (scalbn_test): Likewise.
33282         (scalbln_test): Likewise.
33283         (tan_test): Likewise.
33284         (y1_test): Likewise.
33285         * sysdeps/i386/fpu/libm-test-ulps: Update.
33286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33287
33288 2012-05-23  David S. Miller  <davem@davemloft.net>
33289
33290         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33291         (__libc_sigaction): Remove unused local variables.
33292
33293 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33294
33295         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33296
33297 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33298
33299         mktime: avoid signed integer overflow
33300         * time/mktime.c (__mktime_internal): Do not mishandle the case
33301         where diff == INT_MIN.
33302
33303         mktime: simplify computation of average
33304         * time/mktime.c (ranged_convert): Use new time_t_avg function
33305         instead of rolling our own (probably-slower) code.
33306
33307         mktime: do not assume signed right shift propagates sign bit
33308         * time/mktime.c (isdst_differ): New static function.
33309         (__mktime_internal): No need to normalize tm_isdst now.
33310         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33311         tm_isdst values.
33312
33313         mktime: merge another wrapv change from gnulib
33314         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33315         from some compilers.
33316
33317         mktime: remove incorrect attempt at unusual arithmetics
33318         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33319         The code didn't really work on such machines anyway.
33320         (TYPE_MINIMUM): Assume two's complement.
33321         (twos_complement_arithmetic): Verify that long_int and time_t
33322         are two's complement (or unsigned, in the latter case).
33323
33324         mktime: check signed shifts on long_int and time_t, too
33325         * time/mktime.c (SHR): Check that shifts work as desired
33326         on the types long_int and time_t too, as SHR is used on
33327         such types.
33328
33329         mktime: do not assume 'long' is wide enough
33330         * time/mktime.c (verify): Move decl up.
33331         (long_int): New type.
33332         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33333         to remove assumption in the code that 'long' is wide enough to
33334         store year values.  This assumption is not true on x32 and on
33335         some non-glibc platforms.
33336
33337         mktime: merge wrapv change from gnulib
33338         * time/mktime.c (WRAPV): New macro.
33339         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33340         (guess_time_tm, __mktime_internal): Do not assume that signed
33341         integer overflow wraps around; modern compilers generate code
33342         where this assumption is no longer valid.
33343
33344 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33345
33346         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33347         Replace "jmp L(pseudo_end)" with "ret".
33348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33349         Likewise.
33350
33351 2012-05-23  Andreas Jaeger  <aj@suse.de>
33352
33353         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33354         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33355
33356 2012-05-23  Andreas Jaeger  <aj@suse.de>
33357             Maximilian Attems  <max@stro.at>
33358
33359         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33360         New macros.
33361
33362 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33363
33364         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33365         code so that pseudo_end is just ret and the stack pointer is
33366         correct also for static library in error case.
33367
33368 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33369
33370         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33371         move to syscalls.list.
33372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33376
33377         * manual/install.texi (Running make install): Do not mention Linux
33378         kernel version for which pt_chown is not needed.
33379         (Linux): Do not mention problems with nscd with 2.0 kernels.
33380         * INSTALL: Regenerated.
33381
33382 2012-05-23  Andreas Jaeger  <aj@suse.de>
33383
33384         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33385         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33386         macro.
33387         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33388         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33389         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33390         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33391         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33392         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33393         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33394         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33395         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33396         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33397         * sysdeps/unix/sysv/linux/bits/in.h
33398         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33399
33400 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33401
33402         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33403         (PREPARE_VERSION): Just use assert instead, it will be elided
33404         under [NDEBUG] anyway.
33405
33406 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33407
33408         * sysdeps/unix/sysv/linux/Makefile: Include
33409         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33410         (sysdep_routines): Remove sysctl.
33411         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33412         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33413         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33414         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33415         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33416
33417 2012-05-22  Andreas Jaeger  <aj@suse.de>
33418
33419         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33420         that pseudo_end is just ret and the stack pointer is correct also
33421         for static library in error case.
33422
33423 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33424
33425         [BZ #14122]
33426         * nss/nsswitch.c (defconfig_entries): New variable.
33427         (__nss_database_lookup): Don't leak defconfig entries.
33428         (nss_parse_service_list): Don't leak on error paths.
33429         (free_database_entries): New function.
33430         (free_defconfig): New function.
33431         (free_mem): Move common code to free_database_entries.
33432
33433 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33434
33435         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33436         Add arch_prctl.
33437         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33438
33439         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33440         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33442         New macro.
33443         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33444         (INTERNAL_SYSCALL_TYPES): Likewise.
33445         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33446         (LOAD_REGS_TYPES_[1-6]): Likewise.
33447         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33448         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33449
33450 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33451
33452         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33453         copysignl for GLIBC_2_0.
33454         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33455         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33457         logbl for GLIBC_2_0.
33458         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33459         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33460
33461 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33462
33463         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33464         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33465
33466         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33467         Use "neg %eax".
33468
33469         * time/mktime.c: Update copyright years.
33470
33471 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33472
33473         mktime: merge comment-quoting-style change from gnulib
33474         * time/mktime.c: Quote 'like this' in comments.
33475         The GNU coding standards suggest that we no longer quote `like this',
33476         as "`" and "'" are typically rendered asymmetrically nowadays.
33477         The typical gnulib style is to quote 'like this' when quoting
33478         code, and "like this" when quoting English.
33479
33480         * time/mktime.c (compile-command): Add "-I.".
33481
33482         mktime: merge mktime-internal.h change from gnulib
33483         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33484
33485         mktime: merge time_r change from gnulib
33486         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33487
33488         mktime: merge DEBUG change from gnulib
33489         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33490         case system <time.h> has a #define.
33491
33492         mktime: merge <sys/types.h> change from gnulib
33493         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33494         since <time.t> is now guaranteed to define time_t.
33495
33496         mktime: merge HAVE_CONFIG_H change from gnulib
33497         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33498
33499 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33500
33501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33502         Use "neg %eax".
33503
33504         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33505         __rlim_t cast.
33506         (struct rusage): Use anonymous union to pad each field to
33507         __syscall_slong_t.
33508
33509 2012-05-21  David S. Miller  <davem@davemloft.net>
33510
33511         * Makefules (o-iterator): Remove .s cases.
33512         (compile-command.s): Delete.
33513         (COMPILE.s): Delete.
33514         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33515
33516 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33517
33518         * configure.in (libc_cv_predef_stack_protector): Only consider
33519         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33520         * configure: Regenerated.
33521
33522 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33523
33524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33525         New macro.  Use R*LP on int and pointer.
33526         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33527         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33528         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33529         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33530
33531         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33532         [__WORDSIZE_TIME64_COMPAT32] instead of
33533         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33534         (struct utmp): Likewise.
33535         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33536         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33537         Renamed to ...
33538         (__WORDSIZE_TIME64_COMPAT32): This.
33539         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33540         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33541         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33542         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33543         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33544         (__WORDSIZE_TIME64_COMPAT32): New macro.
33545
33546 2012-05-21  Andreas Jaeger  <aj@suse.de>
33547
33548         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33549         only if [SHARED]. Add prototype for __wcschr_ia32.
33550
33551 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33552
33553         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33554         of %rbp unmolested in the jmp_buf while mangling the low bits.
33555         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33556         unmolested high bits of %rbp while demangling the low bits.
33557         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33558
33559 2012-05-21  Andreas Jaeger  <aj@suse.de>
33560
33561         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33562         * sunrpc/svc_simple.c: Use it for registerrpc.
33563         * sunrpc/xcrypt.c: Use it for passwd2des.
33564
33565         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33566
33567 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33568
33569         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33570         Don't define if [__SYSCALL_WORDSIZE != 32].
33571         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33572         New macro.
33573
33574 2012-05-21  Bruno Haible  <bruno@clisp.org>
33575             Andreas Jaeger  <aj@suse.de>
33576
33577         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33578         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33579         inptr and inend for must_buffer_ch.
33580         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33581         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33582         * stdio-common/Makefile (tests): Remove bug15.
33583         (bug15-ENV): Remove macro.
33584         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33585         anymore.
33586
33587 2012-05-19  Andreas Jaeger  <aj@suse.de>
33588             Roland McGrath  <roland@hack.frob.com>
33589
33590         * manual/contrib.texi: Completely rewritten. It contains now an
33591         alphabetical list of contributors and their contributions.
33592
33593 2012-05-21  Richard Henderson  <rth@twiddle.net>
33594
33595         * misc/getauxval.c (__getauxval): Use unsigned long int.
33596         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33597         (getauxval): Use unsigned long int.
33598
33599 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33600
33601         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33602
33603 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33604
33605         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33606         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33607         __alignof__ (long double).
33608
33609 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33610
33611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33612
33613 2012-05-20  Richard Henderson  <rth@twiddle.net>
33614
33615         * misc/getauxval.c: New file.
33616         * misc/sys/auxv.h: New file.
33617         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33618         (routines): Add getauxval.
33619         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33620         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33621         * elf/dl-sysdep.c (_dl_auxv): Remove.
33622         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33623         * elf/dl-support.c (_dl_auxv): New variable.
33624         (_dl_aux_init): Initialize it.
33625         * manual/startup.texi (Auxiliary Vector): New node.
33626         * sysdeps/generic/bits/hwcap.h: New file.
33627         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33628         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33629         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33630         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33631         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33632         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33634         Update.
33635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33638         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33643
33644 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33645
33646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33647
33648 2012-05-19  David S. Miller  <davem@davemloft.net>
33649
33650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33651
33652 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33653
33654         [BZ #14123]
33655         * math/s_ccosh.c: Include <float.h>
33656         (__ccosh): Avoid internal overflow calculating sinh and cosh
33657         values before multiplying by sin and cos values.
33658         * math/s_ccoshf.c: Likewise.
33659         * math/s_ccoshl.c: Likewise.
33660         * math/s_csin.c: Likewise.
33661         * math/s_csinf.c: Likewise.
33662         * math/s_csinl.c: Likewise.
33663         * math/s_csinh.c: Likewise.
33664         * math/s_csinhf.c: Likewise.
33665         * math/s_csinhl.c: Likewise.
33666         * math/libm-test.inc (ccos_test): Add more tests.
33667         (ccosh_test): Likewise.
33668         (csin_test): Likewise.
33669         (csinh_test): Likewise.
33670         * sysdeps/i386/fpu/libm-test-ulps: Update.
33671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33672
33673 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33674
33675         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33676         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33677
33678         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33679
33680 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33681
33682         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33683         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33684         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33685         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33686         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33687         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33688         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33689         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33690         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33691         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33692         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33693         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33694         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33695         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33696         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33697         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33698         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33699         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33700         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33701         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33702         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33703         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33704         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33705         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33706         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33707         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33708         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33709         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33710         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33711         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33712         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33713
33714 2012-05-18  Andreas Jaeger  <aj@suse.de>
33715
33716         * csu/.gitignore: Delete.
33717
33718 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33719
33720         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33721         (timex): Use __syscall_slong_t.
33722
33723 2012-05-18  Andreas Jaeger  <aj@suse.de>
33724             Carlos O'Donell  <carlos_odonell@mentor.com>
33725
33726         * manual/install.texi (Configuring and compiling): Update
33727         description about files modified in the source directory.
33728         * INSTALL: Regenerated.
33729
33730 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33731
33732         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33733         value.  Use "or" to set return value to -1.
33734         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33735         negate return value.
33736
33737 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33738
33739         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33740         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33741         failure if the compiler has Graphite support disabled.
33742         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33743         Likewise.
33744         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33745         (CFLAGS-memmove.c): Likewise.
33746         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33747         Likewise.
33748
33749 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33750
33751         * sysdeps/x86_64/x32/_itoa.h: New file.
33752
33753         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33754         getdents system call only if kernel and user dirents have the
33755         same d_ino and d_off.
33756
33757         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33758         LLONG_MAX != LONG_MAX.
33759         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33760         (_fitoa_word): Likewise.
33761
33762         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33763         years.
33764         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33765         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33766         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33767
33768         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33769         include <bits/wordsize.h>.  Check __x86_64__ instead of
33770         __WORDSIZE.
33771         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33772         if __x86_64__ is defined.  Use anonymous union on fpstate.
33773
33774         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33775         anonymous union.
33776
33777 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33778
33779         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33780         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33781         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33782         Refer to _rtld_local_ro instead of _rtld_global_ro.
33783         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33784         Likewise.
33785         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33786         Likewise.
33787         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33788         Likewise.
33789         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33790         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33791         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33792
33793         * sysdeps/powerpc/powerpc32/dl-machine.c
33794         (__elf_machine_runtime_setup) [PROF]: Don't reference
33795         _dl_prof_resolve.
33796
33797 2012-05-18  Andreas Jaeger  <aj@suse.de>
33798
33799         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33800         function only available for GCCs before 3.4 since GCC 3.4
33801         introduced a builtin.
33802         (lrint): Likewise.
33803         (llrintf): Likewise.
33804         (llrint): Likewise.
33805         (fmaxf): Likewise.
33806         (fmax): Likewise.
33807         (fminf): Likewise.
33808         (fmin): Likewise.
33809         (rint): Likewise.
33810         (rintf): Likewise.
33811         (nearbyint): Likewise.
33812         (nearbyintf): Likewise.
33813         (ceil): Likewise.
33814         (ceilf): Likewise.
33815         (floor): Likewise.
33816         (floorf): Likewise.
33817
33818 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33819
33820         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33821         on both fields and cast pointer to __syscall_ulong_t.
33822
33823         * bits/types.h (__fsword_t): New type.
33824         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33825         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33826         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33827         (__FSWORD_T_TYPE): Likewise.
33828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33829         (__FSWORD_T_TYPE): Likewise.
33830         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33831         (__FSWORD_T_TYPE): Likewise.
33832         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33833         (__FSWORD_T_TYPE): Likewise.
33834         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33835         __SWORD_TYPE with __fsword_t.
33836         (statfs64): Likewise.
33837
33838 2012-05-17  David S. Miller  <davem@davemloft.net>
33839
33840         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33841
33842 2012-05-17  Andreas Jaeger  <aj@suse.de>
33843
33844         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33845         warning.
33846
33847 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33848
33849         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33850
33851 2012-05-17  Andreas Jaeger  <aj@suse.de>
33852
33853         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33854         when it is used.
33855
33856 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33857
33858         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33859
33860 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33861
33862         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33863         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33864
33865 2012-05-17  Andreas Jaeger  <aj@suse.de>
33866             Carlos O'Donell  <carlos_odonell@mentor.com>
33867
33868         [BZ #14059]
33869         * sysdeps/x86_64/multiarch/init-arch.h
33870         (bit_YMM_Usable): Rename to...
33871         (bit_AVX_Usable): ... this.
33872         (bit_FMA4_Usable): New macro.
33873         (bit_XMM_state): New macro.
33874         (bit_YMM_state): New macro.
33875         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33876         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33877         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33878         (CPUID_OSXSAVE): New macro.
33879         (CPUID_AVX): New macro.
33880         (CPUID_FMA4): New macro.
33881         (index_YMM_Usable): Rename to...
33882         (index_AVX_Usable): ... this.
33883         (HAS_AVX): Use HAS_ARCH_FEATURE.
33884         (HAS_FMA4): Likewise.
33885         (HAS_YMM_USABLE): Remove.
33886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33887         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33888         are present.
33889         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33890         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33891         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33892         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33893         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33894
33895 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33896
33897         * math/libm-test.c: Support platforms without multiple rounding modes.
33898         * math/bug-nextafter.c: Support platforms without FP exceptions.
33899         * math/bug-nexttoward.c: Likewise.
33900         * math/test-fenv.c: Likewise.
33901         * math/test-misc.c: Likewise.
33902         * stdlib/bug-getcontext.c: Likewise.
33903
33904 2012-05-17  Andreas Jaeger  <aj@suse.de>
33905
33906         * manual/examples/search.c (critter_cmp): Change signature to
33907         avoid warnings.
33908         * manual/string.texi (Collation Functions): Likewise.
33909
33910 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33911
33912         * bits/types.h: Fold copyright years.
33913         * bits/typesizes.h: Likewise.
33914         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33916         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33917         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33918         * time/time.h: Likewise.
33919
33920 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33921
33922         [BZ #208]
33923         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33924         in instead of returning them.  Return void.
33925         (__libc_mallinfo): Accumulate over all arenas.
33926         (__malloc_stats): Adjust for change in int_mallinfo interface.
33927
33928 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33929
33930         [BZ #10375]
33931         * configure.in (NM): Add AC_CHECK_TOOL for it.
33932         (libc_extra_cflags): New substituted variable.
33933         Check for -fstack-protector being used implicitly.
33934         * configure: Regenerated.
33935         * config.make.in (config-extra-cflags): New variable,
33936         gets @libc_extra_cflags@.
33937         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33938
33939         [BZ #10375]
33940         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33941         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33942         * configure: Regenerated.
33943         * config.make.in (CPPUNDEFS): New substituted variable.
33944         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33945         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33946         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33947
33948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33949
33950         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33951         (mq_attr): Use __syscall_slong_t.
33952
33953 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33954
33955         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33956         Check __x86_64__ instead of __WORDSIZE.
33957         (_STAT_VER_LINUX): Likewise.
33958         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33959         __syscall_ulong_t and __syscall_slong_t.
33960         (stat64): Likewise.
33961
33962 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33963
33964         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33965
33966 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33967
33968         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33969
33970 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33971
33972         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33973         __syscall_ulong_t.
33974
33975         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33976         include <bits/wordsize.h>.  Check __x86_64__ instead of
33977         __WORDSIZE.
33978         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33979         defined.
33980         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33981
33982         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33983         include <bits/wordsize.h>.  Check __x86_64__ instead of
33984         __WORDSIZE.
33985         (user_regs_struct): Use "__extension__ unsigned long long"
33986         instead of "unsigned long" if __x86_64__ is defined.
33987         (user): Likewise.  Pad after pointer field if __ILP32__ is
33988         defined.
33989
33990 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33991
33992         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33993         versions 5 to 9.
33994         * configure: Regenerated.
33995         * manual/install.texi (texinfo): Increase version requirement to
33996         4.5 or later.
33997         * INSTALL: Regenerated.
33998
33999         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34000
34001 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34002
34003         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34004
34005         * sysdeps/x86_64/x32/ffs.c: New file.
34006
34007         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34008         __syscall_ulong_t.
34009         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34010         defined.  Use __syscall_ulong_t.
34011         (shminfo): Use __syscall_ulong_t.
34012         (shm_info): Likewise.
34013
34014         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34015         __syscall_ulong_t.
34016
34017         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34018         <bits/wordsize.h>.
34019         (msgqnum_t): Use __syscall_ulong_t.
34020         (msglen_t): Likewise.
34021         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34022         __syscall_ulong_t.
34023
34024         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34025         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34026
34027         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34028
34029         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34030         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34031
34032         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34033         __syscall_slong_t.
34034
34035         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34036         include <bits/wordsize.h>.  Check __x86_64__ instead of
34037         __WORDSIZE.
34038
34039         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34040         "unsigned long long int" if __x86_64__ is defined.
34041         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34042
34043         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34044         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34045         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34046
34047         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34048         <stdint.h>.
34049         (GET_PC): Cast to uintptr_t first.
34050         (GET_FRAME): Likewise.
34051         (GET_STACK): Likewise.
34052
34053         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34054         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34055         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34056         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34057         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34058         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34059         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34060         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34061         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34062         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34063         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34064         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34065         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34066         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34067         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34068         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34069         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34070         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34071         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34072         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34073         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34074         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34075         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34076         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34077         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34078         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34079         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34080         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34081         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34082
34083 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34084
34085         * Makerules (+depfiles): Also collect depfiles from .oS in
34086         $(extra-objs).
34087         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34088         .oS, $(libnldbl-routines)).
34089
34090         * Makerules (native-compile-mkdep-flags): Define.
34091         * sunrpc/Makefile (extra-objs): Add $(addprefix
34092         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34093         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34094         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34095         calling $(make-target-directory).
34096
34097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34098
34099         * bits/types.h (__snseconds_t): Removed.
34100         * time/time.h (struct timespec): Replace __snseconds_t with
34101         __syscall_slong_t.
34102         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34103         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34104         Likewise.
34105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34106         (__SNSECONDS_T_TYPE): Likewise.
34107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34108         (__SNSECONDS_T_TYPE): Likewise.
34109         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34110         (__SNSECONDS_T_TYPE): Likewise.
34111
34112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34113
34114         * sysdeps/mach/hurd/bits/typesizes.h
34115         (__SYSCALL_SLONG_TYPE): New macro.
34116         (__SYSCALL_ULONG_TYPE): Likewise.
34117
34118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34119
34120         * bits/types.h (__syscall_slong_t): New type.
34121         (__syscall_ulong_t): Likewise.
34122
34123         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34124         (__SYSCALL_ULONG_TYPE): Likewise.
34125         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34126         (__SYSCALL_SLONG_TYPE): Likewise.
34127         (__SYSCALL_ULONG_TYPE): Likewise.
34128         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34129         (__SYSCALL_SLONG_TYPE): Likewise.
34130         (__SYSCALL_ULONG_TYPE): Likewise.
34131         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34132         (__SYSCALL_SLONG_TYPE): Likewise.
34133         (__SYSCALL_ULONG_TYPE): Likewise.
34134
34135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34136
34137         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34138         Add sigaltstack-offsets.sym.
34139         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34140         <sigaltstack-offsets.h>.
34141         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34142         longjmp_msg pointer.
34143         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34144         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34145         signal stack.
34146         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34147
34148 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34149
34150         * elf/stackguard-macros.h: Remove file.
34151         * sysdeps/generic/stackguard-macros.h: New file.
34152         * sysdeps/i386/stackguard-macros.h: Likewise.
34153         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34154         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34155         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34156         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34157         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34158         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34159         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34160         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34161         <elf/stackguard-macros.h>.
34162
34163         [BZ #14109]
34164         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34165         __aligned__ in attribute.
34166         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34167         (gregset_t): Likewise.
34168
34169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34170
34171         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34172         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34173         * sysdeps/x86_64/x32/Implies-after: New file.
34174
34175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34176
34177         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34178         and access return value for _dl_profile_fixup.  Use R10_LP to
34179         load frame size.
34180
34181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34182
34183         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34184
34185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34186
34187         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34188         * sysdeps/x86_64/x32/sysdep.h: New file.
34189
34190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34191
34192         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34193         * sysdeps/x86_64/setjmp.S: Likewise.
34194
34195 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34196
34197         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34198         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34199         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34200         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34201         remove unused global constant.
34202
34203 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34204
34205         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34206         include of <not-cancel.h>.
34207
34208 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34209
34210         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34211
34212 2012-05-15  Jeff Law  <law@redhat.com>
34213             Andreas Jaeger  <aj@suse.de>
34214
34215         [BZ #13594]
34216         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34217         out from...
34218         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34219         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34220         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34221         code changing __hst_map_handle.map.
34222
34223 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34224
34225         * configure.in (sysnames): Look for Implies-before and Implies-after
34226         files.
34227         * configure: Regenerated.
34228
34229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34230
34231         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34232         8-byte data alignment with LP_SIZE alignment.
34233
34234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34235
34236         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34237         into R10_LP.
34238
34239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34240
34241         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34242
34243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34244
34245         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34246         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34247         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34248         Likewise.
34249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34250
34251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34252
34253         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34254         (stackinfo_sub_sp): Likewise.
34255
34256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34257
34258         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34259         RAX_LP.
34260
34261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34262
34263         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34264         into R*_LP.
34265
34266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34267
34268         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34269         sizes into R*_LP.
34270
34271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34272
34273         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34274
34275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34276
34277         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34278         into R11_LP and load __x86_64_shared_cache_size_half into
34279         R8_LP.
34280
34281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34282
34283         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34284         R8_LP.
34285
34286 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34287
34288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34289         logb for POWER7.
34290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34291         logbf for POWER7.
34292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34293         logbl for POWER7.
34294         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34295         powerpc32/power7/fpu/s_logb.c via #include.
34296         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34297         powerpc32/power7/fpu/s_logbf.c via #include.
34298         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34299         powerpc32/power7/fpu/s_logbl.c via #include.
34300
34301 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34302
34303         * README.libm: Remove file.
34304
34305 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34306
34307         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34308         count for x32.  Use R*_LP and omit operand-size suffix.
34309
34310 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34311
34312         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34313         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34314         * sysdeps/x86_64/x32/shlib-versions: New file.
34315
34316 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34317
34318         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34319         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34320         Use _dl_fatal_printf instead.
34321
34322 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34323
34324         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34325         set if not set by the user.  Do not allow for being unset.
34326         * sysdeps/unix/sysv/linux/configure: Regenerated.
34327
34328 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34329
34330         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34331         the `q' suffix from lea and replace .quad with ASM_ADDR.
34332
34333 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34334
34335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34336         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34337         instead of $17.
34338         (PTR_DEMANGLE): Likewise.
34339
34340 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34341
34342         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34343         (LP_OP): Likewise.
34344         (ASM_ADDR): Likewise.
34345         (RAX_LP): Likewise.
34346         (RBP_LP): Likewise.
34347         (RBX_LP): Likewise.
34348         (RCX_LP): Likewise.
34349         (RDI_LP): Likewise.
34350         (RSI_LP): Likewise.
34351         (RSP_LP): Likewise.
34352         (R8_LP): Likewise.
34353         (R9_LP): Likewise.
34354         (R10_LP): Likewise.
34355         (R10_LP): Likewise.
34356         (R11_LP): Likewise.
34357         (R12_LP): Likewise.
34358         (R13_LP): Likewise.
34359         (R14_LP): Likewise.
34360         (R15_LP): Likewise.
34361
34362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34363
34364         * sysdeps/x86_64/x32/dl-machine.h: New file.
34365
34366 2012-05-14  Andreas Jaeger  <aj@suse.de>
34367
34368         * manual/Makefile (subdir): Remove export of subdir.
34369         (all): Remove target.
34370         (.PHONY): Remove all from list.
34371         (mkinstalldirs): Remove.
34372         (.PHONY): Remove installdirs from list.
34373         ($(inst_infodir)/libc.info): Use make-target-directory.
34374         (installdirs): Remove.
34375         (subdir_%): Remove.
34376         (glibc-targets): Remove.
34377         (lib): Remove.
34378         (stubs): Remove.
34379         ($(objpfx)stubs ../po/manual.pot): Remove.
34380         ($(objpfx)stamp%): Remove.
34381         (make-target-directory): Remove.
34382         (subdir_install): Remove.
34383         (routines): Remove.
34384         (aux): Remove.
34385         (sources): Remove.
34386         (objects): Remove.
34387         (headers): Remove.
34388
34389         [BZ #13750]
34390         * manual/.gitignore: Remove, it's not needed anymore.
34391         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34392         all files in it.
34393         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34394         directory.
34395         (texis): Renamed to $(objpfx)texis.
34396         (texis-path): New, contains path to generated files.
34397         (chapters.%): Use texis-path for complete path, add extra argument
34398         libc-texinfo.sh.
34399         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34400         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34401         (summary,texi, stamp-summary): Use complete path of
34402         files. Generate files in build dir.
34403         (dir-add.texi): Build in build dir.
34404         (libm-err.texi,stamp-libm-err): Likewise.
34405         (version.texi, stamp-version): Likewise.
34406         (.%c.texi): Likewise.
34407         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34408         (mostlyclean): Remove target.
34409         (realclean): Remove target.
34410         (generated): Add new variable with contents from mostlyclean and
34411         realclean, remove entries duplicated in common-mostlyclean, add
34412         stamp-libm-err and stamp-version.
34413         (generated-dirs): Add libc directory.
34414         ($(inst_infodir)/libc.info): Install files from build dir.
34415
34416         * manual/install.texi (Configuring and compiling): Adjust since
34417         the info files are not part of the tar ball anymore.
34418
34419 2012-05-14  Andreas Jaeger  <aj@suse.de>
34420
34421         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34422         variable.
34423
34424 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34425
34426         [BZ #13717]
34427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34428         to 2.2.0 where earlier.
34429         * sysdeps/unix/sysv/linux/configure: Regenerated.
34430         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34431         Remove conditional code.
34432         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34433         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34434         Remove conditional code.
34435         [!__NR_lchown]: Likewise.
34436         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34437         [__NR_lchown]: Likewise.
34438         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34439         comment referencing __ASSUME_LCHOWN_SYSCALL.
34440         * sysdeps/unix/sysv/linux/i386/sigaction.c
34441         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34442         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34443         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34444         Remove conditional code.
34445         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34446         (__protocol_available): Remove #if 0 code.
34447         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34448         conditional code.
34449         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34450         * sysdeps/unix/sysv/linux/kernel-features.h
34451         (__ASSUME_GETCWD_SYSCALL): Don't define.
34452         (__ASSUME_REALTIME_SIGNALS): Likewise.
34453         (__ASSUME_PREAD_SYSCALL): Likewise.
34454         (__ASSUME_PWRITE_SYSCALL): Likewise.
34455         (__ASSUME_POLL_SYSCALL): Likewise.
34456         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34457         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34458         non-SPARC.
34459         (__ASSUME_SIOCGIFNAME): Don't define.
34460         (__ASSUME_MSG_NOSIGNAL): Likewise.
34461         (__ASSUME_SENDFILE): Define unconditionally.
34462         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34463         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34464         conditional code.
34465         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34466         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34467         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34468         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34469         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34470         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34471         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34473         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34474         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34476         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34477         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34479         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34482         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34483         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34485         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34488         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34489         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34491         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34494         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34496         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34497         Remove conditional code.
34498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34499         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34500         Remove conditional code.
34501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34502         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34503         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34504         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34505         Remove conditional code.
34506         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34507         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34508         Remove conditional code.
34509         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34510         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34511         Remove conditional code.
34512         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34513         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34514         Remove conditional code.
34515         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34516         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34517         Remove conditional code.
34518         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34519         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34520         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34522         * sysdeps/unix/sysv/linux/sigaction.c
34523         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34524         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34525         * sysdeps/unix/sysv/linux/sigpending.c
34526         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34527         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34528         * sysdeps/unix/sysv/linux/sigprocmask.c
34529         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34530         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34531         * sysdeps/unix/sysv/linux/sigsuspend.c
34532         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34533         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34534         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34535         (__libc_missing_rt_sigs): Remove.
34536         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34537         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34538         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34539         Remove conditional code.
34540         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34541         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34542         return 1.
34543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34544         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34545         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34546         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34547
34548 2012-05-14  Andreas Jaeger  <aj@suse.de>
34549
34550         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34551         it's not used in glibc.
34552         (__coshm1): Likewise.
34553         (__acosh1p): Likewise.
34554         (__sgn): Likewise.
34555
34556         * manual/string.texi (Copying and Concatenation): Add missing
34557         variable in concat example.
34558         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34559
34560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34561
34562         [BZ #14103]
34563         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34564         __builtin_clzl with __builtin_clzll.
34565
34566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34567
34568         [BZ #14104]
34569         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34570         libc_freeres_ptr.
34571
34572 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34573
34574         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34575         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34576         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34577         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34578
34579 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34580
34581         * NEWS: Update ia64 info.
34582
34583 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34584
34585         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34586         used as bcopy.
34587
34588 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34589
34590         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34591         * sysdeps/unix/syscalls.list (dup3): Likewise.
34592         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34593         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34594
34595 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34596
34597         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34598         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34599
34600 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34601
34602         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34603         thread pointer.
34604         (TLS_IE): Use mov/add instead of movq/addq to load thread
34605         pointer.
34606         (TLS_GD_PREFIX): New.
34607         (TLS_GD): Use it.
34608
34609 2012-05-11  David S. Miller  <davem@davemloft.net>
34610
34611         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34612         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34613         (_FPU_SETCW): Likewise.
34614
34615 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34616
34617         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34618         is 32-byte aligned.
34619
34620 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34621
34622         [BZ #11837]
34623         * iconvdata/gb18030.c: Update tables.
34624         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34625         characters specially.
34626         (BODY for TO_LOOP): Add encoding of missing ranges.
34627
34628 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34629
34630         [BZ #13673]
34631         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34632         * sysdeps/mach/hurd/dup3.c: Likewise.
34633         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34634         * sysdeps/powerpc/memmove.c:: Likewise.
34635
34636 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34637
34638         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34639         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34640
34641 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34642
34643         * elf/elf.h (R_X86_64_RELATIVE64): New.
34644         (R_X86_64_NUM): Updated.
34645         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34646         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34647         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34648         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34649         tst-quad1pie tst-quad2pie
34650         (modules-names): Add tst-quadmod1 tst-quadmod2.
34651         ($(objpfx)tst-quad1): New dependency.
34652         ($(objpfx)tst-quad2): Likewise.
34653         ($(objpfx)tst-quad1pie): Likewise.
34654         ($(objpfx)tst-quad2pie): Likewise.
34655         * sysdeps/x86_64/tst-quad1.c: New file.
34656         * sysdeps/x86_64/tst-quad1pie.c: New file.
34657         * sysdeps/x86_64/tst-quad2.c: Likewise.
34658         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34659         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34660         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34661         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34662         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34663
34664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34665
34666         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34667         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34668         * streams/stropts.h (t_scalar_t): Define type.
34669
34670         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34671         (_PATH_PRESERVE): Set to "/var/lib".
34672         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34673
34674         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34675         instead of int.
34676
34677         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34678         if __dir_mkfile succeeded.
34679
34680         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34681         checking for _hurd_dtablesize.  Unlock it right after having
34682         finished _hurd_dtable allocation.
34683
34684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34685
34686         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34687         * sysdeps/mach/hurd/configure: Regenerated.
34688         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34689         special-casing to...
34690         * sysdeps/gnu/configure.in: ... this new file.
34691         * sysdeps/unix/sysv/linux/configure: Regenerated.
34692         * sysdeps/gnu/configure: New generated file.
34693
34694         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34695         for Linux: use nsec instead of usec, as well as:
34696         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34697         members of type struct timespec.
34698         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34699         New macros.
34700         (struct stat64): Likewise.
34701         (_STATBUF_ST_NSEC): New macro.
34702         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34703
34704         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34705         __strtoul_internal rather than strtoul.
34706
34707 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34708
34709         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34710         and reject them.
34711
34712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34713
34714         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34715         which preserves existing values.
34716         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34717
34718 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34719
34720         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34721         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34722         greater than FD_SETSIZE.
34723
34724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34725
34726         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34727         allocated, call __vm_protect to finish enabling the existing space, and
34728         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34729         allocate the remainder.
34730
34731 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34732
34733         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34734         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34735
34736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34737
34738         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34739         sysdeps/mach/hurd/readlink.c.
34740
34741         * posix/tst-sysconf.c (posix_options): Only use
34742         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34743         _POSIX_SYNCHRONIZED_IO when they are defined
34744         * sysdeps/mach/hurd/bits/posix_opt.h:
34745         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34746         (_XOPEN_REALTIME): Undefine macro.
34747         (_XOPEN_REALTIME_THREADS): Undefine macro.
34748         (_XOPEN_SHM): Undefine macro.
34749         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34750         macro to -1.
34751         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34752         macro to -1.
34753         (_POSIX_ASYNC_IO): Undefine macro.
34754         (_POSIX_PRIORITIZED_IO): Undefine macro.
34755         (_POSIX_SPIN_LOCKS): Define macro to -1.
34756
34757         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34758         SA_NODEFER, SA_RESETHAND.
34759         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34760         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34761         F_DUPFD_CLOEXEC.
34762
34763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34764
34765         * elf/Makefile (pldd-modules): Define unconditionally.
34766
34767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34768
34769         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34770
34771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34772
34773         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34774         Return ENOENT when name is empty.
34775         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34776
34777 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34778
34779         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34780
34781         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34782
34783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34784
34785         Fix mlock in all cases except non-readable pages.
34786         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34787         instead of VM_PROT_ALL as parameter to __vm_wire function.
34788
34789         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34790         (__mkdir): When path is `/', just fail with EEXIST.
34791         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34792
34793 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34794
34795         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34796         <sys/uio.h> (for writev).
34797         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34798         and <sys/param.h> (for MIN).
34799
34800 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34801
34802         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34803         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34804         if interrupted.
34805
34806 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34807
34808         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34809         Depend on against $(link-rpcuserlibs).
34810
34811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34812
34813         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34814         (__libc_stack_end): Do not use attribute_relro.
34815         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34816         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34817         to libthread-provided value.
34818         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34819         attribute_relro.
34820
34821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34822
34823         [BZ #3748]
34824         * bits/libc-lock.h (__libc_once_get): New macro.
34825         * sysdeps/mach/bits/libc-lock.h: Likewise.
34826         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34828         instead of using implementation details.
34829
34830         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34831         * libio/freopen.c: Likewise.
34832         * libio/freopen64.c: Likewise.
34833         * misc/syslog.c: Likewise.
34834         * nscd/connections.c: Likewise.
34835         * nscd/netgroupcache.c: Likewise.
34836         * sysdeps/posix/getcwd.c: Likewise.
34837
34838 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34839
34840         * math/w_ilogbf.c: Add #include <limits.h>.
34841
34842 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34843
34844         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34845         path instead of returning without unlocking.
34846
34847         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34848         immediate-write ioctls.
34849         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34850
34851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34852
34853         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34854         __builtin_frame_address instead of making assumptions about the
34855         location of the return address relative to DATA.  Force early load of
34856         the return address.
34857         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34858         __builtin_frame_address.
34859
34860         dup3 for GNU Hurd.
34861         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34862         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34863         implement dup3 and do some further code clean-ups.
34864         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34865         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34866
34867 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34868
34869         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34870
34871         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34872         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34873         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34874         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34875         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34876         d->port.lock.
34877
34878         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34879         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34880         when handler == SIG_ERR, not when handler != SIG_ERR.
34881
34882 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34883
34884         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34885         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34886         definitions.
34887
34888         accept4 for GNU Hurd.
34889         * include/sys/socket.h (__libc_accept4): New prototype.
34890         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34891         to implement __libc_accept4.
34892         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34893         __libc_accept4.
34894         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34895
34896         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34897         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34898         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34899         signal-defines.sym.
34900
34901 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34902
34903         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34904
34905 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34906
34907         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34908         assertion on O_CLOEXEC flag.
34909         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34910         * hurd/intern-fd.c: Likewise.
34911         * hurd/port2fd.c: Likewise.
34912
34913 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34914
34915         [BZ #3906]
34916         * bits/in.h (IPV6_PKTINFO): Define new macro.
34917         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34918
34919 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34920
34921         [BZ #13954]
34922         [BZ #13955]
34923         [BZ #13956]
34924         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34926         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34927         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34928         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34929         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34930         * math/libm-test.inc (logb_test) : Additional logb tests.
34931
34932 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34933             Andreas Jaeger  <aj@suse.de>
34934
34935         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34936         * configure: Regenerated.
34937         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34938         * config.make.in (link-obsolete-rpc): New substituted variable.
34939         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34940         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34941         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34942         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34943         so that libc.a contains the symbols.
34944         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34945         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34946         * sunrpc/auth_none.c: Likewise.
34947         * sunrpc/auth_unix.c: Likewise.
34948         * sunrpc/authdes_prot.c: Likewise.
34949         * sunrpc/authuxprot.c: Likewise.
34950         * sunrpc/clnt_gen.c: Likewise.
34951         * sunrpc/clnt_perr.c: Likewise.
34952         * sunrpc/clnt_raw.c: Likewise.
34953         * sunrpc/clnt_simp.c: Likewise.
34954         * sunrpc/clnt_tcp.c: Likewise.
34955         * sunrpc/clnt_udp.c: Likewise.
34956         * sunrpc/clnt_unix.c: Likewise.
34957         * sunrpc/des_crypt.c: Likewise.
34958         * sunrpc/des_soft.c: Likewise.
34959         * sunrpc/get_myaddr.c: Likewise.
34960         * sunrpc/key_call.c: Likewise.
34961         * sunrpc/key_prot.c: Likewise.
34962         * sunrpc/netname.c: Likewise.
34963         * sunrpc/pm_getmaps.c: Likewise.
34964         * sunrpc/pm_getport.c: Likewise.
34965         * sunrpc/pmap_clnt.c: Likewise.
34966         * sunrpc/pmap_prot.c: Likewise.
34967         * sunrpc/pmap_prot2.c: Likewise.
34968         * sunrpc/pmap_rmt.c: Likewise.
34969         * sunrpc/publickey.c: Likewise.
34970         * sunrpc/rpc_cmsg.c: Likewise.
34971         * sunrpc/rpc_common.c: Likewise.
34972         * sunrpc/rpc_dtable.c: Likewise.
34973         * sunrpc/rpc_prot.c: Likewise.
34974         * sunrpc/rpc_thread.c: Likewise.
34975         * sunrpc/rtime.c: Likewise.
34976         * sunrpc/svc.c: Likewise.
34977         * sunrpc/svc_auth.c: Likewise.
34978         * sunrpc/svc_raw.c: Likewise.
34979         * sunrpc/svc_run.c: Likewise.
34980         * sunrpc/svc_tcp.c: Likewise.
34981         * sunrpc/svc_udp.c: Likewise.
34982         * sunrpc/svc_unix.c: Likewise.
34983         * sunrpc/svcauth_des.c: Likewise.
34984         * sunrpc/xcrypt.c: Likewise.
34985         * sunrpc/xdr.c: Likewise.
34986         * sunrpc/xdr_array.c: Likewise.
34987         * sunrpc/xdr_float.c: Likewise.
34988         * sunrpc/xdr_intXX_t.c: Likewise.
34989         * sunrpc/xdr_mem.c: Likewise.
34990         * sunrpc/xdr_rec.c: Likewise.
34991         * sunrpc/xdr_ref.c: Likewise.
34992         * sunrpc/xdr_sizeof.c: Likewise.
34993         * sunrpc/xdr_stdio.c: Likewise.
34994
34995 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34996
34997         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34998         change.  Update copyright years.
34999
35000 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35001
35002         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35003
35004 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35005             Joseph Myers  <joseph@codesourcery.com>
35006             Paul Pluzhnikov  <ppluzhnikov@google.com>
35007
35008         [BZ #14012]
35009         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35010         requiring rpcgen.
35011         [cross-compiling] (extra-libs): Likewise.
35012         [cross-compiling] (extra-libs-others): Likewise.
35013         [cross-compiling] (librpcsvc-routines): Likewise.
35014         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35015         [cross-compiling] (omit-deps): Likewise.
35016         (sunrpc-CPPFLAGS): New variable.
35017         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35018         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35019         (cross-rpcgen-objs): New variable.
35020         (extra-objs): Append $(cross-rpcgen-objs).
35021         ($(cross-rpcgen-objs)): New rule.
35022         ($(objpfx)cross-rpcgen): Likewise.
35023         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35024         comment.
35025         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35026         ($(objpfx)x%.stmp): Likewise.
35027         * sunrpc/proto.h [IS_IN_build] (_): Define.
35028         [IS_IN_build] (_libc_intl_domainname): Likewise.
35029
35030 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35031
35032         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35033         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35034         and R_X86_64_TPOFF64.
35035
35036 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35037
35038         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35039         sysdeps/unix/sysv/syscalls.list.
35040         (stime): Likewise.
35041         (utime): Likewise.
35042         * sysdeps/unix/sysv/syscalls.list: Remove file.
35043
35044 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35045
35046         [BZ #3440]
35047         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35048         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35049         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35050         (__LC_IDENTIFICATION): Make these macros useful in #if
35051         expressions, as required by C99.
35052
35053 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35054
35055         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35056         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35057         after this.
35058
35059 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35060
35061         * stdlib/longlong.h: Updated from GCC.
35062
35063 2012-05-09  Andreas Jaeger  <aj@suse.de>
35064
35065         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35066         default is first entry.
35067         (run_mode): Set type.
35068         (main): Remove informal message about syslog.
35069         (options): Fix typo.
35070
35071         [BZ #14053]
35072         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35073         to asm.
35074         (lrint): Likewise.
35075         (llrintf): Likewise.
35076         (llrint): Likewise.
35077         (rint): Likewise.
35078         (rintf): Likewise.
35079         (nearbyint): Likewise.
35080         (nearbyintf): Likewise.
35081
35082 2012-05-09  Andreas Jaeger  <aj@suse.de>
35083             Pedro Alves  <palves@redhat.com>
35084
35085         * nscd/nscd.c (run_mode): Use enum.
35086         (main): Cleanup coding style issue.
35087
35088 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35089             Andreas Jaeger  <aj@suse.de>
35090
35091         * nscd/nscd.c (go_background): Replaced with...
35092         (run_mode): ... this.
35093         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35094         (options): Add -F --foreground.
35095         (main): Implement it.
35096         (parse_opt): Parse it.
35097
35098 2012-05-09  Andreas Jaeger  <aj@suse.de>
35099
35100         [BZ #14083]
35101         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35102         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35103         -Wconversion warning.
35104         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35105         Likewise.
35106
35107 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35108
35109         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35110         == 0.
35111         (LC_ALL): Use macro-int-constant.
35112         (LC_COLLATE): Likewise.
35113         (LC_CTYPE): Likewise.
35114         (LC_MESSAGES): Likewise.
35115         (LC_MONETARY): Likewise.
35116         (LC_NUMERIC): Likewise.
35117         (LC_TIME): Likewise.
35118         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35119         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35120         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35121         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35122         Specify type.
35123         [C99-based standards] (float_t): Expect type.
35124         [C99-based standards] (double_t): Expect type.
35125         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35126         type.
35127         [C99-based standards] (HUGE_VALL): Likewise.
35128         [C99-based standards] (INFINITY): Likewise.
35129         [C99-based standards] (NAN): Likewise.
35130         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35131         [C99-based standards] (FP_NAN): Likewise.
35132         [C99-based standards] (FP_NORMAL): Likewise.
35133         [C99-based standards] (FP_SUBNORMAL): Likewise.
35134         [C99-based standards] (FP_ZERO): Likewise.
35135         [C99-based standards] (FP_FAST_FMA): Use
35136         optional-macro-int-constant.  Specify type.  Require == 1.
35137         [C99-based standards] (FP_FAST_FMAF): Likewise.
35138         [C99-based standards] (FP_FAST_FMAL): Likewise.
35139         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35140         [C99-based standards] (FP_ILOGBNAN): Likewise.
35141         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35142         Specify type.
35143         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35144         [C99-based standards] (math_errhandling): Specify type.
35145         [ISO99 || ISO11] (signgam): Do not allow.
35146         [non-C99-based standards] (copysignf): Do not allow.
35147         [non-C99-based standards] (exp2f): Likewise.
35148         [non-C99-based standards] (log2f): Likewise.
35149         [non-C99-based standards] (modff): Allow.
35150         [non-C99-based standards] (erff): Do not allow.
35151         [non-C99-based standards] (erfcf): Likewise.
35152         [non-C99-based standards] (gammaf): Likewise.
35153         [non-C99-based standards] (hypotf): Likewise.
35154         [non-C99-based standards] (j0f): Likewise.
35155         [non-C99-based standards] (j1f): Likewise.
35156         [non-C99-based standards] (jnf): Likewise.
35157         [non-C99-based standards] (lgammaf): Likewise.
35158         [non-C99-based standards] (tgammaf): Likewise.
35159         [non-C99-based standards] (y0f): Likewise.
35160         [non-C99-based standards] (y1f): Likewise.
35161         [non-C99-based standards] (ynf): Likewise.
35162         [non-C99-based standards] (isnanf): Likewise.
35163         [non-C99-based standards] (acoshf): Likewise.
35164         [non-C99-based standards] (asinhf): Likewise.
35165         [non-C99-based standards] (atanhf): Likewise.
35166         [non-C99-based standards] (cbrtf): Likewise.
35167         [non-C99-based standards] (expm1f): Likewise.
35168         [non-C99-based standards] (ilogbf): Likewise.
35169         [non-C99-based standards] (log1pf): Likewise.
35170         [non-C99-based standards] (logbf): Likewise.
35171         [non-C99-based standards] (nextafterf): Likewise.
35172         [non-C99-based standards] (remainderf): Likewise.
35173         [non-C99-based standards] (rintf): Likewise.
35174         [non-C99-based standards] (scalbf): Likewise.
35175         [non-C99-based standards] (copysignl): Likewise.
35176         [non-C99-based standards] (exp2l): Likewise.
35177         [non-C99-based standards] (log2l): Likewise.
35178         [non-C99-based standards] (modfl): Allow.
35179         [non-C99-based standards] (erfl): Do not allow.
35180         [non-C99-based standards] (erfcl): Likewise.
35181         [non-C99-based standards] (gammal): Likewise.
35182         [non-C99-based standards] (hypotl): Likewise.
35183         [non-C99-based standards] (j0l): Likewise.
35184         [non-C99-based standards] (j1l): Likewise.
35185         [non-C99-based standards] (jnl): Likewise.
35186         [non-C99-based standards] (lgammal): Likewise.
35187         [non-C99-based standards] (tgammal): Likewise.
35188         [non-C99-based standards] (y0l): Likewise.
35189         [non-C99-based standards] (y1l): Likewise.
35190         [non-C99-based standards] (ynl): Likewise.
35191         [non-C99-based standards] (isnanl): Likewise.
35192         [non-C99-based standards] (acoshl): Likewise.
35193         [non-C99-based standards] (asinhl): Likewise.
35194         [non-C99-based standards] (atanhl): Likewise.
35195         [non-C99-based standards] (cbrtl): Likewise.
35196         [non-C99-based standards] (expm1l): Likewise.
35197         [non-C99-based standards] (ilogbl): Likewise.
35198         [non-C99-based standards] (log1pl): Likewise.
35199         [non-C99-based standards] (logbl): Likewise.
35200         [non-C99-based standards] (nextafterl): Likewise.
35201         [non-C99-based standards] (remainderl): Likewise.
35202         [non-C99-based standards] (rintl): Likewise.
35203         [non-C99-based standards] (scalbl): Likewise.
35204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35205         [non-C99-based standards] (FP_*): Do not allow.
35206         [C99-based standards] (FP_*): Change to
35207         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35208         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35209         allow.
35210         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35211         (SIG_ERR): Likewise.
35212         [X/Open-based standards] (SIG_HOLD): Likewise.
35213         (SIG_IGN): Likewise.
35214         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35215         positive value.
35216         (SIGFPE): Likewise.
35217         (SIGILL): Likewise.
35218         (SIGINT): Likewise.
35219         (SIGSEGV): Likewise.
35220         (SIGTER): Likewise.
35221         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35222         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35223         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35224         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35225         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35226         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35227         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35228         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35229         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35230         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35231         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35232         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35233         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35234         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35235         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35236         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35237         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35238         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35239         [X/Open-based standards] (SIGTRAP): Likewise.
35240         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35241         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35242         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35243         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35244         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35245         allow.
35246
35247 2012-05-08  Ian Wienand  <ianw@vmware.com>
35248
35249         [BZ #14080]
35250         * time/tzset.c (__tzset_parse_tz): Update default rules for
35251         daylight time changes in the Energy Policy Act of 2005.
35252
35253 2012-05-09  Andreas Jaeger  <aj@suse.de>
35254
35255         [BZ #13983]
35256         * elf/ldconfig.c (parse_conf): Change string to make clear that
35257         ldconfig only issued a warning if ld.so.conf does not exist.
35258
35259 2012-05-08  David S. Miller  <davem@davemloft.net>
35260
35261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35262         movxtod instead of popping the value on the stack.
35263
35264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35265
35266 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35267
35268         * config.h.in: Add HAVE_ARM_PCS_VFP.
35269
35270 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35271
35272         [BZ #13979]
35273         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35274         checking but the checks are disabled for any reason.
35275
35276 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35277
35278         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35279         and ELF64_R_TYPE with ELFW(R_TYPE).
35280
35281 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35282
35283         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35284         (ulimit): Likewise.
35285
35286         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35287         (settimeofday): Likewise.
35288
35289 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35290
35291         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35292         a struct th_u2 inside the union, and move tu_block/tu_code into
35293         a new th_u3 union of tu_block/tu_code inside of that.  Move
35294         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35295         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35296         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35297         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35298         (th_stuff): Change to th_u1.tu_stuff.
35299         (th_data): Define.
35300         (th_msg): Change to th_u1.th_u2.tu_data.
35301
35302 2012-05-07  David S. Miller  <davem@davemloft.net>
35303
35304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35305
35306         [BZ #14074]
35307         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35308         (SETUP_PIC_REG): Use it.
35309         (SETUP_PIC_REG_LEAF): Use it.
35310
35311 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35312
35313         [BZ #13885]
35314         [BZ #13923]
35315         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35316         USE_AS_EXPM1L.
35317         (EXPL_FINITE): Likewise.
35318         (FLDLOG): Likewise.
35319         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35320         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35321         e_expl.S.
35322         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35323         USE_AS_EXPM1L.
35324         (EXPL_FINITE): Likewise.
35325         (FLDLOG): Likewise.
35326         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35327         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35328         e_expl.S.
35329         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35330         test of -max_value argument for long double.
35331         * sysdeps/i386/fpu/libm-test-ulps: Update.
35332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35333
35334 2012-05-06  David S. Miller  <davem@davemloft.net>
35335
35336         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35337         quad soft-float symbols whose references which are compiler
35338         generated.
35339         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35340
35341 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35342
35343         [BZ #13884]
35344         [BZ #13914]
35345         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35346         USE_AS_EXP10L.
35347         (EXPL_FINITE): Likewise.
35348         (FLDLOG): Likewise.
35349         (c0): Likewise.
35350         (c1): Likewise.
35351         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35352         Adjust comments for base varying.
35353         (__expl_finite): Change alias to EXPL_FINITE.
35354         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35355         e_expl.S.
35356         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35357         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35358         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35359         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35360         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35361         USE_AS_EXP10L.
35362         (EXPL_FINITE): Likewise.
35363         (FLDLOG): Likewise.
35364         (c0): Likewise.
35365         (c1): Likewise.
35366         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35367         Adjust comments for base varying.
35368         (__expl_finite): Change alias to EXPL_FINITE.
35369         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35370         tests for bugs.
35371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35372
35373         [BZ #14064]
35374         * math/libm-test.inc (check_float_internal): Correct ulp
35375         calculation for subnormal expected results.
35376
35377 2012-05-06  Andreas Jaeger  <aj@suse.de>
35378
35379         * Makeconfig (+math-flags): New, set to -frounding-math.
35380         (+cflags): Add +math-flags so that all of glibc gets compiled with
35381         it.
35382
35383         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35384
35385 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35386
35387         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35388         Disable one test.
35389
35390         [BZ #13787]
35391         [BZ #13922]
35392         [BZ #14036]
35393         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35394         (__ieee754_expl): Allow for and saturate large arguments.
35395         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35396         (u_threshold): Likewise.
35397         (__exp): Call __ieee754_exp before checking for overflow and
35398         underflow.
35399         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35400         (u_threshold): Likewise.
35401         (__expf): Call __ieee754_expf before checking for overflow and
35402         underflow.
35403         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35404         (u_threshold): Likewise.
35405         (__expl): Call __ieee754_expl before checking for overflow and
35406         underflow.
35407         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35408         (__ieee754_expl): Allow for and saturate large arguments.
35409         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35410         missing overflow exception on overflow.
35411         (expm1_test): Do not allow missing overflow exception on overflow.
35412
35413         * sysdeps/i386/fpu/e_expl.c: Move to ...
35414         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35415         rather than using inline asm.
35416         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35417         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35418         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35419
35420         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35421         (nice): Likewise.
35422         (poll): Likewise.
35423         (signal): Likewise.
35424         (time): Likewise.
35425         (times): Likewise.
35426
35427 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35428
35429         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35430         sysdeps/unix/common/syscalls.list.
35431         (fchmod): Likewise.
35432         (fchown): Likewise.
35433         (ftruncate): Likewise.
35434         (getrusage): Likewise.
35435         (gettimeofday): Likewise.
35436         (setpgid): Likewise.
35437         (setregid): Likewise.
35438         (setreuid): Likewise.
35439         (sigaction): Likewise.
35440         (truncate): Likewise.
35441         (vhangup): Likewise.
35442         * sysdeps/unix/common/syscalls.list: Remove file.
35443         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35444         * sysdeps/unix/sysv/linux/Implies: Likewise.
35445
35446 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35447
35448         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35450         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35451         Moved to ...
35452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35453         Here.
35454         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35455         to ...
35456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35457         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35458         to ...
35459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35460         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35461         to ...
35462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35463         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35464         to ...
35465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35466         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35467         to ...
35468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35469         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35470         to ...
35471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35472         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35473         to ...
35474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35475         Here.
35476         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35477         to ...
35478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35479         Here.
35480         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35481         to ...
35482         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35483         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35484         Moved to ...
35485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35486         Here.
35487         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35488         to ...
35489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35490
35491 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35492
35493         * sysdeps/unix/common/bits/dirent.h: Remove file.
35494         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35495
35496         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35497         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35498         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35499         * sysdeps/unix/bsd/isatty.c: Likewise.
35500         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35501         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35502         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35503
35504 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35505
35506         [BZ #13563]
35507         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35508         long double comparison inaccuracies.
35509         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35511
35512 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35513
35514         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35515         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35516
35517 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35518
35519         [BZ #14049]
35520         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35521         nonzero digits before rounding a hex value.
35522         * stdlib/tst-strtod.c (tests): Add another test.
35523
35524 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35525
35526         * sysdeps/s390/fpu/libm-test-ulps: Update.
35527
35528 2012-05-03  Andreas Jaeger  <aj@suse.de>
35529
35530         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35531         does not get optimized out.
35532         (malloc_opt_barrier): New.
35533
35534 2012-05-03  Andreas Jaeger  <aj@suse.de>
35535             Roland McGrath  <roland@hack.frob.com>
35536
35537         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35538         intermediate file deletion.
35539         (generated): Add .symlist files.
35540
35541 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35542
35543         [BZ #13775]
35544         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35545         Redirect under this condition.
35546         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35547         [__USE_GNU] (__dprintf_chk): Not under this condition.
35548         [__USE_GNU] (__vdprintf_chk): Likewise.
35549         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35550         under this condition.
35551         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35552         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35553         [__USE_XOPEN2K8] (vdprintf): Likewise.
35554         [__USE_GNU] (__dprintf_chk): Not under this condition.
35555         [__USE_GNU] (__vdprintf_chk): Likewise.
35556         [__USE_GNU] (dprintf): Likewise.
35557         [__USE_GNU] (vdprintf): Likewise.
35558
35559 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35560
35561         * elf/Makefile (common-generated): Set this instead of generated for
35562         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35563         $(all-built-dso)-derived lists.
35564
35565 2012-05-03  Andreas Jaeger  <aj@suse.de>
35566
35567         * sysdeps/i386/fpu/libm-test-ulps: Update.
35568
35569         * FAQ: Removed.
35570         * FAQ.in: Likewise.
35571         * scripts/gen-FAQ.pl: Likewise.
35572         * manual/install.texi (Installation): Point to online location of
35573         FAQ.
35574         * Makefile (files-for-dist): Remove FAQ.
35575         (FAQ): Remove.
35576
35577 2012-05-02  Allan McRae  <allan@archlinux.org>
35578
35579         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35580         (LDFLAGS-reldepmod5.so): Likewise.
35581         (LDFLAGS-reldep6mod1.so): Likewise.
35582         (LDFLAGS-reldep6mod4.so): Likewise.
35583         (LDFLAGS-reldep8mod3.so): Likewise.
35584         (LDFLAGS-unload4mod1.so): Likewise.
35585         (LDFLAGS-unload4mod2.so): Likewise.
35586         (LDFLAGS-tst-initorder): Likewise.
35587         (LDFLAGS-tst-initordera2.so): Likewise.
35588         (LDFLAGS-tst-initordera3.so): Likewise.
35589         (LDFLAGS-tst-initordera4.so): Likewise.
35590         (LDFLAGS-tst-initorderb2.so): Likewise.
35591         (LDFLAGS-noload): Likewise.
35592         (LDFLAGS-next): Likewise.
35593         (LDFLAGS-order2mod1.so): Likewise.
35594         (LDFLAGS-order2mod2.so): Likewise.
35595         (LDFLAGS-tst-initorder2): Likewise.
35596         (LDFLAGS-tst-initorder2a.so): Likewise.
35597         (LDFLAGS-tst-initorder2b.so): Likewise.
35598         (LDFLAGS-tst-initorder2c.so): Likewise.
35599         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35600
35601 2012-05-02  David S. Miller  <davem@davemloft.net>
35602
35603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35604
35605 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35606
35607         [BZ #14055]
35608         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35609
35610 2012-05-02  Andreas Jaeger  <aj@suse.de>
35611
35612         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35613         since we manipulate rounding mode.
35614         (CPPFLAGS-test-idouble.c): Likewise.
35615         (CPPFLAGS-test-ifloat.c): Likewise.
35616         (CFLAGS-test-ldouble.c): Likewise.
35617         (CFLAGS-test-double.c): Likewise.
35618         (CFLAGS-test-float.c): Likewise.
35619         (CFLAGS-test-misc.c): Likewise.
35620         (CFLAGS-test-test-fenv.c): Likewise.
35621
35622 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35623
35624         [BZ #2550]
35625         [BZ #2570]
35626         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35627         comparisons to determine direction to adjust input.
35628
35629 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35630
35631         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35632         output to the target.
35633
35634         * scripts/localplt.awk: New file.
35635         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35636         (check-localplt-CFLAGS): Variable removed.
35637         ($(all-built-dso:=.jmprel)): New static pattern rule.
35638         (generated): Add those targets.
35639         (localplt-built-dso): New variable.
35640         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35641
35642         * elf/check-localplt.c: File removed.
35643
35644         * scripts/check-execstack.awk: New file.
35645         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35646         (check-execstack-CFLAGS): Variable removed.
35647         ($(objpfx)check-execstack.h): Target removed.
35648         ($(objpfx)execstack-default): New target.
35649         (generated): Add that instead of check-execstack.h.
35650         ($(all-built-dso:=.phdr)): New static pattern rule.
35651         (generated): Add those targets.
35652         * elf/check-execstack.c: File removed.
35653
35654         * scripts/check-textrel.awk: New file.
35655         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35656         (check-textrel-CFLAGS): Variable removed.
35657         (all-built-dso): Use := to define.o
35658         ($(all-built-dso:=.dyn)): New static pattern rule.
35659         (generated): Add those targets.
35660         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35661         * config.make.in (READELF): New substituted variable.
35662         * elf/check-textrel.c: File removed.
35663
35664 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35665
35666         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35667         allow.
35668         * conform/data/ctype.h-data [C99-based standards] (isblank):
35669         Expect function.
35670         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35671         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35673         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35674         Specify type.  Require positive value.
35675         (EILSEQ): Likewise.
35676         (ERANGE): Likewise.
35677         [ISO || POSIX] (EILSEQ): Do not expect.
35678         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35679         Specify type.  Require positive value.
35680         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35681         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35682         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35683         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35684         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35685         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35686         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35687         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35688         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35689         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35690         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35691         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35692         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35693         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35694         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35695         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35696         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35697         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35698         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35699         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35700         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35701         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35702         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35703         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35704         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35705         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35706         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35707         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35708         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35709         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35710         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35711         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35712         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35713         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35714         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35715         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35716         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35717         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35718         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35719         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35720         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35721         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35722         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35723         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35724         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35725         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35726         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35727         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35728         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35729         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35730         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35731         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35732         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35733         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35734         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35735         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35736         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35737         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35738         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35739         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35740         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35741         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35742         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35743         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35744         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35745         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35746         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35747         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35748         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35749         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35750         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35751         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35752         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35753         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35754         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35755         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35756         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35757         Require >= 2.
35758         (FLT_ROUNDS): Expect as macro, not constant.
35759         (FLT_MANT_DIG): Use macro-int-constant.
35760         (DBL_MANT_DIG): Likewise.
35761         (LDBL_MANT_DIG): Likewise.
35762         (FLT_DIG): Likewise.
35763         (DBL_DIG): Likewise.
35764         (LDBL_DIG): Likewise.
35765         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35766         (DBL_MIN_EXP): Likewise.
35767         (LDBL_MIN_EXP): Likewise.
35768         (FLT_MAX_EXP): Use macro-int-constant.
35769         (DBL_MAX_EXP): Likewise.
35770         (LDBL_MAX_EXP): Likewise.
35771         (FLT_MAX_10_EXP): Likewise.
35772         (DBL_MAX_10_EXP): Likewise.
35773         (LDBL_MAX_10_EXP): Likewise.
35774         (FLT_MAX): Use macro-constant.
35775         (DBL_MAX): Likewise.
35776         (LDBL_MAX): Likewise.
35777         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35778         (DBL_EPSILON): Likewise.
35779         (LDBL_EPSILON): Likewise.
35780         (FLT_MIN): Likewise.
35781         (DBL_MIN): Likewise.
35782         (LDBL_MIN): Likewise.
35783         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35784         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35785         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35786         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35787         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35788         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35789         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35790         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35791         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35792         [ISO11] (FLT_TRUE_MIN): Likewise.
35793         [ISO11] (LDBL_TRUE_MIN): Likewise.
35794         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35795         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35796         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35797         (SCHAR_MAX): Likewise.
35798         (UCHAR_MAX): Likewise.
35799         (CHAR_MIN): Likewise.
35800         (CHAR_MAX): Likewise.
35801         (MB_LEN_MAX): Use macro-int-constant.
35802         (SHRT_MIN): Use macro-int-constant.  Specify type.
35803         (SHRT_MAX): Likewise.
35804         (USHRT_MAX): Likewise.
35805         (INT_MAX): Likewise.
35806         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35807         bound negative.
35808         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35809         bound with "U".
35810         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35811         bound with "L".
35812         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35813         bound negative.  Suffix upper bound with "L".
35814         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35815         bound with "UL".
35816         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35817         Specify type.
35818         [C99-based standards] (LLONG_MAX): Likewise.
35819         [C99-based standards] (ULLONG_MAX): Likewise.
35820         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35821         == 0.
35822         [ISO11] (max_align_t): Require type.
35823         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35824
35825         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35826         from $CFLAGS, without defining away __attribute__ calls.
35827         (checknamespace): Use $CFLAGS_namespace.
35828
35829         * conform/conformtest.pl (@keywords): Only include C99 keywords
35830         for standards based on C99 or C11.
35831
35832         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35833         Disable tests.
35834         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35835         UNIX98]: Likewise.
35836
35837         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35838         usability of symbols in #if.
35839
35840         * conform/conformtest.pl: If macro or constant types start
35841         "promoted:", expect the symbol to be of the following type
35842         promoted by the integer promotions.
35843
35844         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35845         in one place.  Also handle "macro-constant".
35846
35847         * conform/conformtest.pl: Only accept expected macro values with
35848         "==".  Parse all "macro" lines in one place.
35849         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35850
35851         * conform/conformtest.pl: Handle braced types on "constant" lines
35852         instead of handling "typed-constant".
35853         * conform/data/signal.h-data: Use "constant" instead of
35854         "typed-constant".
35855
35856         * conform/conformtest.pl: Handle "optional-" at start of lines in
35857         one place rather than duplicating several cases.  Handle each
35858         format of "macro" line with initial "optional-".
35859
35860         * conform/conformtest.pl: Only accept expected constant or
35861         optional-constant values with "==".  Parse all "constant" lines in
35862         one place.  Parse all "optional-constant" lines in one place.
35863         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35864         * conform/data/fmtmsg.h-data: Likewise.
35865         * conform/data/netinet/in.h-data: Likewise.
35866         * conform/data/tar.h-data: Likewise.
35867         * conform/data/limits.h-data: Use "==" form on "constant" and
35868         "optional-constant" lines.
35869
35870         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35871         Use -std=c99 for XOPEN2K.
35872         (@knownproblems): Remove.
35873         (newtoken): Don't check %isknown.
35874
35875         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35876         Do not expect macro.
35877         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35878         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35879         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35880         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35882         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35883         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35884         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35885         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35886         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35887         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35888         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35889         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35890         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35891         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35892         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35893         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35894         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35895         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35896         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35897         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35898         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35899         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35900         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35901         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35902         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35903         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35904         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35905         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35906         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35907         [XPG3] (acosh): Likewise.
35908         [XPG3] (asinh): Likewise.
35909         [XPG3] (atanh): Likewise.
35910         [XPG3] (cbrt): Likewise.
35911         [XPG3] (expm1): Likewise.
35912         [XPG3] (ilogb): Likewise.
35913         [XPG3] (log1p): Likewise.
35914         [XPG3] (logb): Likewise.
35915         [XPG3] (nextafter): Likewise.
35916         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35917         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35918         [XPG3] (remainder): Likewise.
35919         [XPG3] (rint): Likewise.
35920         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35921         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35922         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35923         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35924         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35925         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35926         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35927         [UNIX98 || XOPEN2K] (scalb): Expect.
35928         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35929         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35930         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35931         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35932         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35933         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35934         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35935         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35936         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35943         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35944         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35945         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35946         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35947         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35948         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35949         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35950         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35951         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35954         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35955         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35962         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35963         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35964         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35965         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35966         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35967         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35968         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35969         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35970         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35971         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35972         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35973         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35974         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35978         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35979         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35980         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35981         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35982         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35983         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35984         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35985         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35986         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35987         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35988         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35989         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35990         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35991         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35992         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35993         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35994         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35995         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35996         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35997         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35998         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35999         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36000         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36001         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36002         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36003         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36004         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36005         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36006         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36007         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36008         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36009         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36010         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36011         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36012         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36013         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36014         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36015         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36016         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36017         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36018         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36019         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36020         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36021         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36022         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36023         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36024         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36025         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36026         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36027         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36028         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36029         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36030         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36031         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36032         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36033         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36034         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36035         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36036         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36037         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36038         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36039         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36040         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36041         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36042         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36043         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36044         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36045         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36046         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36047         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36048         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36049         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36050         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36051         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36052         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36053         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36054         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36055         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36056         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36057         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36058         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36059         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36060         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36061         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36062         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36063         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36064         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36065
36066         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36067         _XOPEN_SOURCE_EXTENDED for XPG4.
36068
36069         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36070
36071         * Makeconfig (localtime): Remove variable.
36072         (inst_localtime-file): Likewise.
36073
36074 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36075
36076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36077         Update.
36078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36079         Update.
36080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36081         Update.
36082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36083         Update.
36084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36085         Update.
36086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36087         Update.
36088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36089         Update.
36090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36091         Update.
36092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36093         Update.
36094
36095 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36096
36097         [BZ #2550]
36098         [BZ #2570]
36099         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36100         comparisons to determine direction to adjust input.
36101         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36102         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36103         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36104         Likewise.
36105         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36106         Likewise.
36107         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36108         Likewise.
36109         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36110         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36111         Likewise.
36112         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36113         Likewise.
36114         * math/libm-test.inc (nexttoward_test): Add more tests.
36115
36116 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36117
36118         [BZ #14040]
36119         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36120         in version GLIBC_2.1, not GLIBC_2.0.
36121         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36122         Likewise.
36123
36124 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36125
36126         [BZ #13942]
36127         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36128         (1 - x) * (1 + x).
36129         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36130         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36131         * math/libm-test.inc (acos_test): Add more tests.
36132         (asin_test): Likewise.
36133         * sysdeps/i386/fpu/libm-test-ulps: Update.
36134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36135
36136         [BZ #14034]
36137         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36138         of square root.
36139         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36140         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36141         * math/libm-test.inc (acos_test_tonearest): New function.
36142         (acos_test_towardzero): Likewise.
36143         (acos_test_downward): Likewise.
36144         (acos_test_upward): Likewise.
36145         (asin_test_tonearest): Likewise.
36146         (asin_test_towardzero): Likewise.
36147         (asin_test_downward): Likewise.
36148         (asin_test_upward): Likewise.
36149         (main): Call the new functions.
36150         * sysdeps/i386/fpu/libm-test-ulps: Update.
36151         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36152
36153         [BZ #13884]
36154         [BZ #13924]
36155         * math/e_exp10.c: Include <float.h>.
36156         (__ieee754_exp10): Handle underflow here rather than multiplying
36157         large negative argument by M_LN10.
36158         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36159         of __ieee754_expf.
36160         * math/e_exp10l.c: Include <float.h>.
36161         (__ieee754_exp10l): Handle underflow here rather than multiplying
36162         large negative argument by M_LN10l.
36163         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36164         spurious overflow exception on underflow.
36165
36166 2012-04-29  Marek Polacek  <polacek@redhat.com>
36167
36168         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36169         (__fortify_function): New macro.
36170         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36171         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36172         __extern_always_inline.
36173         * libio/bits/stdio2.h: Likewise.
36174         * libio/bits/stdio.h: Likewise.
36175         * string/string.h: Likewise.
36176         * string/bits/string3.h: Likewise.
36177         * include/stdio.h: Likewise.
36178         * stdlib/bits/stdlib.h: Likewise.
36179         * stdlib/stdlib.h: Likewise.
36180         * rt/bits/mqueue2.h: Likewise.
36181         * rt/mqueue.h: Likewise.
36182         * posix/bits/unistd.h: Likewise.
36183         * posix/unistd.h: Likewise.
36184         * io/bits/poll2.h: Likewise.
36185         * io/bits/fcntl2.h: Likewise.
36186         * io/fcntl.h: Likewise.
36187         * io/sys/poll.h: Likewise.
36188         * misc/bits/syslog.h: Likewise.
36189         * misc/bits/syslog-ldbl.h: Likewise.
36190         * misc/sys/syslog.h: Likewise.
36191         * socket/bits/socket2.h: Likewise.
36192         * socket/sys/socket.h: Likewise.
36193         * debug/tst-chk1.c: Likewise.
36194         * wcsmbs/bits/wchar2.h: Likewise.
36195         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36196         * wcsmbs/wchar.h: Likewise.
36197
36198 2012-04-29  Andreas Jaeger  <aj@suse.de>
36199
36200         * Makerules (tests): Remove enable-check-abi protection.
36201         (check-abi-warn): Remove.
36202         (check-abi-%): Remove check-abi-warn usage.
36203
36204         * configure.in: Remove check-abi configure option.
36205         * configure: Regenerated.
36206         * config.make.in (enable-check-abi): Remove.
36207
36208 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36209
36210         [BZ #14033]
36211         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36212         double functions to double *_finite functions.
36213
36214         [BZ #13941]
36215         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36216         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36217         LDBL_MIN_EXP.
36218         * stdio-common/Makefile (tests): Add tst-sprintf3.
36219         * stdio-common/tst-sprintf3.c: New file.
36220
36221         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36222         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36223
36224 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36225
36226         * conform/conformtest.pl: Remove duplicate typed-constant
36227         handling.
36228
36229 2012-04-28  David S. Miller  <davem@davemloft.net>
36230
36231         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36232         (check-abi-%): Remove AWK script prerequisite and explicit
36233         abilist directory.
36234         (check-abi): Rewrite to just diff the symlist with the abilist.
36235         (config-tls, config-abi-config): Delete, no longer used.
36236         (update-abi-%): Remove AWK script and explicit abilist directory.
36237         (update-abi): Rewrite to simply compare and conditionally copy the
36238         symlist and the sysdep abilist file.  Remove update-abi-config
36239         checks.
36240         * abilist/ld.abilist: Remove.
36241         * abilist/libBrokenLocale.abilist: Remove.
36242         * abilist/libanl.abilist: Remove.
36243         * abilist/libcrypt.abilist: Remove.
36244         * abilist/libdl.abilist: Remove.
36245         * abilist/librt.abilist: Remove.
36246         * abilist/libthread_db.abilist: Remove.
36247         * abilist/libutil.abilist: Remove.
36248         * scripts/extract-abilist.awk: Remove.
36249         * scripts/merge-abilist.awk: Remove.
36250         * sysdeps/generic/libcidn.abilist: New file.
36251         * sysdeps/generic/libnss_compat.abilist: New file.
36252         * sysdeps/generic/libnss_db.abilist: New file.
36253         * sysdeps/generic/libnss_dns.abilist: New file.
36254         * sysdeps/generic/libnss_files.abilist: New file.
36255         * sysdeps/generic/libnss_hesiod.abilist: New file.
36256         * sysdeps/generic/libnss_nis.abilist: New file.
36257         * sysdeps/generic/libnss_nisplus.abilist: New file.
36258         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36259         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36260         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36261         file.
36262         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36263         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36264         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36265         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36266         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36267         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36268         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36269         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36270         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36271         file.
36272         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36273         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36274         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36275         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36276         file.
36277         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36278         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36279         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36280         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36281         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36282         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36283         file.
36284         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36285         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36286         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36287         file.
36288         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36290         New file.
36291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36292         New file.
36293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36294         New file.
36295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36296         New file.
36297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36298         New file.
36299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36300         New file.
36301         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36302         New file.
36303         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36304         New file.
36305         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36306         New file.
36307         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36308         New file.
36309         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36310         New file.
36311         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36312         New file.
36313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36314         New file.
36315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36316         file.
36317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36318         New file.
36319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36320         New file.
36321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36322         file.
36323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36324         New file.
36325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36326         New file.
36327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36328         file.
36329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36330         New file.
36331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36332         New file.
36333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36334         New file.
36335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36336         New file.
36337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36338         New file.
36339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36340         New file.
36341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36343         file.
36344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36345         New file.
36346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36347         file.
36348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36349         file.
36350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36351         file.
36352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36353         file.
36354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36355         file.
36356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36357         New file.
36358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36359         file.
36360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36361         file.
36362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36363         New file.
36364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36365         file.
36366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36368         file.
36369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36370         New file.
36371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36372         file.
36373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36374         file.
36375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36376         file.
36377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36378         file.
36379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36380         file.
36381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36382         New file.
36383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36384         file.
36385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36386         file.
36387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36388         New file.
36389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36390         file.
36391         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36392         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36393         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36394         file.
36395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36396         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36397         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36398         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36399         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36400         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36401         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36402         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36403         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36404         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36407         file.
36408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36409         New file.
36410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36411         file.
36412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36413         file.
36414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36415         file.
36416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36417         file.
36418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36419         file.
36420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36421         New file.
36422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36423         New file.
36424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36425         file.
36426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36427         New file.
36428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36429         file.
36430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36432         file.
36433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36434         New file.
36435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36436         file.
36437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36438         file.
36439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36440         file.
36441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36442         file.
36443         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36444         file.
36445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36446         New file.
36447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36448         New file.
36449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36450         file.
36451         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36452         New file.
36453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36454         file.
36455
36456 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36457
36458         * conform/conformtest.pl: Fix typo in handling typed-constant from
36459         allow-header.
36460
36461 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36462
36463         * README: Cut down references to pre-2.6 Linux kernels and
36464         Linuxthreads.  Update lists of configurations in libc and ports
36465         and sort alphabetically.  Say "or newer" with Linux kernel version
36466         requirements.
36467
36468         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36469
36470 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36471
36472         [BZ #887]
36473         * math/libm-test.inc (logb_test_downward): New test to expose
36474         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36475         rounding mode.
36476
36477 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36478
36479         [BZ #14027]
36480         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36481         to be done.
36482         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36483         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36484
36485 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36486
36487         * sysdeps/unix/i386/brk.S: Remove file.
36488         * sysdeps/unix/i386/dl-brk.S: Likewise.
36489         * sysdeps/unix/i386/pipe.S: Likewise.
36490         * sysdeps/unix/i386/sigreturn.S: Likewise.
36491         * sysdeps/unix/i386/syscall.S: Likewise.
36492         * sysdeps/unix/i386/vfork.S: Likewise.
36493         * sysdeps/unix/i386/wait.S: Likewise.
36494
36495         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36496         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36497
36498         * configure.in (arm*-none*): Do not allow without
36499         --enable-hacker-mode.
36500         (netbsd*): Remove case setting base_os.
36501         (386bsd*): Likewise.
36502         (freebsd*): Likewise.
36503         (bsdi*): Likewise.
36504         (osf*): Likewise.
36505         (sunos*): Likewise.
36506         (ultrix*): Likewise.
36507         (newsos*): Likewise.
36508         (dynix*): Likewise.
36509         (*bsd*): Likewise.
36510         (sysv*): Likewise.
36511         (isc*): Likewise.
36512         (esix*): Likewise.
36513         (sco*): Likewise.
36514         (minix*): Likewise.
36515         (irix4*): Likewise.
36516         (irix6*): Likewise.
36517         (solaris[2-9]*): Likewise.
36518         (none): Likewise.
36519         * configure: Regenerated.
36520
36521 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36522
36523         [BZ #11521]
36524         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36525         overflow or cancellation in calculating denominator.
36526         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36527         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36528         down expression to avoid unexpected rounding in newer GCCs.
36529         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36530
36531 2012-04-26  David S. Miller  <davem@davemloft.net>
36532
36533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36534         long-double compat symbols.
36535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36548
36549 2012-04-25  David S. Miller  <davem@davemloft.net>
36550
36551         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36552         HWCAP_* values only after the memory barriers have been defined.
36553         (atomic_full_barrier): Define.
36554         (atomic_read_barrier): Define.
36555         (atomic_write_barrier): Define.
36556
36557 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36558
36559         * shlib-versions: Add libgcc_s version information.
36560         * sysdeps/generic/libgcc_s.h: Remove.
36561         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36562         libgcc_s.h.
36563         * sysdeps/gnu/unwind-resume.c: Likewise.
36564         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36565
36566 2012-04-25  David S. Miller  <davem@davemloft.net>
36567
36568         * sysdeps/unix/sparc/brk.S: Delete.
36569         * sysdeps/unix/sparc/dl-brk.S: Delete.
36570         * sysdeps/unix/sparc/pipe.S: Delete.
36571         * sysdeps/unix/sparc/sysdep.S: Delete.
36572         * sysdeps/unix/sparc/sysdep.h: Delete.
36573         * sysdeps/unix/sparc/vfork.S: Delete.
36574         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36575         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36576         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36577         (ret_ERRVAL, r0, r1, MOVE): Define.
36578         (JUMPTARGET): Remove.
36579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36580         sysdeps/unix/sparc/sysdep.h
36581         (ENTRY, END): Remove.
36582         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36583
36584 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36585
36586         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36587         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36588         -DIS_IN_build.
36589
36590         * timezone/README: Update upstream location and email address for
36591         tzcode and tzdata.
36592         * timezone/zdump.c: Update from tzcode 2012b.
36593         * timezone/zic.c: Likewise.
36594
36595         * configure.in (libc_cv_as_needed): Remove test.
36596         * configure: Regenerated.
36597         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36598         conditional definition.
36599         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36600         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36601         * config.make.in (have-as-needed): Remove variable.
36602
36603 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36604             Paul Pluzhnikov  <ppluzhnikov@google.com>
36605
36606         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36607         strings correctly.
36608
36609 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36610
36611         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36612         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36613         * sysdeps/sh/strlen.S: Likewise.
36614
36615 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36616
36617         * sysdeps/unix/fork.S: Remove file.
36618         * sysdeps/unix/i386/fork.S: Likewise.
36619         * sysdeps/unix/sparc/fork.S: Likewise.
36620
36621         * sysdeps/unix/system.c: Remove file.
36622         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36623
36624         * sysdeps/unix/getegid.S: Remove file.
36625         * sysdeps/unix/geteuid.S: Likewise.
36626
36627 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36628
36629         * scripts/check-localplt.awk: New file.
36630         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36631         of diff.
36632         * scripts/data/localplt-generic.data: Add a comment.
36633
36634         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36635         NODE when __dir_mkfile failed.
36636         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36637         Reported by Ludovic Courtès <ludo@gnu.org>.
36638
36639 2012-04-24  Andreas Jaeger  <aj@suse.de>
36640
36641         * Makerules (common-clean): Also remove gen-as-const-headers
36642         files.
36643
36644 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36645
36646         * Makerules (native-compile): Do not change working directory for
36647         build.  Use $(OUTPUT_OPTION) in command.
36648         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36649
36650 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36651
36652         [BZ #13886]
36653         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36654         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36655         * math/libm-test.inc (floor_test): Add more tests.
36656         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36657
36658 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36659
36660         * sysdeps/unix/getdents.c: Remove file.
36661         * sysdeps/unix/sysv/getdents.c: Likewise.
36662         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36663
36664         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36665         sysdeps/unix/mman/syscalls.list.
36666         (mmap): Likewise.
36667         (mprotect): Likewise.
36668         (msync): Likewise.
36669         (munmap): Likewise.
36670         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36671         * sysdeps/unix/mman/syscalls.list: Remove.
36672         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36673
36674         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36675         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36676         * configure: Regenerated.
36677         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36678         $(libgcc_s_suffix).
36679         * config.make.in (libgcc_s_suffix): Remove variable.
36680
36681 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36682
36683         * sysdeps/unix/sysv/gethostname.c: Move to ...
36684         * sysdeps/posix/gethostname.c: ... here.
36685
36686         * sysdeps/unix/execve.S: Remove file.
36687
36688         * sysdeps/unix/_exit.S: Remove file.
36689
36690 2012-04-23  Andreas Jaeger  <aj@suse.de>
36691
36692         [BZ #13739]
36693         * manual/Makefile: Remove make dist support, there's no
36694         need for a stand-alone documentation tar ball.
36695         (TEXI2DVI): Define always, it's not in Makeconfig.
36696         (dist): Removed.
36697         (tar-it): Removed.
36698         (edition): Removed.
36699         (glibc-doc-$(edition).tar): Removed
36700         (%.Z): Removed.
36701         (%.gz): Removed.
36702         (%.uu): Removed.
36703         (ETAGS): Remove, it's in Makeconfig.
36704         (move-if-change): Remove, it's in Makeconfig.
36705
36706 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36707
36708         [BZ #13970]
36709         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36710         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36711         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36712         (strtod_l, strtof_l, strtold_l): Remove __wur.
36713         It is not necessarily an error to ignore strtol's return value.
36714         One can reliably look at the stored endptr to decide whether
36715         the number had valid syntax.
36716
36717 2012-04-21  Andreas Jaeger  <aj@suse.de>
36718
36719         [BZ #13739]
36720         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36721
36722 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36723
36724         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36725         * sysdeps/unix/sysv/Versions: Remove file.
36726
36727 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36728
36729         [BZ #13927]
36730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36731
36732 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36733
36734         [BZ #7064]
36735         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36736         version from __vm86.
36737
36738 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36739
36740         * sysdeps/unix/common/lxstat.c: Remove file.
36741         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36742
36743         * sysdeps/unix/sysv/Makefile: Remove file.
36744
36745         * sysdeps/unix/sysv/direct.h: Remove file.
36746
36747         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36748         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36749         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36750         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36751         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36752         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36753         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36754
36755         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36756
36757         * sysdeps/unix/xmknod.c: Remove file.
36758         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36759
36760         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36761
36762         * sysdeps/unix/sysv/i386/time.S: Remove file.
36763
36764         * sysdeps/unix/fxstat.c: Remove file.
36765         * sysdeps/unix/xstat.c: Likewise.
36766         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36767
36768         * sysdeps/unix/sysv/sigaction.c: Remove file.
36769
36770         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36771         (sysdep_headers): Remove variable.
36772         [termio.h not in sysdep_headers] (generated): Likewise.
36773         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36774         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36775         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36776         * sysdeps/unix/sysv/tcflow.c: Likewise.
36777         * sysdeps/unix/sysv/tcflush.c: Likewise.
36778         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36779         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36780         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36781         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36782         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36783
36784         * sysdeps/unix/siglist.c: Remove file.
36785
36786         * sysdeps/unix/getppid.S: Remove file.
36787
36788         * sysdeps/unix/mkdir.c: Remove file.
36789         * sysdeps/unix/rmdir.c: Likewise.
36790
36791 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36792
36793         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36794         ERR_MAX value.
36795         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36796         errlist-compat value.
36797
36798 2012-04-18  David S. Miller  <davem@davemloft.net>
36799
36800         * sysdeps/generic/memcopy.h (reg_char): Delete.
36801         * debug/strcat_chk.c: Use char, not reg_char.
36802         * debug/strcpy_chk.c: Likewise.
36803         * debug/strncat_chk.c: Likewise.
36804         * debug/strncpy_chk.c: Likewise.
36805         * string/memchr.c: Likewise.
36806         * string/memrchr.c: Likewise.
36807         * string/rawmemchr.c: Likewise.
36808         * string/strcat.c: Likewise.
36809         * string/strchr.c: Likewise.
36810         * string/strchrnul.c: Likewise.
36811         * string/strcmp.c: Likewise.
36812         * string/strcpy.c: Likewise.
36813         * string/strncat.c: Likewise.
36814         * string/strncmp.c: Likewise.
36815         * string/strncpy.c: Likewise.
36816
36817 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36818
36819         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36820         __builtin_memcopy is called when src and dest ranges are known to not
36821         overlap.
36822
36823 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36824
36825         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36826         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36827         fwd_align_merge macro call.
36828         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36829         bwd_align_merge macro call.
36830         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36831
36832 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36833
36834         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36835         bwd_align_merge macros.
36836         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36837         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36838         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36839
36840 2012-04-18  David S. Miller  <davem@davemloft.net>
36841
36842         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36843
36844 2012-04-18  Andreas Jaeger  <aj@suse.de>
36845
36846         [BZ# 6794]
36847         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36848         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36849         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36850
36851         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36852         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36853         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36854
36855         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36856         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36857         Adjust for changed ldbl-128 files.
36858
36859         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36860         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36861         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36862
36863 2012-04-17  David S. Miller  <davem@davemloft.net>
36864
36865         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36866
36867 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36868
36869         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36870         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36871         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36872         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36873         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36874         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36875
36876 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36877
36878         [BZ #6794]
36879         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36880         * math/libm-test.inc: Add ilogb errno and exception tests.
36881         * math/w_ilogb.c: New file: ilogb wrapper.
36882         * math/w_ilogbf.c: New file: ilogbf wrapper.
36883         * math/w_ilogbl.c: New file: ilogbl wrapper.
36884         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36885         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36886         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36887         exception being thrown with 0.0 as argument.
36888         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36889         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36890         exception being thrown with 0.0 as argument.
36891         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36892         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36893         exception being thrown with 0.0 as argument.
36894         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36895         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36896         exception being thrown with 0.0 as argument.
36897         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36898         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36899         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36900         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36901         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36902         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36903         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36904         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36905         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36906
36907 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36908
36909         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36910         with altivec.
36911
36912 2012-04-16  Marek Polacek  <polacek@redhat.com>
36913
36914         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36915
36916 2012-04-16  Marek Polacek  <polacek@redhat.com>
36917
36918         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36919         operands of fdivp instruction.
36920
36921 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36922
36923         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36924         * elf/tst-auditmod3b.c: Likewise.
36925         * elf/tst-auditmod4b.c: Likewise.
36926         * elf/tst-auditmod5b.c: Likewise.
36927         * elf/tst-auditmod6b.c: Likewise.
36928         * elf/tst-auditmod6c.c: Likewise.
36929         * elf/tst-auditmod7b.c: Likewise.
36930         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36931         * sysdeps/x86_64/preconfigure.in: Likewise.
36932         * sysdeps/x86_64/preconfigure: Regenerated.
36933
36934 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36935
36936         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36937         __ILP32__.
36938
36939 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36940
36941         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36942         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36943
36944 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36945
36946         [BZ #13973]
36947         * locale/iso-639.def: Fix gl language name. Spotted by
36948         Yaron Shahrabani.
36949
36950 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36951
36952         [BZ #2074]
36953         * libio/libio.h (__io_write_fn): Update comment.
36954
36955 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36956
36957         [BZ #2074]
36958         * stdio.texi (Hook Functions): The user provided writer function
36959         is not allowed to return -1.
36960
36961 2012-04-11  David S. Miller  <davem@davemloft.net>
36962
36963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36964
36965 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36966
36967         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36968         Add a leading slash to rtkaio.
36969
36970 2012-04-11  Jim Meyering  <meyering@redhat.com>
36971
36972         [BZ #11959]
36973         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36974         It is not necessarily an error to ignore fwrite's return
36975         value.  One can reliably use ferror to test for errors after
36976         the fact.
36977
36978 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36979
36980         * bits/types.h (__snseconds_t): New type.
36981         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36982
36983         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36984         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36985         (__SNSECONDS_T_TYPE): Likewise.
36986         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36987         (__SNSECONDS_T_TYPE): Likewise.
36988         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36989         (__SNSECONDS_T_TYPE): Likewise.
36990
36991 2012-04-10  Andreas Jaeger  <aj@suse.de>
36992
36993         [BZ #2636]
36994         * manual/time.texi (Processor Time): Return type of times is
36995         elapsed real time since an arbitrary point in the past.
36996         (CPU Time): Move CLK_TCK from here...
36997         (Processor Time): ...to here.  Correct description.
36998         * manual/conf.texi (Constants for Sysconf): Correct description of
36999         _SC_CLK_TCK.
37000
37001 2012-04-10  David S. Miller  <davem@davemloft.net>
37002
37003         [BZ #13967]
37004         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37005         where the is a gap between DT_REL(A) and DT_JMPREL.
37006
37007 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37008
37009         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37010         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37011         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37012
37013 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37014
37015         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37016         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37017         (dl_main): Handle --inhibit-cache.
37018         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37019         _dl_inhibit_cache.
37020         * elf/dl-load.c (_dl_map_object): Use it.
37021         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37022
37023 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37024
37025         [BZ #13872]
37026         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37027         (__ieee754_powl): Saturate large exponents rather than testing for
37028         overflow of y*log2(x).
37029         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37030         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37031         exceptions.
37032
37033         [BZ #11521]
37034         * math/s_ctan.c: Include <float.h>.
37035         (__ctan): Avoid internal overflow or cancellation in calculating
37036         denominator.
37037         * math/s_ctanf.c: Likewise.
37038         * math/s_ctanl.c: Likewise.
37039         * math/s_ctanh.c: Likewise.
37040         * math/s_ctanhf.c: Likewise.
37041         * math/s_ctanhl.c: Likewise.
37042         * math/libm-test.inc (ctan_test): Add more tests.
37043         (ctanh_test): Likewise.
37044         * sysdeps/i386/fpu/libm-test-ulps: Update.
37045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37046
37047 2012-04-09  Andreas Jaeger  <aj@suse.de>
37048
37049         [BZ #6894]
37050         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37051         is an optional BSD extension.
37052
37053         [BZ #10254]
37054         * manual/stdio.texi (Opening Streams): Document additional fopen
37055         parameters.
37056
37057 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37058
37059         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37060         %eax without telling the compiler.
37061
37062 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37063
37064         [BZ # 13963]
37065         * manual/install.texi: Use sourceware.org.
37066
37067 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37068
37069         [BZ #13873]
37070         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37071         (__ieee754_pow): Generate overflow and underflow using huge*huge
37072         and tiny*tiny rather than just returning constant infinity or zero
37073         for large exponents.
37074         * math/libm-test.inc (pow_test): Require overflow exceptions for
37075         applicable cases of large exponents.
37076
37077         [BZ #706]
37078         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37079         (__ieee754_pow): Use iterative multiplication algorithm only for
37080         integer exponents with absolute value below 1024.  Check for odd
37081         integer exponents when using algorithm for real exponents.
37082         * math/libm-test.inc (pow_test): Add more tests.
37083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37084
37085 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37086
37087         [BZ #13705]
37088         * math/libm-test.inc (exp_test): Do not allow overflow exception
37089         on underflow test.
37090
37091 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37092
37093         [BZ #13705]
37094         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37095         instead of __kernel_standard_f.
37096
37097 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37098
37099         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37100         * sysdeps/x86_64/memset_chk.S: Likewise.
37101
37102 2012-04-08  Andreas Jaeger  <aj@suse.de>
37103
37104         [BZ #10153]
37105         * manual/startup.texi (Environment Access): Describe return value
37106         for putenv and setenv.
37107
37108         [BZ #6895]
37109         * manual/filesys.texi (Directory Entries): Add description for
37110         DT_LNK.
37111
37112         [BZ #6890]
37113         * manual/filesys.texi (Directory Entries): Clarify that it's file
37114         system not operating system in the description of DT_UNKNOWN.
37115
37116         [BZ #6578]
37117         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37118
37119 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37120
37121         [BZ #6649]
37122         * manual/llio.texi (Opening and Closing Files): Add cross
37123         reference to explain mode argument.
37124
37125 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37126
37127         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37128         * sysdeps/x86_64/memset_chk.S: Likewise.
37129
37130 2012-04-07  David S. Miller  <davem@davemloft.net>
37131
37132         * elf/elf.h (R_SPARC_WDISP10): Define.
37133         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37134         R_SPARC_SIZE32.
37135         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37136         R_SPARC_SIZE64 and R_SPARC_H34.
37137
37138 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37139
37140         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37141         conditions and remove no longer applicable assertion.
37142
37143 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37144
37145         * bits/byteswap.h: Include <features.h>.
37146         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37147         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37148
37149 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37150
37151         * bits/byteswap.h (__bswap_16): Removed.
37152         Include <bits/byteswap-16.h> to get __bswap_16.
37153         * sysdeps/i386/bits/byteswap.h: Likewise.
37154         * sysdeps/s390/bits/byteswap.h: Likewise.
37155         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37156         * bits/byteswap-16.h: New file.
37157         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37158         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37159         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37160         * string/Makefile (headers): Add bits/byteswap-16.h.
37161
37162 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37163
37164         [BZ #13895]
37165         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37166         extra indirection.
37167         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37168         * nss/tst-nss-static.c: New.
37169
37170 2012-04-06  Robert Millan  <rmh@gnu.org>
37171
37172         [BZ #6486]
37173         * manual/llio.texi (File Position Primitive): lseek
37174         refers to WHENCE when it really means OFFSET.
37175
37176 2012-04-06  Andreas Jaeger  <aj@suse.de>
37177
37178         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37179         strncmp declarations.
37180
37181         * abilist/libc.abilist: Add __poll and __ppoll.
37182
37183 2012-04-05  David S. Miller  <davem@davemloft.net>
37184
37185         * scripts/check-local-headers.sh: Accept a host triplet in the
37186         path matched by the exclude regexp.
37187
37188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37189         definition.
37190         * sysdeps/powerpc/powerpc32/dl-machine.h
37191         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37192         * sysdeps/s390/s390-32/dl-machine.h
37193         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37194         * sysdeps/sparc/sparc32/dl-machine.h
37195         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37196         * sysdeps/sparc/sparc64/dl-machine.h
37197         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37198
37199         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37200         lazy binding.
37201         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37202         undefined symbol errors.
37203
37204         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37205         DT_NEEDED entries.
37206
37207 2012-04-05  Michael Matz  <matz@suse.de>
37208
37209         [BZ #13592]
37210         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37211
37212 2012-04-05  Andreas Jaeger  <aj@suse.de>
37213
37214         [BZ #13908]
37215         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37216         comment.
37217
37218 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37219
37220         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37221         which ROUND is no valid rounding mode.
37222
37223 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37224
37225         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37226         read again.
37227         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37228
37229 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37230
37231         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37232         an exception using FPU order intentionally.
37233
37234 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37235
37236         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37237         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37238         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37239         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37240
37241 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37242
37243         [BZ #12340]
37244         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37245         EINVAL when BUFLEN is too smal.
37246
37247 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37248
37249         [BZ #13553]
37250         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37251         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37252
37253 2012-04-03  Andreas Jaeger  <aj@suse.de>
37254
37255         [BZ #13938]
37256         * manual/setjmp.texi (System V contexts): Fix sentence.
37257
37258         [BZ #13926]
37259         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37260         New macro for this case.
37261         [!__GNUC__] (__bswap_64): New inline function for this case.
37262         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37263         * bits/byteswap.h: Likewise.
37264         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37265         ull, guard with __GLIBC_HAVE_LONG_LONG.
37266
37267         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37268         __GLIBC_HAVE_LONG_LONG.
37269
37270         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37271         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37272
37273 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37274
37275         [BZ #13691]
37276         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37277         inptr and inend, rather than using last_ch.
37278
37279 2012-04-02  David S. Miller  <davem@davemloft.net>
37280
37281         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37282         * stdio-common/printf-parse.h (read_int): Change return type to
37283         'int', return -1 on INT_MAX overflow.
37284         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37285         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37286         overflows INT_MAX.  Check for overflow of in-format-string precision
37287         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37288         SIZE_MAX not INT_MAX for integer overflow test.
37289         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37290         skip the construct in the format string but do not record anything.
37291         * stdio-common/bug22.c: Adjust to test both width/prevision
37292         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37293         explicitly for proper errno values.
37294
37295 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37296
37297         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37298         CHAR_MAX.
37299         * string/test-strcmp.c [! WIDE]: Likewise.
37300         * time/tst-mktime2.c: Likewise for INT_MAX.
37301         * string/test-string.h: #include <sys/param.h> for MIN.
37302
37303         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37304         * sysdeps/i386/init-first.c (init): Likewise.
37305         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37306         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37307         * sysdeps/sh/init-first.c (init): Likewise.
37308
37309 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37310
37311         * po/ru.po: Update from translation team.
37312         * po/vi.po: Likewise.
37313
37314 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37315
37316         * resolv/nss_dns/dns-host.c: Merge copyright years.
37317
37318 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37319
37320         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37321         Optimize memcpy with prefetch if
37322         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37323         src, dst pointers have unequal 16 byte alignments.
37324
37325 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37326
37327         [BZ #13928]
37328         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37329         from a CNAME entry and return the minimum ttl for the query.
37330         (gaih_getanswer_slice): Likewise.
37331
37332 2012-03-30  Jeff Law  <law@redhat.com>
37333
37334         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37335         due to long keys.
37336         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37337         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37338
37339         * resolv/nss_dns/dns-host.c: Update copyright year.
37340
37341 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37342
37343         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37344         requests to save a system call.  Fix check that all bytes are sent.
37345
37346         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37347         comments for sendmmsg.
37348
37349 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37350
37351         [BZ #13691]
37352         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37353         with only 1 character between 0x0041 and 0x01b0.
37354         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37355         * wcsmbs/tst-mbsnrtowcs.c: New file.
37356
37357 2012-03-29  David S. Miller  <davem@davemloft.net>
37358
37359         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37360         small copies by hand.
37361
37362 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37363
37364         [BZ #13761]
37365         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37366         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37367         group memberships.
37368
37369 2012-03-28  David S. Miller  <davem@davemloft.net>
37370
37371         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37372         that branches into memcpy.
37373         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37374         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37375         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37376         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37377         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37378         bits.
37379         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37380         implementation too.
37381         * sysdeps/sparc/mempcpy.S: New file.
37382
37383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37384         the IFUNC routine in the libc case.
37385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37386
37387         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37388         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37389         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37390         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37391         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37392         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37393         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37394         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37395
37396         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37397         loop to 256 bytes instead of 64 bytes and fix test signedness.
37398
37399         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37400         * sysdeps/sparc/sparc32/Makefile: rather than here...
37401         * sysdeps/sparc/sparc64/Makefile: and here.
37402
37403 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37404
37405         * malloc/mallocbug.c: Avoid warnings about unused variables.
37406
37407 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37408
37409         [BZ #13760]
37410         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37411         in the right place. Discard and retry query if response is
37412         larger than input buffer size.
37413
37414 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37415
37416         [BZ #369]
37417         [BZ #2678]
37418         [BZ #3866]
37419         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37420         x for large integer exponent.
37421         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37422         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37423         sign of result as needed afterwards.
37424         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37425         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37426         result for underflowing pow the same as for overflow.
37427         (__kernel_standard_l): Handle powl overflow and underflow here
37428         rather than calling __kernel_standard.
37429         * math/libm-test.inc (pow_test): Add more tests.
37430
37431         [BZ #3868]
37432         [BZ #13879]
37433         [BZ #13910]
37434         [BZ #13911]
37435         [BZ #13912]
37436         [BZ #13913]
37437         [BZ #13915]
37438         [BZ #13916]
37439         [BZ #13917]
37440         [BZ #13918]
37441         [BZ #13919]
37442         [BZ #13920]
37443         [BZ #13921]
37444         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37445         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37446         (__kernel_standard_l): New function.
37447         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37448         __kernel_standard.
37449         * math/w_acosl.c (__acosl): Likewise.
37450         * math/w_asinl.c (__asinl): Likewise.
37451         * math/w_atan2l.c (__atan2l): Likewise.
37452         * math/w_atanhl.c (__atanhl): Likewise.
37453         * math/w_coshl.c (__coshl): Likewise.
37454         * math/w_exp10l.c (__exp10l): Likewise.
37455         * math/w_exp2l.c (__exp2l): Likewise.
37456         * math/w_fmodl.c (__fmodl): Likewise.
37457         * math/w_hypotl.c (__hypotl): Likewise.
37458         * math/w_j0l.c (__j0l, __y0l): Likewise.
37459         * math/w_j1l.c (__j1l, __y1l): Likewise.
37460         * math/w_jnl.c (__jnl, __ynl): Likewise.
37461         * math/w_lgammal.c (__lgammal): Likewise.
37462         * math/w_log10l.c (__log10l): Likewise.
37463         * math/w_log2l.c (__log2l): Likewise.
37464         * math/w_logl.c (__logl): Likewise.
37465         * math/w_powl.c (__powl): Likewise.
37466         * math/w_remainderl.c (__remainderl): Likewise.
37467         * math/w_scalbl.c (sysv_scalbl): Likewise.
37468         * math/w_sinhl.c (__sinhl): Likewise.
37469         * math/w_sqrtl.c (__sqrtl): Likewise.
37470         * math/w_tgammal.c (__tgammal): Likewise.
37471         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37472         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37473         * math/libm-test.inc (acos_test): Add more tests.
37474         (acosh_test): Likewise.
37475         (asin_test): Likewise.
37476         (atanh_test): Likewise.
37477         (exp_test): Likewise.
37478         (exp10_test): Likewise.
37479         (exp2_test): Likewise.
37480         (expm1_test): Likewise.
37481         (lgamma_test): Likewise.
37482         (log_test): Likewise.
37483         (log10_test): Likewise.
37484         (log1p_test): Likewise.
37485         (log2_test): Likewise.
37486         (pow_test): Do not allow some spurious overflow exceptions.
37487         (sqrt_test): Add more tests.
37488         (tgamma_test): Likewise.
37489         (y0_test): Likewise.
37490         (y1_test): Likewise.
37491         (yn_test): Likewise.
37492
37493 2012-03-27  Anton Blanchard  <anton@samba.org>
37494
37495         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37496         MAP_HUGETLB.
37497         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37498         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37499         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37500
37501 2012-03-27  David S. Miller  <davem@davemloft.net>
37502
37503         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37504
37505         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37506         have-as-vis3 check.
37507
37508 2012-03-27  Andreas Jaeger  <aj@suse.de>
37509
37510         * sysdeps/x86_64/elf/configure.in: Moved to ...
37511         * sysdeps/x86_64/configure.in: ... here.
37512         * sysdeps/x86_64/elf/start.S: Moved to ...
37513         * sysdeps/x86_64/start.S: ... here.
37514         * sysdeps/x86_64/elf/configure: Delete.
37515
37516         * sysdeps/x86_64/configure.in: Merge contents from
37517         sysdeps/i386/configure.in (without i686 check).
37518
37519         * sysdeps/i386/elf/Versions: Merge into ...
37520         * sysdeps/i386/Versions: ... this.
37521         * sysdeps/i386/elf/Versions: Delete file.
37522         * sysdeps/i386/elf/start.S: Moved to ...
37523         * sysdeps/i386/start.S: ...here.
37524         * sysdeps/i386/elf/configure.in: Merge into...
37525         * sysdeps/i386/configure.in: ...here.
37526         * sysdeps/i386/elf/configure.in: Delete file.
37527         * sysdeps/i386/elf/configure: Delete file.
37528
37529         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37530         * debug/backtracesyms.c: ... here.
37531         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37532         * debug/backtracesymsfd.c: ... here.
37533         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37534         * sysdeps/generic/ifunc-sel.h: ... here.
37535
37536         * sysdeps/unix/i386/start.c: Delete file.
37537         * sysdeps/unix/sparc/start.c: Delete file.
37538         * sysdeps/unix/start.c: Delete file.
37539
37540         * sysdeps/sh/elf/configure.in: Moved to ...
37541         * sysdeps/sh/configure.in: ... here.
37542         * sysdeps/sh/elf/start.S: Moved to ...
37543         * sysdeps/sh/start.S: ... here.
37544         * sysdeps/sh/elf/configure: Delete file.
37545
37546         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37547         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37548         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37549         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37550         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37551         * sysdeps/powerpc/powerpc64/start.S: here.
37552         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37553         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37554         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37555         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37556         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37557
37558         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37559         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37560         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37561         * sysdeps/powerpc/powerpc32/start.S: ... here.
37562         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37563         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37564         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37565
37566         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37567         * sysdeps/powerpc/ifunc-sel.h: ... here.
37568         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37569         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37570
37571         * sysdeps/sparc/elf/configure.in: Moved to ...
37572         * sysdeps/sparc/configure.in: ... here.
37573         * sysdeps/sparc/elf/configure: Delete file.
37574         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37575         * sysdeps/sparc/sparc32/start.S: ... here.
37576         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37577         * sysdeps/sparc/sparc64/start.S: ... here.
37578         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37579         * sysdeps/sparc/sparc32/Makefile: ... this.
37580         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37581         * sysdeps/sparc/sparc64/Makefile: ... this.
37582
37583         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37584         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37585         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37586         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37587         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37588         * sysdeps/s390/s390-32/setjmp.S: ... here.
37589         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37590         * sysdeps/s390/s390-32/configure.in: ... here.
37591         * sysdeps/s390/s390-32/elf/configure: Delete file.
37592         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37593         * sysdeps/s390/s390-32/start.S: ... here.
37594
37595         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37596         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37597         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37598         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37599         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37600         * sysdeps/s390/s390-64/setjmp.S: ... here.
37601         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37602         * sysdeps/s390/s390-64/configure.in: ... here
37603         * sysdeps/s390/s390-64/elf/configure: Delete file.
37604         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37605         * sysdeps/s390/s390-64/start.S: ... here.
37606         * sysdeps/s390/s390-64/elf/configure: Delete.
37607
37608         * configure.in: Remove support for elf directories in sysdeps.
37609
37610         * configure: Regenerated.
37611         * sysdeps/i386/configure: Regenerated.
37612         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37613         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37614         * sysdeps/s390/s390-32/configure: Regenerated.
37615         * sysdeps/s390/s390-64/configure: Regenerated.
37616         * sysdeps/sh/configure: Regenerated.
37617         * sysdeps/sparc/configure: Regenerated.
37618         * sysdeps/x86_64/configure: Regenerated.
37619
37620 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37621
37622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37623
37624         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37625         denormal result into account.
37626
37627 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37628
37629         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37630         Reported by Allan McRae <allan@archlinux.org>.
37631
37632 2012-03-23  Jeff Law  <law@redhat.com>
37633
37634         * nss/getnssent.c (__nss_getent): Fix typo.
37635
37636 2012-03-23  David S. Miller  <davem@davemloft.net>
37637
37638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37639
37640 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37641
37642         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37643         to pad to uint64_t for each field.
37644         (dl_tls_index): Replace unsigned long with uint64_t.
37645
37646 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37647         Paul Pluzhnikov  <ppluzhnikov@google.com>
37648
37649         [BZ #6528]
37650         * grp/Makefile (otherlibs): Don't set it.
37651         * inet/Makefile (otherlibs): Likewise.
37652         * login/Makefile (otherlibs): Likewise.
37653         * nscd/Makefile (otherlibs): Likewise.
37654         * posix/Makefile (otherlibs): Likewise.
37655         * pwd/Makefile (otherlibs): Likewise.
37656         * rt/Makefile (otherlibs): Likewise.
37657         * sunrpc/Makefile (otherlibs): Likewise.
37658         * nss/Makefile (otherlibs): Likewise.
37659         Add libnss_files to routines and static-only-routines.
37660         ($(objpfx)getent): Remove rule.
37661         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37662         static-only-routines.
37663
37664 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37665
37666         [BZ #13892]
37667         * math/s_cexp.c: Include <float.h>.
37668         (__cexp): Handle exp result overflowing not necessarily
37669         overflowing both real and imaginary parts of result.
37670         * math/s_cexpf.c: Likewise.
37671         * math/s_cexpl.c: Likewise.
37672         * math/libm-test.inc (cexp_test): Add more tests.
37673         * sysdeps/i386/fpu/libm-test-ulps: Update.
37674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37675
37676 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37677
37678         * include/link.h (ELFW): New macro.
37679         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37680         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37681
37682 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37683
37684         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37685         with uint64_t.
37686
37687 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37688
37689         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37690         declaration.
37691         (struct La_x32_retval): Likewise.
37692
37693 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37694
37695         * sysdeps/x86_64/preconfigure.in: New file.
37696         * sysdeps/x86_64/preconfigure: New generated file.
37697
37698 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37699
37700         [BZ #13824]
37701         * math/e_exp2l.c: Include <float.h>.
37702         (__ieee754_exp2l): Handle overflow and underflow cases
37703         separately.  Only pass fractional part of argument to
37704         __ieee754_expl.
37705         * math/libm-test.inc (exp2_test): Add more tests.
37706
37707         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37708         negating x to take absolute value.
37709         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37710         Likewise.
37711         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37712         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37713         Likewise.
37714         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37715         computing low part if x was negated.
37716         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37717
37718 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37719
37720         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37721         la_x32_gnu_pltexit.
37722         (pltexit): Cast int_retval to ptrdiff_t.
37723         * elf/tst-auditmod3b.c: Likewise.
37724         * elf/tst-auditmod4b.c: Likewise.
37725         * elf/tst-auditmod5b.c: Likewise.
37726         * elf/tst-auditmod6b.c: Likewise.
37727         * elf/tst-auditmod6c.c: Likewise.
37728         * elf/tst-auditmod7b.c: Likewise.
37729
37730         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37731         and x32_gnu_pltexit.
37732
37733         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37734         __ELF_NATIVE_CLASS.
37735         (La_x32_regs): New macro.
37736         (La_x32_retval): Likewise.
37737         (la_x32_gnu_pltenter): New function prototype.
37738         (la_x32_gnu_pltexit): Likewise.
37739
37740 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37741
37742         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37743         exponent.
37744
37745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37746
37747         * configure.in (libc_cv_cc_nofma): Check for option to disable
37748         generation of FMA instructions.
37749         * configure: Regenerate.
37750         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37751         * sysdeps/ieee754/dbl-64/Makefile: New file.
37752         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37753         Remove brandred-fma4.
37754         (CFLAGS-brandred-fma4.c): Remove.
37755         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37756         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37757         define.
37758         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37759         define.
37760
37761 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37762
37763         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37764         LLONG_MAX != LONG_MAX.
37765         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37766         (_fitoa_word): Likewise.
37767         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37768         LLONG_MAX != LONG_MAX.
37769         * stdio-common/_itowa.h: Include <_itoa.h>.
37770         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37771         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37772         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37773         only if not defined.
37774         (_ITOA_WORD_TYPE): Likewise.
37775         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37776         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37777
37778 2012-03-21  David S. Miller  <davem@davemloft.net>
37779
37780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37781
37782 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37783
37784         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37785         of x86_64 when setting libc_cv_slibdir, libdir and
37786         libc_cv_localedir.
37787         * sysdeps/unix/sysv/linux/configure: Regenerated.
37788
37789 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37790
37791         * manual/lang.texi (Old Varargs): Remove section.
37792         (How Variadic): Update menu.
37793         (va_start): Do not mention varargs.h.
37794
37795 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37796             Joseph Myers  <joseph@codesourcery.com>
37797
37798         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37799         link test.
37800         * configure: Regenerated.
37801
37802 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37803
37804         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37805         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37806         conformtest.pl
37807
37808 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37809
37810         * NOTES: Remove.
37811         * Makefile (files-for-dist): Remove NOTES.
37812         (NOTES): Remove rule.
37813         * README: Don't refer to NOTES.
37814         * manual/creature.texi: Don't include macros.texi.
37815         * manual/intro.texi (creature.texi): Remove comment referring to
37816         NOTES.
37817
37818         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37819         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37820         * configure: Regenerated.
37821         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37822         LIBC_TRY_CC_OPTION.
37823         (libc_cv_as_i686): Likewise.
37824         (libc_cv_cc_avx): Likewise.
37825         (libc_cv_cc_sse2avx): Likewise.
37826         (libc_cv_cc_fma4): Likewise.
37827         (libc_cv_cc_novzeroupper): Likewise.
37828         * sysdeps/i386/configure: Regenerated.
37829
37830         [BZ #13883]
37831         * sysdeps/i386/fpu/s_cexp.S: Remove.
37832         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37833         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37834         * math/libm-test.inc (cexp_test): Add more tests.
37835         * sysdeps/i386/fpu/libm-test-ulps: Update.
37836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37837
37838 2012-03-21  Allan McRae  <allan@archlinux.org>
37839
37840         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37841
37842 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37843
37844         [BZ #13871]
37845         * math/w_exp2.c: Do not include <float.h>.
37846         (o_threshold, u_threshold): Remove.
37847         (__exp2): Calculate result before checking finiteness and calling
37848         __kernel_standard.
37849         * math/w_exp2f.c: Likewise.
37850         * math/w_exp2l.c: Likewise.
37851         * math/libm-test.inc (exp2_test): Require overflow exception for
37852         1e6 input.
37853
37854         [BZ #3866]
37855         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37856         range of signed 64-bit integers before using fistpll.  Remove
37857         checks for whether integers fit in mantissa bits.
37858         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37859         the range of signed 32-bit integers before using fistpl.  Remove
37860         checks for whether integers fit in mantissa bits.
37861         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37862         (__ieee754_powl): Test for y outside the range of signed 64-bit
37863         integers before using fistpll.  Reduce 64-bit values to 63-bit
37864         ones as needed.
37865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37866         divide-by-zero is raised for zero to large negative powers.
37867         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37868         (__ieee754_powl): Test for y outside the range of signed 64-bit
37869         integers before using fistpll.  Reduce 64-bit values to 63-bit
37870         ones as needed.
37871         * math/libm-test.inc (pow_test): Add more tests.
37872
37873 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37874
37875         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37876         <stdio-common/_itoa.h>.
37877         * debug/segfault.c: Likewise.
37878         * elf/dl-cache.c: Likewise.
37879         * elf/dl-minimal.c: Likewise.
37880         * elf/dl-misc.c: Likewise.
37881         * elf/dl-sysdep.c: Likewise.
37882         * elf/dl-version.c: Likewise.
37883         * elf/rtld.c: Likewise.
37884         * hurd/hurdsock.c: Likewise.
37885         * hurd/lookup-retry.c: Likewise.
37886         * malloc/malloc.c: Likewise.
37887         * malloc/mtrace.c: Likewise.
37888         * nscd/nscd_getgr_r.c: Likewise.
37889         * nscd/nscd_getpw_r.c: Likewise.
37890         * nscd/nscd_getserv_r.c: Likewise.
37891         * posix/getopt_init.c: Likewise.
37892         * posix/wordexp.c: Likewise.
37893         * stdio-common/_itoa.c: Likewise.
37894         * stdio-common/printf_fphex.c: Likewise.
37895         * stdio-common/vfprintf.c: Likewise.
37896         * string/_strerror.c: Likewise.
37897         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37898         * sysdeps/i386/i686/hp-timing.h: Likewise.
37899         * sysdeps/mach/_strerror.c: Likewise.
37900         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37901         * sysdeps/mach/hurd/sethostid.c: Likewise.
37902         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37903         * sysdeps/mach/xpg-strerror.c: Likewise.
37904         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37906         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37907         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37908         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37909         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37910         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37911         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37912         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37913         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37914         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37915         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37916         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37917         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37918         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37919         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37920         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37921         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37922         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37923         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37924         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37925
37926         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37927
37928         * stdio-common/_itoa.h: Moved to ...
37929         * sysdeps/generic/_itoa.h: Here.
37930
37931         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37932
37933         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37934         instead of "_itoa.h" and "_itowa.h".
37935         * stdio-common/vfprintf.: Likewise.
37936
37937 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37938
37939         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37940         <bits/wordsize.h>.
37941         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37942         (__signbit): Likwise.
37943         (llrintf): Likwise.
37944         (llrint): Likwise.
37945
37946 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37947
37948         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37949         __WORDSIZE != 64.
37950
37951 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37952
37953         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37954         OVERFLOW_EXCEPTION_OK.
37955         * math/libm-test.inc ("Philosophy"): Update comment about
37956         exception testing.
37957         (OVERFLOW_EXCEPTION): Define.
37958         (OVERFLOW_EXCEPTION_OK): Likewise.
37959         (INVALID_EXCEPTION_OK): Renumber.
37960         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37961         (IGNORE_ZERO_INF_SIGN): Likewise.
37962         (test_exceptions): Handle FE_OVERFLOW.
37963         (exp10_test): Expect overflow exceptions.
37964         (exp2_test): Likewise.
37965         (expm1_test): Likewise.
37966         (nextafter_test): Likewise.
37967         (pow_test): Likewise.
37968         (scalbn_test): Likewise.
37969         (scalbln_test): Likewise.
37970
37971 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37972
37973         * sysdeps/x86_64/bits/atomic.h
37974         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37975         64bit integer.
37976         (atomic_exchange_acq): Likewise.
37977         (__arch_exchange_and_add_body): Likewise.
37978         (__arch_add_body): Likewise.
37979         (atomic_add_negative): Likewise.
37980         (atomic_add_zero): Likewise.
37981
37982 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37983
37984         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37985         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37986
37987 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37988
37989         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37990         Check __x86_64__ instead of __WORDSIZE.
37991
37992 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37993
37994         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37995
37996 2012-03-19  David S. Miller  <davem@davemloft.net>
37997
37998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37999
38000         * sysdeps/sparc/fpu/fenv_private.h: New file.
38001         * sysdeps/sparc/fpu/math_private.h: Use it.
38002         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38003         Remove.
38004         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38005         (libc_feholdexcept_setroundl): Remove.
38006         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38007         Remove.
38008         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38009         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38010
38011 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38012
38013         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38014         int64_t instead of long int.
38015         (INSERT_WORDS64): Likwise.
38016
38017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38018
38019         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38020         _Unwind_GetCFA return to _Unwind_Ptr first.
38021
38022 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38023
38024         [BZ #13629]
38025         * math/s_clog.c: Include <float.h>.
38026         (__clog): Scale large or subnormal inputs.
38027         * math/s_clogf.c: Likewise.
38028         * math/s_clogl.c: Likewise.
38029         * math/s_clog10.c: Include <float.h>.
38030         (M_LOG10_2): Define.
38031         (__clog10): Scale large or subnormal inputs.
38032         * math/s_clog10f.c: Likewise.
38033         * math/s_clog10l.c: Likewise.
38034         * math/libm-test.inc (clog_test): Add more tests.
38035         (clog10_test): Likewise.
38036         * sysdeps/i386/fpu/libm-test-ulps: Update.
38037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38038
38039         [BZ #11451]
38040         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38041         x and y.
38042         * math/libm-test.inc (atan2_test): Add another test.
38043
38044         * Makerules (common-objdir-compile): Remove.
38045         * sysdeps/unix/Makefile (config-generated): Do not add
38046         $(unix-generated) to variable.
38047         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38048         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38049         Remove rule.
38050         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38051         Likewise.
38052         [generic bits/local_lim.h] (before-compile): Do not append to
38053         variable.
38054         [generic bits/local_lim.h] (common-generated): Likewise.
38055         [generic sys/param.h] (before-compile): Do not append to variable.
38056         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38057         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38058         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38059         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38060         include.
38061         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38062         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38063         [generic sys/param.h] ($(addprefix
38064         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38065         [generic sys/param.h] (common-generated): Do not append to
38066         variable.
38067         [generic sys/param.h] (sysdep_headers): Likewise.
38068         [generic bits/errno.h] (before-compile): Do not append to
38069         variable.
38070         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38071         rule.
38072         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38073         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38074         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38075         [generic bits/errno.h] (common-generated): Do not append to
38076         variable.
38077         [generic bits/ioctls.h] (before-compile): Do not append to
38078         variable.
38079         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38080         rule.
38081         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38082         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38083         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38084         rule.
38085         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38086         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38087         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38088         [generic bits/ioctls.h] (common-generated): Do not append to
38089         variable.
38090         [generic sys/syscall.h] (syscall.h): Remove variable.
38091         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38092         rule.
38093         [generic sys/syscall.h] (before-compile): Do not append to
38094         variable.
38095         [generic sys/syscall.h] (common-generated): Likewise.
38096         * sysdeps/unix/errnos-tmpl.c: Remove file.
38097         * sysdeps/unix/errnos.awk: Likewise.
38098         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38099         * sysdeps/unix/ioctls.awk: Likewise.
38100         * sysdeps/unix/mk-local_lim.c: Likewise.
38101         * sysdeps/unix/snarf-ioctls: Likewise.
38102
38103 2012-03-19  Richard Henderson  <rth@twiddle.net>
38104
38105         * sysdeps/i386/fpu/fenv_private.h: New file.
38106         * sysdeps/i386/fpu/math_private.h: Use it.
38107         (math_opt_barrier, math_force_eval): Remove.
38108         (libc_feholdexcept_setround_53bit): Remove.
38109         (libc_feupdateenv_53bit): Remove.
38110         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38111         (math_opt_barrier, math_force_eval): Remove.
38112         (libc_feholdexcept): Remove.
38113         (libc_feholdexcept_setround): Remove.
38114         (libc_fetestexcept, libc_fesetenv): Remove.
38115         (libc_feupdateenv_test): Remove.
38116         (libc_feupdateenv, libc_feholdsetround): Remove.
38117         (libc_feresetround): Remove.
38118
38119         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38120         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38121
38122         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38123         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38124         (libc_feupdateenv_testl): New.
38125         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38126         (libc_feupdateenv_testf): New.
38127         (libc_feupdateenv): Use libc_feupdateenv_test.
38128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38129         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38130
38131         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38132         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38133         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38134         (libc_feresetround_noex): New.
38135         (libc_feresetround_noexf): New.
38136         (libc_feresetround_noexl): New.
38137         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38138         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38139         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38140         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38141         SET_RESTORE_ROUND.
38142         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38143         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38144         (__cos): Likewise.
38145         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38146         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38147         SET_RESTORE_ROUND_NOEX.
38148         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38149         SET_RESTORE_ROUND_NOEXF.
38150         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38151         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38152         (libc_feholdsetroundf): New.
38153         (libc_feresetround, libc_feresetroundf): New.
38154
38155         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38156         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38157         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38158
38159         * sysdeps/generic/math_private.h: Include <fenv.h>.
38160         (default_libc_feholdexcept): New.
38161         (default_libc_feholdexcept_setround): New.
38162         (default_libc_fesetenv, default_libc_feupdateenv): New.
38163         (libc_feholdexcept): Only define if undefined.
38164         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38165         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38166         (libc_feholdexcept_setroundl): Likewise.
38167         (libc_feholdexcept_setround_53bit): Likewise.
38168         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38169         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38170         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38171         (libc_feupdateenv_53bit): Likewise.
38172         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38173         (libc_feholdexcept): Convert from macro to inline function.
38174         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38175         (libc_fesetenv, libc_feupdateenv): Likewise.
38176
38177         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38178         not previously defined.
38179         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38180         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38181         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38182         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38183         * sysdeps/ieee754/flt-32/math_private.h: New file.
38184         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38185         math_private.h below SET_FLOAT_WORD.
38186         (__isnan, __isinf_ns, __finite): Remove.
38187         (__isnanf, __isinf_nsf, __finitef): Remove.
38188
38189 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38190
38191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38192
38193 2012-03-17  David S. Miller  <davem@davemloft.net>
38194
38195         [BZ #6471]
38196         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38197         for 2.16.
38198
38199 2012-03-16  David S. Miller  <davem@davemloft.net>
38200
38201         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38202         warnings.
38203
38204         [BZ #6471]
38205         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38206         properly.
38207         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38208         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38209         sysdep_routines when subdir is sysvipc.
38210         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38211         __getshmlba helper.
38212
38213         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38214
38215 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38216
38217         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38218         [__LP64__].
38219
38220 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38221
38222         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38223         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38224         (__lround): Renamed to ...
38225         (__llround): This.  Replace long int with long long int.
38226         Define lround functions as aliases of llround functions.
38227         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38228
38229 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38230
38231         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38232         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38233         adresses to uintptr_t.  Replace "long int" and "unsigned long
38234         int" with "greg_t" on va_arg.
38235
38236 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38237
38238         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38239         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38240
38241         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38242         Move e_machine check before EI_CLASS check.  Handle x32
38243         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38244         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38245         SKIP_EM_IA_64 and include
38246         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38247
38248         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38249         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38250         (add_system_dir): New macro.
38251
38252         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38253         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38254
38255 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38256
38257         [BZ #2551]
38258         [BZ #2552]
38259         [BZ #2553]
38260         [BZ #2554]
38261         [BZ #2562]
38262         [BZ #2563]
38263         [BZ #2565]
38264         [BZ #2566]
38265         [BZ #2576]
38266         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38267         (y0): Likewise.
38268         * math/w_j0f.c (j0f): Likewise.
38269         (y0f): Likewise.
38270         * math/w_j0l.c (__j0l): Likewise.
38271         (__y0l): Likewise.
38272         * math/w_j1.c (j1): Likewise.
38273         (y1): Likewise.
38274         * math/w_j1f.c (j1f): Likewise.
38275         (y1f): Likewise.
38276         * math/w_j1l.c (__j1l): Likewise.
38277         (__y1l): Likewise.
38278         * math/w_jn.c (jn): Likewise.
38279         (yn): Likewise.
38280         * math/w_jnf.c (jnf): Likewise.
38281         (ynf): Likewise.
38282         * math/w_jnl.c (__jnl): Likewise.
38283         (__ynl): Likewise.
38284         * math/libm-test.inc (j0_test): Add more tests.
38285         (j1_test): Likewise.
38286         (jn_test): Likewise.  Add trailing semicolon to existing test.
38287         (y0_test): Likewise.
38288         (y1_test): Likewise.
38289         * sysdeps/i386/fpu/libm-test-ulps: Update.
38290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38291
38292         [BZ #13851]
38293         [BZ #13854]
38294         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38295         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38296         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38297         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38298         (__tanl): Set errno for infinite argument.
38299         * sysdeps/i386/fpu/mptan.c: Remove.
38300         * sysdeps/i386/fpu/s_tan.S: Likewise.
38301         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38302         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38303         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38304         * math/libm-test.inc (tan_test): Add more tests and enable more
38305         tests for double and long double.
38306         * sysdeps/i386/fpu/libm-test-ulps: Update.
38307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38308
38309 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38310
38311         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38312         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38313
38314 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38315
38316         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38317         * configure.in: Use it for both main tree and add-ons.
38318         * configure: Regenerated.
38319
38320 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38321
38322         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38323
38324 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38325
38326         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38327         in comment.
38328
38329         [BZ #13851]
38330         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38331         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38332         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38333         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38334         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38335         infinite argument.
38336         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38338         != 0 for prec == 2.
38339         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38340         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38341         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38342         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38343         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38344         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38345         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38346         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38347         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38348         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38349         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38350         * math/libm-test.inc (cos_test): Add more tests and enable more
38351         tests for long double.
38352         (sin_test): Likewise.
38353         (sincos_test): Likewise.
38354         * sysdeps/i386/fpu/libm-test-ulps: Update.
38355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38356
38357 2012-03-16  David S. Miller  <davem@davemloft.net>
38358
38359         * sysdeps/sparc/fpu/math_private.h: New file.
38360
38361 2012-03-15  David S. Miller  <davem@davemloft.net>
38362
38363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38364         file.
38365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38367         file.
38368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38369         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38370         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38371         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38372         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38374         sysdep routines.
38375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38376
38377         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38378         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38379
38380         * sysdeps/sparc/sparc-ifunc.h: New file.
38381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38382         sparc-ifunc.h
38383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38385         Likewise.
38386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38387         Likewise.
38388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38392         Likewise.
38393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38398         Likewise.
38399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38400         Likewise.
38401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38405         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38407         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38408         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38412         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38413         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38414         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38415         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38416         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38417         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38419         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38420         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38421         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38422         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38423         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38424         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38425
38426 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38427
38428         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38429         scaling.
38430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38431
38432 2012-03-15  Andreas Jaeger  <aj@suse.de>
38433
38434         [BZ #13852]
38435         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38436         ieee754/flt-32 implementation for sin, cos and sincos.
38437         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38438         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38439         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38440         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38441         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38442         ieee754/flt-32 implementation for tan.
38443
38444         * math/libm-test.inc (cos_test): Enable some large input tests for
38445         float as well
38446         (sin_test): Likewise.
38447         (sincos_test): Likewise.
38448         (tan_test): Add tests for large input.
38449
38450         * sysdeps/i386/fpu/libm-test-ulps: Update.
38451
38452 2012-03-15  Andreas Jaeger  <aj@suse.de>
38453
38454         [BZ #13658]
38455         * math/libm-test.inc (cos_test): Add more test cases.
38456         (sin_test): Likewise.
38457         (sincos_test): Likewise.
38458
38459 2012-03-15  Andreas Jaeger  <aj@suse.de>
38460
38461         [BZ #13837]
38462         * math/libm-test.inc (cos_test): Add a test case for large input
38463         value.
38464         (sin_test): Likewise.
38465         (sincos_test): Likewise.
38466
38467 2012-03-15  Andreas Jaeger  <aj@suse.de>
38468             Joseph Myers  <joseph@codesourcery.com>
38469
38470         [BZ #13658]
38471         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38472         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38473         * sysdeps/i386/fpu/branred.c: Likewise.
38474         * sysdeps/i386/fpu/dosincos.c: Likewise.
38475         * sysdeps/i386/fpu/mpa.c: Likewise.
38476         * sysdeps/i386/fpu/s_cos.S: Likewise.
38477         * sysdeps/i386/fpu/s_sin.S: Likewise.
38478         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38479         * sysdeps/i386/fpu/sincos32.c: Likewise.
38480
38481         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38482         Define.
38483         (libc_feupdateenv_53bit): Define.
38484         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38485         Define.
38486         (libc_feupdateenv_53bit): Define.
38487
38488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38489         53 bit (without extend i386 double precision).
38490
38491         * math/libm-test.inc (sincos_test): Add tests for large input.
38492         (sin): Likewise.
38493         (cos): Likewise.
38494
38495         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38496
38497 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38498
38499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38500
38501 2012-03-15  David S. Miller  <davem@davemloft.net>
38502
38503         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38504         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38505         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38506         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38511         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38512         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38519         file.
38520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38522         file.
38523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38525         file.
38526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38528         file.
38529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38530         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38531         fmin/fmax sysdep routines.
38532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38533
38534 2012-03-14  David S. Miller  <davem@davemloft.net>
38535
38536         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38540         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38541         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38542         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38543         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38545         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38546         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38548         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38553         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38554         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38555         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38556         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38557         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38558         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38559         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38560         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38561         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38562         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38563         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38564         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38565         routines.
38566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38567         file.
38568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38570         file.
38571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38573         file.
38574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38576         file.
38577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38579         file.
38580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38582         file.
38583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38584         file.
38585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38586         file.
38587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38588         file.
38589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38590         New file.
38591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38592         file.
38593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38594         file.
38595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38597         file.
38598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38600         file.
38601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38603         file.
38604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38606         VIS3 routines.
38607
38608         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38609         New file.
38610
38611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38612
38613         * sysdeps/sparc/configure.in: New file.
38614         * sysdeps/sparc/configure: Generate.
38615         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38616         * configure: Regenerate.
38617         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38618         * config.make.in (have-as-vis3): New.
38619         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38620         available use -Av9d instead of -Av9a.
38621         * sysdeps/sparc/sparc64/Makefile: Likewise.
38622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38624         New file.
38625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38626         file.
38627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38628         New file.
38629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38630         file.
38631         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38632         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38633         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38634         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38635         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38636
38637         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38638         fzeros/fnegs to load 0x80000000 into a float register instead of
38639         using the stack.
38640         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38641
38642 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38643
38644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38645         bits/syscall.h.
38646         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38647         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38648         ($(inst_includedir)/bits/syscall.h): Remove rule.
38649         ($(objpfx)bits/syscall.d): Include instead of
38650         $(objpfx)syscall-list.d.
38651         (generated): Change syscall-list.h and syscall-list.d to
38652         bits/syscall.h and bits/syscall.d.
38653
38654 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38655
38656         [BZ #13846]
38657         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38658
38659 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38660
38661         [BZ #13841]
38662         * math/s_csqrt.c: Include <float.h>.
38663         (__csqrt): Scale large or subnormal inputs.
38664         * math/s_csqrtf.c: Likewise.
38665         * math/s_csqrtl.c: Likewise.
38666         * math/libm-test.inc (csqrt_test): Add more tests.
38667         * sysdeps/i386/fpu/libm-test-ulps: Update.
38668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38669
38670         [BZ #13840]
38671         * math/libm-test.inc (hypot_test): Add more tests.
38672
38673 2012-03-13  David S. Miller  <davem@davemloft.net>
38674
38675         [BZ #13840]
38676         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38677         double-precision for the calculation instead of scaling.
38678
38679 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38680
38681         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38682         manipulate bits before adding and subtracting TWO52[sx].
38683         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38684         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38685         Likewise.
38686         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38687
38688 2012-03-13  David S. Miller  <davem@davemloft.net>
38689
38690         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38691         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38692         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38693         rtld-global-offsets.h
38694         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38695
38696         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38697         large parameters.
38698
38699         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38700
38701         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38702         'err' in the ifdef scope in which it is actually used.
38703
38704         * nss/nss_db/db-init.c: Include string.h
38705
38706 2012-03-12  David S. Miller  <davem@davemloft.net>
38707
38708         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38709         masking out of the most significant byte of random value used.
38710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38711         Fix coding style in previous change.
38712
38713         * sysdeps/unix/sysv/linux/kernel-features.h
38714         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38715         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38716         expression.
38717         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38718         later.
38719
38720 2012-03-11  David S. Miller  <davem@davemloft.net>
38721
38722         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38723         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38724         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38725         for 'resultvar' otherwise things get truncated on 64-bit.
38726
38727         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38728         Fix masking out of the most significant byte of random value used.
38729
38730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38731
38732 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38733
38734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38735
38736 2012-03-09  David S. Miller  <davem@davemloft.net>
38737
38738         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38739         variables with appropriate CPP guards.
38740         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38741         from the frame pointer, not the stack pointer.  Correct layout
38742         comments.  Fix test on resulting framesize and the management of
38743         the outregs buffer for pltexit.  Preserve floating point return
38744         values across _dl_call_pltexit call.
38745         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38746         framesize and the management of the outregs buffer for pltexit.
38747         Preserve floating point return values across _dl_call_pltexit
38748         call.
38749         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38750         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38751         (la_sparc64_gnu_pltexit): New functions.
38752         (print_exit): Fix format string for return register value.
38753
38754 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38755
38756         * sunrpc/Makefile (others): Add rpcgen.
38757         ($(objpfx)rpcgen): Remove special build rule and dependency on
38758         libc.
38759         * sunrpc/rpcgen.c: New file.
38760
38761 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38762
38763         [BZ #13673]
38764         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38765         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38766         * sysdeps/i386/crti.S: Likewise.
38767         * sysdeps/i386/crtn.S: Likewise.
38768         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38769         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38770         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38771         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38772         * sysdeps/sh/crti.S: Likewise.
38773         * sysdeps/sh/crtn.S: Likewise.
38774         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38775
38776         [BZ #13673]
38777         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38778         with URL.
38779         * locale/programs/locfile-kw.gperf: Likewise.
38780         * locale/programs/charmap-kw.h: Regenerated.
38781         * locale/programs/locfile-kw.h: Likewise.
38782
38783         [BZ #13673]
38784         * intl/plural.y: Replace FSF snail mail address with URL.
38785         * intl/plural.c: Regenerated.
38786
38787 2012-03-09  Richard Henderson  <rth@twiddle.net>
38788
38789         * include/math_private.h: Remove file.
38790         * math/math_private.h: Move file ...
38791         * sysdeps/generic/math_private.h: ... here.
38792
38793         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38794         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38795         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38796
38797         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38798         and <math_private.h>.
38799         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38800         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38801         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38802         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38803         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38804         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38805         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38807         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38808         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38809         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38810         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38814         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38815         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38816         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38817         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38818         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38822         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38823         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38824         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38825         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38826         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38828         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38829         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38831         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38832         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38833         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38834         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38835         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38836         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38837         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38838         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38839         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38840         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38841         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38842         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38843         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38844         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38845         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38846         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38847         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38848         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38849         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38850         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38851         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38852         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38853         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38854         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38855         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38856         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38857         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38858         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38859         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38860         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38861         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38862         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38863         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38864         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38865         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38866         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38867         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38868         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38869         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38870         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38871         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38872         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38873         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38874         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38875         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38877         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38878         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38879         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38880         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38881         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38882         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38883         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38884         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38885         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38886         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38887         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38888         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38889         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38890         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38891         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38892         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38893         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38894         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38895         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38896         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38897         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38898         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38899         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38900         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38901         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38902         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38903         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38904         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38905         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38906         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38907         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38908         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38909         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38910         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38911         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38912         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38913         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38914         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38915         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38916         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38917         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38918         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38919         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38920         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38921         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38922         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38923         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38924         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38925         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38926         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38927         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38928         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38929         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38930         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38931         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38932         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38933         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38934         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38935         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38936         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38937         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38938         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38939         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38940         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38941         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38942         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38943         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38944         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38945         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38946         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38947         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38948         * sysdeps/ieee754/k_standard.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38953         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38954         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38956         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38961         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38965         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38966         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38967         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38968         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38969         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38970         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38971         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38972         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38973         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38974         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38975         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38976         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38977         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38978         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38979         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38980         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38981         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38982         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38983         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38985         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38986         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38987         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38988         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38989         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38990         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38991         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38993         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38994         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38995         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38996         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38997         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38998         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38999         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39000         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39001         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39002         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39003         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39004         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39005         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39006         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39007         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39008         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39012         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39016         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39017         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39018         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39021         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39022         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39023         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39026         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39032         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39035         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39036         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39037         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39038         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39039         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39040         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39041         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39042         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39045         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39047         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39052         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39053         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39054         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39055         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39056         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39057         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39058         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39059         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39060         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39061         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39062         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39063         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39064         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39065         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39066         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39067         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39068         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39069         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39070         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39071         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39072         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39073         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39074         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39075         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39076         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39077         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39079         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39080         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39081         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39082         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39083         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39084         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39085         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39086         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39087         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39088         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39089         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39090         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39091         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39092         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39093         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39094         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39095         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39096         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39097         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39098         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39099         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39100         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39101         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39102         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39103         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39104         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39105         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39106         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39107         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39108         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39109         * sysdeps/ieee754/s_lib_version.c: Likewise.
39110         * sysdeps/ieee754/s_matherr.c: Likewise.
39111         * sysdeps/ieee754/s_signgam.c: Likewise.
39112         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39113         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39114         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39115         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39116         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39117         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39118         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39119         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39120         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39121         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39122         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39123         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39124         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39125         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39126         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39127         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39128         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39129         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39130         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39132         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39133
39134 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39135
39136         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39137         * sunrpc/rpc_main.c: Likewise.
39138         * sunrpc/rpc_svcout.c: Likewise.
39139
39140 2012-03-09  David S. Miller  <davem@davemloft.net>
39141
39142         * include/math_private.h: New file.
39143
39144 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39145
39146         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39147         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39148         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39149         from <bits/socket_type.h>.
39150         (enum __socket_type): Don't define here.
39151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39153         bits/socket_type.h.
39154
39155         [BZ #13566]
39156         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39157         checking __USE_GNU.
39158
39159         * Makerules ($(inst_includedir)/%.h): New rule.
39160         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39161         (install-others): Remove variable setting.
39162         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39163
39164 2012-03-08  Richard Henderson  <rth@twiddle.net>
39165
39166         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39167         from macro to inline function; merge with the
39168         !__LIBC_INTERNAL_MATH_INLINES version.
39169         (__ieee754_sqrtf): Likewise.
39170
39171         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39172         to inline function.
39173         (__rintf, __floor, __floorf): Likewise.
39174
39175         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39176         macro to inline function.
39177         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39178
39179         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39180         not <math/math_private.h>.
39181
39182 2012-03-08  David S. Miller  <davem@davemloft.net>
39183
39184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39185         copyright year.
39186         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39187
39188 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39189
39190         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39191         normalization.
39192         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39193         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39194
39195 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39196
39197         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39198         be defined individually, they must be defined as a block.  Define
39199         S for printing a string instead of hidint the different by using a
39200         macro for adding the 'l'.
39201         * stdio-common/tst-fphex-wide.c: Adjust.
39202
39203 2012-03-07  Marek Polacek  <polacek@redhat.com>
39204
39205         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39206
39207 2012-03-08  Marek Polacek  <polacek@redhat.com>
39208
39209         [BZ #13806]
39210         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39211         * stdio-common/tst-fphex.c: Define a few macros to make the
39212         test reusable.  Use them.
39213         * stdio-common/tst-fphex-wide.c: New file.
39214
39215 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39216
39217         [BZ #6911]
39218         * manual/macros.texi (gnusystems): New macro.
39219         (nongnusystems): Likewise.
39220         (gnulinuxhurdsystems): Likewise.
39221         (gnuhurdsystems): Likewise..
39222         (gnulinuxsystems): Likewise.
39223         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39224         variants of the GNU system, not "GNU system".
39225         * manual/conf.texi: Likewise.
39226         * manual/errno.texi: Likewise.  Update example of errno macro
39227         expansion.
39228         * manual/filesys.texi: Likewise.
39229         (getumask): Document as specific to GNU/Hurd.
39230         * manual/install.texi: Likewise.  Reword some references to
39231         GNU/Linux.
39232         * manual/intro.texi: Likewise.
39233         * manual/io.texi: Likewise.
39234         (File Name Portability): Detail which constraints are inapplicable
39235         to all GNU systems and which are only inapplicable to GNU/Hurd.
39236         * manual/job.texi: Likewise.
39237         * manual/llio.texi: Likewise.
39238         (O_NOCTTY): Document as present on GNU/Linux.
39239         * manual/maint.texi: Likewise.
39240         * manual/memory.texi: Likewise.
39241         * manual/pattern.texi: Likewise.
39242         * manual/pipe.texi: Likewise.
39243         * manual/process.texi: Likewise.
39244         * manual/resource.texi: Likewise.
39245         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39246         child on GNU/Hurd.
39247         * manual/setjmp.texi: Likewise.
39248         * manual/signal.texi: Likewise.
39249         * manual/startup.texi: Likewise.
39250         * manual/stdio.texi: Likewise.
39251         * manual/terminal.texi: Likewise.
39252         (ONLCR): Document as POSIX.
39253         (OXTABS): Document availability on GNU/Linux as XTABS.
39254         (ONOEOT): Document availability separately from other bits.
39255         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39256         * manual/time.texi: Likewise.
39257         * manual/users.texi: Likewise.
39258         * INSTALL: Regenerated.
39259         * sysdeps/gnu/errlist.c: Regenerated.
39260
39261         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39262         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39263         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39264         puts.
39265         * configure: Regenerated.
39266
39267 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39268
39269         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39270         default includes instead of AC_HEADER_CHECK.
39271         * sysdeps/i386/configure: Regenerated.
39272
39273         [BZ #10716]
39274         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39275         * math/s_cacoshf.c (__cacoshf): Likewise.
39276         * math/s_cacoshl.c (__cacoshl): Likewise.
39277         * math/s_casinh.c (__casinh): Set signs of result from argument.
39278         * math/s_casinhf.c (__casinhf): Likewise.
39279         * math/s_casinhl.c (__casinhl): Likewise.
39280         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39281         (casinh_test): Add more tests.
39282         * sysdeps/i386/fpu/libm-test-ulps: Update.
39283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39284
39285 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39286
39287         * po/zh_TW.po: Update from translation team.
39288
39289         * login/Makefile (distribute): Remove variable.
39290         * catgets/Makefile: Likewise.
39291         * mach/Makefile: Likewise.
39292         * malloc/Makefile: Likewise.
39293         * misc/Makefile: Likewise.
39294         * iconv/Makefile: Likewise.
39295         * nscd/Makefile: Likewise.
39296         * hurd/Makefile: Likewise.
39297         * manual/Makefile: Likewise.
39298         * locale/Makefile: Likewise.
39299         * intl/Makefile: Likewise.
39300         * conform/Makefile: Likewise.
39301         * nss/Makefile: Likewise.
39302         * time/Makefile: Likewise.
39303         * soft-fp/Makefile: Likewise.
39304         * dirent/Makefile: Likewise.
39305         * gmon/Makefile: Likewise.
39306         * po/Makefile: Likewise.
39307         * rt/Makefile: Likewise.
39308         * socket/Makefile: Likewise.
39309         * math/Makefile: Likewise.
39310         * signal/Makefile: Likewise.
39311         * debug/Makefile: Likewise.
39312         * elf/Makefile: Likewise.
39313         * timezone/Makefile: Likewise.
39314         * stdlib/Makefile: Likewise.
39315         * iconvdata/Makefile: Likewise.
39316         * sunrpc/Makefile: Likewise.
39317         * io/Makefile: Likewise.
39318         * argp/Makefile: Likewise.
39319         * inet/Makefile: Likewise.
39320         * hesiod/Makefile: Likewise.
39321         * grp/Makefile: Likewise.
39322         * csu/Makefile: Likewise.
39323         * wctype/Makefile: Likewise.
39324         * crypt/Makefile: Likewise.
39325         * libio/Makefile: Likewise.
39326         * string/Makefile: Likewise.
39327         * nis/Makefile: Likewise.
39328         * resolv/Makefile: Likewise.
39329         * stdio-common/Makefile: Likewise.
39330         * wcsmbs/Makefile: Likewise.
39331         * dlfcn/Makefile: Likewise.
39332         * posix/Makefile: Likewise.
39333
39334         [BZ #6959]
39335         * timezone/Makefile: Don't install timezone files, just the programs
39336         and scripts.
39337
39338 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39339
39340         * nss/databases.def: Add missing gshadow entry.
39341
39342         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39343
39344 2012-03-06  Marek Polacek  <polacek@redhat.com>
39345
39346         [BZ #13726]
39347         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39348         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39349         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39350         * stdio-common/tst-long-dbl-fphex.c: New file.
39351
39352 2012-03-06  David S. Miller  <davem@davemloft.net>
39353
39354         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39355         (set_obp_int): New function.
39356         (get_obp_int): New function.
39357         (__get_clockfreq_via_dev_openprom): Likewise.
39358         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39359         Avoid unused variable warnings on 'val' and use builtin_expect.
39360         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39361         __builtin_expect.
39362         (INLINE_CLONE_SYSCALL): Likewise.
39363
39364 2012-03-05  David S. Miller  <davem@davemloft.net>
39365
39366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39367
39368 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39369
39370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39371
39372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39373         only for |x| >= 40.
39374         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39375
39376 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39377
39378         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39379         Replace gettimeofday with __vdso_gettimeofday.
39380
39381         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39382         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39383         __vdso_clock_gettime and __vdso_getcpu.
39384
39385         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39386         time with __vdso_time.
39387
39388 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39389
39390         * manual/lang.texi (size_t): Note types to which size_t may be
39391         equivalent with the GNU C Library, but do not describe when
39392         differences between them are significant.
39393
39394 2012-03-05  Andreas Jaeger  <aj@suse.de>
39395
39396         * sysdeps/i386/fpu/libm-test-ulps: Update.
39397
39398 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39399
39400         [BZ #3976]
39401         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39402         (__ieee754_pow): Save and restore rounding mode and use
39403         round-to-nearest for main computations.
39404         * math/libm-test.inc (pow_test_tonearest): New function.
39405         (pow_test_towardzero): Likewise.
39406         (pow_test_downward): Likewise.
39407         (pow_test_upward): Likewise.
39408         (main): Call the new functions.
39409         * sysdeps/i386/fpu/libm-test-ulps: Update.
39410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39411
39412         [BZ #3976]
39413         * math/libm-test.inc (cosh_test_tonearest): New function.
39414         (cosh_test_towardzero): Likewise.
39415         (cosh_test_downward): Likewise.
39416         (cosh_test_upward): Likewise.
39417         (sinh_test_tonearest): Likewise.
39418         (sinh_test_towardzero): Likewise.
39419         (sinh_test_downward): Likewise.
39420         (sinh_test_upward): Likewise.
39421         (main): Call the new functions.
39422         * sysdeps/i386/fpu/libm-test-ulps: Update.
39423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39424
39425 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39426
39427         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39428         default stack guard is set in last bytes.
39429         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39430
39431 2012-03-05  Kees Cook  <keescook@chromium.org>
39432
39433         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39434
39435         [BZ #13656]
39436         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39437         possibly allocate from heap instead of stack.
39438         * stdio-common/bug-vfprintf-nargs.c: New file.
39439         * stdio-common/Makefile (tests): Add nargs overflow test.
39440
39441 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39442
39443         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39444
39445 2012-03-03  Marek Polacek  <polacek@redhat.com>
39446
39447         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39448         * math/math_private.h: Likewise.
39449         * stdlib/tst-strtod.c: Likewise.
39450         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39451         * sysdeps/x86_64/bits/atomic.h: Likewise.
39452
39453 2012-03-02  David S. Miller  <davem@davemloft.net>
39454
39455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39459         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39460         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39461         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39462         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39463
39464 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39465
39466         [BZ #13792]
39467         * manual/examples/README: New file, says the example source files
39468         can be used under GPL>=2.
39469         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39470         line containing just "*/".
39471         * manual/examples/add.c: Add copyright header (GPL>=2).
39472         * manual/examples/argp-ex1.c: Likewise.
39473         * manual/examples/argp-ex2.c: Likewise.
39474         * manual/examples/argp-ex3.c: Likewise.
39475         * manual/examples/argp-ex4.c: Likewise.
39476         * manual/examples/atexit.c: Likewise.
39477         * manual/examples/db.c: Likewise.
39478         * manual/examples/dir.c: Likewise.
39479         * manual/examples/dir2.c: Likewise.
39480         * manual/examples/execinfo.c: Likewise.
39481         * manual/examples/filecli.c: Likewise.
39482         * manual/examples/filesrv.c: Likewise.
39483         * manual/examples/fmtmsgexpl.c: Likewise.
39484         * manual/examples/genpass.c: Likewise.
39485         * manual/examples/inetcli.c: Likewise.
39486         * manual/examples/inetsrv.c: Likewise.
39487         * manual/examples/isockad.c: Likewise.
39488         * manual/examples/longopt.c: Likewise.
39489         * manual/examples/memopen.c: Likewise.
39490         * manual/examples/memstrm.c: Likewise.
39491         * manual/examples/mkfsock.c: Likewise.
39492         * manual/examples/mkisock.c: Likewise.
39493         * manual/examples/mygetpass.c: Likewise.
39494         * manual/examples/pipe.c: Likewise.
39495         * manual/examples/popen.c: Likewise.
39496         * manual/examples/rprintf.c: Likewise.
39497         * manual/examples/search.c: Likewise.
39498         * manual/examples/select.c: Likewise.
39499         * manual/examples/setjmp.c: Likewise.
39500         * manual/examples/sigh1.c: Likewise.
39501         * manual/examples/sigusr.c: Likewise.
39502         * manual/examples/stpcpy.c: Likewise.
39503         * manual/examples/strdupa.c: Likewise.
39504         * manual/examples/strftim.c: Likewise.
39505         * manual/examples/strncat.c: Likewise.
39506         * manual/examples/subopt.c: Likewise.
39507         * manual/examples/swapcontext.c: Likewise.
39508         * manual/examples/termios.c: Likewise.
39509         * manual/examples/testopt.c: Likewise.
39510         * manual/examples/testpass.c: Likewise.
39511         * manual/examples/timeval_subtract.c: Likewise.
39512
39513         [BZ #13792]
39514         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39515         function to ...
39516         * manual/timeval_subtract.c.texi: ... here, new file.
39517
39518 2012-03-02  David S. Miller  <davem@davemloft.net>
39519
39520         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39521
39522 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39523
39524         [BZ #3976]
39525         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39526         (__sin): Save and restore rounding mode and use round-to-nearest
39527         for all computations.
39528         (__cos): Save and restore rounding mode and use round-to-nearest
39529         for all computations.
39530         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39531         <fenv.h>.
39532         (tan): Save and restore rounding mode and use round-to-nearest for
39533         all computations.
39534         * math/libm-test.inc (cos_test_tonearest): New function.
39535         (cos_test_towardzero): Likewise.
39536         (cos_test_downward): Likewise.
39537         (cos_test_upward): Likewise.
39538         (sin_test_tonearest): Likewise.
39539         (sin_test_towardzero): Likewise.
39540         (sin_test_downward): Likewise.
39541         (sin_test_upward): Likewise.
39542         (tan_test_tonearest): Likewise.
39543         (tan_test_towardzero): Likewise.
39544         (tan_test_downward): Likewise.
39545         (tan_test_upward): Likewise.
39546         (main): Call the new functions.
39547         * sysdeps/i386/fpu/libm-test-ulps: Update.
39548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39549
39550         [BZ #10135]
39551         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39552         small n, then large n, before computing and testing k+n.
39553         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39554         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39555         Likewise.
39556         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39557         Likewise.
39558         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39559         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39560         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39561         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39562         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39563         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39564         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39565         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39566         * math/libm-test.inc (scalbn_test): Add more tests.
39567         (scalbln_test): Likewise.
39568
39569         * manual/filesys.texi (mode_t): Describe constraints on size and
39570         signedness, not exact equivalence to a particular type.
39571         (ino_t): Likewise.
39572         (ino64_t): Likewise.
39573         (dev_t): Likewise.
39574         (nlink_t): Likewise.
39575         (blkcnt_t): Likewise.
39576         (blkcnt64_t): Likewise.
39577         * manual/llio.texi (off_t): Likewise.
39578
39579         [BZ #3976]
39580         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39581         (__ieee754_exp): Save and restore rounding mode and use
39582         round-to-nearest for all computations.
39583         * math/libm-test.inc (exp_test_tonearest): New function.
39584         (exp_test_towardzero): Likewise.
39585         (exp_test_downward): Likewise.
39586         (exp_test_upward): Likewise.
39587         (main): Call the new functions.
39588         * sysdeps/i386/fpu/libm-test-ulps: Update.
39589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39590
39591 2012-03-01  Chris Demetriou  <cgd@google.com>
39592
39593         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39594         have predictable order.
39595
39596 2012-03-01  David S. Miller  <davem@davemloft.net>
39597
39598         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39599
39600         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39601         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39602         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39603         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39604
39605         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39606         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39607         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39609         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39610         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39611         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39612         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39613         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39614
39615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39616
39617         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39618         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39619         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39620
39621         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39622         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39623         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39624         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39625         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39626         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39627         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39628         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39629         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39630         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39631         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39632         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39634         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39635         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39636         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39637         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39638         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39639         * sysdeps/sparc/elf/configure: Regenerated.
39640
39641 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39642
39643         * configure.in (AS, LD): Require binutils 2.20 or later.
39644         * configure: Regenerated.
39645         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39646         as required minimum version.
39647         * INSTALL: Regenerated.
39648
39649         [BZ #2541]
39650         [BZ #4108]
39651         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39652         before squaring exponent.
39653         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39654         bottom long double and 27 bits of top long double before squaring
39655         exponent.
39656         * math/libm-test.inc (erfc_test): Add more tests.
39657         * sysdeps/i386/fpu/libm-test-ulps: Update.
39658         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39660
39661 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39662
39663         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39664         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39665         containing bit-fields.
39666         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39667         * soft-fp/single.h (_FP_UNION_S): Likewise.
39668         * soft-fp/double.h (_FP_UNION_D): Likewise.
39669
39670 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39671
39672         [BZ #13786]
39673         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39674         not include ../strcmp.S.
39675         [USE_AS_STRNCASECMP_L]: Likewise.
39676         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39677         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39678         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39679         (__strncasecmp_l_ia32): Define as alias to
39680         __strncasecmp_l_nonascii.
39681
39682         [BZ #5794]
39683         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39684         * sysdeps/i386/fpu/libm-test-ulps: Update.
39685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39686
39687         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39689
39690 2012-02-29  Jeff Law  <law@redhat.com>
39691
39692         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39693         out of bounds read.
39694
39695 2012-02-29  Marek Polacek  <polacek@redhat.com>
39696
39697         [BZ #13706]
39698         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39699         * elf/Makefile: Add rules to run tst-unused-dep.out.
39700
39701 2012-02-28  David S. Miller  <davem@davemloft.net>
39702
39703         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39704         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39705         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39706         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39707         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39708         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39709
39710 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39711
39712         * math/libm-test.inc (llround_test): Move one test from
39713         lround_test.  Use TEST_f_L in moved test.
39714         (lround_test): Move misplaced test to llround_test.  Add testcase
39715         from bug 2561.
39716
39717 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39718
39719         * sysdeps/x86_64/fpu/e_expf.S: New file.
39720         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39721
39722 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39723
39724         [BZ #13637]
39725         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39726         of remain_len that may cause incomplete multi-byte character and
39727         false match.
39728         * posix/bug-regex33.c: New file.
39729         * posix/Makefile (tests): Add bug-regex33.
39730
39731 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39732
39733         * manual/macros.texi: New file.
39734         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39735         * manual/libc.texinfo: Include macros.texi.
39736         * manual/creatute.texi: Likewise.
39737         * manual/install.texi: Likewise.
39738         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39739         @glibcadj{} in references to the GNU C Library.
39740         * manual/charset.texi: Likewise.
39741         * manual/conf.texi: Likewise.
39742         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39743         when not using those macros.
39744         * manual/creature.texi: Likewise.
39745         * manual/crypt.texi: Likewise.
39746         * manual/errno.texi: Likewise.
39747         * manual/filesys.texi: Likewise.
39748         * manual/header.texi: Likewise.
39749         * manual/install.texi: Likewise.
39750         * manual/intro.texi: Likewise.
39751         * manual/io.texi: Likewise.
39752         * manual/job.texi: Likewise.
39753         * manual/lang.texi: Likewise.
39754         * manual/libc.texiinfo: Likewise.
39755         * manual/llio.texi: Likewise.
39756         * manual/locale.texi: Likewise.
39757         * manual/maint.texi: Likewise.
39758         * manual/math.texi: Likewise.
39759         * manual/memory.texi: Likewise.
39760         * manual/message.texi: Likewise.
39761         * manual/nss.texi: Likewise.
39762         * manual/pattern.texi: Likewise.
39763         * manual/process.texi: Likewise.
39764         * manual/resource.texi: Likewise.
39765         * manual/search.texi: Likewise.
39766         * manual/setjmp.texi: Likewise.
39767         * manual/signal.texi: Likewise.
39768         * manual/socket.texi: Likewise.
39769         * manual/startup.texi: Likewise.
39770         * manual/stdio.texi: Likewise.
39771         * manual/string.texi: Likewise.
39772         * manual/sysinfo.texi: Likewise.
39773         * manual/syslog.texi: Likewise.
39774         * manual/terminal.texi: Likewise.
39775         * manual/time.texi: Likewise.
39776         * manual/users.texi: Likewise.
39777         * INSTALL: Regenerated.
39778         * NOTES: Regenerated.
39779         * sysdeps/gnu/errlist.c: Regenerated.
39780
39781 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39782
39783         * include/dirent.h: Include <dirstream.h> before
39784         <dirent/dirent.h>.
39785
39786 2012-02-28  David S. Miller  <davem@davemloft.net>
39787
39788         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39789         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39790         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39791         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39792
39793 2012-02-27  David S. Miller  <davem@davemloft.net>
39794
39795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39797         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39798         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39799
39800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39801         frame pointer instead of stack pointer relative arg slot.
39802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39803         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39804         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39805
39806 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39807
39808         [BZ #3992]
39809         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39810
39811 2012-02-27  David S. Miller  <davem@davemloft.net>
39812
39813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39817         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39818         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39819         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39820         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39821
39822 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39823
39824         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39825         later.  Allow versions 5-9.
39826         * configure: Regenerated.
39827         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39828         required minimum version and 4.6 as recommended version.  Do not
39829         mention bugs in GCC 2.7 and 2.8.
39830         * INSTALL: Regenerated.
39831
39832 2012-02-27  David S. Miller  <davem@davemloft.net>
39833
39834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39838         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39839         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39840         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39841         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39842
39843         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39844         manipulate bits before adding and subtracting TWO112[sx].
39845         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39846
39847 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39848
39849         [BZ #13775]
39850         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39851         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39852         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39853         being in POSIX, because they are in 1003.1-2008.
39854
39855         * rt/tst-aio.c: Include <fcntl.h>.
39856         * rt/tst-aio7.c: Likewise.
39857         * rt/tst-aio64.c: Likewise.
39858
39859         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39860
39861 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39862
39863         * manual/install.texi (--with-headers): Describe headers as
39864         interface headers, not private headers.
39865         (Specific advice for GNU/Linux systems): Describe use of headers
39866         from "make headers_install", not private headers from older
39867         kernels.
39868         * INSTALL: Regenerated.
39869         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39870         Change to 2.6.19.
39871         * sysdeps/unix/sysv/linux/configure: Regenerated.
39872
39873         * manual/llio.texi (fclean): Remove documentation.
39874
39875         * manual/Makefile (libc-texi-generated): New variable.  Include
39876         version.texi.
39877         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39878         $(libc-texi-generated), not duplicated list of files.
39879         (version.texi, stamp-version): New rules.
39880         (realclean): Remove $(libc-texi-generated), not individual files
39881         from that list.  Do not remove dir-add.texinfo.
39882         * manual/libc.texinfo: Comment out uses of edition numbers and
39883         references to printed manual.  Remove last-updated dates.
39884         (EDITION): Comment out.
39885         (ISBN): Likewise.
39886         (VERSION, UPDATED): Remove.
39887         (version.texi): Include.
39888
39889 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39890
39891         * sysdeps/posix/spawni.c: Include <signal.h>.
39892         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39893         * sysdeps/pthread/aio_fsync.c: Likewise.
39894
39895 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39896
39897         * conform/Makefile (tests): Run only when not cross-compiling and
39898         when fast-check is not defined.
39899
39900         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39901         * conform/data/limits.h-data: Fixes for POSIX2008.
39902         * conform/run-conformtest.sh: Run all tests.
39903         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39904         headers.
39905         * include/bits/dlfcn.h: Likewise.
39906         * include/langinfo.h: Likewise.
39907         * include/monetary.h: Likewise.
39908         * include/sys/poll.h: Likewise.
39909
39910         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39911         for __USE_GNU.
39912         * posix/spawn.h: Define __need_sigset_t.
39913         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39914         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39915         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39916         to get sigevent_t only.
39917         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39918         only for __USE_GNU.
39919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39920         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39921         process_vm_writev only for __USE_GNU.
39922         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39923
39924         * conform/Makefile: For now ignore errors from run-conformtest.
39925         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39926         POSIX to avoid namespace pollution.  Don't prepend headers.
39927         * conform/data/aio.h-data: Fixes for POSIX testing.
39928         * conform/data/fcntl.h-data: Likewise.
39929         * conform/data/glob.h-data: Likewise.
39930         * conform/data/grp.h-data: Likewise.
39931         * conform/data/pthread.h-data: Likewise.
39932         * conform/data/pwd.h-data: Likewise.
39933         * conform/data/signal.h-data: Likewise.
39934         * conform/data/spawn.h-data: Likewise.
39935         * conform/data/stdio.h-data: Likewise.
39936         * conform/data/stdlib.h-data: Likewise.
39937         * conform/data/stropts.h-data: Likewise.
39938         * conform/data/sys/mman.h-data: Likewise.
39939         * conform/data/sys/stat.h-data: Likewise.
39940         * conform/data/sys/types.h-data: Likewise.
39941         * conform/data/sys/wait.h-data: Likewise.
39942         * conform/data/time.h-data: Likewise.
39943         * conform/data/unistd.h-data: Likewise.
39944         * conform/data/utime.h-data: Likewise.
39945
39946         * io/sys/stat.h: fchmod was always in POSIX.
39947         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39948         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39949         * rt/aio.h: Define __need_timespec before including <time.h>.
39950         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39951         struct.  Add forward declaration of pthread_attr_t and use it in
39952         sigevent.
39953         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39954         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39955         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39956         always remove CLK_TCK definition.
39957
39958 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39959
39960         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39961
39962 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39963
39964         * conform/run-conformtest.sh: New file.
39965         * conform/Makefile: Run run-conformtest for tests.
39966         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39967         support.
39968
39969         * conform/data/uchar.h-data: New file.
39970         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39971         * conform/data/arpa/inet.h-data: Likewise.
39972         * conform/data/assert.h-data: Likewise.
39973         * conform/data/complex.h-data: Likewise.
39974         * conform/data/cpio.h-data: Likewise.
39975         * conform/data/ctype.h-data: Likewise.
39976         * conform/data/dirent.h-data: Likewise.
39977         * conform/data/dlfcn.h-data: Likewise.
39978         * conform/data/errno.h-data: Likewise.
39979         * conform/data/fcntl.h-data: Likewise.
39980         * conform/data/float.h-data: Likewise.
39981         * conform/data/fmtmsg.h-data: Likewise.
39982         * conform/data/fnmatch.h-data: Likewise.
39983         * conform/data/ftw.h-data: Likewise.
39984         * conform/data/glob.h-data: Likewise.
39985         * conform/data/grp.h-data: Likewise.
39986         * conform/data/iconv.h-data: Likewise.
39987         * conform/data/inttypes.h-data: Likewise.
39988         * conform/data/langinfo.h-data: Likewise.
39989         * conform/data/libgen.h-data: Likewise.
39990         * conform/data/limits.h-data: Likewise.
39991         * conform/data/locale.h-data: Likewise.
39992         * conform/data/math.h-data: Likewise.
39993         * conform/data/monetary.h-data: Likewise.
39994         * conform/data/mqueue.h-data: Likewise.
39995         * conform/data/ndbm.h-data: Likewise.
39996         * conform/data/net/if.h-data: Likewise.
39997         * conform/data/netdb.h-data: Likewise.
39998         * conform/data/netinet/in.h-data: Likewise.
39999         * conform/data/nl_types.h-data: Likewise.
40000         * conform/data/poll.h-data: Likewise.
40001         * conform/data/pthread.h-data: Likewise.
40002         * conform/data/pwd.h-data: Likewise.
40003         * conform/data/regex.h-data: Likewise.
40004         * conform/data/sched.h-data: Likewise.
40005         * conform/data/search.h-data: Likewise.
40006         * conform/data/semaphore.h-data: Likewise.
40007         * conform/data/setjmp.h-data: Likewise.
40008         * conform/data/signal.h-data: Likewise.
40009         * conform/data/spawn.h-data: Likewise.
40010         * conform/data/stdarg.h-data: Likewise.
40011         * conform/data/stdio.h-data: Likewise.
40012         * conform/data/stdlib.h-data: Likewise.
40013         * conform/data/string.h-data: Likewise.
40014         * conform/data/strings.h-data: Likewise.
40015         * conform/data/stropts.h-data: Likewise.
40016         * conform/data/sys/ipc.h-data: Likewise.
40017         * conform/data/sys/mman.h-data: Likewise.
40018         * conform/data/sys/msg.h-data: Likewise.
40019         * conform/data/sys/resource.h-data: Likewise.
40020         * conform/data/sys/select.h-data: Likewise.
40021         * conform/data/sys/sem.h-data: Likewise.
40022         * conform/data/sys/shm.h-data: Likewise.
40023         * conform/data/sys/socket.h-data: Likewise.
40024         * conform/data/sys/stat.h-data: Likewise.
40025         * conform/data/sys/statvfs.h-data: Likewise.
40026         * conform/data/sys/time.h-data: Likewise.
40027         * conform/data/sys/timeb.h-data: Likewise.
40028         * conform/data/sys/times.h-data: Likewise.
40029         * conform/data/sys/types.h-data: Likewise.
40030         * conform/data/sys/uio.h-data: Likewise.
40031         * conform/data/sys/un.h-data: Likewise.
40032         * conform/data/sys/utsname.h-data: Likewise.
40033         * conform/data/sys/wait.h-data: Likewise.
40034         * conform/data/syslog.h-data: Likewise.
40035         * conform/data/tar.h-data: Likewise.
40036         * conform/data/termios.h-data: Likewise.
40037         * conform/data/utime.h-data: Likewise.
40038         * conform/data/utmpx.h-data: Likewise.
40039         * conform/data/varargs.h-data: Likewise.
40040         * conform/data/wchar.h-data: Likewise.
40041         * conform/data/wctype.h-data: Likewise.
40042         * conform/data/wordexp.h-data: Likewise.
40043
40044         * include/stropts.h: New file.
40045         * include/uchar.h: New file.
40046         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40047         * include/assert.h: Likewise.
40048         * include/ctype.h: Likewise.
40049         * include/dirent.h: Likewise.
40050         * include/dlfcn.h: Likewise.
40051         * include/fcntl.h: Likewise.
40052         * include/fnmatch.h: Likewise.
40053         * include/glob.h: Likewise.
40054         * include/grp.h: Likewise.
40055         * include/libio.h: Likewise.
40056         * include/locale.h: Likewise.
40057         * include/math.h: Likewise.
40058         * include/net/if.h: Likewise.
40059         * include/netdb.h: Likewise.
40060         * include/netinet/in.h: Likewise.
40061         * include/pthread.h: Likewise.
40062         * include/pwd.h: Likewise.
40063         * include/regex.h: Likewise.
40064         * include/sched.h: Likewise.
40065         * include/search.h: Likewise.
40066         * include/setjmp.h: Likewise.
40067         * include/signal.h: Likewise.
40068         * include/stdio.h: Likewise.
40069         * include/stdlib.h: Likewise.
40070         * include/string.h: Likewise.
40071         * include/sys/cdefs.h: Likewise.
40072         * include/sys/mman.h: Likewise.
40073         * include/sys/msg.h: Likewise.
40074         * include/sys/resource.h: Likewise.
40075         * include/sys/select.h: Likewise.
40076         * include/sys/socket.h: Likewise.
40077         * include/sys/stat.h: Likewise.
40078         * include/sys/statvfs.h: Likewise.
40079         * include/sys/time.h: Likewise.
40080         * include/sys/times.h: Likewise.
40081         * include/sys/uio.h: Likewise.
40082         * include/sys/utsname.h: Likewise.
40083         * include/sys/wait.h: Likewise.
40084         * include/termios.h: Likewise.
40085         * include/time.h: Likewise.
40086         * include/ulimit.h: Likewise.
40087         * include/unistd.h: Likewise.
40088         * include/utime.h: Likewise.
40089         * include/wchar.h: Likewise.
40090         * include/wctype.h: Likewise.
40091         * include/wordexp.h: Likewise.
40092
40093         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40094
40095         * time/time.h: TIME_UTC must be a macro.
40096         Make timespec_get available for ISO C11 only as well.
40097
40098 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40099
40100         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40101         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40102
40103 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40104
40105         * configure.in: Use -o not -a in test for unsupported multi-arch.
40106
40107 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40108
40109         * manual/texinfo.tex: Update to version 2012-01-19.16.
40110
40111 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40112
40113         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40114
40115 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40116
40117         [BZ #13738]
40118         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40119         * manual/fdl-1.3.texi: New file.
40120         * manual/fdl-1.1.texi: File removed.
40121
40122         [BZ #13738]
40123         * manual/libc.texinfo (FDL_VERSION): New @set.
40124         Use it for mention of FDL in cover text.
40125         (Documentation License): Use it in @include file name.
40126
40127 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40128             Roland McGrath  <roland@hack.frob.com>
40129
40130         [BZ #5461]
40131         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40132         (not LONG_LONG_MAX and LONG_LONG_MIN.
40133         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40134         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40135         name.
40136         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40137
40138 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40139
40140         [BZ #2547]
40141         [BZ #11365]
40142         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40143         manipulate bits before adding and subtracting TWO23[sx].
40144         * math/libm-test.inc (nearbyint_test): Add more tests.
40145
40146 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40147
40148         [BZ #2548]
40149         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40150         bits before adding and subtracting TWO23[sx].
40151         * math/libm-test.inc (rint_test): Add more tests.
40152         (rint_test_tonearest): Likewise.
40153         (rint_test_towardzero): Likewise.
40154         (rint_test_downward): Likewise.
40155         (rint_test_upward: Likewise.
40156
40157 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40158
40159         [BZ #10110]
40160         * include/stdc-predef.h: New file.  Extracted from features.h.
40161         * include/features.h: Include stdc-predef.h.
40162         * Makefile (headers): Add stdc-predef.h.
40163         * CONFORMANCE (Compiler limitations): Update.
40164
40165 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40166
40167         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40168
40169 2012-02-21  David S. Miller  <davem@davemloft.net>
40170
40171         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40172         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40173
40174 2012-02-20  David S. Miller  <davem@davemloft.net>
40175
40176         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40177         using a normal save/restore sequence, rather than allocating a
40178         dummy stack frame just to store a frame pointer and restore.
40179         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40180
40181 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40182
40183         * manual/install.texi: Fix stray word in line-wrapped comment.
40184
40185 2012-02-20  David S. Miller  <davem@davemloft.net>
40186
40187         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40188         both binutils and gcc support GOTDATA.
40189
40190         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40191         "rd %pc" in the PIC register setup sequences.
40192
40193         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40194         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40195         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40196         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40197         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40198         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40199         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40200         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40202         (SYSCALL_ERROR_HANDLER): Likewise.
40203         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40204         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40205         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40206         (SYSCALL_ERROR_HANDLER): Likewise.
40207
40208         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40209         (HAVE_GCC_GOTDATA): New.
40210         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40211         relocation support in both binutils and gcc.
40212         * sysdeps/sparc/elf/configure: Regenerate.
40213
40214         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40215         * sysdeps/sparc/sparc32/elf/configure: Delete.
40216         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40217         * sysdeps/sparc/sparc64/elf/configure: Delete.
40218         * sysdeps/sparc/elf/configure.in: New file.
40219         * sysdeps/sparc/elf/configure: Generate.
40220
40221         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40222         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40223         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40224         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40225         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40226
40227 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40228
40229         * manual/install.texi: Do not mention specific glibc version
40230         numbers.
40231         * manual/libc.texinfo (VERSION, UPDATED): Update.
40232         (@copying): Use @copyright{} and range of years.
40233
40234 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40235
40236         [BZ #13695]
40237         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40238         [crti.S not in sysdirs] (generated): Do not append.
40239         [crti.S not in sysdirs] (omit-deps): Likewise.
40240         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40241         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40242         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40243         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40244         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40245         Likewise.
40246         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40247         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40248         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40249         * csu/defs.awk: Remove file.
40250         * sysdeps/generic/initfini.c: Likewise.
40251         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40252         variable.
40253         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40254         Likewise.
40255
40256 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40257
40258         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40259         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40260         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40261         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40262         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40263         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40264         <bits/epoll.h>.
40265         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40266         (__EPOLL_PACKED): Define to empty if not defined by
40267         <bits/epoll.h>.
40268         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40269         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40270         bits/epoll.h.
40271
40272 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40273
40274         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40275         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40276         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40277         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40278         <bits/timerfd.h>.
40279         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40281         bits/timerfd.h.
40282
40283 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40284
40285         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40286         in C locale.
40287         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40288         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40289         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40291
40292 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40293
40294         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40295         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40296
40297 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40298
40299         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40300         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40301         defined.
40302         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40303         Likewise.
40304         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40305         entry for 2.16.
40306
40307 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40308
40309         * math/w_acos.c: Use non-signaling floating-point comparisons.
40310         * math/w_acosf.c: Likewise.
40311         * math/w_acosh.c: Likewise.
40312         * math/w_acoshf.c: Likewise.
40313         * math/w_acoshl.c: Likewise.
40314         * math/w_acosl.c: Likewise.
40315         * math/w_asin.c: Likewise.
40316         * math/w_asinf.c: Likewise.
40317         * math/w_asinl.c: Likewise.
40318         * math/w_atanh.c: Likewise.
40319         * math/w_atanhf.c: Likewise.
40320         * math/w_atanhl.c: Likewise.
40321         * math/w_exp2.c: Likewise.
40322         * math/w_exp2f.c: Likewise.
40323         * math/w_exp2l.c: Likewise.
40324         * math/w_j0.c: Likewise.
40325         * math/w_j0f.c: Likewise.
40326         * math/w_j0l.c: Likewise.
40327         * math/w_j1.c: Likewise.
40328         * math/w_j1f.c: Likewise.
40329         * math/w_j1l.c: Likewise.
40330         * math/w_jn.c: Likewise.
40331         * math/w_jnf.c: Likewise.
40332         * math/w_log.c: Likewise.
40333         * math/w_log10.c: Likewise.
40334         * math/w_log10f.c: Likewise.
40335         * math/w_log10l.c: Likewise.
40336         * math/w_log2.c: Likewise.
40337         * math/w_log2f.c: Likewise.
40338         * math/w_log2l.c: Likewise.
40339         * math/w_logf.c: Likewise.
40340         * math/w_logl.c: Likewise.
40341         * math/w_sqrt.c: Likewise.
40342         * math/w_sqrtf.c: Likewise.
40343         * math/w_sqrtl.c: Likewise.
40344         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40345         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40346         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40347         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40348         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40349
40350 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40351
40352         [BZ #9739]
40353         * manual/string.texi (strnlen): Use correct parameter name in
40354         equivalent expression.
40355
40356 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40357
40358         [BZ #11174]
40359         * manual/users.texi (seteuid): Consistently use neweuid for
40360         argument name.
40361
40362 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40363
40364         [BZ #13704]
40365         * manual/nss.texi (Services in the NSS configuration): Correct
40366         list of services in example configuration file.
40367
40368 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40369
40370         [BZ #11322]
40371         * manual/arith.texi: Remove statements about negative zero
40372         behaving identically to zero.
40373
40374 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40375
40376         [BZ #5993]
40377         * manual/install.texi: Do not document upgrading from libc5.
40378
40379 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40380
40381         [BZ #4596]
40382         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40383
40384 2012-02-18  David S. Miller  <davem@davemloft.net>
40385
40386         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40387         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40388         %o7 across the call.
40389         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40390         instead.
40391         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40392         SETUP_PIC_REG_LEAF.
40393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40394         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40395         * sysdeps/sparc/crtn.S: Likewise.
40396
40397 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40398
40399         * aout/Makefile: Remove.
40400
40401 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40402
40403         [BZ #13058]
40404         * manual/examples/argp-ex1.c (main): Format definition in GNU
40405         style.
40406         * manual/examples/argp-ex2.c (main): Likewise.
40407         * manual/examples/argp-ex3.c (main): Likewise.
40408         * manual/examples/argp-ex4.c (main): Likewise.
40409         * manual/examples/longopt.c (main): Use new-style prototype
40410         definition.
40411         * manual/examples/strncat.c (main): Specify return type and use
40412         (void) for arguments.
40413         * manual/examples/subopt.c (main): Use char **argv argument.
40414
40415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40416
40417         [BZ #5077]
40418         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40419         rounding modes.
40420
40421 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40422
40423         [BZ #6907]
40424         * manual/string.texi (strchr): Change when strchrnul is
40425         recommended.
40426
40427 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40428
40429         [BZ #174]
40430         * manual/locale.texi (setlocale): Document LOCPATH.
40431
40432 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40433
40434         [BZ #10210]
40435         * manual/process.texi (execle): Move @dots{} before last argument.
40436
40437 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40438
40439         [BZ #12047]
40440         * manual/charset.texi (Generic Charset Conversion): Fix typo
40441         (LC_TYPE -> LC_CTYPE).
40442
40443 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40444
40445         [BZ #5805]
40446         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40447         (scalbnf): Likewise.
40448         (scalbnl): Likewise.
40449         (scalbln): Likewise.
40450         (scalblnf): Likewise.
40451         (scalblnl): Likewise.
40452         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40453         (vwarnx): Likewise.
40454         (verr): Likewise.
40455         (verrx): Likewise.
40456         * manual/filesys.texi (telldir): Use braces around return type.
40457         * manual/llio.texi (mmap): Add space after comma.
40458         (mmap64): Likewise.
40459         * manual/math.texi (jn): Use @var{} on parameter names.
40460         (jnf): Likewise.
40461         (jnl): Likewise.
40462         (yn): Likewise.
40463         (ynf): Likewise.
40464         (ynl): Likewise.
40465         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40466         line.
40467         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40468         "...".
40469         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40470         (sched_get_priority_max): Likewise.
40471         * manual/signal.texi (sigvec): Add space after comma.
40472         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40473         names.
40474         (if_indextoname): Likewise.
40475         (if_freenameindex): Likewise.
40476         (sendto): Use ',' instead of '.' in prototype.
40477         * manual/startup.texi (syscall): Use @dots{} instead of literal
40478         "...".
40479         * manual/stdio.texi (__fpending): Separate initial words of
40480         paragraph from @deftypefun line.
40481         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40482         "...".
40483         (vsyslog): Use @var{} on parameter names.
40484         * manual/terminal.texi (stty): Use @var{} on parameter names.
40485         * manual/users.texi (getutmp): Use @var{} on parameter names.
40486         (getutmpx): Likewise.
40487
40488 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40489
40490         [BZ #6884]
40491         * manual/stdio.texi (fopen): Fix typos in description of
40492         ",ccs=STRING".
40493
40494 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40495
40496         [BZ #4026]
40497         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40498         get clock_id definition.
40499
40500 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40501
40502         [BZ #4822]
40503         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40504         (madvise): Cast every argument to void on its own.
40505
40506 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40507
40508         [BZ #9902]
40509         * manual/startup.texi (Exit Status): Fix typo.
40510
40511 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40512
40513         [BZ #10140]
40514         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40515         * manual/examples/argp-ex2.c: Likewise.
40516         * manual/examples/argp-ex3.c: Likewise.
40517
40518 2012-02-16  Richard Henderson  <rth@redhat.com>
40519
40520         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40521         * sysdeps/s390/s390-32/initfini.c: Remove.
40522         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40523         * sysdeps/s390/s390-64/initfini.c: Remove.
40524
40525 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40526
40527         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40528         compiler output for sysdeps/generic/initfini.c.
40529         * sysdeps/sh/elf/initfini.c: Remove file.
40530
40531 2012-02-16  David S. Miller  <davem@davemloft.net>
40532
40533         [BZ #11494]
40534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40535
40536         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40537         * sysdeps/sparc/crti.S: New file.
40538         * sysdeps/sparc/crtn.S: New file.
40539         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40540         * sysdeps/sparc/sparc64/Makefile: Likewise.
40541
40542 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40543
40544         [BZ #3335]
40545         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40546
40547 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40548
40549         [BZ #4822]
40550         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40551
40552         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40553         (write, read, close): Likewise.
40554         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40555
40556 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40557
40558         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40559         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40560         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40561         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40562         <bits/signalfd.h>.
40563         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40565         bits/signalfd.h.
40566
40567 2012-02-14  Marek Polacek  <polacek@redhat.com>
40568
40569         * sysdeps/x86_64/crti.S: New file.
40570         * sysdeps/x86_64/crtn.S: New file.
40571         * sysdeps/x86_64/elf/initfini.c: Remove file.
40572
40573 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40574
40575         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40576         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40577         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40578         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40579         <bits/inotify.h>.
40580         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40582         bits/inotify.h.
40583
40584 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40585
40586         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40587         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40588         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40589         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40590         <bits/eventfd.h>.
40591         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40593         bits/eventfd.h.
40594
40595 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40596
40597         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40598         __feraiseexcept instead of feraiseexcept.
40599
40600         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40601         nanosleep invocations.
40602         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40603         strings, and add error checking for a nanosleep invocations.
40604
40605 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40606
40607         Replace FSF snail mail address with URLs, as per GNU coding standards.
40608         Most of the snail mail addresses were wrong anyway, and omitting
40609         them makes the source code easier to maintain.  Almost all of the
40610         changes are to license notices and to locale LC_IDENTIFICATION
40611         addresses, except for this one:
40612         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40613         not its snail mail address.
40614
40615 2012-02-09  Richard Henderson  <rth@twiddle.net>
40616
40617         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40618         of kernel-features.h.
40619
40620         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40621
40622 2012-02-08  Marek Polacek  <polacek@redhat.com>
40623
40624         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40625         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40626         * sysdeps/gnu/_G_config.h: Likewise.
40627         * sysdeps/generic/_G_config.h: Likewise.
40628
40629 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40630
40631         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40632         tests.
40633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40634
40635         * sysdeps/powerpc/powerpc32/crti.S: New file.
40636         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40637         * sysdeps/powerpc/powerpc64/crti.S: New file.
40638         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40639
40640         * Makeconfig (have-initfini): Don't set.
40641         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40642         * configure.in (nopic_initfini): Don't substitute.
40643         * config.h.in (HAVE_INITFINI): Don't #undef.
40644         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40645         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40646
40647 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40648
40649         Support crti.S and crtn.S provided directly by architectures.
40650         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40651         [crti.S in sysdirs] (omit-deps): Likewise.
40652         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40653         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40654         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40655         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40656         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40657         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40658         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40659         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40660         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40661         compiler output for sysdeps/generic/initfini.c.
40662         * sysdeps/i386/elf/Makefile: Remove file.
40663         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40664
40665 2012-02-07  Marek Polacek  <polacek@redhat.com>
40666
40667         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40668         * sysdeps/gnu/_G_config.h: Likewise.
40669         * sysdeps/mach/hurd/_G_config.h: Likewise.
40670
40671 2012-02-07  Marek Polacek  <polacek@redhat.com>
40672
40673         * math/Makefile (tests): Add tst-CMPLX2.
40674         * math/tst-CMPLX2.c: New file.
40675
40676 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40677
40678         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40679
40680         * math/libm-test.inc (jn_test): Add missing L suffix.
40681
40682 2012-02-06  Marek Polacek  <polacek@redhat.com>
40683
40684         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40685         * sysdeps/i386/fpu/e_powf.S: Likewise.
40686         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40687         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40688         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40689         * sysdeps/i386/fpu/e_pow.S: Likewise.
40690         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40691         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40692         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40693         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40694         * sysdeps/i386/fpu/e_log2.S: Likewise.
40695         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40696         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40697         * sysdeps/i386/fpu/e_powl.S: Likewise.
40698         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40699         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40700         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40701         * sysdeps/i386/fpu/e_logl.S: Likewise.
40702         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40703         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40704         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40705         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40706         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40707         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40708         * sysdeps/i386/fpu/e_log.S: Likewise.
40709         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40710         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40711         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40712         * sysdeps/i386/fpu/e_logf.S: Likewise.
40713         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40714         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40715         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40716         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40717         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40718         * sysdeps/i386/fpu/e_log10.S: Likewise.
40719         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40720         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40721         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40722         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40723         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40724         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40725         * sysdeps/i386/asm-syntax.h: Likewise.
40726         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40727         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40728         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40729         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40730         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40731         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40732         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40733         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40734         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40735         * sysdeps/powerpc/sysdep.h: Likewise.
40736         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40737         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40738
40739 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40740
40741         [BZ #411]
40742         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40743
40744 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40745
40746         * sysdeps/i386/sysdep.h: Include <features.h>.
40747         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40748         version.
40749
40750 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40751
40752         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40753         Define.
40754         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40755         LOAD_PIC_REG_STR.
40756
40757 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40758
40759         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40760         (SETUP_PIC_REG): Use GET_PC_THUNK.
40761         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40762         macro.
40763
40764 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40765
40766         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40767         for non-PIC compilation.
40768         (SETUP_PIC_REG): Add .p2align directive.
40769         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40770         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40771         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40772         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40773         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40774         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40775         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40776         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40777         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40778         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40779         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40780         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40781         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40782         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40783         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40784         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40785         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40786         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40787         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40788         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40789         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40790         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40791         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40792         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40793         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40794         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40796         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40797         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40798         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40799         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40800         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40801         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40802         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40803         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40804         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40805         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40806         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40807         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40808         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40809         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40810
40811 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40812
40813         * math/tst-CMPLX.c: Include <stdio.h>.
40814
40815 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40816
40817         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40818         float.
40819         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40820         * sysdeps/sparc/bits/mathdef.h: Likewise.
40821
40822 2012-01-31  Marek Polacek  <polacek@redhat.com>
40823
40824         * libio/libio.h: Don't define _PARAMS.
40825         * locale/programs/config.h: Don't define PARAMS.
40826         * stdlib/strtol_l.c: Likewise.
40827         (__strtol_l): Remove PARAMS from the prototype.
40828
40829 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40830
40831         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40832         names.  Just use the correct names.  Remove unnecessary wrapper
40833         functions.
40834         * malloc/arena.c: Likewise.
40835         * malloc/hooks.c: Likewise.
40836
40837         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40838         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40839         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40840
40841 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40842
40843         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40844         into tail calls.
40845         (update_get_addr): New function.
40846         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40847         GET_ADDR_MODULE parameter.
40848
40849 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40850
40851         * crypt/cert.c: Remove __STDC__ conditionals.
40852         * crypt/crypt-entry.c: Likewise.
40853         * crypt/crypt_util.c: Likewise.
40854         * libio/filedoalloc.c: Likewise.
40855         * libio/fileops.c: Likewise.
40856         * libio/genops.c: Likewise.
40857         * libio/iofclose.c: Likewise.
40858         * libio/iofdopen.c: Likewise.
40859         * libio/iofopen.c: Likewise.
40860         * libio/iofopen64.c: Likewise.
40861         * libio/iogetdelim.c: Likewise.
40862         * libio/iopopen.c: Likewise.
40863         * libio/obprintf.c: Likewise.
40864         * libio/oldfileops.c: Likewise.
40865         * libio/oldiofclose.c: Likewise.
40866         * libio/oldiofdopen.c: Likewise.
40867         * libio/oldiofopen.c: Likewise.
40868         * libio/oldiopopen.c: Likewise.
40869         * libio/wfiledoalloc.c: Likewise.
40870         * libio/wgenops.c: Likewise.
40871         * locale/programs/xmalloc.c: Likewise.
40872         * misc/syslog.c: Likewise.
40873         * stdio-common/xbug.c: Likewise.
40874         * string/memchr.c: Likewise.
40875         * string/memcmp.c: Likewise.
40876         * string/memrchr.c: Likewise.
40877         * string/rawmemchr.c: Likewise.
40878         * sysdeps/posix/getcwd.c: Likewise.
40879         * time/strftime_l.c: Likewise.
40880
40881 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40882
40883         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40884         * config.make.in (config-cflags-sse2avx): Define.
40885         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40886         Fix typo.
40887
40888 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40889
40890         * scripts/config.guess: Update from upstream config git repository.
40891         * scripts/config.sub: Likewise.
40892
40893 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40894
40895         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40896         (EM_NUM): Update.
40897         (R_TILEPRO_*, R_TILEGX_*): New macros.
40898
40899         * scripts/firstversions.awk: Fix bug in version range handling.
40900
40901         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40902
40903         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40904
40905         * include/sys/epoll.h: New file.
40906         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40907         libc_hidden_def.
40908
40909 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40910
40911         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40912         Avoid unnecessary __WORDSIZE == 64 test.
40913         (fmaxf): Use VEX format if possible.
40914         (fmax): Likewise.
40915         (fminf): Likewise.
40916         (fmin): Likewise.
40917
40918         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40919         * math/math_private.h: Remove libc_fegetround* and
40920         libc_fesetround*.
40921         * sysdeps/i386/configure.in: Check for -msse2avx.
40922         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40923         also if SSE2AVX is defined.
40924         Remove libc_fegetround* and libc_fesetround*.
40925         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40926         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40927         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40928         of HAS_YMM_USABLE.
40929         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40930         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40931         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40932         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40933         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40934
40935         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40936
40937 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40938
40939         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40940         size is not set.
40941         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40942
40943 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40944
40945         [BZ #13618]
40946         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40947         relocation.
40948         * Makeconfig (libm): Define.
40949         * elf/Makefile: Add rules to build and run tst-relsort1.
40950         * elf/tst-relsort1.c: New file.
40951         * elf/tst-relsort1mod1.c: New file.
40952         * elf/tst-relsort1mod2.c: New file.
40953
40954 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40955
40956         * math/s_ldexp.c: Remove __STDC__ conditionals.
40957         * math/s_ldexpf.c: Likewise.
40958         * math/s_ldexpl.c: Likewise.
40959         * math/s_nextafter.c: Likewise.
40960         * math/s_nexttowardf.c: Likewise.
40961         * math/s_significand.c: Likewise.
40962         * math/s_significandf.c: Likewise.
40963         * math/s_significandl.c: Likewise.
40964         * math/w_jnl.c: Likewise.
40965         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40966         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40967         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40968         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40969         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40970         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40971         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40972         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40973         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40974         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40975         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40976         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40977         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40978         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40979         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40980         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40981         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40982         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40984         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40985         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40986         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40987         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40989         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40990         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40991         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40992         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40993         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40994         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40995         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40996         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40997         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40998         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40999         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41000         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41001         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41002         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41003         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41004         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41005         * sysdeps/ieee754/k_standard.c: Likewise.
41006         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41007         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41008         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41010         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41013         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41014         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41015         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41016         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41018         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41019         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41020         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41021         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41022         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41023         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41024         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41025         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41026         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41027         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41029         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41030         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41031         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41032         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41033         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41034         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41035         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41036         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41037         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41038         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41039         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41041         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41042         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41043         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41044         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41045         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41046         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41048         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41049         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41050         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41051         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41052         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41053         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41054         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41055         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41056         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41057         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41058         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41059         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41060         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41061         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41062         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41063         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41064         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41065         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41067         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41072         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41074         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41076         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41079         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41080         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41081         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41084         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41085         * sysdeps/ieee754/s_matherr.c: Likewise.
41086         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41087         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41088         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41089         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41090
41091 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41092
41093         * crypt/md5.h: Remove __STDC__ conditionals.
41094         * libio/libioP.h: Likewise.
41095         * locale/programs/config.h: Likewise.
41096         * sysdeps/generic/sysdep.h: Likewise.
41097         * sysdeps/i386/asm-syntax.h: Likewise.
41098         * sysdeps/s390/asm-syntax.h: Likewise.
41099         * sysdeps/unix/sysdep.h: Likewise.
41100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41102
41103 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41104
41105         * libio/libio.h: Remove __STDC__ conditionals.
41106         * malloc/obstack.h: Likewise.
41107         * math/complex.h: Likewise.
41108         * math/math.h: Likewise.
41109         * sysdeps/generic/_G_config.h: Likewise.
41110         * sysdeps/gnu/_G_config.h: Likewise.
41111         * sysdeps/mach/hurd/_G_config.h: Likewise.
41112         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41113         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41114         * sysdeps/sparc/bits/mathdef.h: Likewise.
41115
41116 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41117
41118         [BZ #13583]
41119         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41120         Clean up HAS_* macros.
41121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41122         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41123         possible.
41124         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41125         HAS_AVX.
41126         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41127         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41128         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41129         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41130         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41131
41132 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41133
41134         * elf/tst-unique3.cc (gets): Remove declaration.
41135         * elf/tst-unique3lib.cc (gets): Likewise.
41136         * elf/tst-unique3lib2.cc (gets): Likewise.
41137         * elf/tst-unique4.cc (gets): Likewise.
41138
41139 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41140
41141         * include/stdio.h: Add C++ protection.  Add gets declarations and
41142         definitions.
41143         * debug/tst-chk1.c: Don't declare gets here.
41144         * stdio-common/tst-gets.c: Likewise.
41145
41146 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41147
41148         * posix/glob: Remove directory.
41149
41150 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41151
41152         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41153
41154 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41155
41156         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41157         of the non-standard EPFNOSUPPORT.
41158
41159 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41160
41161         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41162         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41163         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41164
41165 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41166
41167         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41168
41169 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41170
41171         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41172         transient errors.
41173         * nscd/grpcache.c (cache_addgr): Likewise.
41174         * nscd/hstcache.c (cache_addhst): Likewise.
41175         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41176         * nscd/pwdcache.c (cache_addpw): Likewise.
41177         * nscd/servicescache.c (cache_addserv): Likewise.
41178
41179 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41180
41181         * malloc/malloc.c: Various cleanups.
41182         * malloc/hooks.c: Likewise.
41183
41184         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41185         * stdlib/bug-fmtmsg1.c: New file.
41186
41187         * stdlib/fmtmsg.c (init): Add missing unlock.
41188         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41189
41190 2012-01-12  Marek Polacek  <polacek@redhat.com>
41191
41192         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41193         and _GNU_SOURCE.
41194
41195 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41196
41197         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41198         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41199         macro to ensure uniqueness of label name.
41200         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41201         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41202
41203 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41204
41205         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41206
41207         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41208         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41209         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41210         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41211
41212 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41213
41214         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41215
41216         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41217         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41218         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41219
41220         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41221
41222         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41223         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41224         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41225         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41226
41227         * math/bits/math-finite.h: Add ldexp support.
41228
41229 2012-01-10  Marek Polacek  <polacek@redhat.com>
41230
41231         * locale/programs/localedef.h (show_archive_content): Add noreturn
41232         attribute.
41233
41234 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41235
41236         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41237
41238 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41239
41240         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41241
41242         * io/Makefile (headers): Add bits/poll2.h.
41243
41244 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41245
41246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41247         typo #include statement.
41248
41249 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41250
41251         * include/sys/cdefs.h: Define __attribute_alloc_size.
41252         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41253         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41254         * elf/pldd.c: Likewise.
41255         * iconv/iconv_charmap.c: Likewise.
41256         * iconv/iconvconfig.c: Likewise.
41257         * iconv/strtab.c: Likewise.
41258         * locale/programs/locale.c: Likewise.
41259         * locale/programs/localedef.h: Likewise.
41260         * locale/programs/simple-hash.c: Likewise.
41261         * nscd/nscd.h: Likewise.
41262         * nss/makedb.c: Likewise.
41263         * sysdeps/generic/ldconfig.h: Likewise.
41264         * locale/programs/localedef.c: Remove xmalloc prototype.
41265         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41266
41267 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41268
41269         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41270         appropriate.
41271
41272 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41273
41274         * math/Makefile (tests): Add tst-CMPLX.
41275         * math/tst-CMPLX.c: New file.
41276
41277         * math/complex.h (CMPLXL): Fix typo.
41278
41279         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41280         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41281         GLIBC_2.16.
41282         * debug/tst-chk1.c: Add poll and ppoll tests.
41283         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41284         * include/sys/poll.h: Add hidden proto for ppoll.
41285         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41286         * sysdeps/mach/hurd/ppoll.c: Likewise.
41287         * io/ppoll.c: Likewise.
41288         * debug/poll_chk.c: New file.
41289         * debug/ppoll_chk.c: New file.
41290         * include/bits/poll2.h: New file.
41291         * io/bits/poll2.h: New file.
41292
41293         [BZ #1350]
41294         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41295
41296         * configure.in: static is always set to yes.  Remove.
41297         * config.make.in: Don't set build-static.
41298         * Makeconfig: Remove use of build-static.
41299         * dlfcn/Makefile: Likewise.
41300         * elf/Makefile: Likewise.
41301         * math/Makefile: Likewise.
41302         * misc/Makefile: Likewise.
41303         * nptl/Makefile: Likewise.
41304         * sysdeps/mach/hurd/Makefile: Likewise.
41305
41306         * configure.in: PWD_P is not used anymore.
41307         * config.make.in: Remove PWD_P entry.
41308
41309         * configure.in: Remove last remnants of RANLIB.
41310         No need to check for signed size_t anymore.
41311         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41312         and IA-64.
41313         Remove __builtin_expect test because we require at least gcc 3.4.
41314         * aclocal.m4: Likewise.
41315
41316         * wcsmbs/mbrtoc16.c: Implement using towc function.
41317         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41318         * wcsmbs/wcsmbsload.c: Likewise.
41319         * iconv/gconv_simple.c: Likewise.
41320         * iconv/gconv_int.h: Likewise.
41321         * iconv/gconv_builtin.h: Likewise.
41322         * iconv/iconv_prog.c: Remove CHAR16 handling.
41323
41324         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41325
41326         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41327
41328         * configure.in: Remove --with-elf and --enable-bounded options.
41329         Dont set base_machine for ia64.  More non-ELF conditions removed.
41330         Remove testing and setting of leading underscore information.
41331         * config.make.in (build-bounded): Set to no.
41332         * config.h.in: Remove NO_UNDERSCORES entry.
41333         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41334         them.
41335         * csu/start.c: Remove !NO_UNDERSCORE code.
41336         * locale/localeinfo.h: Likewise.
41337         * sysdeps/generic/machine-gmon.h: Likewise.
41338         * sysdeps/generic/sysdep.h: Likewise.
41339         * sysdeps/i386/sysdep.h: Likewise.
41340         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41341         * sysdeps/mach/sysdep.h: Likewise.
41342         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41343         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41344         * sysdeps/sh/sysdep.h: Likewise.
41345         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41346         * sysdeps/unix/i386/sysdep.S: Likewise.
41347         * sysdeps/unix/sparc/start.c: Likewise.
41348         * sysdeps/unix/sparc/sysdep.S: Likewise.
41349         * sysdeps/unix/sparc/sysdep.h: Likewise.
41350         * sysdeps/unix/start.c: Likewise.
41351         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41352         * sysdeps/x86_64/sysdep.h: Likewise.
41353
41354 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41355
41356         [BZ #13553]
41357         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41358         for non-gcc.
41359         * argp/argp-fmtstream.h: Use const instead __const.
41360         * argp/argp.h: Likewise.
41361         * assert/assert.h: Likewise.
41362         * bits/fenv.h: Likewise.
41363         * bits/sched.h: Likewise.
41364         * bits/sigset.h: Likewise.
41365         * bits/sigthread.h: Likewise.
41366         * catgets/nl_types.h: Likewise.
41367         * conform/data/pthread.h-data: Likewise.
41368         * crypt/crypt-private.h: Likewise.
41369         * crypt/crypt.h: Likewise.
41370         * crypt/crypt_util.c: Likewise.
41371         * ctype/ctype.h: Likewise.
41372         * debug/execinfo.h: Likewise.
41373         * debug/mbsnrtowcs_chk.c: Likewise.
41374         * debug/mbsrtowcs_chk.c: Likewise.
41375         * debug/wcsnrtombs_chk.c: Likewise.
41376         * debug/wcsrtombs_chk.c: Likewise.
41377         * debug/wcstombs_chk.c: Likewise.
41378         * dirent/dirent.h: Likewise.
41379         * dlfcn/dlfcn.h: Likewise.
41380         * elf/neededtest4.c: Likewise.
41381         * grp/grp.h: Likewise.
41382         * gshadow/gshadow.h: Likewise.
41383         * iconv/gconv.h: Likewise.
41384         * iconv/gconv_int.h: Likewise.
41385         * iconv/gconv_simple.c: Likewise.
41386         * iconv/iconv.h: Likewise.
41387         * iconv/loop.c: Likewise.
41388         * iconv/skeleton.c: Likewise.
41389         * include/aio.h: Likewise.
41390         * include/aliases.h: Likewise.
41391         * include/argz.h: Likewise.
41392         * include/arpa/inet.h: Likewise.
41393         * include/assert.h: Likewise.
41394         * include/dirent.h: Likewise.
41395         * include/dlfcn.h: Likewise.
41396         * include/execinfo.h: Likewise.
41397         * include/fcntl.h: Likewise.
41398         * include/fenv.h: Likewise.
41399         * include/glob.h: Likewise.
41400         * include/grp.h: Likewise.
41401         * include/libintl.h: Likewise.
41402         * include/mntent.h: Likewise.
41403         * include/netdb.h: Likewise.
41404         * include/pwd.h: Likewise.
41405         * include/rpc/netdb.h: Likewise.
41406         * include/sched.h: Likewise.
41407         * include/search.h: Likewise.
41408         * include/shadow.h: Likewise.
41409         * include/signal.h: Likewise.
41410         * include/stdio.h: Likewise.
41411         * include/stdlib.h: Likewise.
41412         * include/string.h: Likewise.
41413         * include/sys/socket.h: Likewise.
41414         * include/sys/stat.h: Likewise.
41415         * include/sys/statfs.h: Likewise.
41416         * include/sys/statvfs.h: Likewise.
41417         * include/sys/syslog.h: Likewise.
41418         * include/sys/time.h: Likewise.
41419         * include/sys/uio.h: Likewise.
41420         * include/time.h: Likewise.
41421         * include/unistd.h: Likewise.
41422         * include/utmp.h: Likewise.
41423         * include/wchar.h: Likewise.
41424         * include/wctype.h: Likewise.
41425         * inet/aliases.h: Likewise.
41426         * inet/arpa/inet.h: Likewise.
41427         * inet/netinet/ether.h: Likewise.
41428         * inet/netinet/in.h: Likewise.
41429         * intl/libintl.h: Likewise.
41430         * io/bits/fcntl2.h: Likewise.
41431         * io/fcntl.h: Likewise.
41432         * io/ftw.h: Likewise.
41433         * io/sys/poll.h: Likewise.
41434         * io/sys/stat.h: Likewise.
41435         * io/sys/statfs.h: Likewise.
41436         * io/sys/statvfs.h: Likewise.
41437         * io/utime.h: Likewise.
41438         * libio/bits/stdio.h: Likewise.
41439         * libio/bits/stdio2.h: Likewise.
41440         * libio/libio.h: Likewise.
41441         * libio/libioP.h: Likewise.
41442         * libio/stdio.h: Likewise.
41443         * locale/lc-ctype.c: Likewise.
41444         * locale/locale.h: Likewise.
41445         * login/utmp.h: Likewise.
41446         * malloc/arena.c: Likewise.
41447         * malloc/malloc.c: Likewise.
41448         * malloc/malloc.h: Likewise.
41449         * malloc/mcheck.c: Likewise.
41450         * malloc/mtrace.c: Likewise.
41451         * math/bits/mathcalls.h: Likewise.
41452         * math/fenv.h: Likewise.
41453         * math/math_private.h: Likewise.
41454         * misc/bits/error.h: Likewise.
41455         * misc/bits/syslog.h: Likewise.
41456         * misc/err.h: Likewise.
41457         * misc/error.h: Likewise.
41458         * misc/fstab.h: Likewise.
41459         * misc/mntent.h: Likewise.
41460         * misc/regexp.h: Likewise.
41461         * misc/search.h: Likewise.
41462         * misc/sgtty.h: Likewise.
41463         * misc/sys/mman.h: Likewise.
41464         * misc/sys/syslog.h: Likewise.
41465         * misc/sys/uio.h: Likewise.
41466         * misc/sys/xattr.h: Likewise.
41467         * misc/ttyent.h: Likewise.
41468         * nis/rpcsvc/ypclnt.h: Likewise.
41469         * nss/nss.h: Likewise.
41470         * posix/bits/unistd.h: Likewise.
41471         * posix/fnmatch.h: Likewise.
41472         * posix/glob.h: Likewise.
41473         * posix/sched.h: Likewise.
41474         * posix/spawn.h: Likewise.
41475         * posix/sys/wait.h: Likewise.
41476         * posix/unistd.h: Likewise.
41477         * posix/wordexp.h: Likewise.
41478         * pwd/pwd.h: Likewise.
41479         * resolv/netdb.h: Likewise.
41480         * resource/sys/resource.h: Likewise.
41481         * rt/aio.h: Likewise.
41482         * rt/bits/mqueue2.h: Likewise.
41483         * rt/mqueue.h: Likewise.
41484         * shadow/shadow.h: Likewise.
41485         * signal/signal.h: Likewise.
41486         * socket/send.c: Likewise.
41487         * socket/sendto.c: Likewise.
41488         * socket/sys/socket.h: Likewise.
41489         * stdio-common/printf.h: Likewise.
41490         * stdlib/bits/stdlib.h: Likewise.
41491         * stdlib/fmtmsg.h: Likewise.
41492         * stdlib/monetary.h: Likewise.
41493         * stdlib/stdlib.h: Likewise.
41494         * stdlib/ucontext.h: Likewise.
41495         * streams/stropts.h: Likewise.
41496         * string/argz.h: Likewise.
41497         * string/bits/string2.h: Likewise.
41498         * string/string.h: Likewise.
41499         * string/strings.h: Likewise.
41500         * sunrpc/rpc/auth.h: Likewise.
41501         * sunrpc/rpc/auth_des.h: Likewise.
41502         * sunrpc/rpc/clnt.h: Likewise.
41503         * sunrpc/rpc/netdb.h: Likewise.
41504         * sunrpc/rpc/pmap_clnt.h: Likewise.
41505         * sunrpc/rpc/xdr.h: Likewise.
41506         * sysdeps/generic/inttypes.h: Likewise.
41507         * sysdeps/generic/net/if.h: Likewise.
41508         * sysdeps/generic/sys/swap.h: Likewise.
41509         * sysdeps/gnu/net/if.h: Likewise.
41510         * sysdeps/gnu/utmpx.h: Likewise.
41511         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41512         * sysdeps/i386/i486/bits/string.h: Likewise.
41513         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41514         * sysdeps/s390/bits/string.h: Likewise.
41515         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41516         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41517         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41518         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41519         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41520         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41521         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41522         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41523         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41524         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41525         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41526         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41527         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41528         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41529         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41530         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41531         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41532         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41533         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41534         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41535         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41536         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41537         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41538         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41539         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41540         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41541         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41542         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41543         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41544         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41545         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41546         * sysvipc/sys/ipc.h: Likewise.
41547         * sysvipc/sys/msg.h: Likewise.
41548         * sysvipc/sys/sem.h: Likewise.
41549         * sysvipc/sys/shm.h: Likewise.
41550         * termios/termios.h: Likewise.
41551         * time/sys/time.h: Likewise.
41552         * time/time.h: Likewise.
41553         * wcsmbs/bits/wchar2.h: Likewise.
41554         * wcsmbs/uchar.h: Likewise.
41555         * wcsmbs/wchar.h: Likewise.
41556         * wctype/wctype.h: Likewise.
41557
41558         [BZ #13551]
41559         * Makeconfig: Remove all but ELF support including AIX support.
41560         * Makerules: Likewise.
41561         * config.h.in: Likewise.
41562         * config.make.in: Likewise.
41563         * configure: Likewise.
41564         * configure.in: Likewise.
41565         * csu/Makefile: Likewise.
41566         * csu/version.c: Likewise.
41567         * debug/Makefile: Likewise.
41568         * dlfcn/Makefile: Likewise.
41569         * elf/Makefile: Likewise.
41570         * extra-lib.mk: Likewise.
41571         * iconv/Makefile: Likewise.
41572         * include/libc-symbols.h: Likewise.
41573         * include/shlib-compat.h: Likewise.
41574         * resolv/Makefile: Likewise.
41575         * resolv/res_libc.c: Likewise.
41576         * rt/Makefile: Likewise.
41577         * sysdeps/i386/asm-syntax.h: Likewise.
41578         * sysdeps/i386/sysdep.h: Likewise.
41579         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41580         * sysdeps/mach/sysdep.h: Likewise.
41581         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41582         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41583         * sysdeps/s390/asm-syntax.h: Likewise.
41584         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41585         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41586         * sysdeps/sh/sysdep.h: Likewise.
41587         * sysdeps/unix/sparc/sysdep.h: Likewise.
41588         * sysdeps/wordsize-32/divdi3.c: Likewise.
41589         * sysdeps/x86_64/sysdep.h: Likewise.
41590
41591         * argp/Versions: Remove _argp_unlock_xxx.
41592
41593         [BZ #13559]
41594         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41595         * abilist/libBrokenLocale.abilist: Likewise.
41596         * abilist/libanl.abilist: Likewise.
41597         * abilist/libc.abilist: Likewise.
41598         * abilist/libcrypt.abilist: Likewise.
41599         * abilist/libdl.abilist: Likewise.
41600         * abilist/libm.abilist: Likewise.
41601         * abilist/libnsl.abilist: Likewise.
41602         * abilist/libpthread.abilist: Likewise.
41603         * abilist/libresolv.abilist: Likewise.
41604         * abilist/librt.abilist: Likewise.
41605         * abilist/libthread_db.abilist: Likewise.
41606         * abilist/libutil.abilist: Likewise.
41607         * abilist/libnss_db.abilist: New file.
41608
41609         * scripts/abilist.awk: Add support for indirect functions.
41610
41611         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41612
41613         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41614
41615         * shlib-versions: Remove entries for ports architectures.
41616
41617         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41618         files in ports.
41619         * elf/stackguard-macros.h: Remove support for IA-64.
41620         * elf/tst-auditmod1.c: Likewise.
41621         * sysdeps/generic/ldsodefs.h: Likewise.
41622
41623         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41624         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41625         configure files.
41626
41627         [BZ #13552]
41628         * configure.in: Remove --enable-omitfp support.
41629         * FAQ.in: Adjust.
41630         * config.make.in: Likewise.
41631         * Makeconfig: Likewise.
41632         * manual/install.texi: Likewise.
41633
41634         In case anyone cares, the IA-64 architecture could move to ports.
41635         * sysdeps/ia64/*: Removed.
41636         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41637         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41638
41639         [BZ #13555]
41640         * configure.in: Remove entries for unsupported architectures.
41641
41642         [BZ #13533]
41643         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41644         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41645         routines.
41646         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41647         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41648         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41649         fall back to using wcrtomb.
41650         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41651         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41652         renaming.
41653         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41654         * wcsmbs/tst-c16c32-1.c: New file.
41655
41656         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41657         local variable.
41658
41659         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41660
41661         * elf/tst-unique3.cc: Add explicit declaration of gets.
41662         * elf/tst-unique3lib.cc: Likewise.
41663         * elf/tst-unique3lib2.cc: Likewise.
41664         * elf/tst-unique4.cc: Likewise.
41665
41666         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41667
41668 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41669
41670         [BZ #13566]
41671         * assert/assert.h (static_assert): Don't define for C++.
41672         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41673         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41674
41675 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41676
41677         * iconv/loop.c (single loop): Fix assertion in storing of
41678         remaining bytes.
41679
41680         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41681
41682 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41683
41684         * posix/getconf.c: Update copyright year.
41685         * nss/getent.c: Likewise.
41686         * nss/makedb.c: Likewise.
41687         * iconv/iconvconfig.c: Likewise.
41688         * iconv/iconv_prog.c: Likewise.
41689         * elf/ldconfig.c: Likewise.
41690         * elf/pldd.c: Likewise.
41691         * elf/sotruss.ksh: Likewise.
41692         * catgets/gencat.c: Likewise.
41693         * csu/version.c: Likewise.
41694         * elf/ldd.bash.in: Likewise.
41695         * elf/sprof.c (print_version): Likewise.
41696         * locale/programs/locale.c: Likewise.
41697         * locale/programs/localedef.c: Likewise.
41698         * login/programs/pt_chown.c: Likewise.
41699         * nscd/nscd.c (print_version): Likewise.
41700         * debug/xtrace.sh: Likewise.
41701         * malloc/memusage.sh: Likewise.
41702         * malloc/mtrace.pl: Likewise.
41703         * debug/catchsegv.sh: Likewise.
41704
41705 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41706
41707         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41708         pure attribute.
41709
41710 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41711
41712         [BZ #13533]
41713         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41714         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41715         transformations.
41716         * iconv/gconv_int.h: Likewise.
41717         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41718         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41719         from libc for GLIBC_2.16.
41720         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41721         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41722         * wcsmbs/uchar.h: Really define mbstate_t.
41723         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41724         * wcsmbs/c16rtomb.c: New file.
41725         * wcsmbs/mbrtoc16.c: New file.
41726         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41727         for C/POSIX locale.
41728         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41729         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41730
41731         * wcsmbs/wchar.h: Add missing __restrict.
41732
41733 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41734
41735         [BZ #13532]
41736         * time/Makefile (routines): Add timespec_get.
41737         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41738         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41739         timespec for ISO C11.
41740         * time/timespec_get.c: New file.
41741         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41742         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41743
41744         [BZ #13531]
41745         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41746         * stdlib/stdlib.h: Declare aligned_alloc.
41747         * Versions.def: Add GLIBC_2.16 for libc.
41748         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41749
41750         [BZ 13527]
41751         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41752         ISO C11.
41753
41754         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41755         code.
41756
41757         [BZ #13528]
41758         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41759
41760         [BZ #13529]
41761         * assert/assert.h (static_assert): Define.
41762
41763         * version.h: Update for 2.16 development version.
41764
41765         [BZ #13526]
41766         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41767         _ISOC11_SOURCE.
41768
41769         * version.h (RELEASE): Bump for 2.15 release.
41770         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41771
41772         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41773         Patch by Marek Polacek <mpolacek@redhat.com>.
41774
41775         * bits/byteswap.h: Protect long long constants with __extension__.
41776         * sysdeps/i386/bits/byteswap.h: Likewise.
41777         * sysdeps/ia64/bits/byteswap.h: Likewise.
41778         * sysdeps/s390/bits/byteswap.h: Likewise.
41779         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41780
41781 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41782
41783         [BZ #13540]
41784         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41785         destination buffer.
41786         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41787
41788 2011-12-23  Marek Polacek  <polacek@redhat.com>
41789
41790         * elf/dl-addr.c (determine_info): Add inline keyword.
41791         * elf/tst-auditmod4b.c (check_avx): Likewise.
41792         * elf/tst-auditmod6b.c (check_avx): Likewise.
41793         * elf/tst-auditmod6c.c (check_avx): Likewise.
41794         * elf/tst-auditmod7b.c (check_avx): Likewise.
41795
41796 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41797
41798         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41799         !__SSE_MATH__.
41800
41801 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41802
41803         [BZ #13540]
41804         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41805         processing for last bytes.
41806
41807 2011-08-06  Bruno Haible  <bruno@clisp.org>
41808
41809         [BZ #13061]
41810         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41811         U+0385, not to U+1FEE.
41812
41813         [BZ #13062]
41814         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41815         entry for U+00A5 U+0301.
41816
41817 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41818
41819         [BZ #13166]
41820         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41821         buffer for the output is too small.
41822
41823         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41824         optimization.
41825
41826         [BZ #13185]
41827         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41828         SSE flags if possible.
41829
41830 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41831
41832         [BZ #13540]
41833         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41834         processing for last bytes.
41835
41836 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41837
41838         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41839         (syscall-list-default-options, syscall-list-default-condition)
41840         (syscall-list-includes): Define.
41841         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41842         list of ABIs and options and #if conditions for each ABI.  Do not
41843         handle common syscalls between ABIs specially.
41844         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41845         Remove.
41846         (syscall-list-variants, syscall-list-32bit-options)
41847         (syscall-list-32bit-condition, syscall-list-64bit-options)
41848         (syscall-list-64bit-condition): Define.
41849         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41850         (syscall-list-variants, syscall-list-32bit-options)
41851         (syscall-list-32bit-condition, syscall-list-64bit-options)
41852         (syscall-list-64bit-condition): Define.
41853         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41854         Remove.
41855         (syscall-list-variants, syscall-list-32bit-options)
41856         (syscall-list-32bit-condition, syscall-list-64bit-options)
41857         (syscall-list-64bit-condition): Define.
41858         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41859         Remove.
41860         (syscall-list-variants, syscall-list-32bit-options)
41861         (syscall-list-32bit-condition, syscall-list-64bit-options)
41862         (syscall-list-64bit-condition): Define.
41863
41864 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41865
41866         * locale/iso-639.def: Add brx entry.
41867
41868         [BZ #13328]
41869         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41870         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41871
41872         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41873         __feraiseexcept_renamed.
41874
41875 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41876
41877         [BZ #13538]
41878         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41879         EPOLLET with unsigned values.
41880         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41881         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41882
41883         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41884         to large cancellation.
41885         * math/s_cacoshf.c: Likewise.
41886         * math/s_cacoshl.c: Likewise.
41887
41888 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41889
41890         [BZ #13305]
41891         [BZ #12786]
41892         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41893         * math/s_cacoshf.c: Likewise.
41894         * math/s_cacoshl.c: Likewise.
41895
41896 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41897
41898         [BZ #13439]
41899         * iconv/gconv.h: Define __GCONV_SWAP.
41900         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41901         * iconvdata/utf-16.c: Likewise.
41902         * iconvdata/utf-32.c: Likewise.
41903
41904 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41905
41906         [BZ #13524]
41907         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41908         numerator after shifting it by one limb.
41909
41910 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41911
41912         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41913         under [__USE_EXTERN_INLINES].
41914
41915 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41916
41917         [BZ #13446]
41918         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41919
41920 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41921
41922         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41923         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41924         optimized code.
41925         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41926         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41927         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41928         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41929         for strncasecmp/strncasecmp_l compilation.
41930         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41931         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41932
41933 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41934
41935         [BZ #13484]
41936         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41937         of __asm__.
41938
41939 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41940
41941         [BZ #13506]
41942         * time/tzfile.c (__tzfile_read): Check values from file header.
41943
41944 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41945
41946         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41947         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41948         * powerpc/powerpc32/dl-start.S: Likewise.
41949         * powerpc/powerpc32/elf/start.S: Likewise.
41950         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41951         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41952         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41953         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41954         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41955         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41956         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41957         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41958         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41959         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41960         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41961         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41962         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41963         * powerpc/powerpc32/memset.S: Likewise.
41964         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41965         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41966         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41967         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41968         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41969         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41970         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41971         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41972         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41973         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41974         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41975         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41976         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41977
41978 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41979
41980         * math/libm-test.inc: Added more nearbyint tests.
41981         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41982         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41983         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41984         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41985
41986 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41987
41988         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41989         FD_CLOEXEC.
41990
41991 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41992
41993         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41994         Add wcscpy-ssse3 wcscpy-c.
41995         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41996         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41997         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41998         * sysdeps/x86_64/wcschr.S: New file.
41999         * sysdeps/x86_64/wcsrchr.S: New file.
42000         * string/test-strcmp.c: Remove checking of wcscmp function for
42001         wrong alignments.
42002         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42003         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42004         wcsrchr-sse2 wcsrchr-c.
42005         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42006         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42007         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42008         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42009         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42010         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42011         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42012         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42013         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42014         * wcsmbc/wcschr.c (WCSCHR): New macro.
42015
42016 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42017
42018         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42019         * wcsmbs/test-wcsrchr.c: New file.
42020         * string/test-strrchr.c: Add wcsrchr support.
42021         (WIDE): New macro.
42022         * wcsmbs/test-wcscpy.c: New file.
42023         * string/test-strcpy.c: Add wcscpy support.
42024         (WIDE): New macro.
42025
42026 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42027
42028         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42029         the inner loop.
42030
42031 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42032
42033         [BZ #13472]
42034         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42035
42036 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42037
42038         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42039         Minor optimizations.
42040
42041         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42042         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42043         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42044
42045 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42046
42047         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42048         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42049         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42050         for gcc to avoid warnings.
42051         * inet/Makefile (tests): Add tst-checks.
42052         * inet/tst-checks.c: New file.
42053
42054         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42055         warning.
42056
42057         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42058         __wmemcmp_sse2.
42059
42060         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42061         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42062
42063         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42064
42065 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42066
42067         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42068         problem.
42069
42070         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42071
42072 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42073
42074         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42075         conditional on GCC version.
42076         (__arch_compare_and_exchange_val_8_acq)
42077         (__arch_compare_and_exchange_val_16_acq)
42078         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42079         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42080         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42081
42082 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42083
42084         * sysdeps/sh/backtrace.c: New file.
42085
42086 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42087
42088         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42089         parenthesis.
42090
42091 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42092
42093         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42094         falling back to utime.
42095
42096 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42097
42098         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42099         expectations for float.
42100
42101 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42102
42103         * locale/weight.h (findidx): Add parameter len.
42104         * locale/weightwc.h (findidx): Likewise.
42105         * posix/fnmatch_loop.c (FCT): Adjust caller.
42106         * posix/regcomp.c (build_equiv_class): Likewise.
42107         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42108         * posix/regexec.c (check_node_accept_bytes): Likewise.
42109         * string/strcoll_l.c (STRCOLL): Likewise.
42110         * string/strxfrm_l.c (STRXFRM): Likewise.
42111
42112 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42113
42114         * Makefile.in: Remove CVSOPT handling.
42115         * configure.in: Remove use of AC_REVISION.
42116         * iconvdata/Makefile (distribute): No need to filter out CVS.
42117         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42118         handling.
42119
42120 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42121
42122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42123         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42124         [USE_AS_STRNCASECMP_L]: Likewise.
42125         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42126         NO_TLS_DIRECT_SEG_REFS.
42127         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42128         Fix argument offsets for non-PIC.
42129         [USE_AS_STRNCASECMP_L]: Likewise.
42130         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42131         NO_TLS_DIRECT_SEG_REFS.
42132
42133 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42134
42135         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42136         O_CLOEXEC.
42137         * locale/loadlocale.c (_nl_load_locale): Likewise.
42138
42139 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42140
42141         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42142         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42143         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42144         (SYSCALL_GETTIME): Set errno on error.
42145
42146         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42147         count references to noai6ai_cached.
42148
42149 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42150
42151         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42152
42153         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42154         FD_CLOEXEC for /proc/self/maps.
42155
42156         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42157         FD_CLOEXEC for /proc/meminfo.
42158
42159         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42160         gai.conf.
42161
42162         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42163         FD_CLOEXEC for given file.
42164
42165         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42166
42167         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42168         FD_CLOEXEC for /etc/hosts.
42169         (_gethtent): Likewise.
42170
42171         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42172
42173         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42174         cancellation and set FD_CLOEXEC for /etc/netgroup.
42175
42176         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42177         reading /etc/publickey.
42178
42179         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42180         allow cancellation when reading /etc/group.
42181
42182         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42183         cancellation.
42184         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42185
42186         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42187         when using data file.
42188
42189         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42190
42191         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42192         (write_nis_obj): Use "c" and "e" in fopen.
42193
42194         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42195
42196         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42197
42198         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42199
42200         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42201
42202         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42203         locale.alias.
42204
42205         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42206
42207         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42208
42209         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42210
42211         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42212         file parsing and set FD_CLOEXEC.
42213
42214 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42215
42216         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42217
42218 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42219
42220         * malloc/arena.c (arena_get2): Don't call reused_arena when
42221         _int_new_arena failed.
42222
42223 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42224
42225         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42226         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42227         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42228         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42229         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42230         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42231         to compile strcasecmp and strncasecmp.
42232         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42233         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42234
42235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42236
42237 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42238
42239         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42240         locale-defines.sym to gen-as-const-headers.
42241         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42242         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42244         to compile strcasecmp and strncasecmp.
42245         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42246         strcasecmp_l and strncasecmp_l.
42247         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42248         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42249         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42250         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42251         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42252         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42253         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42254         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42255         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42256         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42257         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42258
42259 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42260
42261         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42262         result of SYSDEP_GETTIME_CPU to retval.
42263         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42264         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42265
42266         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42267         variable.
42268
42269         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42270         mantissa words.
42271         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42272
42273         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42274         from unused variable.
42275
42276         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42277         DWARF definitions.
42278         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42279         for assembling.
42280
42281         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42282         over namespaces.
42283
42284         * sunrpc/rpc_prot.c (rejected): Fix case value.
42285
42286         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42287         unsigned long long int to avoid warnings in shift.
42288
42289         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42290         of use of trans.
42291         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42292         variable tmp.
42293
42294         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42295         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42296         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42297
42298         * nis/nis_table.c (nis_list): Use variable of correct type for
42299         result of __follow_path call.
42300
42301 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42302
42303         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42304         of math functions ceil, trunc, floor, round, and sqrt, when
42305         avaliable on the platform.
42306         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42307         name clash.
42308         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42309         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42310         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42311
42312 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42313
42314         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42315         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42316
42317 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42318
42319         * include/unistd.h: Fix __readlink return type.
42320         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42321
42322 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42323
42324         * stdlib/ucontext.h: Undo last change for makecontext.
42325
42326 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42327
42328         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42329
42330         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42331         * setjmp/setjmp.h: Mark functions as non-leaf.
42332         * setjmp/bits/setjmp2.h: Likewise.
42333         * stdlib/ucontext.h: Likewise.
42334
42335 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42336
42337         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42338         (reused_arena): Don't check arena limit.
42339         (arena_get2): Atomically check arena limit.
42340
42341 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42342
42343         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42344         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42345
42346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42347         instructions.
42348
42349 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42350
42351         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42352         handler when locking.
42353
42354         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42355         Fix size of allocated buffer.
42356
42357 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42358
42359         [BZ #10103]
42360         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42361         declarations for long double functions.
42362         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42363
42364         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42365
42366 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42367
42368         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42369         installed.
42370
42371         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42372         is disabled.
42373
42374 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42375
42376         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42377
42378 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42379
42380         * include/alloca.h (stackinfo_alloca_round): Define.
42381         (extend_alloca): Use it.
42382         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42383         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42384         here.
42385
42386         * scripts/check-local-headers.sh: Ignore libaudit.h.
42387
42388         * nscd/Makefile (extra-objs): Make recursively expanded.
42389
42390 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42391
42392         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42393         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42394
42395         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42396         * posix/tst-rfc3484-2.c: Likewise.
42397         * posix/tst-rfc3484-3.c: Likewise.
42398
42399         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42400         process_vm_writev.
42401         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42402         process_vm_writev.
42403         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42404         process_vm_writev from libc using GLIBC_2.15 version.
42405
42406         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42407
42408 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42409
42410         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42411         stack usage.
42412
42413 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42414
42415         [BZ #13367]
42416         * nss/getent.c (initgroups_keys): Show error message in case no group
42417         names are given.
42418
42419         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42420         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42421         __bump_nl_timestamp.
42422         * nscd/connections (nscd_init): When host database is served open
42423         netlink socket and request notification about configuration changes.
42424         (main_loop_poll): Track netlink file descriptor and bump timestamp
42425         in case data becomes available.
42426         (main_loop_epoll): Likewise.
42427         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42428         (database_pers_head): Add extra_data fileds.
42429         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42430         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42431         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42432         Adjust caller.
42433         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42434         in6ai data, call __free_in6ai.
42435         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42436         Add -DHAVE_NETLINK.
42437         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42438         interface information.  Reuse previous data if netlink timestamp
42439         is not changed.
42440         (__bump_nl_timestamp): New function.
42441         (__free_in6ai): New function.
42442
42443 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42444
42445         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42446         close_not_cancel_no_status here.
42447         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42448
42449 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42450
42451         [BZ #13276]
42452         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42453         return value.
42454
42455         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42456         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42457         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42458
42459 2011-07-03  Andreas Jaeger  <aj@suse.de>
42460
42461         [BZ #10709]
42462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42463         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42464         * math/libm-test.inc (sin_test): Add test case.
42465
42466 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42467
42468         [BZ #13337]
42469         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42470         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42471
42472         * elf/chroot_canon.c (chroot_canon): Cleanups.
42473
42474         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42475
42476         [BZ #13335]
42477         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42478         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42479
42480         * string/test-strchr.c: Make usable for strchrnul testing.
42481         * string/test-strchrnul.c: New file.
42482         * string/Makefile (strop-tests): Add strchrnul.
42483
42484         * po/it.po: Update from translation team.
42485         * po/es.po: Likewise.
42486
42487 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42488
42489         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42490         the three constants needed as parameters.  Drop the others.
42491         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42492         __m128i_strloadu_tolower.
42493         Create and initialize variable zero and use it in all the places
42494         where _mm_setzero_si128 was used.
42495
42496         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42497         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42498         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42499         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42500         anymore.
42501         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42502         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42503         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42504         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42505         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42506         __mpranred, __mptan.
42507         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42508         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42509         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42510         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42511         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42512         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42513         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42514         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42515         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42516
42517 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42518
42519         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42520         redefine if SHARED.
42521         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42522
42523         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42524         wide char related routines to wcsmbs subdir.
42525
42526 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42527
42528         [BZ #13344]
42529         * misc/sys/cdefs.h (__THROWNL): Define.
42530         * posix/unistd.h: Use __THREADNL instead of __THREAD
42531         for memory synchronization functions.
42532
42533 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42534
42535         [BZ #13349]
42536         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42537         doesn't exist.
42538         * manual/stdio.texi (Obstack Streams): Node removed.
42539
42540 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42541
42542         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42543         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42544         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42545
42546         * math/math_private.h (math_force_eval): Allow non-addressable
42547         arguments.
42548         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42549
42550 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42551
42552         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42553         file is not needed.
42554
42555         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42556         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42557         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42558         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42559         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42560         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42561         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42562         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42563         Add AVX variants.
42564         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42565         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42566         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42567         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42568         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42569         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42570         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42571         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42572         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42573         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42574         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42575         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42576         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42577         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42578         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42579         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42580         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42581         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42582         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42583
42584         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42585         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42586
42587         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42588         place.  Use VEX encoding when compiling for AVX.
42589
42590 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42591
42592         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42593         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42594
42595         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42596
42597 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42598
42599         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42600         useless if() expression.
42601         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42602         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42603         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42604         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42605         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42606         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42607         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42608         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42609         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42610         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42611         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42612         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42613         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42614         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42615         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42616         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42617         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42618         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42619         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42620
42621         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42622
42623 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42624
42625         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42626         condition.
42627         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42628
42629 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42630
42631         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42632         .text section.  Avoid duplicate constants.
42633         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42634         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42635         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42636         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42637         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42641         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42642         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42643         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42644         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42645         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42646         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42647         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42648         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42649         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42650         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42651         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42652         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42653         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42654         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42655         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42656         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42657         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42658         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42659         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42660         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42661         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42662         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42663         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42664         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42665         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42666         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42667         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42668         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42669         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42670         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42671         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42672         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42673         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42674         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42675         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42676         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42677         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42678
42679 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42680
42681         * sysdeps/x86_64/dla.h: Move to ...
42682         * sysdeps/x86_64/fpu/dla.h: ...here.
42683         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42684         situations.  Use __builtin_fma only for gcc 4.6 and up.
42685
42686         * config.make.in: Add have-mfma4 entry.
42687         * configure.in: Substitute libc_cv_cc_fma4.
42688         * math/Makefile (dbl-only-routines): Add sincostab.
42689         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42690         Use __sincostab not sincos.
42691         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42692         name is a macro.
42693         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42696         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42697         using __copysign.
42698         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42699         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42700         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42701         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42702         and __inv.
42703         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42704         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42705         __copysign.
42706         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42707         define aliases when function name is a macro.
42708         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42709         sysdeps/ieee754/dbl-64/sincos.tbl.
42710         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42711         fma4-enabled routines.
42712         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42713         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42714         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42715         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42716         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42717         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42718         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42719         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42720         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42721         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42722         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42723         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42724         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42725         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42726         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42727         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42728         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42729         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42730         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42731         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42732         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42733         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42734         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42735         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42736         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42737         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42738         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42739         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42740         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42741         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42742
42743         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42744         rename.
42745         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42746         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42748         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42749         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42750         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42751         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42752         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42753
42754 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42755
42756         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42757
42758 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42759
42760         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42761
42762         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42763         prediction.
42764         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42765
42766         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42767         Remove unused variable magic_bits.
42768         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42769
42770         * string/strnlen.c: Define and use STRNLEN macro.
42771         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42772         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42773         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42774         * wcsmbs/wcslen.c: Define and use WCSLEN.
42775         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42776         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42777         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42778         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42779         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42780         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42781         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42782
42783 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42784
42785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42786         strnlen-sse2-no-bsf.
42787         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42788         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42789         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42790         Add strnlen support.
42791         (USE_AS_STRNLEN): New macro.
42792         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42793         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42794         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42795         * sysdeps/x86_64/wcslen.S: New file.
42796
42797 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42798
42799         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42800         XMM-moves are used for copying on small sizes.
42801
42802 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42803
42804         * wcsmbs/Makefile (strop-tests): Add wcschr.
42805         * wcsmbs/test-wcschr.c: New file.
42806         * string/test-strchr.c: Update.
42807         Add wcschr support.
42808         (WIDE): New macro.
42809
42810 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42811
42812         * wcsmbs/Makefile (strop-tests): Add wcslen.
42813         * wcsmbs/test-wcslen.c: New file.
42814         * string/test-strlen.c: Update.
42815         Add wcslen support.
42816         (WIDE): New macro.
42817
42818 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42819
42820         * po/it.po: Update from translation team.
42821
42822 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42823
42824         * sysdeps/x86_64/wcscmp.S: Update.
42825         Fix wrong comparison semantics.
42826         wcscmp shall use signed comparison not unsigned.
42827         Don't use substraction to avoid overflow bug.
42828         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42829         * wcsmbc/wcscmp.c: Likewise.
42830         * string/test-strcmp.c: Likewise.
42831         Add new tests to check cases with negative values.
42832
42833 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42834
42835         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42836         * sysdeps/x86_64/dla.h: ...here.  New file.
42837         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42838         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42839         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42841         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42842         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42843         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42844         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42845         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42846
42847 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42848
42849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42850         __ynl_finite aliases.
42851
42852 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42853
42854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42855
42856         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42857         define DLA_FMA.
42858         [DLA_FMA] (EMULV): Use DLA_FMA.
42859         [DLA_FMA] (MUL12): Use EMULV.
42860         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42861         that are not needed.
42862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42865         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42866         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42867         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42868         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42869
42870 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42871
42872         * math/s_nan.c: Undef __nan.
42873         * math/s_nanf.c: Undef __nanf.
42874         * math/s_nanl.c: Undef __nanl.
42875         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42876         "math_private.h".
42877
42878 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42879
42880         * math/s_catan.c: Add branch predictions.
42881         * math/s_catanf.c: Likewise.
42882         * math/s_catanh.c: Likewise.
42883         * math/s_catanhf.c: Likewise.
42884         * math/s_catanhl.c: Likewise.
42885         * math/s_catanl.c: Likewise.
42886         * math/s_cexp.c: Likewise.
42887         * math/s_cexpf.c: Likewise.
42888         * math/s_cexpl.c: Likewise.
42889         * math/s_clog.c: Likewise.
42890         * math/s_clog10.c: Likewise.
42891         * math/s_clog10f.c: Likewise.
42892         * math/s_clog10l.c: Likewise.
42893         * math/s_clogf.c: Likewise.
42894         * math/s_clogl.c: Likewise.
42895         * math/s_csqrt.c: Likewise.
42896         * math/s_csqrtf.c: Likewise.
42897         * math/s_csqrtl.c: Likewise.
42898         * math/s_ctanf.c: Likewise.
42899         * math/s_ctanh.c: Likewise.
42900         * math/s_ctanhf.c: Likewise.
42901         * math/s_ctanhl.c: Likewise.
42902         * math/s_ctanl.c: Likewise.
42903
42904         * math/math_private.h: Define __nan, __nanf, __nanl.
42905         * math/s_cacosh.c: Include <math_private.h>.
42906         * math/s_cacoshl.c: Likewise.
42907         * math/s_casinh.c: Likewise.
42908         * math/s_casinhf.c: Likewise.
42909         * math/s_casinhl.c: Likewise.
42910         * math/s_ccos.c: Rely entire on ccosh.
42911         * math/s_ccosf.c: Rely entire on ccoshf.
42912         * math/s_ccosl.c: Rely entirely on ccoshl.
42913         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42914         Remove tests for FE_INVALID.
42915         * math/s_ccoshf.c: Likewise.
42916         * math/s_ccoshl.c: Likewise.
42917         * math/s_csin.c: Likewise.
42918         * math/s_csinf.c: Likewise.
42919         * math/s_csinh.c Likewise.
42920         * math/s_csinhf.c: Likewise.
42921         * math/s_csinhl.c: Likewise.
42922         * math/s_csinl.c: Likewise.
42923         * math/s_ctan.c: Likewise.
42924         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42925         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42926         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42927
42928 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42929
42930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42931         compilation problems.
42932
42933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42934         __builtin_expect.
42935
42936 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42937
42938         * sysdeps/i386/configure.in: Test for -mfma4 option.
42939         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42940         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42941         COMMON_CPUID_INDEX_80000001.
42942         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42943         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42944         use it if FMA3 is not supported.
42945         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42946
42947         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42948         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42949
42950 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42951
42952         [BZ #12892]
42953         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42954         it would create a cycle with a link time dependency.
42955
42956 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42957
42958         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42959         instruction.
42960         * string/Makefile (strop-tests): Add rawmemchr.
42961         * string/test-rawmemchr.c: New file.
42962
42963         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42964         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42965         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42966         when compiling str{,n}casecmp and when AVX is available.  Hook up
42967         new optimized code in initializers.
42968
42969 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42970
42971         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42972         __feraiseexcept instead of feraiseexcept.
42973
42974 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42975
42976         * math/math_private.h: Define defaults for libc_fetestexcept and
42977         libc_feupdateenv.
42978         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42979         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42980         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42981         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42982         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42983         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42984         libc_fetestexcept and libc_feupdateenv.
42985
42986         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42987         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42988         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42989         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42990         libc_feholdexcept_setround.
42991
42992         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42993         Add s_nearbyint-c and s_nearbyintf-c.
42994         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42995         nearbyintf inlines.
42996         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42997         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42998         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42999         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43000
43001         * math/math_private.h: Define defaults for libc_fegetround,
43002         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43003         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43004         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43005         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43006         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43007         standard functions.
43008         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43009         Remove comments and hacks for old compiler versions.
43010         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43011         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43012         libc_feholdexceptl.
43013
43014 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43015
43016         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43017         (__feraiseexcept_renamed): Add __NTH.
43018         (feraiseexcept): Add __NTH.  Rename local variables to fix
43019         namespace violations.
43020
43021 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43022
43023         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43024
43025         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43026
43027         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43028         recently added interfaces.
43029         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43030
43031         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43032         about macro parameter expansion.
43033
43034         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43035         __NO_MATH_INLINES is defined.  Cleanups.
43036
43037         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43038         and __floorf is target has SSE4.1.
43039         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43040         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43041         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43042         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43043
43044         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43045         name.
43046         (floorf): Likewise.
43047
43048         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43049
43050 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43051
43052         * misc/sys/cdefs.h: Fix last change.
43053
43054         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43055         database lookup.
43056
43057 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43058
43059         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43060
43061         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43062         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43063         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43064         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43065         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43066         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43067         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43068         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43069         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43070         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43071         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43072         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43073         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43074         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43075         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43076         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43077         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43078         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43079         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43080         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43081         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43082         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43083
43084         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43085         ceil, ceilf, floor, floorf.
43086
43087         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43088         Perform IRELATIVE relocations last.
43089
43090         * elf/do-rel.h: Add another parameter nrelative, replacing the
43091         local variable with the same name.  Change name of the function
43092         to end in Rel or Rela (uppercase).
43093         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43094         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43095         elf_dynamic_do_##reloc function.
43096
43097 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43098
43099         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43100         is sufficient, at least on modern CPUs.
43101
43102         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43103
43104         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43105         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43106
43107         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43108         __expl_finite.
43109         * math/bits/math-finite.h: Add entries for exp.
43110         * math/e_expl.c: Add __*_finite alias.
43111         * sysdeps/i386/fpu/e_exp.S: Likewise.
43112         * sysdeps/i386/fpu/e_expf.S: Likewise.
43113         * sysdeps/i386/fpu/e_expl.c: Likewise.
43114         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43115         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43116         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43117         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43118         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43119         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43120         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43121
43122         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43123         is sufficient, at least on modern CPUs.
43124
43125         * ctype/ctype-info.c (__ctype_init): Define.
43126         * include/ctype.h (__ctype_init): Declare.
43127         (__ctype_b_loc): The variable is always initialized.
43128         (__ctype_toupper_loc): Likewise.
43129         (__ctype_tolower_loc): Likewise.
43130         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43131         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43132
43133 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43134
43135         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43136
43137         * configure.in: Also look in $cxxmachine/include for C++ system
43138         headers.
43139
43140 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43141
43142         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43143         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43144         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43145         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43146         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43147         (USE_AS_WMEMCMP): New macro.
43148         Fixing indents.
43149         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43150         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43151         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43152         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43154         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43155         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43156         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43157         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43158         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43159         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43160         (USE_AS_WMEMCMP): New macro.
43161         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43162         * sysdeps/string/test-memcmp.c: Update.
43163         Fix simple_wmemcmp.
43164         Add new tests.
43165         * wcsmbs/wmemcmp.c: Update.
43166         (WMEMCMP): New macro.
43167         Fix overflow bug.
43168
43169 2011-10-12  Andreas Jaeger  <aj@suse.de>
43170
43171         [BZ #13268]
43172         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43173
43174 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43175
43176         * libio/iofwide.c (do_length): Avoid warning.
43177
43178         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43179
43180 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43181
43182         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43183
43184         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43185         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43186         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43187         * sysdeps/i386/i686/fpu/e_log.S: New file.
43188         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43189         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43190
43191         * ctype/ctype.h: Add support for inlined isXXX functions when
43192         compiling C++ code.
43193
43194 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43195
43196         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43197
43198         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43199
43200 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43201
43202         [BZ #13291]
43203         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43204
43205 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43206
43207         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43208         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43209         feraiseexcept.
43210
43211         * sysdeps/x86_64/memrchr.S: Check for zero size.
43212
43213         * string/stratcliff.c: Add memrchr tests.
43214
43215 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43216
43217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43218         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43219         rawmemchr-sse2 rawmemchr-sse2-bsf.
43220         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43221         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43222         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43223         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43224         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43225         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43226         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43227         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43228         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43229         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43230         * string/memrchr.c (MEMRCHR): New macro.
43231
43232 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43233
43234         Add integration with gcc's -ffinite-math-only and optimize wrapper
43235         functions in libm.
43236         * Versions.def: Define GLIBC_2.15 version for libm.
43237         * math/Makefile (headers): Add bits/math-finite.h.
43238         * math/bits/math-finite.h: New file.
43239         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43240         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43241         * math/e_acoshl.c: Add __*_finite alias.
43242         * math/e_acosl.c: Likewise.
43243         * math/e_asinl.c: Likewise.
43244         * math/e_atan2l.c: Likewise.
43245         * math/e_atanhl.c: Likewise.
43246         * math/e_coshl.c: Likewise.
43247         * math/e_exp10.c: Likewise.
43248         * math/e_exp10f.c: Likewise.
43249         * math/e_exp10l.c: Likewise.
43250         * math/e_exp2l.c: Likewise.
43251         * math/e_fmodl.c: Likewise.
43252         * math/e_gammal_r.c: Likewise.
43253         * math/e_hypotl.c: Likewise.
43254         * math/e_j0l.c: Likewise.
43255         * math/e_j1l.c: Likewise.
43256         * math/e_jnl.c: Likewise.
43257         * math/e_lgammal_r.c: Likewise.
43258         * math/e_log10l.c: Likewise.
43259         * math/e_log2l.c: Likewise.
43260         * math/e_logl.c: Likewise.
43261         * math/e_powl.c: Likewise.
43262         * math/e_sinhl.c: Likewise.
43263         * math/e_sqrtl.c: Likewise.
43264         * math/e_scalb.c: Completely rewritten and optimized.
43265         * math/e_scalbf.c: Likewise.
43266         * math/e_scalbl.c: Likewise.
43267         * math/w_acos.c: Likewise.
43268         * math/w_acosf.c: Likewise.
43269         * math/w_acosl.c: Likewise.
43270         * math/w_acosh.c: Likewise.
43271         * math/w_acoshf.c: Likewise.
43272         * math/w_acoshl.c: Likewise.
43273         * math/w_asin.c: Likewise.
43274         * math/w_asinf.c: Likewise.
43275         * math/w_asinl.c: Likewise.
43276         * math/w_atan2.c: Likewise.
43277         * math/w_atan2f.c: Likewise.
43278         * math/w_atan2l.c: Likewise.
43279         * math/w_atanh.c: Likewise.
43280         * math/w_atanhf.c: Likewise.
43281         * math/w_atanhl.c: Likewise.
43282         * math/w_exp10.c: Likewise.
43283         * math/w_exp10f.c: Likewise.
43284         * math/w_exp10l.c: Likewise.
43285         * math/w_fmod.c: Likewise.
43286         * math/w_fmodf.c: Likewise.
43287         * math/w_fmodl.c: Likewise.
43288         * math/w_j0.c: Likewise.
43289         * math/w_j0f.c: Likewise.
43290         * math/w_j0l.c: Likewise.
43291         * math/w_j1.c: Likewise.
43292         * math/w_j1f.c: Likewise.
43293         * math/w_j1l.c: Likewise.
43294         * math/w_jn.c: Likewise.
43295         * math/w_jnf.c: Likewise.
43296         * math/w_log.c: Likewise.
43297         * math/w_logf.c: Likewise.
43298         * math/w_logl.c: Likewise.
43299         * math/w_log10.c: Likewise.
43300         * math/w_log10f.c: Likewise.
43301         * math/w_log10l.c: Likewise.
43302         * math/w_log2.c: Likewise.
43303         * math/w_log2f.c: Likewise.
43304         * math/w_log2l.c: Likewise.
43305         * math/w_pow.c: Likewise.
43306         * math/w_powf.c: Likewise.
43307         * math/w_powl.c: Likewise.
43308         * math/w_remainder.c: Likewise.
43309         * math/w_remainderf.c: Likewise.
43310         * math/w_remainderl.c: Likewise.
43311         * math/w_scalb.c: Likewise.
43312         * math/w_scalbf.c: Likewise.
43313         * math/w_scalbl.c: Likewise.
43314         * math/w_sqrt.c: Likewise.
43315         * math/w_sqrtf.c: Likewise.
43316         * math/w_sqrtl.c: Likewise.
43317         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43318         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43319         used.
43320         * math/math_private.h: Declare __kernel_standard_f.
43321         * math/w_cosh.c: Remove cruft and optimize a bit.
43322         * math/w_coshf.c: Likewise.
43323         * math/w_coshl.c: Likewise.
43324         * math/w_exp2.c: Likewise.
43325         * math/w_exp2f.c: Likewise.
43326         * math/w_exp2l.c: Likewise.
43327         * math/w_hypot.c: Likewise.
43328         * math/w_hypotf.c: Likewise.
43329         * math/w_hypotl.c: Likewise.
43330         * math/w_lgamma.c: Likewise.
43331         * math/w_lgamma_r.c: Likewise.
43332         * math/w_lgammaf.c: Likewise.
43333         * math/w_lgammaf_r.c: Likewise.
43334         * math/w_lgammal.c: Likewise.
43335         * math/w_lgammal_r.c: Likewise.
43336         * math/w_sinh.c: Likewise.
43337         * math/w_sinhf.c: Likewise.
43338         * math/w_sinhl.c: Likewise.
43339         * math/w_tgamma.c: Likewise.
43340         * math/w_tgammaf.c: Likewise.
43341         * math/w_tgammal.c: Likewise.
43342         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43343         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43344         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43345         Minor optimizations.  Pretty printing.  Remove cruft.
43346         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43347         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43348         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43349         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43350         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43351         * sysdeps/i386/fpu/e_asin.S: Likewise.
43352         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43353         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43354         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43355         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43356         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43357         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43358         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43359         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43360         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43361         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43362         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43363         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43364         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43365         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43366         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43367         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43368         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43369         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43370         * sysdeps/i386/fpu/e_log.S: Likewise.
43371         * sysdeps/i386/fpu/e_log10.S: Likewise.
43372         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43373         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43374         * sysdeps/i386/fpu/e_log2.S: Likewise.
43375         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43376         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43377         * sysdeps/i386/fpu/e_logf.S: Likewise.
43378         * sysdeps/i386/fpu/e_logl.S: Likewise.
43379         * sysdeps/i386/fpu/e_pow.S: Likewise.
43380         * sysdeps/i386/fpu/e_powf.S: Likewise.
43381         * sysdeps/i386/fpu/e_powl.S: Likewise.
43382         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43383         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43384         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43385         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43386         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43387         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43388         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43389         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43390         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43391         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43392         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43394         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43395         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43396         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43397         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43398         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43399         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43400         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43401         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43402         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43404         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43405         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43406         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43407         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43408         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43411         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43412         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43413         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43414         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43415         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43416         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43417         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43418         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43419         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43420         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43421         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43422         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43423         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43424         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43425         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43426         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43427         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43428         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43429         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43430         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43431         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43432         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43433         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43434         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43435         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43436         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43437         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43438         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43439         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43440         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43441         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43442         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43443         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43444         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43445         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43446         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43447         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43448         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43449         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43450         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43451         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43452         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43455         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43456         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43457         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43459         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43460         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43461         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43462         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43463         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43464         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43465         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43466         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43467         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43468         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43469         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43470         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43471         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43472         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43473         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43474         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43475         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43476         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43477         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43478         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43479         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43480         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43481         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43482         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43483         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43484         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43485         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43486         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43487         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43488         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43489         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43490         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43491         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43492         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43493         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43494         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43495         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43496         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43497         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43498         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43499         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43500         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43501         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43502         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43503         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43504         (__isnanf): Likewise.
43505         (__isinf_ns): Likewise.
43506         (__isinf_nsf): Likewise.
43507         (__finite): Likewise.
43508         (__finitef): Likewise.
43509         (__ieee754_sqrt): Define as macro.
43510         (__ieee754_sqrtf): Define as macro.
43511         (__ieee754_sqrtl): Define as macro.
43512         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43513         inlined copy.
43514         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43515         __FINITE_MATH_ONLY__ consistent.
43516         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43517
43518 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43519
43520         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43521         of rawmemchr.
43522
43523         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43524
43525 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43526
43527         * po/ja.po: Update from translation team.
43528
43529 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43530
43531         * locale/programs/locarchive.c (prepare_address_space): New function.
43532         (create_archive, enlarge_archive, open_archive): Use it.
43533
43534         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43535         inside [SHARED], where it is used.
43536
43537         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43538
43539         * nss/getent.c (netgroup_keys): Remove unused variable.
43540         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43541
43542 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43543
43544         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43545         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43547         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43548         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43549         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43550         * math/Makefile (libm-calls): Add s_isinf_ns.
43551         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43552         * math/multc3.c: Likewise.
43553         * math/s_casin.c: Likewise.
43554         * math/s_casinf.c: Likewise.
43555         * math/s_casinl.c: Likewise.
43556         * math/s_ccos.c: Likewise.
43557         * math/s_ccosf.c: Likewise.
43558         * math/s_ccosl.c: Likewise.
43559         * math/s_ctan.c: Likewise.
43560         * math/s_ctanf.c: Likewise.
43561         * math/s_ctanh.c: Likewise.
43562         * math/s_ctanhf.c: Likewise.
43563         * math/s_ctanhl.c: Likewise.
43564         * math/s_ctanl.c: Likewise.
43565         * math/w_fmod.c: Likewise.
43566         * math/w_fmodf.c: Likewise.
43567         * math/w_fmodl.c: Likewise.
43568         * math/w_remainder.c: Likewise.
43569         * math/w_remainderf.c: Likewise.
43570         * math/w_remainderl.c: Likewise.
43571         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43572         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43573         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43574         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43575         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43576         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43577         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43578         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43579
43580         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43581         of the number.
43582         * stdio-common/printf_fphex.c: Likewise.
43583         * stdio-common/printf_size.c: Likewise.
43584
43585         * math/e_exp10.c: Include math_private.h using <...> not "...".
43586         * math/e_exp10f.c: Likewise.
43587         * math/e_exp10l.c: Likewise.
43588         * math/e_exp2l.c: Likewise.
43589         * math/e_j0l.c: Likewise.
43590         * math/e_j1l.c: Likewise.
43591         * math/e_jnl.c: Likewise.
43592         * math/e_lgammal_r.c: Likewise.
43593         * math/e_rem_pio2l.c: Likewise.
43594         * math/e_scalb.c: Likewise.
43595         * math/e_scalbf.c: Likewise.
43596         * math/e_scalbl.c: Likewise.
43597         * math/k_cosl.c: Likewise.
43598         * math/k_sinl.c: Likewise.
43599         * math/k_tanl.c: Likewise.
43600         * math/s_cacoshf.c: Likewise.
43601         * math/s_catan.c: Likewise.
43602         * math/s_catanf.c: Likewise.
43603         * math/s_catanh.c: Likewise.
43604         * math/s_catanhf.c: Likewise.
43605         * math/s_catanhl.c: Likewise.
43606         * math/s_catanl.c: Likewise.
43607         * math/s_ccosh.c: Likewise.
43608         * math/s_ccoshf.c: Likewise.
43609         * math/s_ccoshl.c: Likewise.
43610         * math/s_cexp.c: Likewise.
43611         * math/s_cexpf.c: Likewise.
43612         * math/s_cexpl.c: Likewise.
43613         * math/s_clog.c: Likewise.
43614         * math/s_clog10.c: Likewise.
43615         * math/s_clog10f.c: Likewise.
43616         * math/s_clog10l.c: Likewise.
43617         * math/s_clogf.c: Likewise.
43618         * math/s_clogl.c: Likewise.
43619         * math/s_csin.c: Likewise.
43620         * math/s_csinf.c: Likewise.
43621         * math/s_csinh.c: Likewise.
43622         * math/s_csinhf.c: Likewise.
43623         * math/s_csinhl.c: Likewise.
43624         * math/s_csinl.c: Likewise.
43625         * math/s_csqrt.c: Likewise.
43626         * math/s_csqrtf.c: Likewise.
43627         * math/s_csqrtl.c: Likewise.
43628         * math/s_ctan.c: Likewise.
43629         * math/s_ctanf.c: Likewise.
43630         * math/s_ctanh.c: Likewise.
43631         * math/s_ctanhf.c: Likewise.
43632         * math/s_ctanhl.c: Likewise.
43633         * math/s_ctanl.c: Likewise.
43634         * math/s_ldexp.c: Likewise.
43635         * math/s_ldexpf.c: Likewise.
43636         * math/s_ldexpl.c: Likewise.
43637         * math/s_significand.c: Likewise.
43638         * math/s_significandf.c: Likewise.
43639         * math/s_significandl.c: Likewise.
43640         * math/w_acos.c: Likewise.
43641         * math/w_acosf.c: Likewise.
43642         * math/w_acosh.c: Likewise.
43643         * math/w_acoshf.c: Likewise.
43644         * math/w_acoshl.c: Likewise.
43645         * math/w_acosl.c: Likewise.
43646         * math/w_asin.c: Likewise.
43647         * math/w_asinf.c: Likewise.
43648         * math/w_asinl.c: Likewise.
43649         * math/w_atan2.c: Likewise.
43650         * math/w_atan2f.c: Likewise.
43651         * math/w_atan2l.c: Likewise.
43652         * math/w_atanh.c: Likewise.
43653         * math/w_atanhf.c: Likewise.
43654         * math/w_atanhl.c: Likewise.
43655         * math/w_cosh.c: Likewise.
43656         * math/w_coshf.c: Likewise.
43657         * math/w_coshl.c: Likewise.
43658         * math/w_dremf.c: Likewise.
43659         * math/w_exp10.c: Likewise.
43660         * math/w_exp10f.c: Likewise.
43661         * math/w_exp10l.c: Likewise.
43662         * math/w_exp2.c: Likewise.
43663         * math/w_exp2f.c: Likewise.
43664         * math/w_fmod.c: Likewise.
43665         * math/w_fmodf.c: Likewise.
43666         * math/w_fmodl.c: Likewise.
43667         * math/w_hypot.c: Likewise.
43668         * math/w_hypotf.c: Likewise.
43669         * math/w_hypotl.c: Likewise.
43670         * math/w_j0.c: Likewise.
43671         * math/w_j0f.c: Likewise.
43672         * math/w_j0l.c: Likewise.
43673         * math/w_j1.c: Likewise.
43674         * math/w_j1f.c: Likewise.
43675         * math/w_j1l.c: Likewise.
43676         * math/w_jn.c: Likewise.
43677         * math/w_jnf.c: Likewise.
43678         * math/w_jnl.c: Likewise.
43679         * math/w_lgamma.c: Likewise.
43680         * math/w_lgamma_r.c: Likewise.
43681         * math/w_lgammaf.c: Likewise.
43682         * math/w_lgammaf_r.c: Likewise.
43683         * math/w_lgammal.c: Likewise.
43684         * math/w_lgammal_r.c: Likewise.
43685         * math/w_log.c: Likewise.
43686         * math/w_log10.c: Likewise.
43687         * math/w_log10f.c: Likewise.
43688         * math/w_log10l.c: Likewise.
43689         * math/w_log2.c: Likewise.
43690         * math/w_log2f.c: Likewise.
43691         * math/w_log2l.c: Likewise.
43692         * math/w_logf.c: Likewise.
43693         * math/w_logl.c: Likewise.
43694         * math/w_pow.c: Likewise.
43695         * math/w_powf.c: Likewise.
43696         * math/w_powl.c: Likewise.
43697         * math/w_remainder.c: Likewise.
43698         * math/w_remainderf.c: Likewise.
43699         * math/w_remainderl.c: Likewise.
43700         * math/w_scalb.c: Likewise.
43701         * math/w_scalbf.c: Likewise.
43702         * math/w_scalbl.c: Likewise.
43703         * math/w_sinh.c: Likewise.
43704         * math/w_sinhf.c: Likewise.
43705         * math/w_sinhl.c: Likewise.
43706         * math/w_sqrt.c: Likewise.
43707         * math/w_sqrtf.c: Likewise.
43708         * math/w_sqrtl.c: Likewise.
43709         * math/w_tgamma.c: Likewise.
43710         * math/w_tgammaf.c: Likewise.
43711         * math/w_tgammal.c: Likewise.
43712
43713         * po/ja.po: Update from translation team.
43714
43715 2011-09-29  Andreas Jaeger  <aj@suse.de>
43716
43717         [BZ #13179]
43718         * sunrpc/netname.c (netname2host): Fix logic.
43719
43720         [BZ #6779]
43721         [BZ #6783]
43722         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43723         correctly.
43724         * math/w_remainder.c (__remainder): Likewise.
43725         * math/w_remainderf.c (__remainderf): Likewise.
43726         * math/libm-test.inc (remainder_test): Add test cases.
43727
43728 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43729
43730         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43731         sdiv_qrnnd.
43732
43733 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43734
43735         * string/test-memcmp.c: Avoid unncessary #defines.
43736         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43737
43738 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43739
43740         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43741         Use new sse2 version for core i3 - i7 as it's faster
43742         than sse42 version.
43743         (bit_Prefer_PMINUB_for_stringop): New.
43744         * sysdeps/x86_64/rawmemchr.S: Update.
43745         Replace with faster SSE2 version.
43746         * sysdeps/x86_64/memrchr.S: New file.
43747         * sysdeps/x86_64/memchr.S: Update.
43748         Replace with faster SSE2 version.
43749
43750 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43751
43752         * elf/dl-load.c (lose): Add cast to avoid warning.
43753
43754 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43755
43756         * po/ca.po: Update from translation team.
43757
43758         * inet/getnetgrent_r.c: Hook up nscd.
43759         * nscd/Makefile (routines): Add nscd_netgroup.
43760         (nscd-modules): Add netgroupcache.
43761         (CFLAGS-netgroupcache.c): Define.
43762         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43763         (cache_search): Add const to second parameter.
43764         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43765         INNETGR.
43766         (dbs): Add netgrdb entry.
43767         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43768         (verify_persistent_db): Handle netgrdb.
43769         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43770         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43771         GETFDNETGR.
43772         (netgroup_response_header): Define.
43773         (innetgroup_response_header): Define.
43774         (datahead): Add netgroup_response_header and innetgroup_response_header
43775         elements.
43776         * nscd/nscd.conf: Add entries for netgroup cache.
43777         * nscd/nscd.h (dbtype): Add netgrdb.
43778         (_PATH_NSCD_NETGROUP_DB): Define.
43779         (netgroup_iov_disabled): Declare.
43780         (xmalloc, xcalloc, xrealloc): Move declarations here.
43781         (cache_search): Adjust prototype.
43782         Add netgroup-related prototypes.
43783         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43784         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43785         (__nscd_innetgr): Declare.
43786         * nscd/selinux.c (perms): Use access_vector_t as element type and
43787         add netgroup-related initializers.
43788         * nscd/netgroupcache.c: New file.
43789         * nscd/nscd_netgroup.c: New file.
43790         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43791         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43792         For four parameters use innetgr.
43793         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43794         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43795         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43796         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43797
43798         * nscd/connections.c (register_traced_file): Don't register file
43799         for disabled databases.
43800
43801 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43802
43803         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43804
43805         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43806         from tree and freeing node.
43807
43808 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43809
43810         * nss/nsswitch.c (__nss_database_lookup): Handle
43811         nss_parse_service_list out of memory case.
43812
43813 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43814
43815         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43816         out of memory case.
43817
43818 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43819
43820         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43821         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43822         pass it down.
43823         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43824         elf_machine_rela, elf_machine_lazy_rel.
43825         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43826         (ELF_DYNAMIC_DO_REL): Likewise.
43827         (ELF_DYNAMIC_DO_RELA): Likewise.
43828         (ELF_DYNAMIC_RELOCATE): Likewise.
43829         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43830         to ELF_DYNAMIC_DO_REL.
43831         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43832         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43833         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43834         elf_machine_rela.
43835         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43836         skip_ifunc, don't call ifunc function if non-zero.
43837         (elf_machine_rela): Likewise.
43838         (elf_machine_lazy_rel): Likewise.
43839         (elf_machine_lazy_rela): Likewise.
43840         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43841         (elf_machine_lazy_rel): Likewise.
43842         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43843         Likewise.
43844         (elf_machine_lazy_rel): Likewise.
43845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43846         Likewise.
43847         (elf_machine_lazy_rel): Likewise.
43848         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43849         (elf_machine_lazy_rel): Likewise.
43850         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43851         (elf_machine_lazy_rel): Likewise.
43852         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43853         (elf_machine_lazy_rel): Likewise.
43854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43855         (elf_machine_lazy_rel): Likewise.
43856         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43857         (elf_machine_lazy_rel): Likewise.
43858         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43859         (elf_machine_lazy_rel): Likewise.
43860
43861 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43862
43863         * nss/nss_files/files-init.c (_nss_files_init): Use static
43864         initialization for all the *_traced_file variables.
43865
43866 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43867
43868         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43869
43870 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43871
43872         [BZ #13226]
43873         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43874
43875 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43876
43877         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43878         Reread the line before reparsing it.
43879
43880 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43881
43882         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43883
43884 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43885             Maxim Kuvyrkov  <maxim@codesourcery.com>
43886             Joseph Myers  <joseph@codesourcery.com>
43887
43888         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43889         if needed for __stack_chk_guard.
43890
43891 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43892
43893         * sysdeps/posix/spawni.c (script_execute): Always define it.
43894         It will be optimized away if unused.
43895         (maybe_script_execute): New function.
43896         (__spawni): Call it.
43897
43898         * Makerules: Don't include tls.make.
43899         (config-tls): Always set to thread.
43900         * tls.make.c: File removed.
43901
43902 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43903
43904         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43905         * config.make.in (CPPFLAGS-config): New substituted variable.
43906
43907 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43908
43909         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43910
43911         [BZ #13192]
43912         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43913         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43914
43915 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43916
43917         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43918         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43919         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43920         (CALL_FAIL): Likewise.
43921         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43922         (CALL_FAIL): Macro removed.
43923         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43924
43925 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43926
43927         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43928         for __FINITE_MATH_ONLY__ == 1.
43929
43930 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43931
43932         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43933         __ieee754_sqrt instead of sqrt.
43934         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43935         __ieee754_sqrtf instead of sqrtf.
43936         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43937         __floorf instead of floorf.
43938         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43939         __floorf, __truncf instead of floorf, truncf.
43940
43941 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43942
43943         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43944
43945         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43946         __extern_always_inline.
43947         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43948         32-bit.
43949
43950 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43951
43952         * elf/rtld.c (dl_main): Also relocate in dependency order when
43953         doing symbol dependency testing.
43954
43955 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43956
43957         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43958         Always define `refsym'.
43959
43960 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43961
43962         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43963         (__FD_ELT): Renamed from __FDELT.
43964         * misc/bits/select2.h (__FD_ELT): Likewise.
43965         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43966         __FD_MASK instead of __FDELT, __FDMASK.
43967         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43968         Likewise.
43969         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43970         Likewise.
43971
43972         * elf/Makefile (gen-ldd): Fix pattern.
43973
43974         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43975         (init_tls): Likewise.
43976
43977 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43978
43979         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43980
43981 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43982
43983         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43984         `struct cmsghdr *' instead of `void *'.
43985         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43986         Likewise.
43987
43988 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43989
43990         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43991         if non-absolute.
43992         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43993         ldd_rewrite_script.
43994
43995 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43996
43997         * configure.in: Remove --with-tls option.
43998         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43999         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44000         out in case it is missing.
44001         * sysdeps/ia64/elf/configure.in: Likewise.
44002         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44003         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44004         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44005         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44006         * sysdeps/sh/elf/configure.in: Likewise.
44007         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44008         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44009         * sysdeps/x86_64/elf/configure.in: Likewise.
44010         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44011         * sysdeps/mach/hurd/tls.h: Likewise.
44012
44013         [BZ #13067]
44014         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44015
44016         [BZ #13090]
44017         * configure.in: Fix use of AC_INIT.
44018
44019         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44020
44021 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44022
44023         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44024         __set_errno.
44025         * malloc/hooks.c: Likewise.
44026
44027         [BZ #11929]
44028         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44029         variables statically.
44030         (narenas): Initialize.
44031         (list_lock): Initialize.
44032         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44033         initializtion of main_arena and list_lock.  Small cleanups.
44034         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44035         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44036         Add initializers to main_arena and mp_.
44037         (malloc_state): Remove pagesize member.  Change all users to use
44038         GLRO(dl_pagesize).
44039
44040         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44041         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44042         is always initialized.
44043
44044         * malloc/malloc.c: Removed unused configurations and dead code.
44045         * malloc/arena.c: Likewise.
44046         * malloc/hooks.c: Likewise.
44047         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44048
44049         * include/tls.h: Removed.  USE___THREAD must always be defined.
44050         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44051         * elf/dl-libc.c: Likewise.
44052         * elf/dl-tsd.c: Likewise.
44053         * include/errno.h: Likewise.
44054         * include/netdb.h: Likewise.
44055         * include/resolv.h: Likewise.
44056         * inet/herrno-loc.c: Likewise.
44057         * inet/herrno.c: Likewise.
44058         * malloc/arena.c: Likewise.
44059         * malloc/hooks.c: Likewise.
44060         * malloc/malloc.c: Likewise.
44061         * resolv/res-state.c: Likewise.
44062         * resolv/res_libc.c: Likewise.
44063         * sysdeps/i386/dl-machine.h: Likewise.
44064         * sysdeps/ia64/dl-machine.h: Likewise.
44065         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44066         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44067         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44068         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44069         * sysdeps/sh/dl-machine.h: Likewise.
44070         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44071         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44072         * sysdeps/unix/i386/sysdep.S: Likewise.
44073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44074         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44075         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44076         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44077         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44079         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44083         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44084         * sysdeps/x86_64/dl-machine.h: Likewise.
44085         * tls.make.c: Likewise.
44086
44087         * configure.in: Remove --with-__thread option.  Make tests for
44088         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44089         tls_model attribute fail if no support is available.  Remove
44090         USE_IN_LIBIO.
44091         * Makeconfig: Adjust for dropped configure option.  All features are
44092         now mandatory.
44093         * Makerules: Likewise.
44094         * Versions.def: Likewise.
44095         * argp/argp-fmtstream.c: Likewise.
44096         * argp/argp-fmtstream.h: Likewise.
44097         * argp/argp-help.c: Likewise.
44098         * assert/assert.c: Likewise.
44099         * config.h.in: Likewise.
44100         * config.make.in: Likewise.
44101         * configure: Likewise.
44102         * configure.in: Likewise.
44103         * csu/Versions: Likewise.
44104         * csu/init.c: Likewise.
44105         * elf/tst-audit2.c: Likewise.
44106         * elf/tst-tls10.c: Likewise.
44107         * elf/tst-tls10.h: Likewise.
44108         * elf/tst-tls11.c: Likewise.
44109         * elf/tst-tls12.c: Likewise.
44110         * elf/tst-tls14.c: Likewise.
44111         * elf/tst-tlsmod11.c: Likewise.
44112         * elf/tst-tlsmod12.c: Likewise.
44113         * elf/tst-tlsmod13.c: Likewise.
44114         * elf/tst-tlsmod13a.c: Likewise.
44115         * elf/tst-tlsmod14a.c: Likewise.
44116         * elf/tst-tlsmod15b.c: Likewise.
44117         * elf/tst-tlsmod16a.c: Likewise.
44118         * elf/tst-tlsmod16b.c: Likewise.
44119         * elf/tst-tlsmod7.c: Likewise.
44120         * elf/tst-tlsmod8.c: Likewise.
44121         * elf/tst-tlsmod9.c: Likewise.
44122         * gmon/gmon.c: Likewise.
44123         * grp/fgetgrent_r.c: Likewise.
44124         * grp/putgrent.c: Likewise.
44125         * hurd/fopenport.c: Likewise.
44126         * include/libc-symbols.h: Likewise.
44127         * include/tls.h: Likewise.
44128         * intl/gettextP.h: Likewise.
44129         * intl/loadinfo.h: Likewise.
44130         * locale/global-locale.c: Likewise.
44131         * locale/localeinfo.h: Likewise.
44132         * mach/devstream.c: Likewise.
44133         * malloc/arena.c: Likewise.
44134         * malloc/set-freeres.c: Likewise.
44135         * misc/err.c: Likewise.
44136         * misc/getttyent.c: Likewise.
44137         * misc/mntent_r.c: Likewise.
44138         * posix/getopt.c: Likewise.
44139         * posix/wordexp.c: Likewise.
44140         * pwd/fgetpwent_r.c: Likewise.
44141         * resolv/Versions: Likewise.
44142         * resolv/res_hconf.c: Likewise.
44143         * shadow/fgetspent_r.c: Likewise.
44144         * shadow/putspent.c: Likewise.
44145         * stdio-common/printf_fphex.c: Likewise.
44146         * stdio-common/tmpfile.c: Likewise.
44147         * stdlib/abort.c: Likewise.
44148         * stdlib/fmtmsg.c: Likewise.
44149         * sunrpc/auth_unix.c: Likewise.
44150         * sunrpc/clnt_perr.c: Likewise.
44151         * sunrpc/clnt_tcp.c: Likewise.
44152         * sunrpc/clnt_udp.c: Likewise.
44153         * sunrpc/clnt_unix.c: Likewise.
44154         * sunrpc/openchild.c: Likewise.
44155         * sunrpc/svc_simple.c: Likewise.
44156         * sunrpc/svc_tcp.c: Likewise.
44157         * sunrpc/svc_udp.c: Likewise.
44158         * sunrpc/svc_unix.c: Likewise.
44159         * sunrpc/xdr.c: Likewise.
44160         * sunrpc/xdr_array.c: Likewise.
44161         * sunrpc/xdr_rec.c: Likewise.
44162         * sunrpc/xdr_ref.c: Likewise.
44163         * sunrpc/xdr_stdio.c: Likewise.
44164
44165 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44166
44167         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44168
44169 2011-07-03  Andreas Jaeger  <aj@suse.de>
44170
44171         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44172         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44173         regenerate with gen-libm-tests.pl.
44174
44175 2010-05-12  Petr Baudis  <pasky@suse.cz>
44176
44177         [BZ #11589]
44178         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44179         around j0() zero points by switching to j1().
44180         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44183         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44184
44185 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44186
44187         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44188         instead of 0.
44189         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44190         instead of 0.
44191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44192         Patch in part by Pavel Roskin <proski@gnu.org>.
44193
44194         [BZ #13138]
44195         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44196         realloc.
44197         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44198         Free memory block if necessary.
44199
44200         [BZ #12847]
44201         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44202         be NULL.  Don't lock in this case.
44203
44204 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44205
44206         * elf/elf.h (ELFOSABI_GNU): New macro.
44207         (ELFOSABI_LINUX): Define to that.
44208
44209 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44210
44211         * string/strncat.c (strncat): Undef the symbol in case it has been
44212         defined in bits/string.h.
44213
44214 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44215
44216         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44217
44218         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44219         link map.
44220
44221 2011-08-17  Andreas Jaeger  <aj@suse.de>
44222
44223         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44224
44225 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44226             Ian Lance Taylor  <iant@google.com>
44227
44228         * math/libm-test.inc (lround_test): New testcase.
44229         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44230
44231 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44232
44233         * Makefile: Remove support for automatic cvs check-ins.
44234         * Makerules: Likewise.
44235         * config.make.in: Likewise.
44236         * configure.in: Likewise.
44237         * intl/Makefile: Likewise.
44238         * locale/Makefile: Likewise.
44239         * po/Makefile: Likewise.
44240         * posix/Makefile: Likewise.
44241         * sysdeps/gnu/Makefile: Likewise.
44242         * sysdeps/mach/hurd/Makefile: Likewise.
44243         * sysdeps/sparc/sparc32/Makefile: Likewise.
44244
44245         [BZ #13118]
44246         * posix/Makefile (bug-regex32-ENV): Define.
44247         Patch by John Stanley <jpsinthemix@verizon.net>.
44248
44249         * misc/Makefile (headers): Add bits/select2.h.
44250         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44251         * misc/bits/select2.h: New file.
44252         * include/bits/select2.h: New file.
44253         * debug/Makefile (routines): Add fdelt_chk.
44254         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44255         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44256         FD_ISSET.
44257         * debug/fdelt_chk.c: New file.
44258
44259         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44260         * wcsmbs/test-wmemcmp.c: Likewise.
44261         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44262         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44263
44264 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44265
44266         * string/Makefile (strop-tests): Add memcmp.
44267         * string/test-wmemcmp.c: New file.
44268         * string/test-memcmp.c: Add wmemcmp support.
44269
44270 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44271
44272         [BZ #13153]
44273         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44274         2011-07-19 change.
44275
44276         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44277         garbage value in a __mach_port_mod_refs call in the cases of the
44278         task-self and thread-self ports.
44279
44280 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44281
44282         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44283
44284 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44285
44286         * elf/dl-load.c (lose): Check for non-null L.
44287
44288 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44289
44290         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44291
44292         * elf/dl-libc.c (dlerror_run): Pass back error code from
44293         dl_catch_error.
44294
44295         [BZ #13123]
44296         * elf/dl-load.c (lose): Free l_origin if it is valid.
44297
44298         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44299         names.
44300         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44301         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44302         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44303         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44304         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44305         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44306
44307 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44308
44309         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44310         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44311         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44312         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44313         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44314         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44315         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44316         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44317         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44318         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44319
44320 2011-08-15  Alan Modra  <amodra@gmail.com>
44321
44322         [BZ #13092]
44323         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44324         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44325         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44326         ppc_mcount to static-only-routines.
44327         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44328         __mcount_internal.
44329         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44330         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44331
44332 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44333
44334         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44335         for finite and infinity parameters.
44336
44337 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44338
44339         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44340         and add nop instructions for throughput optimization.
44341         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44342
44343 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44344
44345         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44346         aligned copy for power7 with vector-scalar instructions.
44347         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44348
44349 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44350
44351         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44352         AVX check.
44353
44354 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44355
44356         [BZ #13144]
44357         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44358         last change.
44359
44360 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44361
44362         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44363         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44364         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44365         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44366         clock_gettime.
44367
44368 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44369
44370         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44371         Forgot to demangle the pointer.
44372
44373         * sysdeps/i386/sysdep.h: Define atom_text_section.
44374         * sysdeps/x86_64/sysdep.h: Likewise.
44375         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44376         section with atom_text_section.
44377         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44378         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44379         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44380         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44381         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44382
44383         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44384         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44385         already be defined.  Change to take two parameters and don't assign
44386         result to variable.  Adjust all users.
44387         Define INTERNAL_GETTIME if not already defined.
44388         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44389         call.
44390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44391         HAVE_CLOCK_GETTIME_VSYSCALL.
44392         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44393
44394         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44395         gettimeofday vsyscall, just use time.
44396
44397 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44398
44399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44400         <errno.h>.
44401
44402 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44403
44404         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44405         syscall on x86-64.
44406         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44407         syscall.
44408         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44409         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44410         syscall if possible.
44411
44412 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44413
44414         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44415         e_ident.  Don't pass to find_mapsXX.
44416         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44417
44418 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44419
44420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44421         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44422         * sysdeps/x86_64/multiarch/strchr.S: Update.
44423         Check bit_slow_BSF bit.
44424         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44425         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44426         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44427
44428 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44429
44430         [BZ #13134]
44431         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44432         before glibc 2.15.
44433         (tryshell): Define.
44434         (__spawni): Change last parameter to be flag.  Test
44435         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44436         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44437         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44438         * posix/spawni.c: Likewise.
44439         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44440         * posix/spawnp.c: Likewise.  Change normal version to use
44441         SPAWN_XFLAGS_USE_PATH.
44442         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44443         SPAWN_XFLAGS_TRY_SHELL.
44444
44445         [BZ #13150]
44446         * posix/glob.h: Remove gcc 1.x support.
44447
44448         [BZ #13068]
44449         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44450
44451 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44452
44453         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44454         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44455         strrchr-sse2-bsf
44456         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44457         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44458         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44459         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44460         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44461         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44462
44463 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44464
44465         * sysdeps/x86_64/wcscmp.S: New file.
44466
44467         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44468         wcscmp-c wcscmp-sse2
44469         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44470         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44471         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44472         * wcsmbs/wcscmp.c: Allow renaming.
44473
44474 2011-09-05  David S. Miller  <davem@davemloft.net>
44475
44476         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44477         stack slot, rather than the struct return pointer slot.
44478         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44479         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44481         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44482
44483 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44484
44485         * po/ja.po: Update from translation team.
44486
44487         [BZ #13144]
44488         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44489         kernel in 64-bit binaries.
44490
44491 2011-09-01  David S. Miller  <davem@davemloft.net>
44492
44493         * elf/elf.h (HWCAP_SPARC_*): Move to..
44494         * sysdeps/sparc/sysdep.h: this new file and add new values.
44495         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44496         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44497         _DL_HWCAP_COUNT to 24.
44498         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44499         entries.
44500         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44501         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44502         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44503         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44504         instead of magic constants.
44505         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44506
44507 2011-08-31  David S. Miller  <davem@davemloft.net>
44508
44509         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44511         Reimplement to do errno handling inline.
44512         (SYSCALL_ERROR_HANDLER): New macro.
44513         (__SYSCALL_STRING): Do not do errno handling in asm.
44514         (__CLONE_SYSCALL_STRING): Delete.
44515         (__INTERNAL_SYSCALL_STRING): Delete.
44516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44517         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44518         (PSEUDO): Reimplement to do errno handling inline.
44519         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44520         (SYSCALL_ERROR_HANDLER): New macro.
44521         (__SYSCALL_STRING): Do not do errno handling in asm.
44522         (__CLONE_SYSCALL_STRING): Delete.
44523         (__INTERNAL_SYSCALL_STRING): Delete.
44524         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44525         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44526         i386.
44527         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44528         (inline_syscall*): Add 'err' argument.
44529         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44530         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44531         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44532         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44533
44534         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44535         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44536
44537 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44538
44539         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44540
44541 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44542
44543         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44544         directive.
44545
44546 2011-08-24  David S. Miller  <davem@davemloft.net>
44547
44548         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44549
44550 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44551
44552         * elf/Makefile: Add rules to build and run unload8 test.
44553         * elf/unload8.c: New file.
44554         * elf/unload8mod1.c: New file.
44555         * elf/unload8mod1x.c: New file.
44556         * elf/unload8mod2.c: New file.
44557         * elf/unload8mod3.c: New file.
44558
44559         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44560         it wasn't used.
44561
44562 2011-08-23  David S. Miller  <davem@davemloft.net>
44563
44564         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44565         subtract stack bias.
44566         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44567         %sp not %fp in calculations.
44568         (_JMPBUF_UNWINDS_ADJ): Likewise.
44569
44570         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44571         (aio_suspend): Call it to force an exception region around the
44572         AIO_MISC_WAIT() invocation.
44573
44574 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44575
44576         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44577         backslash.
44578
44579 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44580
44581         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44582         protection macro.
44583         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44584         and <dl-machine.h>.
44585         (Elf64_FuncDesc): Remove.
44586
44587 2011-08-22  David S. Miller  <davem@davemloft.net>
44588
44589         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44590         sigaltstack check, add missing cfi directives.
44591         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44592         missing cfi directives, and sigaltstack handling.
44593
44594 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44595
44596         [BZ #11724]
44597         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44598         object is seen twice.
44599         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44600
44601         * elf/Makefile (distribute): Add tst-initorder2.c.
44602         (tests): Add tst-initorder2.
44603         (modules-names): Add tst-initorder2a tst-initorder2b
44604         tst-initorder2c tst-initorder2d.  Add rules to build them.
44605         ($(objpfx)tst-initorder2.out): New rule.
44606         * elf/tst-initorder2.c: New file.
44607         * elf/tst-initorder2.exp: New file.
44608
44609 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44610
44611         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44612
44613         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44614         dependencies back to end of function.
44615
44616         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44617         $(elfobjdir)/ld.so.
44618
44619 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44620
44621         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44622         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44624         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44625         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44626         of __vdso_gettimeofday.
44627         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44628         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44629         attribute_hidden.
44630         (_libc_vdso_platform_setup): Remove initialization of
44631         __vdso_gettimeofday and __vdso_time.
44632
44633 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44634
44635         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44636         and fgetc_unlocked.
44637         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44638         getc_unlocked.
44639
44640         * elf/dl-open.c (add_to_global): Report additions to the global scope
44641         for LD_DEBUG=scopes.
44642         (dl_open_worker): Also print scope of newly loaded dependencies.
44643         (_dl_show_scope): Indicate if there is no scope.
44644
44645         [BZ #13114]
44646         * stdio-common/Makefile (tests): Add bug24.
44647         * stdio-common/bug24.c: New file.
44648
44649 2011-08-19  Andreas Jaeger  <aj@suse.de>
44650
44651         [BZ #13114]
44652         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44653         non-existant file when using close-on-exec mode.
44654
44655 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44656
44657         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44658         the very first instruction.
44659
44660         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44661         the CFI state in the end.
44662         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44663         inclusion of dl-trampoline.h.
44664         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44665
44666 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44667
44668         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44669         expectations for long double.
44670
44671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44672         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44673
44674 2011-08-14  David S. Miller  <davem@davemloft.net>
44675
44676         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44677         artificual limit depends upon the system page size.
44678
44679 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44680
44681         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44682         * resolv/Makefile: Define CFLAGS-libresolv.
44683
44684 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44685
44686         * nss/makedb.c (compute_tables): Make variables used in nested
44687         function static.
44688
44689 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44690
44691         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44692         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44693         if buffer was too small.
44694
44695         * elf/pldd.c (main): Attach to all threads in the process.
44696         Rewrite /proc handling to use *at functions.
44697
44698 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44699
44700         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44701         specifies first scope to show.
44702         (dl_open_worker): Update callers.  Move printing scope of new
44703         object to before the relocation.
44704         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44705         * sysdeps/generic/ldsodefs.h: Update declaration.
44706
44707         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44708         string for the scope number.
44709
44710 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44711
44712         * nscd/servicescache.c (cache_addserv): Make sure written is always
44713         initialized.
44714
44715 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44716
44717         * sysdeps/i386/i486/bits/atomic.h
44718         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44719         statement expression, so as to suppress "set but not used" warning.
44720         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44721
44722         * string/strncat.c (STRNCAT): Use prototype definition.
44723
44724         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44725         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44726         -Iprograms here.
44727         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44728         (localedef-modules): Add localedef.
44729         (locale-modules): Add locale.
44730
44731         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44732         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44733         to avoid a warning.
44734
44735 2011-08-14  David S. Miller  <davem@davemloft.net>
44736
44737         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44738         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44739
44740 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44741
44742         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44743         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44744         * elf/rtld.c (dl_main): Set l_name of vDSO.
44745         Call _dl_show_scope when DL_DEBUG_SCOPES.
44746         (process_dl_debug): Recognize scopes flag and also set it for all.
44747         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44748         Declare _dl_show_scope.
44749
44750         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44751         (do_dlopen): Pass caller_dlopen to dl_open.
44752         (__libc_dlopen_mode): Initialize caller_dlopen.
44753
44754         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44755         of libc.  Make tolower call locale-independent.  Optimize a bit by
44756         using isdigit instead of isalnum.
44757         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44758
44759 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44760
44761         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44762         was a dependency or dynamically loaded.
44763
44764 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44765
44766         * intl/l10nflist.c: Allow architecture-specific pop function.
44767         * sysdeps/x86_64/l10nflist.c: New file.
44768
44769         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44770         classification.
44771
44772 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44773
44774         * include/dirent.h: Add libc_hidden_proto for scandirat and
44775         scandirat64.  Don't declare __scandirat64.
44776         * dirent/scandirat.c: Add libc_hidden_def.
44777         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44778         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44779
44780 2011-08-10  David S. Miller  <davem@davemloft.net>
44781
44782         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44783         enum.
44784         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44785         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44786         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44787
44788 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44789
44790         * Versions.def [libc]: Add GLIBC_2.15.
44791         * dirent/Makefile (routines): Add scandirat and scandirat64.
44792         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44793         GLIBC_2.15.
44794         * dirent/dirent.h: Declare scandirat and scandirat64.
44795         * dirent/scandirat.c: New file.
44796         * dirent/scandirat64.c: New file.
44797         * sysdeps/wordsize-64/scandirat.c: New file.
44798         * sysdeps/wordsize-64/scandirat64.c: New file.
44799         * dirent/opendir.c: Define opendirat.
44800         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44801         using scandirat.
44802         * dirent/scandir64.c: Adjust for scandir.c change.
44803         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44804         __scandirat64, and __scandir_cancel_handler.
44805         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44806         additional parameter and use openat instead of open (outside of ld.so).
44807         Add new __opendir as wrapper around __opendirat.
44808         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44809         here without requiring old scandirat implementation.
44810
44811 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44812
44813         * dirent/scandir.c (cancel_handler): Renamed to
44814         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44815         defined.  Adjust users.
44816         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44817         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44818
44819 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44820
44821         * string/test-string.h (IMPL): Use __STRING to expand name and then
44822         stringify it.
44823
44824         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44825         of cleanups.
44826
44827 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44828
44829         * string/Makefile: Update.
44830         (strop-tests): Append strncat.
44831         * string/test-wcscmp.c: New file.
44832         New comprehensive test for wcscmp.
44833         * string/test-strcmp.c: Update.
44834         (WIDE): New define.
44835
44836 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44837
44838         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44839         line.
44840
44841 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44842
44843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44844         encoding to ACE if AI_IDN.
44845
44846 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44847
44848         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44849         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44850
44851 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44852
44853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44854         Fix overflow bug in strncat.
44855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44856
44857         * string/test-strncat.c: Update.
44858         Add new tests for checking overflow bugs.
44859
44860 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44861
44862         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44863         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44864         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44865         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44866         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44867         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44868         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44869         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44870         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44871
44872         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44873         (USE_AS_STRCAT): Define.
44874         Add strcat and strncat support.
44875         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44876
44877 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44878
44879         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44880         __n bigger than INT_MAX+1.
44881         (__strncmp_g): Likewise.
44882
44883 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44884
44885         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44886         * libio/stido.h: Likewise.
44887
44888         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44889         (AF_NFC): Define.
44890         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44891         (AF_NFC): Define.
44892
44893         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44894         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44895         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44896         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44897         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44898
44899         [BZ #13021]
44900         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44901         installed.
44902
44903         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44904         typo.
44905         (_dl_x86_64_save_sse): Likewise.
44906
44907 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44908
44909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44910         OSXSAVE.
44911         (_dl_x86_64_save_sse): Likewise.
44912
44913         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44914
44915         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44916
44917 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44918
44919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44920         change.
44921         (_dl_x86_64_save_sse): Use correct AVX check.
44922
44923 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44924
44925         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44926         bug in strncpy/strncat.
44927         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44928
44929 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44930
44931         * string/tester.c (test_strcat): Add tests for different alignments
44932         of source and destination.
44933         (test_strncat): Likewise.
44934
44935 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44936
44937         [BZ #12852]
44938         * posix/glob.c (glob): Check passed in values before using them in
44939         expressions to avoid some overflows.
44940         (glob_in_dir): Likewise.
44941
44942         [BZ #13007]
44943         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44944         check for AVX enablement so that we don't crash with old kernels and
44945         new hardware.
44946         * elf/tst-audit4.c: Add same checks here.
44947         * elf/tst-audit6.c: Likewise.
44948
44949         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44950
44951 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44952
44953         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44954
44955 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44956
44957         * po/cs.po: Update from translation team.
44958         * po/bg.po: Likewise.
44959
44960 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44961
44962         * misc/sys/cdefs.h: Add support for const attribute.
44963         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44964         to gnu_dev_{major,minor,makedev} functions.
44965
44966 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44967
44968         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44969
44970 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44971
44972         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44973         strlen results.
44974
44975 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44976
44977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44978         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44979         register in order to avoid conflicts with the soft frame pointer
44980         being held in r11 when necessary.
44981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44982         (INTERNAL_VSYSCALL_NCS): Likewise.
44983
44984 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44985
44986         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44987         * elf/dl-fini.c (_dl_fini): Adjust caller.
44988         * elf/dl-close.c (_dl_close_worker): Likewise.
44989         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44990
44991 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44992
44993         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44994         "aux_cache->nlibs < 0".
44995
44996         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44997         in the reload-count case.
44998
44999 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45000
45001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45002         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45003         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45004         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45005         * sysdeps/x86_64/multiarch/strcat.S: New file.
45006         * sysdeps/x86_64/multiarch/strncat.S: New file.
45007         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45008         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45009         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45010         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45012         (USE_AS_STRCAT): Define.
45013         Add strcat and strncat support.
45014         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45015         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45016         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45017         * string/strncat.c: Update.
45018         (USE_AS_STRNCAT): Define.
45019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45020         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45021         and i7.
45022         * sysdeps/x86_64/multiarch/init-arch.h
45023         (bit_Prefer_PMINUB_for_stringop): New.
45024         (index_Prefer_PMINUB_for_stringop): Likewise.
45025         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45026         bit_Prefer_PMINUB_for_stringop.
45027
45028 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45029
45030         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45031         buffer64.
45032         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45033         of casting of buffer.
45034         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45035         buffer32 and buffer64.
45036         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45037         writes instead of casting of buffer.
45038         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45039         buffer32.
45040         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45041         casting of buffer.
45042
45043 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45044
45045         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45046
45047 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45048
45049         * nscd/nscd.c (termination_handler): Don't do anything for a database
45050         if it has not yet been initialized.
45051
45052 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45053
45054         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45055
45056 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45057
45058         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45059
45060 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45061
45062         * po/nl.po: Update from translation team.
45063         * po/sv.po: Likewise.
45064
45065 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45066
45067         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45068         now disallowed by GCC.
45069
45070         * configure.in (use-default-link): Default to yes if a test -shared
45071         link meets our qualifications.
45072         * configure: Regenerated.
45073
45074         * config.make.in (output-format): New variable.
45075         * configure.in: Check for ld --print-output-format support.
45076         * configure: Regenerated.
45077         * Makerules ($(common-objpfx)format.lds)
45078         [$(output-format) != unknown]: Just use $(output-format),
45079         instead of the linker-script munging.
45080
45081 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45082
45083         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45084         of $(common-objpfx)shlib.lds.
45085         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45086
45087         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45088         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45089
45090         * configure.in (-z relro check): Adjust test code to add a large
45091         writable data section after it.
45092         * configure: Regenerated.
45093
45094 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45095
45096         * configure.in (-z relro check): Fix test code to make the variable
45097         truly const.
45098         * configure: Regenerated.
45099
45100 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45101
45102         * nscd/nscd.h (struct traced_file): Define.
45103         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45104         elements.  Add traced_files.
45105         (inotify_fd): Declare.
45106         (register_traced_file): Declare.
45107         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45108         (inotify_fd): Export.
45109         (resolv_conf_descr): Remove.
45110         (nscd_init): Move inotify descriptor creation to main.
45111         Don't register files for notification here.
45112         (register_traced_file): New function.
45113         (invalidate_cache): Don't use reset_res to determine whether to call
45114         res_init, go through the list of registered files.
45115         (main_loop_poll): The inotify descriptors are now stored in the
45116         structures for the traced files.
45117         (main_loop_epoll): Likewise
45118         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45119         to __nss_disable_nscd.
45120         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45121         for a database anymore.  Check the records for all the registered
45122         files instead.
45123         * nss/Makefile (libnss_files-routines): Add files-init.
45124         (libnss_db-routines): Add db-init.
45125         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45126         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45127         * nss/nss_db/db-init.c: New file.
45128         * nss/nss_files/files-init.c: New file.
45129         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45130         __nss_lookup_function.
45131         (__nss_lookup_function): Call nss_load_library.
45132         (nss_load_all_libraries): New function.
45133         (__nss_disable_nscd): Take parameter with callback function for files
45134         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45135         used for the cached services.
45136         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45137         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45138         options for features to all the files in nscd.
45139
45140         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45141
45142 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45143
45144         * csu/elf-init.c (__libc_csu_init): Comment typo.
45145
45146 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45147
45148         * po/pl.po: Update from translation team.
45149         * po/ja.po: Likewise.
45150         * po/ru.po: Likewise.
45151         * po/ko.po: Likewise.
45152         * po/fr.po: Likewise.
45153
45154 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45155
45156         * configure.in (.ctors/.dtors header and trailer check):
45157         Use an empirical test on a built program.
45158         * configure: Regenerated.
45159
45160         * configure.in (-z relro check): Use an empirical test on a built DSO.
45161         Detect, but do not require, on ia64.
45162         * configure: Regenerated.
45163
45164         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45165         Update tests that use readelf to use $READELF instead.
45166         * configure: Regenerated.
45167
45168 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45169
45170         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45171         if the result is not used.
45172
45173 2011-07-05  Andreas Jaeger  <aj@suse.de>
45174
45175         [BZ#9696]
45176         * stdlib/tst-strtod.c: Add testcase.
45177
45178 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45179
45180         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45181         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45182         The latter has a higher limit.  Take additional parameter to pass to
45183         the new function.
45184         (__pathconf): Pass file to __statfs_link_max.
45185         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45186         __statfs_link_max.
45187         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45188         __statfs_link_max.
45189
45190         [BZ #12868]
45191         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45192         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45193         Handle Lustre.
45194         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45195         (__statfs_filesize_max): Likewise.
45196         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45197
45198 2011-07-05  Andreas Jaeger  <aj@suse.de>
45199
45200         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45201
45202 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45203
45204         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45205         `status' variable.
45206         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45207         Likewise.
45208
45209 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45210
45211         * Makefile (strop-tests): Add strncat.
45212         * string/test-strncat.c: New file.
45213
45214 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45215
45216         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45217
45218 2011-06-21  Andreas Jaeger  <aj@suse.de>
45219
45220         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45221         Copy rule from iconvdata/Makefile.
45222
45223 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45224
45225         [BZ #12922]
45226         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45227         but no long options are defined, just return 'W'.
45228
45229 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45230
45231         [BZ #9696]
45232         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45233
45234 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45235
45236         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45237         netgroups to read.
45238         (innetgr): Likewise.
45239
45240 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45241
45242         * config.make.in (install_root): Default to $(DESTDIR).
45243
45244 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45245
45246         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45247
45248 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45249
45250         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45251
45252         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45253         containing directory rather than embedding absolute directory names.
45254
45255         * scripts/check-local-headers.sh: Rewritten using awk.
45256         Match by word, not by line.  Print error messages for matches.
45257         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45258
45259         * Makerules [shlib-lds-flags empty]:
45260         ($(common-objpfx)libc_pic.opts): New target.
45261         ($(common-objpfx)libc_pic.os.clean): New target.
45262         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45263
45264         * config.make.in (OBJCOPY): New variable.
45265         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45266         * configure: Regenerated.
45267
45268         * config.make.in (use-default-link): New variable.
45269         * configure.in (use_default_link): Grok --with-default-link to set it.
45270         * configure: Regenerated.
45271         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45272         (shlib-lds, shlib-lds-flags): Define to empty.
45273
45274         * Makerules (shlib-lds): New variable.
45275         (shlib-lds-flags): New variable.
45276         (build-shlib, build-moduile, build-module-asneeded): Use it.
45277         ($(common-objpfx)libc.so): Use $(shlib-lds).
45278         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45279         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45280
45281         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45282         DT_FLAGS/DT_FLAGS_1 with zero flags.
45283
45284         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45285         linker script munging.
45286
45287 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45288
45289         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45290         as 128-bit value.
45291         * crypt/sha512.c (sha512_process_block): Perform total addition using
45292         128-bit if possible.
45293         (__sha512_finish_ctx): Likewise.
45294         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45295         as 64-bit value.
45296         * crypt/sha256.c (SWAP64): Define.
45297         (sha256_process_block): Perform total addition using 64-bit if
45298         possible.
45299         (__sha256_finish_ctx): Likewise.
45300
45301 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45302
45303         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45305         * nscd/hstcache.c (cache_addhst): Likewise.
45306         * nscd/grpcache.c (cache_addgr): Likewise.
45307         * nscd/aicache.c (addhstaiX): Likewise
45308         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45309
45310 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45311
45312         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45314         * nscd/hstcache.c (cache_addhst): Likewise.
45315         * nscd/grpcache.c (cache_addgr): Likewise.
45316         * nscd/aicache.c (addhstaiX): Likewise
45317
45318 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45319
45320         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45321         domain only when needed.
45322
45323 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45324
45325         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45326         is always restored.
45327
45328 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45329
45330         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45331         are re-adding the entry.
45332         * nscd/servicescache.c (cache_addserv): Likewise.
45333
45334 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45335
45336         * sysdeps/generic/dl-irel.h: fix protection against multiple
45337         inclusions.
45338         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45339
45340 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45341
45342         [BZ #12935]
45343         * malloc/memusage.sh: Fix quoting in message.
45344         * debug/xtrace.sh: Likewise.
45345
45346         * configure.in: Remove support for --experimental-malloc option, make
45347         it the default.
45348         * config.make.in: Likewise.
45349         * malloc/Makefile: Likewise.
45350
45351 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45352
45353         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45354         two-byte characters.
45355
45356 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45357
45358         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45359         AC_CACHE_CHECK invocation.
45360         * configure: Regenerated.
45361
45362         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45363
45364 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45365
45366         [BZ #12350]
45367         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45368         bit from old_res_options.
45369
45370         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45371
45372         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45373         value type for setfct.
45374
45375 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45376
45377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45378         __gettimeofday instead of gettimeofday.
45379
45380 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45381
45382         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45383
45384 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45385
45386         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45387
45388         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45389         info.
45390
45391 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45392
45393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45394         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45395         strcpy-sse2-unaligned strncpy-sse2-unaligned
45396         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45397         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45398         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45399         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45400         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45401         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45402         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45403         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45404         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45405         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45406         (STRCPY): Support SSE2 and SSSE3 versions.
45407
45408 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45409
45410         [BZ #12874]
45411         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45412         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45413         kernels which artificially limit size of requests.
45414
45415 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45416
45417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45418         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45419         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45420         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45421         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45422         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45423         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45424         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45425         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45426         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45427         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45428         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45429         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45430         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45431         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45433         Enable unaligned load optimization for Intel Core i3, i5 and i7
45434         processors.
45435         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45436         Define.
45437         (index_Fast_Unaligned_Load): Define.
45438         (HAS_FAST_UNALIGNED_LOAD): Define.
45439
45440 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45441
45442         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45443
45444 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45445
45446         [BZ #12907]
45447         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45448         until it is clear that the information is realy needed.
45449         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45450
45451 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45452
45453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45454
45455 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45456
45457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45458         /sys/devices/system/cpu/online if it is usable.
45459
45460         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45461         reading the information from the /proc filesystem to once a second.
45462
45463 2011-06-21  Andreas Jaeger  <aj@suse.de>
45464
45465         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45466         NULL after inclusion of kernel headers.
45467
45468 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45469
45470         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45471         calls to internal_setent.
45472
45473         [BZ #12885]
45474         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45475         addresses using gethostbyname4_r ignore IPv4 addresses.
45476
45477         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45478         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45479
45480         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45481
45482 2011-06-20  David S. Miller  <davem@davemloft.net>
45483
45484         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45485         inclusions.
45486         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45487
45488         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45489         (elf_irel): Use it.
45490         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45491         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45492         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45493         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45494         * sysdeps/x86_64/dl-irel.h: Likewise.
45495
45496         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45497         * elf/dl-sym.c: Likewise.
45498
45499 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45500
45501         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45502         need to dereference resplen2.
45503
45504 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45505
45506         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45507
45508 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45509
45510         * Makeconfig: Define vardbdir and inst_vardbdir.
45511         * nss/Makefile: Add rules to install db-Makefile.
45512
45513         * nss/nss_db/db-XXX.c: Cleanup.
45514
45515         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45516         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45517         GLIBC_PRIVATE.
45518         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45519         * nss/makedb.c: Implement -g option to specify that value strings
45520         are generated and should not be added to table iterated over for
45521         get*ent calls.
45522         * nss/nss_db/db-initgroups.c: New file.
45523
45524         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45525         interface.
45526
45527         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45528         (internal_getgrouplist): Adjust to name change.
45529         Update use_initgroups_entry if this is not the first call.
45530         * nss/databases.def: Add initgroups entry.
45531
45532         * nss/makedb.c (compute_tables): Check result of multiple hash table
45533         sizes to minimize maximum chain length.
45534
45535 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45536
45537         * Versions.def: Add entry for libnss_db.
45538         * shlib-versions: Likewise.
45539         * nss/Makefile: Add rules to build libnss_db.
45540         * nss/Versions: Add libnss_db information.  Organize libnss_files
45541         entries better.
45542         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45543         makedb progra.  Some minor improvements to generate smaller files.
45544         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45545         here from...
45546         * nss/makedb.c: ...here.
45547         Improve database format to be smaller and require less memory at
45548         runtime.
45549         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45550         db anymore.
45551         * nss/nss_db/db-netgrp.c: Likewise.
45552         * nss/nss_db/db-open.c: Likewise.
45553         * nss/nss_files/flies-XXX.x: Adjust comments.
45554         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45555         * nss/nss_files/files-grp.c: Likewise.
45556         * nss/nss_files/files-hosts.c: Likewise.
45557         * nss/nss_files/files-network.c: Likewise.
45558         * nss/nss_files/files-proto.c: Likewise.
45559         * nss/nss_files/files-pwd.c: Likewise.
45560         * nss/nss_files/files-rpc.c: Likewise.
45561         * nss/nss_files/files-service.c: Likewise.
45562         * nss/nss_files/files-sgrp.c: Likewise.
45563         * nss/nss_files/files-spwd.c: Likewise.
45564         * nss/nss_db/db-alias.c: Removed.
45565         * nss/nss_db/dummy-db.h: Removed.
45566
45567 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45568
45569         * nss/makedb.c: Rewritten to not use database library.
45570         * nss/Makefile: Update to build new makedb program.
45571
45572 2011-06-14  Andreas Jaeger  <aj@suse.de>
45573
45574         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45575         memset declaration.
45576
45577 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45578
45579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45580         tmpbuf.
45581
45582 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45583
45584         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45585         * elf/Makefile ($(objpfx)ld.so): Likewise.
45586
45587         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45588         Don't list ld.so twice in dependencies.
45589
45590         * posix/bug-regex31.c: Include <stdlib.h>.
45591
45592         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45593
45594         * nis/nss_compat/compat-spwd.c
45595         (getspent_next_nss_netgr): Remove unused variable.
45596         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45597
45598         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45599         nonmembers" output to use the right array.
45600
45601         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45602
45603         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45604
45605         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45606         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45607         * catgets/gencat.c (read_input_file): Likewise.
45608         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45609
45610         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45611         variable definition inside #if's controlling its use.
45612
45613         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45614
45615         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45616
45617         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45618
45619         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45620         unreachable code.
45621
45622         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45623
45624         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45625         * configure: Regenerated.
45626
45627         * Makerules: Revert last change.
45628         * elf/Makefile: Likewise.
45629
45630 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45631
45632         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45633         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45634         (reloc-link): Likewise.
45635
45636 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45637
45638         * elf/Makefile: Add rules to build pldd.
45639         * elf/pldd.c: New file.
45640         * elf/pldd-xx.c: New file.
45641
45642 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45643
45644         * version.h: Update for 2.15 development version.
45645
45646 2011-06-07  David S. Miller  <davem@davemloft.net>
45647
45648         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45649         ifuncs.
45650         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45651         elf_machine_lazy_rel): Likewise.
45652         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45653         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45654         elf_machine_lazy_rel): Likewise.
45655         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45656         dl_hwcap via passed in argument.
45657         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45658         Likewise.
45659
45660 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45661
45662         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45663
45664 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45665
45666         [BZ #12849]
45667         * manual/fdl-1.1.texi: New file, verbatim from:
45668         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45669         * manual/lgpl-2.1.texi: New file, verbatim from:
45670         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45671         * manual/Makefile (licenses): New variable, list those new file names.
45672         (texis): Use it.
45673         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45674
45675         * manual/fdl.texi: File removed.
45676         * manual/lesser.texi: File removed.
45677         * manual/libc.texinfo (Copying, Documentation License):
45678         Use new @include file names, put @appendix directive before @include.
45679
45680 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45681
45682         [BZ #12841]
45683         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45684         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45685         (mq_open): Add __NTH.
45686
45687 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45688
45689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45690         Assume Intel Core i3/i5/i7 processor if AVX is available.
45691
45692 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45693
45694         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45695         typo.
45696
45697 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45698
45699         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45700         memory.  Use alloca_account.  Fix memory leak when retrying.
45701
45702 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45703
45704         * version.h (RELEASE): Bump for 2.14 release.
45705         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45706
45707         * config.make.in (RANLIB): Remove entry.
45708
45709 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45710
45711         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45712         (libc.pot): Work around missing support for .ksh extension in xgettext.
45713
45714         [BZ #12684]
45715         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45716         if both request failed.
45717         (send_dg): In case of server errors clear resplen or *resplen2.
45718
45719         [BZ #12454]
45720         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45721         when there are multiple maps.
45722         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45723         (_dl_fini): Remove test here.
45724
45725         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45726
45727 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45728
45729         [BZ #12350]
45730         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45731         bit from old_res_options.
45732         (gaih_inet): Likewise.
45733
45734         [BZ #11099]
45735         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45736         as signed.
45737
45738         * resolv/res_init.c (res_setoptions): Make the code more compact.
45739
45740         [BZ #11558]
45741         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45742         set RES_USEVC.
45743
45744         [BZ #11634]
45745         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45746
45747         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45748
45749         [BZ #11781]
45750         * malloc/malloc.h: Declare malloc hook variables as volatile.
45751
45752         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45753         in last patch.
45754
45755         [BZ #11799]
45756         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45757         raise in the comment.
45758         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45760         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45761
45762 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45763
45764         [BZ #12811]
45765         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45766         grow the buffers more if it already has to be sufficient.
45767         (build_wcs_upper_buffer): Likewise.
45768         * posix/regexec.c (check_matching): Likewise.
45769         (clean_state_log_if_needed): Likewise.
45770         (extend_buffers): Don't enlarge buffers beyond size of the input
45771         buffer.
45772         Patches mostly by Emil Wojak <emil@wojak.eu>.
45773         * posix/bug-regex32.c: New file.
45774         * posix/Makefile (tests): Add bug-regex32.
45775
45776         * locale/findlocale.c (_nl_find_locale): Return right away if
45777         _nl_explode_name failed.
45778         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45779
45780         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45781
45782         * debug/xtrace.sh: Unify messages.
45783         * malloc/memusage.sh: Likewise.
45784
45785         [BZ #12813]
45786         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45787         time symbol from vDSO.  Substitute with vsyscall if not available.
45788         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45789         __vdso_time.
45790
45791         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45792         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45793         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45794         Add sendmmsg and internal_sendmmsg.
45795         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45796         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45797         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45798
45799         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45800         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45801         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45802
45803 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45804
45805         [BZ #12813]
45806         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45807         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45808         available.
45809         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45810         __vdso_getcpu.
45811
45812         [BZ #12814]
45813         * iconvdata/Makefile (tests): Add bug-iconv9.
45814         * iconvdata/bug-iconv9.c: New file.
45815
45816 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45817
45818         [BZ #12814]
45819         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45820
45821 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45822
45823         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45824         (struct user_regs_struct): Change intcs field back to cs.
45825
45826 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45827
45828         * po/ja.po: Update from translation team.
45829
45830 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45831
45832         [BZ #12795]
45833         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45834         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45835
45836 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45837
45838         * stdlib/longlong.h: Update from GCC.
45839
45840 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45841
45842         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45843         parameter name.
45844         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45845         Add parameter name.
45846         (__sysconf): Pass it down.
45847
45848 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45849
45850         [BZ #12671]
45851         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45852         some situations.
45853         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45854         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45855         add in in __libc_use_alloca calls.  Adjust callers.
45856         (glob): Use malloc in some situations.
45857
45858         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45859         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45860         pltexit.
45861
45862 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45863
45864         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45865         and CLOCK_BOOTTIME_ALARM.
45866
45867         [BZ #12782]
45868         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45869         is returned.
45870
45871         * string/_strerror.c (__strerror_r): Print negative errors as signed
45872         numbers.
45873
45874         [BZ #12777]
45875         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45876         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45877         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45878
45879         * configure.in: Fix typo in redirection and correct removal of test
45880         files in two cases.
45881
45882         [BZ #12788]
45883         * locale/setlocale.c (new_composite_name): Fix test to check for
45884         identical name of all categories.
45885
45886         [BZ #12792]
45887         * libio/filedoalloc.c (local_isatty): New function.
45888         (_IO_file_doallocate): Use local_isatty.
45889         * stdio-common/perror.c (perror): In case a new stream is used
45890         forward the stream error.
45891         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45892         error flag.
45893
45894 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45895
45896         [BZ #11869]
45897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45898         alloca.
45899         * include/alloca.h (extend_alloca_account): Define.
45900
45901         [BZ #11857]
45902         * posix/regex.h: Fix comments with documentation of user-accessible
45903         fields after compilation and describe correct free'ing of pattern
45904         after re_compile_pattern.
45905         Patch by Reuben Thomas <rrt@sc3d.org>.
45906
45907 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45908
45909         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45910         and -mno-altivec to prevent the compiler from using Altivec and/or
45911         VSX instructions when the corresponding registers are not available.
45912
45913 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45914
45915         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45916
45917 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45918
45919         * libio/freopen.c (freopen): Use __dup2, not dup2.
45920         * libio/freopen64.c (freopen64): Likewise.
45921
45922 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45923
45924         [BZ #12775]
45925         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45926         * math/Makefile (tests): Add test-powl.
45927         (CFLAGS-test-powl.c): Define.
45928         * math/test-powl.c: New file.
45929
45930 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45931
45932         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45933
45934 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45935
45936         [BZ #11837]
45937         * iconvdata/gb18030.c: Update to GB18020-2005.
45938
45939 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45940
45941         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45942         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45943         Patch by Aharon Robbins <arnold@skeeve.com>.
45944
45945         [BZ #11892]
45946         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45947         on the stack.
45948
45949         [BZ #11895]
45950         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45951         through underflows.
45952
45953         [BZ #12766]
45954         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45955         point to strings before performing equality test for error_one_per_line
45956         mode.
45957
45958         [BZ #11697]
45959         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45960
45961         [BZ #11820]
45962         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45963         (struct user_fpregs_struct): Avoid __uint*_t types.
45964
45965         [BZ #6420]
45966         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45967         symbol info.  Use it instead of calling _dl_addr locally.
45968         (lock_and_info): New function.
45969         (tr_freehook): Call lock_and_info and pass symbol info as additional
45970         parameter to tr_where.
45971         (tr_mallochook): Likewise.
45972         (tr_reallochook): Likewise.
45973         (tr_memalignhook): Likewise.
45974
45975         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45976         used and couldn't be at all thread-safe.
45977
45978 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45979
45980         * libio/freopen.c (freopen): Don't close old file descriptor
45981         before the new one is opened.  Instead dup the new file descriptor
45982         to the old one after the new stream is created.
45983         * libio/freopen64.c (freopen64): Likewise.
45984         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45985         * libio/fileops.c (_IO_new_file_close_it): Handle new
45986         _IO_FLAGS2_NOCLOSE flag.
45987         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45988         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45989         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45990         _IO_FLAGS2_NOCLOSE flag.
45991         * include/unistd.h: Add hidden_proto for dup3.
45992         Define __have_dup3.
45993         * io/dup3.c: Define hidden symbol.
45994         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45995
45996         [BZ #7101]
45997         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45998         when an incomplete long option is used.
45999         * posix/tst-getopt_long1.c: New file.
46000         * posix/Makefile (tests): Add tst-getopt_long1.
46001
46002         [BZ #10138]
46003         * scripts/config.guess: Update from autoconf-2.68.
46004         * scripts/config.sub: Likewise.
46005
46006         [BZ #10157]
46007         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46008         tests into ...
46009         (has_cpuclock): ...this.  New function.
46010         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46011         macro here based on has_cpuclock code.
46012
46013         [BZ #10149]
46014         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46015         First byte (not low byte) is now always NUL.
46016         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46017
46018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46019         Use non-cancelable interfaces.
46020
46021         [BZ #9809]
46022         * locale/iso-639.def: Add entry for Sorani.
46023
46024         [BZ #11901]
46025         * include/stdlib.h: Move include protection to the right place.
46026         Define abort_msg_s.  Declare __abort_msg with it.
46027         * stdlib/abort.c (__abort_msg): Adjust type.
46028         * assert/assert.c (__assert_fail_base): New function.  Majority
46029         of code from __assert_fail.  Allocate memory for __abort_msg with
46030         mmap.
46031         (__assert_fail): Now call __assert_fail_base.
46032         * assert/assert-perr.c: Remove bulk of implementation.  Use
46033         __assert_fail_base.
46034         * include/assert.hL Declare __assert_fail_base.
46035         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46036         mmap.
46037         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46038
46039 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46040
46041         [BZ #11952]
46042         [BZ #12453]
46043         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46044         until all modules are registered in the DTV.
46045         * elf/Makefile: Add rules to build and run tst-tls19.
46046         * elf/tst-tls19.c: New file.
46047         * elf/tst-tls19mod1.c: New file.
46048         * elf/tst-tls19mod2.c: New file.
46049         * elf/tst-tls19mod3.c: New file.
46050         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46051
46052         [BZ #12083]
46053         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46054         correctly.
46055
46056         [BZ #12601]
46057         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46058         two-byte sequence errors.
46059         * iconvdata/Makefile (tests): Add bug-iconv8.
46060         * iconvdata/bug-iconv8.c: New file.
46061
46062         [BZ #12626]
46063         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46064         buf2 definition.
46065
46066         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46067
46068         [BZ #12432]
46069         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46070         (dummy_getcfa): New function.
46071         (init): Get _Unwind_GetCFA address, use dummy if not found.
46072         (backtrace_helper): In recursion check, also check whether CFA changes.
46073         (__backtrace): Completely initialize arg.
46074
46075         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46076         storing incomplete byte sequence in state object.  Avoid testing for
46077         guaranteed too small input if we know there is enough data available.
46078
46079 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46080
46081         * Makeconfig (+link-pie): Indent.
46082         * Rules (binaries-pie): Define if $(have-fpie) and
46083         $(build-shared).
46084         (binaries-shared): Also filter out $(binaries-pie).
46085         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46086         * nscd/Makefile (others-pie): Add nscd.
46087         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46088         ($(objpfx)nscd): Remove command override.
46089         * login/Makefile (others-pie): Add pt_chown.
46090         ($(objpfx)pt_chown): Remove command override.
46091         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46092         remove command overrides.
46093
46094 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46095
46096         * libio/tst_putwc.c: Fix error messages.
46097
46098         [BZ #12724]
46099         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46100         currently writing and seek to current position when not.
46101         * libio/Makefile (tests): Add bug-fclose1.
46102         * libio/bug-fclose1.c: New file.
46103
46104 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46105
46106         [BZ #12511]
46107         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46108         don't set DF_1_NODELETE here.
46109         (do_lookup_x): When entering new entry test for copy relocation
46110         and if necessary set DF_1_NODELETE flag.
46111         * elf/tst-unique4.cc: New file.
46112         * elf/tst-unique4.h: New file.
46113         * elf/tst-unique4lib.cc: New file.
46114         * elf/Makefile: Add rules to build and run tst-unique4.
46115         Patch by Piotr Bury <pbury@goahead.com>.
46116
46117 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46118
46119         [BZ #12052]
46120         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46121
46122         [BZ #12625]
46123         * misc/mntent_r.c (addmntent): Flush the stream after the output
46124
46125         [BZ #12393]
46126         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46127         (is_trusted_path_normalize): Skip initial colon.  Append slash
46128         to empty buffer.  Duplicate is_trusted_path code but allow
46129         constructed patch to be prefix.
46130         (is_dst): Allow $ORIGIN followed by /.
46131         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46132         Correct testing of result of is_trusted_path_normalize
46133         (decompose_rpath): Fix warning.
46134
46135 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46136
46137         [BZ #11257]
46138         * grp/initgroups.c (internal_getgrouplist): When we found the service
46139         list through the initgroups entry in nsswitch.conf do not always
46140         continue on a successful lookup.  Don't always use the
46141         __nss_group_database value if it is set.
46142         * nss/nsswitch.conf (initgroups): Change action for successful db
46143         lookup to continue for compatibility.
46144
46145 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46146
46147         [BZ #11532]
46148         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46149         and CP774 modules.
46150         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46151         and CP774 modules.
46152         * iconvdata/tst-tables.sh: Likewise.
46153         * iconvdata/cp770.c: New file.
46154         * iconvdata/cp771.c: New file.
46155         * iconvdata/cp772.c: New file.
46156         * iconvdata/cp773.c: New file.
46157         * iconvdata/cp774.c: New file.
46158         * iconvdata/testdata/CP770: New file.
46159         * iconvdata/testdata/CP770..UTF8: New file.
46160         * iconvdata/testdata/CP771: New file.
46161         * iconvdata/testdata/CP771..UTF8: New file.
46162         * iconvdata/testdata/CP772: New file.
46163         * iconvdata/testdata/CP772..UTF8: New file.
46164         * iconvdata/testdata/CP773: New file.
46165         * iconvdata/testdata/CP773..UTF8: New file.
46166         * iconvdata/testdata/CP774: New file.
46167         * iconvdata/testdata/CP774..UTF8: New file.
46168
46169         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46170         END CHARMAP line.
46171         * iconvdata/gen-8bit-gap.sh: Likewise.
46172         * iconvdata/gen-8bit.sh: Likewise.
46173
46174         * locale/iso-639.def: Add ary entry.
46175
46176         [BZ #11258]
46177         * locale/C-translit.h.in: Add U20A1 transliteration.
46178
46179         [BZ #12178]
46180         * locale/iso-639.def: Add wae entry.
46181         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46182
46183         [BZ #12545]
46184         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46185         for n.
46186
46187         [BZ #12711]
46188         * locale/C-translit.h.in: Add entry for U20B9.
46189         Patch by pravin.d.s@gmail.com.
46190
46191 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46192
46193         [BZ #12713]
46194         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46195         ENAMETOOLONG use generic getcwd.
46196         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46197         in rtld.  Use *stat64.
46198         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46199         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46200         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46201         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46202         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46203         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46204         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46205         __fstatat64 macros.
46206         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46207         * dirent/rewinddir.c: Add libc_hidden_def.
46208         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46209         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46210
46211         * include/dirent.h (__alloc_dir): Add flags parameter.
46212         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46213         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46214         __alloc_dir.
46215         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46216         from fdopendir if O_CLOEXEC is already set.
46217
46218 2011-03-15  Alan Modra  <amodra@gmail.com>
46219
46220         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46221         l_tls_firstbyte_offset non-zero.  Save padding offset in
46222         l_tls_firstbyte_offset for later use.
46223         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46224         freeing static tls block.
46225
46226 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46227
46228         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46229         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46230         being defined by the kernel headers.
46231
46232 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46233
46234         [BZ #12734]
46235         * resolv/resolv.h: Define RES_NOTLDQUERY.
46236         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46237         no-tld-query and set RES_NOTLDQUERY.
46238         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46239         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46240         modern BIND to search name as TLD unless forbidden.
46241
46242 2011-05-07  Petr Baudis  <pasky@suse.cz>
46243             Ulrich Drepper  <drepper@gmail.com>
46244
46245         [BZ #12393]
46246         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46247         (is_trusted_path): ...to here.
46248         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46249         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46250         using is_trusted_path_normalize() in setuid scripts.
46251
46252 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46253
46254         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46255         __BEGIN/__END_DECLS.
46256
46257 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46258
46259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46260         NSS_STATUS_NOTFOUND if no record was found.
46261
46262 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46263
46264         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46265         (headers-not-in-tirpc): Remove rpc/netdb.h
46266         * resolv/netdb.h: Revert last change.
46267
46268 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46269
46270         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46271         circular dependency between libgcc.a and libc.a.
46272
46273 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46274
46275         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46276         * nis/Makefile: Don't install rpcsvc/*.
46277         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46278         instead of <rpc/types.h>.
46279         (MAXHOSTNAMELEN): Define.
46280
46281 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46282
46283         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46284
46285 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46286
46287         [BZ #12714]
46288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46289         gethostbyname4_r when IPv6 results are possible.
46290
46291 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46292
46293         [BZ #12723]
46294         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46295         _PC_PIPE_BUF handling.
46296
46297 2011-04-30  Bruno Haible  <bruno@clisp.org>
46298
46299         [BZ #12717]
46300         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46301         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46302         to 'int'.
46303         * inet/getnameinfo.c (getnameinfo): Likewise.
46304
46305 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46306
46307         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46308         to groups setting in database lookup.
46309         * nss/nsswitch.conf: Add initgroups entry.
46310
46311 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46312
46313         [BZ #12685]
46314         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46315         mode string.
46316         Patch by Eric Blake <eblake@redhat.com>.
46317
46318 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46319
46320         * sunrpc/Makefile (need-export-routines): Add svc_run.
46321         (routines): Remove svc_run.
46322         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46323         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46324         * sunrpc/svc_run.c (svc_run): Likewise.
46325         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46326
46327 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46328
46329         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46330         problem in reallocation in last patch.
46331
46332 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46333
46334         * sunrpc/Makefile: Move inclusion of Rules.
46335
46336 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46337
46338         * nss/nss_files/files-initgroups.c: New file.
46339         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46340         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46341         _nss_files_initgroups_dyn.
46342
46343 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46344
46345         * elf/elf.h (R_ARM_IRELATIVE): Define.
46346
46347 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46348
46349         * po/ru.po: Update from translation team.
46350
46351 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46352
46353         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46354         dependencies.
46355
46356 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46357
46358         [BZ #12653]
46359         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46360         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46361         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46362         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46363         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46364
46365 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46366
46367         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46368         differing bytes.
46369         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46370         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46371         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46372
46373 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46374
46375         [BZ #12420]
46376         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46377         storing it.
46378         * stdlib/bug-getcontext.c: New file.
46379         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46380
46381 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46382
46383         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46384         instructions into .machine "z9-109".
46385         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46386         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46387
46388 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46389
46390         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46391         between environment variables and auxiliary vector.
46392
46393 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46394
46395         * Makefile: Add rules to build linkobj/libc.so.
46396         * include/libc-symbols.h: Define libc_hidden_nolink.
46397         * include/rpc/auth.h: Mark functions which are to be hidden.
46398         * include/rpc/auth_des.h: Likewise.
46399         * include/rpc/auth_unix.h: Likewise.
46400         * include/rpc/clnt.h: Likewise.
46401         * include/rpc/des_crypt.h: Likewise.
46402         * include/rpc/key_prot.h: Likewise.
46403         * include/rpc/pmap_clnt.h: Likewise.
46404         * include/rpc/pmap_prot.h: Likewise.
46405         * include/rpc/pmap_rmt.h: Likewise.
46406         * include/rpc/rpc_msg.h: Likewise.
46407         * include/rpc/svc.h: Likewise.
46408         * include/rpc/svc_auth.h: Likewise.
46409         * include/rpc/xdr.h: Likewise.
46410         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46411         * nss/Makefile: Likewise.
46412         * sunrpc/Makefile: Don't install headers.  Build library with normal
46413         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46414         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46415         for the compat linking library.  Remove use of INTDEF/INTUSE.
46416         * sunrpc/auth_none.c: Likewise.
46417         * sunrpc/auth_unix.c: Likewise.
46418         * sunrpc/authdes_prot.c: Likewise.
46419         * sunrpc/authuxprot.c: Likewise.
46420         * sunrpc/clnt_gen.c: Likewise.
46421         * sunrpc/clnt_perr.c: Likewise.
46422         * sunrpc/clnt_raw.c: Likewise.
46423         * sunrpc/clnt_simp.c: Likewise.
46424         * sunrpc/clnt_tcp.c: Likewise.
46425         * sunrpc/clnt_udp.c: Likewise.
46426         * sunrpc/clnt_unix.c: Likewise.
46427         * sunrpc/des_crypt.c: Likewise.
46428         * sunrpc/des_soft.c: Likewise.
46429         * sunrpc/get_myaddr.c: Likewise.
46430         * sunrpc/key_call.c: Likewise.
46431         * sunrpc/key_prot.c: Likewise.
46432         * sunrpc/netname.c: Likewise.
46433         * sunrpc/pm_getmaps.c: Likewise.
46434         * sunrpc/pm_getport.c: Likewise.
46435         * sunrpc/pmap_clnt.c: Likewise.
46436         * sunrpc/pmap_prot.c: Likewise.
46437         * sunrpc/pmap_prot2.c: Likewise.
46438         * sunrpc/pmap_rmt.c: Likewise.
46439         * sunrpc/publickey.c: Likewise.
46440         * sunrpc/rpc_cmsg.c: Likewise.
46441         * sunrpc/rpc_common.c: Likewise.
46442         * sunrpc/rpc_dtable.c: Likewise.
46443         * sunrpc/rpc_prot.c: Likewise.
46444         * sunrpc/rpc_thread.c: Likewise.
46445         * sunrpc/rtime.c: Likewise.
46446         * sunrpc/svc.c: Likewise.
46447         * sunrpc/svc_auth.c: Likewise.
46448         * sunrpc/svc_authux.c: Likewise.
46449         * sunrpc/svc_raw.c: Likewise.
46450         * sunrpc/svc_run.c: Likewise.
46451         * sunrpc/svc_simple.c: Likewise.
46452         * sunrpc/svc_tcp.c: Likewise.
46453         * sunrpc/svc_udp.c: Likewise.
46454         * sunrpc/svc_unix.c: Likewise.
46455         * sunrpc/svcauth_des.c: Likewise.
46456         * sunrpc/xcrypt.c: Likewise.
46457         * sunrpc/xdr.c: Likewise.
46458         * sunrpc/xdr_array.c: Likewise.
46459         * sunrpc/xdr_float.c: Likewise.
46460         * sunrpc/xdr_intXX_t.c: Likewise.
46461         * sunrpc/xdr_mem.c: Likewise.
46462         * sunrpc/xdr_rec.c: Likewise.
46463         * sunrpc/xdr_ref.c: Likewise.
46464         * sunrpc/xdr_sizeof.c: Likewise.
46465         * sunrpc/xdr_stdio.c: Likewise.
46466
46467 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46468
46469         [BZ #12650]
46470         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46471         * sysdeps/ia64/dl-tls.h: Likewise.
46472         * sysdeps/powerpc/dl-tls.h: Likewise.
46473         * sysdeps/s390/dl-tls.h: Likewise.
46474         * sysdeps/sh/dl-tls.h: Likewise.
46475         * sysdeps/sparc/dl-tls.h: Likewise.
46476         * sysdeps/x86_64/dl-tls.h: Likewise.
46477         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46478
46479 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46480
46481         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46482         rpath element also skip the following colon.
46483         (expand_dynamic_string_token): Add is_path parameter and pass
46484         down to DL_DST_REQUIRED and _dl_dst_substitute.
46485         (decompose_rpath): Call expand_dynamic_string_token with
46486         non-zero is_path.  Ignore empty rpaths.
46487         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46488         with zero is_path.
46489
46490 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46491
46492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46493         Make cancelable.
46494
46495 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46496
46497         [BZ #12655]
46498         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46499         Patch by Filipe David Manana <fdmanana@apache.org>.
46500
46501 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46502
46503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46504         Maintain aligned stack.
46505         (CHECK_RSP): Remove unused macro.
46506
46507 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46508
46509         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46510         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46511
46512 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46513
46514         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46515
46516         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46517
46518 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46519
46520         [BZ #12518]
46521         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46522         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46523         * sysdeps/x86_64/memmove.c: New file.
46524         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46525         (memcpy): Renamed to ...
46526         (__new_memcpy): This.
46527         (memcpy): Provide GLIBC_2_14 memcpy.
46528         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46529         (memcpy): Provide GLIBC_2_2_5 memcpy.
46530
46531 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46532
46533         [BZ #12631]
46534         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46535
46536 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46537
46538         * misc/syncfs.c: New file.
46539         * misc/Makefile (routines): Add syncfs.
46540         * posix/unistd.h: Declare syncfs.
46541         * sysdeps/unix/syscalls.list: Add syncfs.
46542
46543 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46544
46545         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46546         open_by_handle_at.
46547         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46548         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46549         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46550         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46552         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46554
46555 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46556
46557         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46558         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46559         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46560         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46561         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46562         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46563         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46564
46565         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46566         sync_file_range.c with -fexceptions.
46567         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46568         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46569         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46570         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46571         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46572         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46573         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46574         sync_file_range as cancellation point
46575         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46576         now a wrapper around __call_sync_file_range with cancellation handling.
46577         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46578         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46579         function name to __call_sync_file_range.
46580         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46581         Add call_sync_file_range.
46582
46583 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46584
46585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46586         bits/timex.h.
46587
46588 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46589
46590         * iconv/iconv.h: Fix typo in comment.
46591         * io/fcntl.h: Likewise.
46592         * libio/stdio.h: Likewise.
46593         * posix/spawn.h: Likewise.
46594         * posix/unistd.h: Likewise.
46595         * stdlib/stdlib.h: Likewise.
46596         * time/time.h: Likewise.
46597         * wcsmbs/wchar.h: Likewise.
46598
46599         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46600         open_by_handle): Add.
46601         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46602         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46603         Augment a few comments.
46604         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46609         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46610         open_by_handle.
46611
46612         * io/fcntl.h (AT_EMPTY_PATH): Define.
46613
46614 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46615
46616         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46617         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46618         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46619         to...
46620         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46621         * Versions.def: Add GLIBC_2.14.
46622         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46623         Export.
46624
46625 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46626
46627         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46628         round counter.
46629         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46630
46631 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46632
46633         [BZ #12597]
46634         * string/test-strncmp.c (do_page_test): New function.
46635         (check2): Likewise.
46636         (test_main): Call check2.
46637         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46638
46639 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46640
46641         [BZ #12587]
46642         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46643         Handle cache information in CPU leaf 4.
46644         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46645
46646 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46647
46648         [BZ #12583]
46649         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46650         character representation.
46651         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46652
46653 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46654
46655         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46656         END(__isnan) to END(__isnanf) to match function entry point/label
46657         EALIGN(__isnanf,...).
46658
46659 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46660
46661         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46662
46663 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46664
46665         [BZ #12510]
46666         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46667         copy from the symbol referenced in the relocation to initialize the
46668         used variable.
46669         Patch by Piotr Bury <pbury@goahead.com>.
46670         * elf/Makefile: Add rules to build and tst-unique3.
46671         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46672         * elf/tst-unique3.cc: New file.
46673         * elf/tst-unique3.h: New file.
46674         * elf/tst-unique3lib.cc: New file.
46675         * elf/tst-unique3lib2.cc: New file.
46676
46677         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46678
46679 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46680
46681         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46682         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46683         to _start.
46684
46685 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46686
46687         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46688         to-be-loaded object along a path to loader is ld.so.
46689
46690 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46691             Ulrich Drepper  <drepper@gmail.com>
46692
46693         * sysdeps/x86_64/memset.S: After aligning destination, code
46694         branches to different locations depending on the value of
46695         misalignment, when multiarch is enabled. Fix this.
46696
46697 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46698
46699         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46700         Set _x86_64_preferred_memory_instruction for AMD processsors.
46701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46702         Set bit_Prefer_SSE_for_memop for AMD processors.
46703
46704 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46705
46706         * libio/fmemopen.c (fmemopen): Optimize a bit.
46707
46708 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46709
46710         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46711
46712 2011-03-03  Roland McGrath  <roland@redhat.com>
46713
46714         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46715
46716 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46717
46718         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46719         __bzero_ultra1 instead of __memset_ultra1.
46720
46721 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46722             Ulrich Drepper  <drepper@gmail.com>
46723
46724         [BZ #12509]
46725         * include/link.h (struct link_map): Add l_orig_initfini.
46726         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46727         returning unsuccessfully.
46728         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46729         close of a file loaded at startup, restore the original l_initfini
46730         list.
46731         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46732         list, store the pointer.
46733         * elf/Makefile ($(objpfx)noload-mem): New rule.
46734         (noload-ENV): Define.
46735         (tests): Add $(objpfx)noload-mem.
46736         * elf/noload.c: Include <memcheck.h>.
46737         (main): Call mtrace.  Close all opened handles.
46738
46739 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46740
46741         [BZ #12454]
46742         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46743         dependencies are missing.
46744
46745 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46746
46747         Fix __if_freereq crash: Unlike the generic version which uses free,
46748         Hurd needs munmap.
46749         * sysdeps/mach/hurd/ifreq.h: New file.
46750
46751 2011-01-27  Petr Baudis  <pasky@suse.cz>
46752             Ulrich Drepper  <drepper@gmail.com>
46753
46754         [BZ 12445]#
46755         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46756         to extend_alloca().
46757         * stdio-common/bug23.c: New file.
46758         * stdio-common/Makefile (tests): Add bug23.
46759
46760 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46761             Ulrich Drepper  <drepper@gmail.com>
46762
46763         [BZ #12489]
46764         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46765         before performing relro protection.  At old place add assertion
46766         to make sure nothing changed.
46767
46768 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46769             Glauber de Oliveira Costa  <glommer@gmail.com>
46770
46771         * elf/elf.h: Add new ARM TLS relocs.
46772
46773 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46774
46775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46776         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46777         cast from r3.
46778         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46779         'tests' variable.
46780         * sysdeps/wordsize-64/tst-writev.c: New file.
46781
46782 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46783
46784         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46785         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46786         insns in _dl_start to prevent a TOC reference before relocs are
46787         resolved.
46788
46789 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46790
46791         [BZ #12469]
46792         * Makeconfig: Remove RANLIB definition.
46793         * Makerules: Don't use RANLIB.
46794         * aclocal.m4: Remove ranlib test.
46795         * configure.in: No need to check for ranlib.
46796         * elf/rtld-Rules: Don't use RANLIB.
46797
46798 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46799
46800         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46801         protection macro.
46802         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46803         inclusion protection macro.
46804
46805         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46806         SIGRTMIN and SIGRTMAX and print information in that case only when
46807         SIGRTMIN is defined.
46808
46809 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46810
46811         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46812         arginfo fn returning -1.
46813
46814         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46815         and thousands string is zero terminated.
46816
46817 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46818
46819         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46820         sysdeps/unix/sysv/linux/bits/socket.h.
46821
46822 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46823
46824         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46825         (__CPU_COUNT): Remove old macros.
46826         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46827         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46828         (__CPU_ALLOC, __CPU_FREE): Add macros.
46829         (__sched_cpualloc, __sched_cpufree): Add declarations.
46830
46831 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46832
46833         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46834         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46835         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46836         (readdhstai): Return value of addhstaiX call.
46837         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46838         (addgrbyX): Return value returned by cache_addgr.
46839         (readdgrbyname): Return value returned by addgrbyX.
46840         (readdgrbygid): Likewise.
46841         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46842         (addpwbyX): Return value returned by cache_addpw.
46843         (readdpwbyname): Return value returned by addhstbyX.
46844         (readdpwbyuid): Likewise.
46845         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46846         (addservbyX): Return value returned by cache_addserv.
46847         (readdservbyname): Return value returned by addservbyX:
46848         (readdservbyport): Likewise.
46849         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46850         (addhstbyX): Return value returned by cache_addhst.
46851         (readdhstbyname): Return value returned by addhstbyX.
46852         (readdhstbyaddr): Likewise.
46853         (readdhstbynamev6): Likewise.
46854         (readdhstbyaddrv6): Likewise.
46855         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46856         (readdinitgroups): Return value returned by addinitgroupsX.
46857         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46858         (prune_cache): Keep track of timeout value of re-added entries.
46859         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46860         * nscd/nscd.h: Adjust prototypes of readd* functions.
46861
46862 2011-02-04  Roland McGrath  <roland@redhat.com>
46863
46864         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46865         (nis_stats): Likewise.
46866         * nis/nis_modify.c (nis_modify): Likewise.
46867         * nis/nis_remove.c (nis_remove): Likewise.
46868         * nis/nis_add.c (nis_add): Likewise.
46869
46870         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46871
46872         * posix/fnmatch_loop.c: Add some consts.
46873
46874         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46875
46876 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46877
46878         [BZ #12460]
46879         * config.make.in (config-cflags-novzeroupper): Define.
46880         * configure.in: Substitute libc_cv_cc_novzeroupper.
46881         * elf/Makefile (AVX-CFLAGS): Define.
46882         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46883         (CFLAGS-tst-auditmod4a.c): Likewise.
46884         (CFLAGS-tst-auditmod4b.c): Likewise.
46885         (CFLAGS-tst-auditmod6b.c): Likewise.
46886         (CFLAGS-tst-auditmod6c.c): Likewise.
46887         (CFLAGS-tst-auditmod7b.c): Likewise.
46888         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46889
46890 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46891
46892         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46893         function to the callback.
46894         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46895
46896 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46897
46898         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46899         of errno.
46900
46901 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46902
46903         [BZ #11724]
46904         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46905         of constructors.
46906         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46907         of destructors.
46908         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46909
46910         [BZ #11724]
46911         * elf/Makefile: Add rules to build and run new test.
46912         * elf/tst-initorder.c: New file.
46913         * elf/tst-initorder.exp: New file.
46914         * elf/tst-initordera1.c: New file.
46915         * elf/tst-initordera2.c: New file.
46916         * elf/tst-initordera3.c: New file.
46917         * elf/tst-initordera4.c: New file.
46918         * elf/tst-initorderb1.c: New file.
46919         * elf/tst-initorderb2.c: New file.
46920         * elf/tst-order-a1.c: New file.
46921         * elf/tst-order-a2.c: New file.
46922         * elf/tst-order-a3.c: New file.
46923         * elf/tst-order-a4.c: New file.
46924         * elf/tst-order-b1.c: New file.
46925         * elf/tst-order-b2.c: New file.
46926         * elf/tst-order-main.c: New file.
46927         New test case by George Gensure <werkt0@gmail.com>.
46928
46929 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46930
46931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46932         decoding ACE if AI_CANONIDN.
46933
46934 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46935
46936         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46937
46938 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46939
46940         * version.h (RELEASE): Bump for 2.13 release.
46941         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46942
46943         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46944
46945         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46946         MADV_NOHUGEPAGE.
46947         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46948         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46949         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46950         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46951         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46952         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46953
46954         * posix/getconf.c: Update copyright year.
46955         * catgets/gencat.c: Likewise.
46956         * csu/version.c: Likewise.
46957         * debug/catchsegv.sh: Likewise.
46958         * debug/xtrace.sh: Likewise.
46959         * elf/ldconfig.c: Likewise.
46960         * elf/ldd.bash.in: Likewise.
46961         * elf/sprof.c (print_version): Likewise.
46962         * iconv/iconv_prog.c: Likewise.
46963         * iconv/iconvconfig.c: Likewise.
46964         * locale/programs/locale.c: Likewise.
46965         * locale/programs/localedef.c: Likewise.
46966         * malloc/memusage.sh: Likewise.
46967         * malloc/mtrace.pl: Likewise.
46968         * nscd/nscd.c (print_version): Likewise.
46969         * nss/getent.c: Likewise.
46970
46971         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46972         PF_CAIF, and PF_ALG.
46973         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46974
46975 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46976
46977         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46978         (modules-names): Use them.
46979         (ifunc-test-modules, ifunc-pie-tests): Define.
46980         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46981         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46982         (test-extras): Likewise.
46983         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46984         $(compile-command.c).
46985         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46986         (all-built-dso): Define.
46987         (check-textrel.out, check-execstack.out): Depend on it.
46988
46989         * configure.in: Don't override --enable-multi-arch.
46990
46991 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46992
46993         [BZ #6812]
46994         * nscd/hstcache.c (tryagain): Define.
46995         (cache_addhst): Return tryagain not notfound for temporary errors.
46996         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46997         failed.
46998
46999 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47000
47001         [BZ #10563]
47002         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47003         to make the syscall.
47004         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47005
47006         [BZ #12378]
47007         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47008         and fall back to matching as normal character if the string ends before
47009         the matching ']' is found.  This is what POSIX requires.
47010         * posix/testfnm.c: Adjust test result.
47011         * posix/globtest.sh: Adjust test result.  Add new test.
47012         * posix/tst-fnmatch.input: Likewise.
47013         * posix/tst-fnmatch2.c: Add new test.
47014
47015 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47016
47017         * elf/Makefile (check-execstack): Revert last change.  Depend on
47018         check-execstack.h.
47019         (check-execstack.h): New target.
47020         (generated): Add check-execstack.h.
47021         * elf/check-execstack.c: Include "check-execstack.h".
47022         (main): Revert last change.
47023         (handle_file): Return zero if GNU_STACK is absent and
47024         DEFAULT_STACK_PERMS doesn't include PF_X.
47025
47026 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47027
47028         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47029         in child fails because the descriptor is already closed.
47030         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47031         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47032         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47033
47034         [BZ #12397]
47035         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47036         syscall.
47037
47038         [BZ #10484]
47039         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47040         temporary buffer used to handle multi lookups locally.
47041         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47042
47043 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47044
47045         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47046         loader is ld.so.
47047
47048 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47049
47050         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47051         alignment for SSE2.
47052
47053 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47054
47055         [BZ #12394]
47056         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47057         characters.  When rounding increased number of integer digits recompute
47058         number of groups.
47059         * stdio-common/tst-grouping.c: New file.
47060         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47061
47062 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47063
47064         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47065         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47066
47067         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47068         void.
47069         * bits/select.h: Likewise.
47070
47071 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47072
47073         * po/ja.po: Update from translation team.
47074
47075 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47076
47077         [BZ #11155]
47078         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47079         implementation just like for lxstat, fxstatat, et al.
47080
47081 2010-12-27  Jim Meyering  <meyering@redhat.com>
47082
47083         [BZ #12348]
47084         * posix/regexec.c (build_trtable): Return failure indication upon
47085         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47086
47087 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47088
47089         [BZ #12201]
47090         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47091         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47092         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47093         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47094
47095         [BZ #12207]
47096         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47097
47098         [BZ #12204]
47099         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47100         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47101
47102 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47103
47104         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47105         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47106         script has SORT_BY_INIT_PRIORITY.
47107         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47108         NO_CTORS_DTORS_SECTIONS is defined.
47109         * elf/soinit.c: Likewise.
47110         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47111         NO_CTORS_DTORS_SECTIONS is defined.
47112         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47113         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47114         * sysdeps/sh/init-first.c: Likewise.
47115         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47116
47117 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47118
47119         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47120         always use the slow path.
47121
47122 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47123
47124         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47125         similar rule which adds the sysdep directories to the header search in
47126         order to pick up the correct platform stackinfo.h.
47127         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47128         perform test if it is, otherwise return successfully without testing.
47129         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47130         DEFAULT_STACK_PERMS define in stackinfo.h.
47131         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47132         defined in stackinfo.h.
47133         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47134         DEFAULT_STACK_PERMS defined in stackinfo.h.
47135         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47136         * sysdeps/ia64/stackinfo.h: Likewise.
47137         * sysdeps/s390/stackinfo.h: Likewise.
47138         * sysdeps/sh/stackinfo.h: Likewise.
47139         * sysdeps/sparc/stackinfo.h: Likewise.
47140         * sysdeps/x86_64/stackinfo.h: Likewise.
47141         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47142         PF_X for powerpc64.  Retain PF_X for powerpc32.
47143
47144 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47145
47146         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47147         accurately.
47148         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47149         GETDENTS_64BIT_ALIGNED.
47150
47151 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47152
47153         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47154
47155 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47156
47157         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47158         _GNU_SOURCE.
47159
47160         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47161         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47162         Remove __restrict.
47163         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47164         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47165
47166 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47167
47168         [BZ #11655]
47169         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47170         are initialized.
47171
47172 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47173
47174         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47175
47176 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47177
47178         * po/it.po: Update from translation team.
47179
47180 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47181
47182         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47183         unused codes.
47184
47185 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47186
47187         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47188
47189 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47190
47191         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47192         specially.
47193         (gaih_getanswer_slice): Likewise.
47194
47195 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47196
47197         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47198
47199 2010-05-31  Petr Baudis  <pasky@suse.cz>
47200
47201         [BZ #11149]
47202         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47203         silently even in the chroot mode.
47204
47205 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47206
47207         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47208         last patch a bit.  Pretty printing
47209
47210 2010-05-31  Petr Baudis <pasky@suse.cz>
47211
47212         [BZ #10085]
47213         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47214         initialization of skip_initgroups_dyn.
47215
47216 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47217
47218         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47219         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47220
47221 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47222
47223         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47224
47225 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47226
47227         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47228         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47229         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47230         ($(objpfx)tst-fnmatch-mem): New rule.
47231         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47232         * posix/tst-fnmatch.c (main): Call mtrace.
47233
47234 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47235
47236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47237         Support Intel processor model 6 and model 0x2c.
47238
47239 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47240
47241         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47242           signed comparison.
47243
47244 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47245
47246         [BZ #12205]
47247         * string/test-strncasecmp.c (check_result): New function.
47248         (do_one_test): Use it.
47249         (check1): New function.
47250         (test_main): Use it.
47251         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47252         Support strcasecmp and strncasecmp.
47253
47254 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47255
47256         [BZ #12194]
47257         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47258         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47259
47260 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47261
47262         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47263         IFUNC support.
47264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47265         memset-x86-64.
47266         * sysdeps/x86_64/multiarch/bzero.S: New file.
47267         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47268         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47269         * sysdeps/x86_64/multiarch/memset.S: New file.
47270         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47272         Set bit_Prefer_SSE_for_memop for Intel processors.
47273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47274         Define.
47275         (index_Prefer_SSE_for_memop): Define.
47276         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47277
47278 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47279
47280         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47281         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47282
47283 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47284
47285         [BZ #12191]
47286         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47287         (__x86_64_raw_data_cache_size_half): Likewise.
47288         (__x86_64_raw_shared_cache_size): Likewise.
47289         (__x86_64_raw_shared_cache_size_half): Likewise.
47290
47291         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47292         (__x86_64_raw_data_cache_size_half): Likewise.
47293         (__x86_64_raw_shared_cache_size): Likewise.
47294         (__x86_64_raw_shared_cache_size_half): Likewise.
47295         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47296         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47297         and __x86_64_raw_shared_cache_size_half.  Round
47298         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47299         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47300         to multiple of 256 bytes.
47301
47302 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47303
47304         [BZ #12167]
47305         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47306         of inacessible symlinks.  Verify result of symlink before returning it.
47307         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47308         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47309
47310 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47311
47312         * math/math.h (isinf): Fix typo in comment.
47313
47314 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47315
47316         * po/da.po: Update from translation team.
47317
47318 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47319
47320         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47321         is added to the list.
47322
47323 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47324             Ulrich Drepper  <drepper@gmail.com>
47325
47326         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47327         the global list here.  Move code to...
47328         (_dl_add_to_namespace_list): ...here.  New function.
47329         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47330         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47331         * elf/dl-load.c (lose): Don't remove the element from the list.
47332         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47333         (_dl_map_object): Likewise.
47334
47335 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47336
47337         [BZ #12159]
47338         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47339         into all bytes of SSE register.
47340         Patch by Richard Li <richardpku@gmail.com>.
47341
47342 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47343
47344         [BZ #12140]
47345         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47346         perturbing.
47347
47348 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47349
47350         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47351         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47352         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47353         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47355         submachine.
47356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47357
47358 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47359
47360         * include/dlfcn.h (__RTLD_SECURE): Define.
47361         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47362         mode & __RTLD_SECURE instead.
47363         (open_path): Rename preloaded parameter to secure.
47364         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47365         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47366         * elf/dl-deps.c (openaux): Likewise.
47367         * elf/rtld.c (struct map_args): Remove is_preloaded.
47368         (map_doit): Don't use it.
47369         (dl_main): Likewise.
47370         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47371         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47372
47373 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47374
47375         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47376         (sysd-rules-targets): Remove duplicates.
47377         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47378         rtld-%.$o dependency.
47379
47380 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47381
47382         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47383         _dl_map_object do it.
47384
47385 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47386
47387         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47388         fast fma builtins, define the macros in the C99 standard.
47389         (FP_FAST_FMAF): Likewise.
47390         (FP_FAST_FMAL): Likewise.
47391         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47392
47393         * bits/mathdef.h: Update copyright year.
47394         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47395
47396 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47397
47398         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47399         builtins, define the macros in the C99 standard.
47400         (FP_FAST_FMAF): Likewise.
47401         (FP_FAST_FMAL): Likewise.
47402         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47403         multiply/add.
47404         (FP_FAST_FMAF): Likewise.
47405
47406 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47407
47408         [BZ #3268]
47409         * math/libm-test.inc (fma_test): Some new testcases.
47410         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47411         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47412         y and infinite z.  Do multiplication by C already in long double.
47413         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47415         y and infinite z.  Do bitwise or of inexact bit into u.d.
47416         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47417         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47418         * sysdeps/i386/fpu/s_fma.S: Removed.
47419         * sysdeps/i386/fpu/s_fmal.S: Removed.
47420
47421 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47422
47423         [BZ #3268]
47424         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47426         computation is not scheduled after fetestexcept.  Fix value
47427         of minimum denormal long double.
47428
47429 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47430
47431         [BZ #3268]
47432         * math/libm-test.inc (fma_test): Add some more tests.
47433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47434         correctly.
47435
47436 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47437
47438         * scripts/data/localplt-s390-linux-gnu.data: New file.
47439         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47440
47441 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47442
47443         [BZ #3268]
47444         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47445         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47446         instead of dbl-64.
47447         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47448         inlines.
47449         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47451         if one of x and y is very large and the other is subnormal.
47452         * sysdeps/s390/fpu/s_fmaf.c: New file.
47453         * sysdeps/s390/fpu/s_fma.c: New file.
47454         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47455         * sysdeps/powerpc/fpu/s_fma.S: New file.
47456         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47457         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47458         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47459
47460 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47461
47462         [BZ #3268]
47463         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47464         fma tests.
47465         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47466         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47467         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47468         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47469         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47470         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47471         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47472
47473 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47474
47475         [BZ #12078]
47476         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47477         * posix/bug-regex31.input: Add test case.
47478
47479 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47480
47481         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47482         * posix/bug-regex31.input: New file.
47483
47484         [BZ #12078]
47485         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47486         (parse_sub_exp): Fix last change, use postorder.
47487
47488         * posix/bug-regex31.c: New file.
47489         * posix/Makefile: Add rules to build and run bug-regex31.
47490
47491         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47492
47493         [BZ #12078]
47494         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47495
47496         [BZ #12108]
47497         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47498         to have entries in sys_siglist.
47499
47500         [BZ #12093]
47501         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47502         be NULL.
47503
47504 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47505
47506         [BZ #3268]
47507         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47508         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47509         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47510         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47511         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47512         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47513         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47514         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47515         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47516         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47517         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47518         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47519         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47520         * math/ftestexcept.c (fetestexcept): Likewise.
47521         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47522         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47523         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47524         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47525         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47526         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47527         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47528
47529 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47530
47531         [BZ #12107]
47532         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47533         newline.
47534
47535 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47536
47537         * string/bug-strstr1.c: New file.
47538         * string/Makefile: Add rules to build and run bug-strstr1.
47539
47540 2010-10-05  Eric Blake  <eblake@redhat.com>
47541
47542         [BZ #12092]
47543         * string/str-two-way.h (two_way_long_needle): Always clear memory
47544         when skipping input due to the shift table.
47545
47546 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47547
47548         [BZ #12005]
47549         * malloc/mcheck.c: Handle large requests.
47550
47551         [BZ #12077]
47552         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47553         for strncmp and strncasecmp.
47554         * string/stratcliff.c: Add tests for strcmp and strncmp.
47555         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47556
47557 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47558
47559         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47560         __set_fpscr.
47561
47562 2010-09-30  Andreas Jaeger  <aj@suse.de>
47563
47564         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47565         (CGROUP_SUPER_MAGIC): Define.
47566         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47567         Handle btrfs and cgroup file systems.
47568         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47569         Likewise.
47570
47571 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47572
47573         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47574         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47575
47576 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47577
47578         [BZ #12067]
47579         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47580         trying to locate the ELF header.
47581
47582 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47583
47584         [BZ #11611]
47585         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47586         Mask out sign-bit copies when constructing f_fsid.
47587
47588 2010-09-24  Petr Baudis <pasky@suse.cz>
47589
47590         * debug/stack_chk_fail_local.c: Add missing licence exception.
47591         * debug/warning-nop.c: Likewise.
47592
47593 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47594
47595         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47596         implementing getdents64 using getdents syscall, set d_type if
47597         __ASSUME_GETDENTS32_D_TYPE.
47598
47599 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47600
47601         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47602         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47603
47604 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47605
47606         [BZ #12037]
47607         * posix/unistd.h: Undo change of feature selection for ftruncate from
47608         2010-01-11.
47609
47610 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47611
47612         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47613         detection.
47614
47615 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47616
47617         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47618         fanotify_mark.
47619         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47620
47621 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47622
47623         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47624         variables after CHECK_SP call.
47625         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47626
47627 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47628             Ulrich Drepper  <drepper@redhat.com>
47629
47630         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47631         re-relocationg ld.so.
47632         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47633         _dl_init_paths call.
47634         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47635         here anymore.
47636
47637 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47638
47639         * resolv/res_init.c (__res_vinit): Count the default server we added.
47640
47641 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47642             Ulrich Drepper  <drepper@redhat.com>
47643
47644         [BZ #11968]
47645         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47646         (____longjmp_chk): Use %ebx for saving value across system call.
47647         Add unwind info.
47648
47649 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47650
47651         * manual/Makefile: Don't mix pattern rules with normal rules.
47652
47653 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47654
47655         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47656         operation.
47657         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47658         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47659         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47660         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47661         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47662         Likewise.
47663
47664 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47665
47666         [BZ #11979]
47667         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47668         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47669
47670 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47671
47672         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47673         * sysdeps/x86_64/addmul_1.S: Likewise.
47674         * sysdeps/x86_64/lshift.S: Likewise.
47675         * sysdeps/x86_64/mul_1.S: Likewise.
47676         * sysdeps/x86_64/rshift.S: Likewise.
47677         * sysdeps/x86_64/sub_n.S: Likewise.
47678         * sysdeps/x86_64/submul_1.S: Likewise.
47679
47680 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47681
47682         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47683         Define __sched_param instead of SCHED_* and sched_param when
47684         <bits/sched.h> is included with __need_schedparam defined.
47685         * bits/sched.h [__need_schedparam]
47686         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47687         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47688         (__defined_schedparam): Define to 1.
47689         (__sched_param): New structure, identical to sched_param.
47690         (__need_schedparam): Undefine.
47691
47692 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47693
47694         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47695         (epoll_create1): Declare.
47696
47697         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47698
47699 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47700
47701         [BZ #7066]
47702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47703         shifting retval into place.
47704
47705 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47706
47707         * nis/rpcsvc/nis.h: Update copyright notice.
47708         * nis/rpcsvc/nis.x: Likewise.
47709         * nis/rpcsvc/nis_callback.h: Likewise.
47710         * nis/rpcsvc/nis_callback.x: Likewise.
47711         * nis/rpcsvc/nis_object.x: Likewise.
47712         * nis/rpcsvc/nis_tags.h: Likewise.
47713         * nis/rpcsvc/yp.h: Likewise.
47714         * nis/rpcsvc/yp.x: Likewise.
47715         * nis/rpcsvc/ypupd.h: Likewise.
47716         * nis/yp_xdr.c: Likewise.
47717         * nis/ypupdate_xdr.c: Likewise.
47718
47719         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47720         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47721         (pmap_getport): Use __libc_rpc_getport.
47722         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47723         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47724         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47725
47726 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47727
47728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47729         fanotify_mark.
47730
47731 2010-08-27  Roland McGrath  <roland@redhat.com>
47732
47733         * sysdeps/i386/i686/multiarch/Makefile
47734         (CFLAGS-varshift.c): New variable.
47735
47736 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47737
47738         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47739         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47740
47741         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47742
47743         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47744
47745 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47746
47747         * sysdeps/x86_64/strlen.S: Unroll the loop.
47748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47749         strlen-sse2 strlen-sse2-bsf.
47750         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47751         __strlen_no_bsf if bit_Slow_BSF is set.
47752         (__strlen_sse42): Removed.
47753         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47754         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47755
47756 2010-08-25  Roland McGrath  <roland@redhat.com>
47757
47758         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47759         * sysdeps/x86_64/multiarch/varshift.c: New file.
47760         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47761         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47762         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47763         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47764
47765 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47766
47767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47768         strlen-sse2 strlen-sse2-bsf.
47769         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47770         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47771         (__strlen_sse2): Removed.
47772         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47773         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47774         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47775         bit_Slow_BSF for Atom.
47776         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47777         (index_Slow_BSF): Define.
47778         (HAS_SLOW_BSF): Define.
47779
47780 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47781
47782         [BZ #10851]
47783         * resolv/res_init.c (__res_vinit): When no server address at all
47784         is given default to loopback.
47785
47786 2010-08-24  Roland McGrath  <roland@redhat.com>
47787
47788         * configure.in: Remove config-name.h generation.
47789         * configure: Regenerated.
47790         * config-name.in: File removed.
47791         * scripts/config-uname.sh: New file.
47792         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47793         ($(objdir)config-name.h): New target.
47794
47795         * sunrpc/rpc_parse.h: Avoid nested comment.
47796
47797 2010-08-24  Richard Henderson  <rth@redhat.com>
47798             Ulrich Drepper  <drepper@redhat.com>
47799             H.J. Lu  <hongjiu.lu@intel.com>
47800
47801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47803         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47804         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47805         _mm_alignr_epi8 with _mm_loadu_si128.
47806         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47807         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47808         (__m128i_shift_right): Removed.
47809         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47810         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47811         * sysdeps/x86_64/multiarch/varshift.h: New file.
47812         * sysdeps/x86_64/multiarch/varshift.S: New file.
47813
47814 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47815
47816         * configure.in: Move assembler checks to before sysdep dir checking.
47817
47818 2010-08-20  Petr Baudis  <pasky@suse.cz>
47819
47820         * LICENSES: Sync the sunrpc license.
47821
47822 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47823
47824         * sunrpc/auth_des.c: Update copyright notice once again.
47825         * sunrpc/auth_none.c: Likewise.
47826         * sunrpc/auth_unix.c: Likewise.
47827         * sunrpc/authdes_prot.c: Likewise.
47828         * sunrpc/authuxprot.c: Likewise.
47829         * sunrpc/bindrsvprt.c: Likewise.
47830         * sunrpc/clnt_gen.c: Likewise.
47831         * sunrpc/clnt_perr.c: Likewise.
47832         * sunrpc/clnt_raw.c: Likewise.
47833         * sunrpc/clnt_simp.c: Likewise.
47834         * sunrpc/clnt_tcp.c: Likewise.
47835         * sunrpc/clnt_udp.c: Likewise.
47836         * sunrpc/clnt_unix.c: Likewise.
47837         * sunrpc/des_crypt.c: Likewise.
47838         * sunrpc/des_soft.c: Likewise.
47839         * sunrpc/get_myaddr.c: Likewise.
47840         * sunrpc/getrpcport.c: Likewise.
47841         * sunrpc/key_call.c: Likewise.
47842         * sunrpc/key_prot.c: Likewise.
47843         * sunrpc/openchild.c: Likewise.
47844         * sunrpc/pm_getmaps.c: Likewise.
47845         * sunrpc/pm_getport.c: Likewise.
47846         * sunrpc/pmap_clnt.c: Likewise.
47847         * sunrpc/pmap_prot.c: Likewise.
47848         * sunrpc/pmap_prot2.c: Likewise.
47849         * sunrpc/pmap_rmt.c: Likewise.
47850         * sunrpc/rpc/auth.h: Likewise.
47851         * sunrpc/rpc/auth_unix.h: Likewise.
47852         * sunrpc/rpc/clnt.h: Likewise.
47853         * sunrpc/rpc/des_crypt.h: Likewise.
47854         * sunrpc/rpc/key_prot.h: Likewise.
47855         * sunrpc/rpc/netdb.h: Likewise.
47856         * sunrpc/rpc/pmap_clnt.h: Likewise.
47857         * sunrpc/rpc/pmap_prot.h: Likewise.
47858         * sunrpc/rpc/pmap_rmt.h: Likewise.
47859         * sunrpc/rpc/rpc.h: Likewise.
47860         * sunrpc/rpc/rpc_des.h: Likewise.
47861         * sunrpc/rpc/rpc_msg.h: Likewise.
47862         * sunrpc/rpc/svc.h: Likewise.
47863         * sunrpc/rpc/svc_auth.h: Likewise.
47864         * sunrpc/rpc/types.h: Likewise.
47865         * sunrpc/rpc/xdr.h: Likewise.
47866         * sunrpc/rpc_clntout.c: Likewise.
47867         * sunrpc/rpc_cmsg.c: Likewise.
47868         * sunrpc/rpc_common.c: Likewise.
47869         * sunrpc/rpc_cout.c: Likewise.
47870         * sunrpc/rpc_dtable.c: Likewise.
47871         * sunrpc/rpc_hout.c: Likewise.
47872         * sunrpc/rpc_main.c: Likewise.
47873         * sunrpc/rpc_parse.c: Likewise.
47874         * sunrpc/rpc_parse.h: Likewise.
47875         * sunrpc/rpc_prot.c: Likewise.
47876         * sunrpc/rpc_sample.c: Likewise.
47877         * sunrpc/rpc_scan.c: Likewise.
47878         * sunrpc/rpc_scan.h: Likewise.
47879         * sunrpc/rpc_svcout.c: Likewise.
47880         * sunrpc/rpc_tblout.c: Likewise.
47881         * sunrpc/rpc_util.c: Likewise.
47882         * sunrpc/rpc_util.h: Likewise.
47883         * sunrpc/rpcinfo.c: Likewise.
47884         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47885         * sunrpc/rpcsvc/key_prot.x: Likewise.
47886         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47887         * sunrpc/rpcsvc/mount.x: Likewise.
47888         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47889         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47890         * sunrpc/rpcsvc/rex.x: Likewise.
47891         * sunrpc/rpcsvc/rstat.x: Likewise.
47892         * sunrpc/rpcsvc/rusers.x: Likewise.
47893         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47894         * sunrpc/rpcsvc/spray.x: Likewise.
47895         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47896         * sunrpc/rtime.c: Likewise.
47897         * sunrpc/svc.c: Likewise.
47898         * sunrpc/svc_auth.c: Likewise.
47899         * sunrpc/svc_authux.c: Likewise.
47900         * sunrpc/svc_raw.c: Likewise.
47901         * sunrpc/svc_run.c: Likewise.
47902         * sunrpc/svc_simple.c: Likewise.
47903         * sunrpc/svc_tcp.c: Likewise.
47904         * sunrpc/svc_udp.c: Likewise.
47905         * sunrpc/svc_unix.c: Likewise.
47906         * sunrpc/svcauth_des.c: Likewise.
47907         * sunrpc/xcrypt.c: Likewise.
47908         * sunrpc/xdr.c: Likewise.
47909         * sunrpc/xdr_array.c: Likewise.
47910         * sunrpc/xdr_float.c: Likewise.
47911         * sunrpc/xdr_mem.c: Likewise.
47912         * sunrpc/xdr_rec.c: Likewise.
47913         * sunrpc/xdr_ref.c: Likewise.
47914         * sunrpc/xdr_sizeof.c: Likewise.
47915         * sunrpc/xdr_stdio.c: Likewise.
47916
47917         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47918         handling.
47919
47920 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47921
47922         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47923
47924 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47925
47926         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47927         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47928         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47929         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47930         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47931         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47932         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47933         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47934         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47935         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47936         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47937         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47938         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47939         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47940
47941 2010-07-26  Anton Blanchard  <anton@samba.org>
47942
47943         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47944         * malloc/arena.c (heap_trim): Likewise.
47945
47946 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47947
47948         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47949         here.  Not...
47950         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47951         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47952
47953 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47954
47955         * sysdeps/i386/elf/Makefile: New file.
47956
47957 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47958
47959         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47960         from fanotify_init.
47961         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47962         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47963
47964 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47965
47966         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47967         of strncasecmp_l.
47968         * sysdeps/multiarch/strcmp.S: Likewise.
47969
47970 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47971
47972         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47973         strncase_l-nonascii.
47974         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47975         Add strncase_l-ssse3.
47976         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47977         * sysdeps/x86_64/strcmp.S: Likewise.
47978         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47979         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47980         * sysdeps/x86_64/strncase.S: New file.
47981         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47982         * sysdeps/x86_64/strncase_l.S: New file.
47983         * string/Makefile (strop-tests): Add strncasecmp.
47984         * string/test-strncasecmp.c: New file.
47985
47986         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47987         warning.
47988
47989         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47990         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47991
47992 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47993
47994         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47995
47996 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47997
47998         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47999         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48000         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48001
48002 2010-05-01  Alan Modra  <amodra@gmail.com>
48003
48004         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48005         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48006         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48007         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48008         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48009         tidying.  Don't tail-call __sigjmp_save for static lib.
48010         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48011         save location.
48012         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48013         (CALL_MCOUNT): Add eh info, and nop after bl.
48014         (TAIL_CALL_SYSCALL_ERROR): New macro.
48015         (PSEUDO_RET): Use it.
48016         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48017         Correct save location of integer regs and cr.
48018         (_dl_profile_resolve): Correct cr save location.  Delete nops
48019         after bl when SHARED.  Reduce cfi size a little by better
48020         placement of cfi directives.
48021         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48022         make a stack frame.  Instead use parm save area as a temp.
48023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48024         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48026         Don't make a stack frame for parent, use parm save area.
48027         Increase child stack frame to 112 bytes.  Don't save unused reg,
48028         and adjust reg usage.  Set up cfi on error recovery and
48029         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48031         (__makecontext): Add dummy nop after jump to exit.
48032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48033         Use correct parm save area and cr save, reduce stack frame.
48034         Correct cfi for possible PSEUDO_RET frame setup.
48035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48036         Branch to local label emitted by PSEUDO_RET rather than
48037         __syscall_error.
48038
48039 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48040
48041         [BZ #11904]
48042         * locale/programs/locale.c (print_assignment): New function.
48043         (show_locale_vars): Use it.
48044
48045 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48046
48047         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48048         field.
48049         (struct statfs64): Likewise.
48050         (_STATFS_F_FLAGS): Define.
48051         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48052         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48053         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48054         (ST_VALID): Define locally.
48055         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48056         __statvfs_getflags, use the provided value.
48057         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48058         __ASSUME_STATFS_F_FLAGS.
48059
48060         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48061
48062         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48063         Add sys/fanotify.h.
48064         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48065         fanotify_mask for GLIBC_2.13.
48066         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48067         fanotify_init and fanotify_mark.
48068         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48069         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48070
48071         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48072         Add prlimit.
48073         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48074         prlimit64 for GLIBC_2.13.
48075         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48076         prlimit64.
48077         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48078         syscall.
48079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48080         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48081         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48084         add prlimit alias.
48085         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48086
48087         [BZ #11903]
48088         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48089         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48090
48091         * nss/Makefile: Add rules to build and run tst-nss-test1.
48092         * shlib-versions: Add entry for libnss_test1.
48093         * nss/nss_test1.c: New file.
48094         * nss/tst-nss-test1.c: New file.
48095
48096         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48097         (__nss_configure_lookup): Set appropriate entry in
48098         __nss_configure_lookup to true.
48099         * nss/nsswitch.h: Define enum with indeces of databases in
48100         databases and __nss_database_custom arrays.  Declare
48101         __nss_database_custom.
48102         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48103         to avoid using nscd when custom rules are installed.
48104         * nss/getXXbyYY_r.c: Likewise.
48105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48106
48107         * nss/nss_files/files-parse.c: Whitespace fixes.
48108
48109 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48110
48111         [BZ #11883]
48112         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48113         * posix/fnmatch_loop.c: Likewise.
48114
48115 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48116
48117         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48118         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48119         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48120         * Versions.def [GLIBC_2.13]: Add.
48121
48122 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48123
48124         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48125         Also fail if tpwd after pwuid call is NULL.
48126
48127 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48128
48129         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48130         when converting to ms.
48131
48132 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48133
48134         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48135         EOPNOTSUPP errors with ENOTTY.
48136         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48137         EOPNOTSUPP errors with ENOTTY.
48138
48139 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48140
48141         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48142         Add strcasecmp_l-ssse3.
48143         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48144         strcasecmp.
48145         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48146         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48147         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48148
48149 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48150
48151         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48152
48153         * string/Makefile (strop-tests): Add strcasecmp.
48154         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48155         strcasecmp_l-nonascii.
48156         (gen-as-const-headers): Add locale-defines.sym.
48157         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48158         * sysdeps/x86_64/strcasecmp.S: New file.
48159         * sysdeps/x86_64/strcasecmp_l.S: New file.
48160         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48161         * sysdeps/x86_64/locale-defines.sym: New file.
48162         * string/test-strcasecmp.c: New file.
48163
48164         * string/test-strcasestr.c: Test both ends of the range of characters.
48165         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48166
48167 2010-07-29  Roland McGrath  <roland@redhat.com>
48168
48169         [BZ #11856]
48170         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48171
48172 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48173
48174         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48175         for ld.so.
48176
48177 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48178
48179         * manual/memory.texi (Malloc Tunable Parameters): Document
48180         M_PERTURB.
48181
48182 2010-07-26  Roland McGrath  <roland@redhat.com>
48183
48184         [BZ #11840]
48185         * configure.in (-fgnu89-inline check): Set and substitute
48186         gnu89_inline, not libc_cv_gnu89_inline.
48187         * configure: Regenerated.
48188         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48189
48190 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48191
48192         * string/test-strnlen.c: New file.
48193         * string/Makefile (strop-tests): Add strnlen.
48194         * string/tester.c (test_strnlen): Add a few more test cases.
48195         * string/tst-strlen.c: Better error reporting.
48196
48197         * sysdeps/x86_64/strnlen.S: New file.
48198
48199 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48200
48201         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48202         lower-latency instructions.
48203
48204 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48205
48206         * string/test-strcasestr.c: New file.
48207         * string/test-strstr.c: New file.
48208         * string/Makefile (strop-tests): Add strstr and strcasestr.
48209         * string/str-two-way.h: Don't undefine MAX.
48210         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48211
48212 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48213
48214         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48215         strcasestr-nonascii.
48216         (CFLAGS-strcasestr-nonascii.c): Define.
48217         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48218         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48219         Remove unused attribute.
48220
48221 2010-07-20  Roland McGrath  <roland@redhat.com>
48222
48223         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48224         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48225         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48226         like LD_HWCAP_MASK can disable hwcaps.
48227
48228 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48229
48230         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48231
48232 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48233
48234         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48235         call in strcasestr.
48236         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48237         __strcasestr_sse42_nonascii.
48238         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48239         strcasestr-nonascii.c.
48240         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48241
48242 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48243
48244         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48245         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48246         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48247         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48248
48249 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48250
48251         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48252         fcntl.
48253
48254 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48255
48256         [BZ #11577]
48257         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48258         dl_signal_cerror.
48259
48260 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48261
48262         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48263         _PC_PIPE_BUF using F_GETPIPE_SZ.
48264
48265 2010-07-05  Roland McGrath  <roland@redhat.com>
48266
48267         * manual/arith.texi (Rounding Functions): Fix rint description
48268         implicit in round description.
48269
48270 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48271
48272         * elf/Makefile: Fix linking for a few tests to make recent linker
48273         happy.
48274
48275 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48276
48277         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48278         $(common-objpfx)libc_nonshared.a.
48279
48280 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48281
48282         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48283         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48284         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48285         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48286         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48287         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48288         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48289         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48304         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48305         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48306         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48307         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48308         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48309         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48310         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48311         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48312         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48313         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48314         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48315         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48330
48331 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48332
48333         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48334         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48335         * string/memmove.c (memmove): Renamed to ...
48336         (MEMMOVE): ...this.  Default to memmove.
48337         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48338         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48339         (END_CHK): Define.
48340         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48341         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48342         mempcpy-ssse3-back memmove-ssse3-back.
48343         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48344         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48346         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48347         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48348         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48349         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48350         * sysdeps/x86_64/multiarch/memmove.c: New file.
48351         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48352         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48353         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48354         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48355         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48356         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48357         Define.
48358         (index_Fast_Copy_Backward): Define.
48359         (HAS_ARCH_FEATURE): Define.
48360         (HAS_FAST_REP_STRING): Define.
48361         (HAS_FAST_COPY_BACKWARD): Define.
48362
48363 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48364
48365         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48366         Restore proper fallback handling.
48367
48368 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48369
48370         [BZ #11701]
48371         * posix/group_member.c (__group_member): Correct checking loop.
48372
48373         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48374         OOM in getpwuid_r correctly.  Return error number when the caller
48375         should return, otherwise -1.
48376         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48377         call returning > 0 value.
48378         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48379
48380 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48381
48382         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48383         libc_nonshared.a from targets in modules-names.
48384
48385 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48386
48387         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48388         requires it.
48389
48390 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48391
48392         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48393         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48394         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48395         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48396
48397 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48398
48399         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48400
48401 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48402
48403         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48404         and F_GETPIPE_SZ.
48405         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48406         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48407         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48408         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48409         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48410         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48411
48412 2010-06-14  Roland McGrath  <roland@redhat.com>
48413
48414         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48415
48416 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48417
48418         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48419         __REDIRECT followed by __THROW.
48420         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48421         * posix/getopt.h (getopt): Likewise.
48422
48423 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48424
48425         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48426         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48427         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48428         in AT_FLAGS.
48429         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48430         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48431
48432 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48433
48434         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48435
48436 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48437
48438         [BZ #11640]
48439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48440         Properly check family and model.
48441
48442 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48443
48444         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48445
48446 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48447
48448         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48449
48450 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48451
48452         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48453         symbol reference.
48454
48455 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48456
48457         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48458         symbol reference.
48459
48460 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48461
48462         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48463         and internal_recvmmsg.
48464         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48465         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48466         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48467         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48468
48469         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48470         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48471         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48472
48473 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48474
48475         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48476
48477 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48478
48479         POWER7 optimizations.
48480         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48481         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48482
48483 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48484
48485         * version.h: Update for 2.13 development version.
48486
48487 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48488
48489         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48490         exceptions.  Return 0.
48491
48492 2010-05-07  Roland McGrath  <roland@redhat.com>
48493
48494         * elf/ldconfig.c (main): Add a const.
48495
48496 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48497
48498         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48499         (args_options): Add no-idn option.
48500         (ahosts_keys_int): Add idn_flags to ai_flags.
48501         (parse_option): Handle 'i' option to clear idn_flags.
48502
48503         * malloc/malloc.c (_int_free): Possible race in the most recently
48504         added check.  Only act on the data if no current modification
48505         happened.
48506
48507 See ChangeLog.17 for earlier changes.