Fix -Wundef warning on PAGE_COPY_THRESHOLD
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * debug/memcpy_chk.c: Don't include pagecopy.h.
4         * debug/mempcpy_chk.c: Likewise.
5         * string/memcpy.c: Likewise.
6         * string/memmove.c: Likewise.
7         * sysdeps/powerpc/memmove.c: Likewise.
8         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9         definition of PAGE_COPY_FWD_MAYBE here...
10         * sysdeps/generic/pagecopy.h: ... from here.
11         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12
13 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15
16         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
17         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18         optimizations.
19         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20         (__libc_ifunc_impl_list): Likewise.
21         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22         multiarch strcat for PPC64.
23         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
25
26 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27
28         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29
30 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31
32         * intl/loadmsgcat.c: Remove declaration of
33         get_sysdep_segment_value.
34         (get_sysdep_segment_value): Use ISO C style.
35         (_nl_load_domain): Use ISO C style.  Get rid of redundant
36         semicolon.  Fix typo and formatting in comment.
37         (_nl_unload_domain): Use ISO C style.
38
39         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40
41 2014-07-02  Will Newton  <will.newton@linaro.org>
42
43         * malloc/obstack.c: Merge from gnulib master.
44         [HAVE_CONFIG_H]: Remove conditional code.
45         [!_LIBC]: Include config.h.
46         [!ELIDE_CODE]: Don't include inttypes.h, include
47         stdint.h unconditionally.
48         (print_and_abort): Mark as _Noreturn.
49         (_obstack_allocated_p): Mark as __attribute_pure__.
50         (obstack_free): Rename to __obstack_free.
51         [!__attribute__]: Remove conditional code.
52         * malloc/obstack.h: Merge from gnulib master.
53         [__cplusplus]: Move conditional down.
54         [!__attribute_pure__]: Define __attribute_pure__ here
55         if it is not already defined.
56         (_obstack_memory_used): Mark as __attribute_pure__.
57         [!__obstack_free]: Define as obstack_free.
58         [__GNUC__]: Remove check for ancient NeXT gcc.
59
60 2014-07-02  Will Newton  <will.newton@linaro.org>
61             Paul Eggert  <eggert@cs.ucla.edu>
62
63         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
64
65 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66
67         * resolv/gethnamaddr.c: Add comment warning that the file is
68         not maintained.
69
70 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
71
72         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
73         entries.
74
75         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
76         entry for aio_cancel and aio_cancel64.
77         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
78         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
79         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
80         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
81         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
82         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
83         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
84         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
85         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
86         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
87         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
88         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
89         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
90
91 2014-07-01  Roland McGrath  <roland@hack.frob.com>
92
93         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
94         * nptl/pthread_mutex_lock.c: Likewise.
95         * nptl/pthread_mutex_timedlock.c: Likewise.
96         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
97
98 2014-07-01  Richard henderson  <rth@redhat.com>
99
100         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
101         (__isnan, __isnanl): Remove.
102         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
103
104         * sysdeps/alpha/fpu/libm-test-ulps: Update.
105
106 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
107
108         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
109
110 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
111
112         * resolv/nss_dns/dns-host.c (getanswer_r)
113         [MULTI_PTRS_ARE_ALIASES]: Remove code.
114
115 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
116
117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
118         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
119         undefine.
120         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
121         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
122
123 2014-07-01  Roland McGrath <roland@hack.frob.com>
124
125         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
126         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
127
128         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
129         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
130
131         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
132         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
133         ... here.
134         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
135         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
136
137         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
138         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
139         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
140         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
141
142         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
143         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
144         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
145         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
146         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
147         Moved ...
148         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
149         ... here.
150         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
151         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
152         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
153         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
154         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
155         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
156         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
157         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
158         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
159         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
160         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
161         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
162         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
163         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
164         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
165         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
166         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
167         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
168         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
169         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
170         ... here.
171         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
172         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
173         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
174         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
175         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
176         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
177         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
178         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
179
180 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
181
182         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
183         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
184         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
185         Add sysdep.
186
187 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
188
189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
190
191 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
192
193         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
194         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
195
196         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
197
198         * sysdeps/arm/libm-test-ulps: Regenerated.
199
200 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
201             Roland McGrath <roland@hack.frob.com>
202
203         * test-skeleton.c (signal_handler): Kill the whole process group
204         before killing the child individually.
205         (main): Report any failure on `setpgid'.
206
207 2014-06-30  Roland McGrath  <roland@hack.frob.com>
208
209         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
210         from _TLS_H to _ARM_NPTL_TLS_H.
211         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
212         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
213
214 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
215
216         [BZ #16539]
217         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
218         (__expm1l): Return argument unchanged when small but not
219         subnormal.
220
221         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
222         include macro name.
223         (_FP_UNPACK_RAW_1_P): Likewise.
224         (_FP_PACK_RAW_1): Likewise.
225         (_FP_PACK_RAW_1_P): Likewise.
226         (_FP_MUL_MEAT_1_wide): Likewise.
227         (_FP_MUL_MEAT_DW_1_hard): Likewise.
228         (_FP_MUL_MEAT_1_hard): Likewise.
229         (_FP_DIV_MEAT_1_imm): Likewise.
230         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
231         (_FP_DIV_MEAT_1_udiv): Likewise.
232         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
233         (_FP_UNPACK_RAW_2): Likewise.
234         (_FP_UNPACK_RAW_2_P): Likewise.
235         (_FP_PACK_RAW_2): Likewise.
236         (_FP_PACK_RAW_2_P): Likewise.
237         (_FP_MUL_MEAT_DW_2_wide): Likewise.
238         (_FP_MUL_MEAT_2_wide): Likewise.
239         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
240         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
241         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
242         (_FP_MUL_MEAT_2_gmp): Likewise.
243         (_FP_DIV_MEAT_2_udiv): Likewise.
244         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
245         (_FP_FRAC_SRL_4): Likewise.
246         (_FP_FRAC_SRST_4): Likewise.
247         (_FP_FRAC_SRS_4): Likewise.
248         (_FP_UNPACK_RAW_4): Likewise.
249         (_FP_UNPACK_RAW_4_P): Likewise.
250         (_FP_PACK_RAW_4): Likewise.
251         (_FP_PACK_RAW_4_P): Likewise.
252         (_FP_MUL_MEAT_DW_4_wide): Likewise.
253         (_FP_MUL_MEAT_4_wide): Likewise.
254         (_FP_MUL_MEAT_4_gmp): Likewise.
255         (umul_ppppmnnn): Likewise.
256         (_FP_DIV_MEAT_4_udiv): Likewise.
257         (__FP_FRAC_ADD_4): Likewise.
258         (__FP_FRAC_SUB_3): Likewise.
259         (__FP_FRAC_SUB_4): Likewise.
260         (__FP_FRAC_DEC_3): Likewise.
261         (__FP_FRAC_DEC_4): Likewise.
262         (__FP_FRAC_ADDI_4): Likewise.
263         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
264         (_FP_FRAC_SRL_8): Likewise.
265         (_FP_FRAC_SRS_8): Likewise.
266
267         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
268         include macro name.
269         (FP_UNPACK_RAW_EP): Likewise.
270         (FP_PACK_RAW_E): Likewise.
271         (FP_PACK_RAW_EP): Likewise.
272         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
273         (_FP_ISSIGNAN): Likewise.
274         (_FP_ADD_INTERNAL): Likewise.
275         (_FP_FMA): Likewise.
276         (_FP_CMP): Likewise.
277         (_FP_SQRT): Likewise.
278         (_FP_TO_INT): Likewise.
279         (_FP_FROM_INT): Likewise.
280         (FP_EXTEND): Likewise.
281         (_FP_DIV_MEAT_N_loop): Likewise.
282
283 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
284
285         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
286         throughout.
287
288 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
289
290         [BZ #17097]
291         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
292         result with correct sign in case of exponents that produce
293         overflow except for X very close to 1.
294
295 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
296
297         mktime: merge #if/#ifdef usage from glibc
298         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
299         as that works with both Glibc's and Gnulib's style.
300         See thread starting at Siddhesh Poyarekar's bug report at:
301         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
302
303 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
304
305         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
306         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
307         * sysdeps/tile/tilegx/memmove.c: Remove file.
308
309 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
310
311         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
312         abi-name definition.
313         * scripts/soversions.awk: Do not handle or generate ABI lines.
314         * shlib-versions: Remove ABI entries.
315         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
316         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
317
318 2014-06-27  Roland McGrath  <roland@hack.frob.com>
319
320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
321         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
322         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
323         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
325         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
327         Moved ...
328         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
329         ... here.
330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
331         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
333         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
335         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
337         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
339         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
341         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
343         Moved ...
344         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
346         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
348         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
350         Moved ...
351         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
352         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
353         Moved ...
354         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
356         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
358         Moved ...
359         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
361         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
363         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
365         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
367         Moved ...
368         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
370         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
371         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
372         Moved ...
373         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
374         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
375         Moved ...
376         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
378         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
380         Moved ...
381         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
382         ... here.
383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
384         Identical file removed.
385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
386         Moved ...
387         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
388         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
389         Identical file removed.
390         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
391         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
392         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
393         Moved ...
394         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
395         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
396         Identical file removed.
397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
398         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
400         Identical file removed.
401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
402         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
404         Identical file removed.
405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
406         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
408         Identical file removed.
409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
410         Moved ...
411         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
413         Identical file removed.
414         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
415         Moved ...
416         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
418         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
420         Identical file removed.
421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
422         Moved ...
423         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
424         ... here.
425         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
426         Identical file removed.
427         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
428         Moved ...
429         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
430         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
431         Identical file removed.
432         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
433         Moved ...
434         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
435         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
436         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
438         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
439         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
440         Moved ...
441         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
442         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
443         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
444
445         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
446         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
447         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
448         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
449         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
450
451 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
452
453         [BZ #17092]
454         * nscd/nscd.c (monitor_child): Return exit status of child
455         instead of return value from wait syscall.
456
457 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
458
459         * configure.ac (libc_commonpagesize): Remove variable.
460         (libc_relro_required): Likewise.
461         (libc_cv_z_relro): Remove configure test.
462         * configure: Regenerated.
463         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
464         variable.
465         (libc_relro_required): Likewise.
466         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
467         (libc_relro_required): Likewise.
468         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
469         (libc_relro_required): Likewise.
470         * sysdeps/arm/preconfigure: Regenerated.
471         * sysdeps/ia64/preconfigure: Remove file.
472         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
473         variable.
474         (libc_relro_required): Likewise.
475
476         [BZ #16561]
477         [BZ #16562]
478         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
479         (__ieee754_yn): Set FE_TONEAREST mode internally and then
480         recompute overflowing results in original rounding mode.
481         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
482         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
483         recompute overflowing results in original rounding mode.
484         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
485         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
486         recompute overflowing results in original rounding mode.
487         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
488         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
489         recompute overflowing results in original rounding mode.
490         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
491         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
492         recompute overflowing results in original rounding mode.
493         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
494         (libc_feholdsetround_ctx): New macro.
495         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
496         * sysdeps/i386/fpu/libm-test-ulps: Update.
497         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
498
499 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
500
501         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
502         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
503         corresponding .cpsetup call.
504
505 2014-06-26  Roland McGrath  <roland@hack.frob.com>
506
507         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
508         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
509         * sysdeps/arm/Makefile [$(subdir) = csu]
510         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
511         (static-only-routines): Add aeabi_read_tp here.
512         (shared-only-routines): Add libc-aeabi_read_tp here.
513         (CFLAGS-libc-start.c): Add -fexceptions here.
514         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
515         (sysdep_routines, static-only-routines, shared-only-routines):
516         Don't add to these here.
517         (CFLAGS-libc-start.c): Likewise.
518
519         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
520         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
521         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
522         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
523         * sysdeps/arm/Makefile [$(subdir) = rt]
524         (librt-sysdep_routines, librt-shared-only-routines):
525         Append rt-aeabi_unwind_cpp_pr1 here.
526         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
527         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
528         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
529         (libpthread-sysdep_routines, libpthread-shared-only-routines):
530         Append nptl-aeabi_unwind_cpp_pr1 here.
531         (tests): Filter out tst-cleanupx4 here.
532         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
533         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
534         Don't do those here.
535
536 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
537
538         * scripts/list-sources.sh: Do not handle ports specially.
539
540 2014-06-26  Roland McGrath  <roland@hack.frob.com>
541
542         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
543         * sysdeps/arm/feupdateenv.c: Likewise.
544
545         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
546
547 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
548
549         * manual/texinfo.tex: Update to version 2014-05-05.10 with
550         trailing whitespace removed.
551         * scripts/config.guess: Update to version 2014-03-23.
552         * scripts/config.sub: Update to version 2014-05-01
553         * scripts/install-sh: Update to version 2013-12-25.23.
554         * scripts/move-if-change: Update from gnulib.
555
556 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
557
558         * debug/memmove_chk.c: Remove pagecopy.h include.
559
560 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
561
562         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
563         identical to gnulib mktime.
564
565 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
566
567         * configure.ac: Do not test for machine being rs6000.  Do not test
568         for powerpc*-*soft.
569         * configure: Regenerated.
570
571         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
572         test.
573         * configure: Regenerated.
574         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
575         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
576         Remove configure test.
577         * sysdeps/arm/configure: Regenerated.
578         * sysdeps/nptl/configure.ac: Do not check
579         libc_cv_asm_cfi_directives.
580         * sysdeps/nptl/configure: Regenerated.
581         * sysdeps/x86_64/nptl/configure.ac: Remove file.
582         * sysdeps/x86_64/nptl/configure: Remove generated file.
583         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
584         unconditional.
585         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
586
587 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
588
589         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
590         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
591         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
592         it is defined.
593
594         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
595         instead of whether it is defined.
596         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
597         * sysdeps/hppa/dl-machine.h: Likewise.
598         * sysdeps/ia64/dl-machine.h: Likewise.
599         * sysdeps/m68k/dl-machine.h: Likewise.
600         * sysdeps/microblaze/dl-machine.h: Likewise.
601         * sysdeps/mips/dl-machine.: Likewise.
602         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
603         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
604         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
605         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
606         * sysdeps/sh/dl-machine.h: Likewise.
607         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
608         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
609         * sysdeps/tile/dl-machine.h: Likewise.
610         * sysdeps/x86_64/dl-machine.h: Likewise.
611
612         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
613         code.
614         (verify_persistent_db): Likewise.
615
616 2014-06-26  Roland McGrath  <roland@hack.frob.com>
617
618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
619         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
621         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
623         Moved ...
624         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
625         ... here.
626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
627         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
629         Identical file removed.
630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
631         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
633         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
635         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
637         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
639         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
641         Moved ...
642         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
644         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
646         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
648         Moved ...
649         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
651         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
653         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
655         Identical file removed.
656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
657         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
659         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
661         Moved ...
662         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
663         ... here.
664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
665         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
667         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
669         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
671         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
673         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
675         Moved ...
676         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
678         Moved ...
679         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
681         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
683         Moved ...
684         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
686         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
687
688         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
689         folded into ...
690         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
691         * sysdeps/unix/sysv/linux/s390/Versions
692         (libpthread: GLIBC_2.19): New version set.
693         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
694         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
695         (librt: GLIBC_2.3.3): New version set.
696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
697         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
698         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
699         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
700         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
701         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
702         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
703         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
704         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
705         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
706         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
707         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
708         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
709         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
710         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
711         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
712         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
713         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
714         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
715         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
716         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
717         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
718         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
719         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
720         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
721         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
722         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
724         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
725         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
726         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
727         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
730         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
732         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
734         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
736         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
738         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
740         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
741
742         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
743         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
744         (__libc_vfork): Define the function under this name.
745         [!NOT_IN_libc] (__vfork): Make this an alias.
746         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
748         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
749         (__libc_vfork): Define the function under this name.
750         [!NOT_IN_libc] (__vfork): Make this an alias.
751         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
752         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
753         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
756         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
757
758         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
759         code that was previously under [RESET_PID].
760         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
761         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
762         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
763
764         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
765         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
766         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
767         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
768         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
769         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
770         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
771         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
772         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
773         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
774         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
775         Moved ...
776         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
777         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
778         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
779         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
780         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
781         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
782         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
783         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
784         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
785         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
786         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
787         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
788         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
789         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
790         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
791         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
792         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
793         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
794         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
795         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
796         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
797         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
798         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
799         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
800         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
801         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
802         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
804         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
805
806 2014-06-25  Roland McGrath  <roland@hack.frob.com>
807
808         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
809         that was previously under [RESET_PID].
810         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
811
812 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
813
814         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
815         not undefine and redefine.
816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
817         [O_CLOEXEC]: Make code unconditional.
818         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
819         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
820         <kernel-features.h>.
821         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
822         conditional variable definition.
823         (shm_open) [O_CLOEXEC]: Make code unconditional.
824         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
825         code.
826
827         * configure.ac (USE_REGPARMS): Don't define here.
828         * configure: Regenerated.
829         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
830         * sysdeps/i386/configure: Regenerated.
831
832         * nptl/createthread.c: Don't include kernel-features.h.
833         * nptl/pthread_cancel.c: Likewise.
834         * nptl/pthread_condattr_setclock.c: Likewise.
835         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
836         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
837         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
838         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
839         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
840         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
841         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
844         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
845         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
846         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
847         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
848         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
849         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
850         * nscd/gai.c: Likewise.
851         * nss/nss_db/db-open.c: Likewise.
852         * sysdeps/generic/ldsodefs.h: Likewise.
853         * sysdeps/sh/nptl/tls.h: Likewise.
854         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
855         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
856         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
857         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
858         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
859         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
860         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
861         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
862         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
863         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
864         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
865         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
866         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
867         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
868         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
869         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
870         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
871         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
872         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
873         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
874         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
875         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
876         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
877         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
880         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
882         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
883         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
884         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
885         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
886         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
887         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
888         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
889         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
890         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
891         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
892         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
893         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
894         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
895         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
896         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
897         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
898         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
899         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
900         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
901         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
902         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
903         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
904         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
905         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
906         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
907         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
908         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
909         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
910         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
911         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
934         * sysdeps/unix/sysv/linux/pread.c: Likewise.
935         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
936         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
937         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
938         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
939         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
940         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
941         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
942         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
943         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
944         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
945         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
946         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
947         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
948         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
949         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
950         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
951         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
952         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
953         * sysdeps/unix/sysv/linux/system.c: Likewise.
954         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
955         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
956         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
957         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
958         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
959         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
960         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
961
962         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
963         * configure: Regenerated.
964         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
965
966         * configure.ac (base_machine): Do not set specially for particular
967         machines here.
968         * configure: Regenerated.
969         * sysdeps/powerpc/preconfigure: Move machine and base_machine
970         settings from configure.ac.
971         * sysdeps/i386/preconfigure: New file.
972         * sysdeps/s390/preconfigure: Likewise.
973         * sysdeps/sh/preconfigure: Likewise.
974         * sysdeps/sparc/preconfigure: Likewise.
975
976 2014-06-25  Roland McGrath  <roland@hack.frob.com>
977
978         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
979         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
980         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
981         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
982         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
983         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
984         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
985         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
986         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
987         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
988         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
989         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
990         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
991         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
992         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
993         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
994         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
995         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
996         * sysdeps/sparc/sparc64/Makefile: ... appended here.
997
998         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
999         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1000         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1001         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1002         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1003         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1004         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1005         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1006         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1007         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1008         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1009         * sysdeps/sparc/sparc32/sem_post.c: ... here.
1010         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1011         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1012         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1013         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1014         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1015         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1016         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1017         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1019         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1020         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1021         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1022         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1023         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1025         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1028         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1029         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1030         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1031         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1032         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1033         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1035         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1036
1037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1038         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1040         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1042         Moved ...
1043         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1044         ... here.
1045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1046         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1048         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1050         Moved ...
1051         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1053         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1055         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1057         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1059         Moved ...
1060         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1062         Moved ...
1063         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1065         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1067         Moved ...
1068         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1070         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1072         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1074         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1076         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1078         Moved ...
1079         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1080         ... here.
1081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1082         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1084         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1086         Moved ...
1087         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1089         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1091         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1093         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1095         Moved ...
1096         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1098         Moved ...
1099         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1101         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1103         Moved ...
1104         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1106         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1108         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1109
1110 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1111
1112         * timezone/checktab.awk: Update from tzcode 2014e.
1113         * timezone/private.h: Likewise.
1114         * timezone/tzfile.h: Likewise.
1115         * timezone/zdump.c: Likewise.
1116         * timezone/zic.c: Likewise.
1117
1118         * sysdeps/unix/sysv/linux/kernel-features.h
1119         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1120         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1121         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1122         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1123         Remove conditional code.
1124
1125 2014-06-25  Will Newton  <will.newton@linaro.org>
1126
1127         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1128         (_dl_arm_cap_flags): Add HWCAP2 values.
1129         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1130         (_DL_HWCAP_COUNT): Increase to 37.
1131         (_DL_HWCAP_LAST): New define.
1132         (_DL_HWCAP2_LAST): New define.
1133         (_dl_procinfo): Add support for printing
1134         AT_HWCAP2 entries.
1135         (_dl_string_hwcap): Use _dl_hwcap_string.
1136
1137 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1138
1139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1140
1141 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1142
1143         * README: Do not mention ports directory.
1144
1145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1146         Remove macro.
1147         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1148         <kernel-features.h>.
1149         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1150         conditional variable definition.
1151         (__futimes): Update comment.
1152         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1153         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1154
1155         [BZ #16560]
1156         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1157         arguments close to 0.
1158         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1159         Likewise.
1160         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1161         Likewise.
1162         * math/auto-libm-test-in: Add more tests of exp10.
1163         * math/auto-libm-test-out: Regenerated.
1164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1165
1166         * sysdeps/unix/sysv/linux/kernel-features.h
1167         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1168         * sysdeps/unix/sysv/linux/readv.c: Do not include
1169         <kernel-features.h>.
1170         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1171         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1172         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1173         unconditional.
1174         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1175         conditional code.
1176         * sysdeps/unix/sysv/linux/writev.c: Do not include
1177         <kernel-features.h>.
1178         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1179         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1180         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1181         unconditional.
1182         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1183         conditional code.
1184
1185 2014-06-25  Will Newton  <will.newton@linaro.org>
1186
1187         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1188         comment changes throughout the file.  Remove checks
1189         for HAVE_*_H definitions that are not required.
1190         (__gen_tempname): Call abort if an unknown kind value is
1191         passed.
1192
1193 2014-06-25  Andreas Schwab  <schwab@suse.de>
1194
1195         [BZ #17086]
1196         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1197         scalbln, scalblnf, scalblnl in libc.
1198
1199 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1200
1201         [BZ #17086]
1202         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1203         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1204         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1205
1206 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1207
1208         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1209         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1210         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1211         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1212         Update #include.
1213         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1214         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1215         Update #include.
1216         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1217         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1218         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1219         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1220         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1221         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1222         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1223         * sysdeps/x86/bits/semaphore.h: ... here.
1224         * sysdeps/x86/nptl/elide.h: Moved ...
1225         * sysdeps/x86/elide.h: ... here.
1226         * sysdeps/x86_64/nptl/Implies: File removed.
1227         * sysdeps/i386/nptl/Implies: File removed.
1228
1229 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1230
1231         [BZ #16539]
1232         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1233         return the argument for normal arguments with exponent below -64.
1234         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1235         Likewise.
1236         * math/auto-libm-test-in: Add another test of expm1.
1237         * math/auto-libm-test-out: Regenerated.
1238
1239         [BZ #16287]
1240         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1241         calling __erfcl for arguments at least 16.
1242         * math/auto-libm-test-in: Add more tests of erf.
1243         * math/auto-libm-test-out: Regenerated.
1244
1245         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1246         individual architectures.
1247         * sysdeps/unix/sysv/linux/configure: Regenerated.
1248         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1249         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1250         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1251         (ldd_rewrite_script): Define variable.
1252         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1254         file.
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1256         generated file.
1257         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1258         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1259         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1260         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1261         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1262         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1263         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1264         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1265
1266 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1267
1268         [BZ #17084]
1269         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1270         Rename member __data.d to __data.__elision_data.
1271
1272 2014-06-24  Wilco  <wdijkstr@arm.com>
1273
1274         * NEWS: Add 16918 to fixed bug list.
1275
1276 2014-06-24  Wilco  <wdijkstr@arm.com>
1277
1278         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1279
1280 2014-06-24  Wilco  <wdijkstr@arm.com>
1281
1282         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1283         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1284         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1285         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1286         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1287         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1288         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1289         Use _FPU_MASK_RM.
1290
1291 2014-06-24  Wilco  <wdijkstr@arm.com>
1292
1293         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1294
1295 2014-06-24  Wilco  <wdijkstr@arm.com>
1296
1297         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1298         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1299         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1300         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1301
1302 2014-06-24  Wilco  <wdijkstr@arm.com>
1303
1304         [BZ #16918]
1305         * sysdeps/arm/feupdateenv.c (feupdateenv):
1306         Rewrite to reduce FPSCR accesses and fix return value.
1307
1308 2014-06-24  Wilco  <wdijkstr@arm.com>
1309
1310         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1311         Optimize to avoid unnecessary FPSCR writes.
1312         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1313         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1314         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1315         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1316
1317 2014-06-24  Wilco  <wdijkstr@arm.com>
1318
1319         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1320         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1321         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1322         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1323         Call libc_fetestexcept_vfp.
1324         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1325         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1326         __SOFTFP__ ifdef so that they can be built for softfp.
1327
1328 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1329
1330         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1331         argument type signed char.
1332
1333         * Makerules (check-abi): Dump diff of symlist if the test
1334         fails.
1335
1336 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1337
1338         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1339         using abort.
1340
1341         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1342         Remove unused variable ST.
1343
1344 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1345
1346         [BZ #16354]
1347         [BZ #17061]
1348         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1349         small arguments before calling __expm1.
1350         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1351         small arguments before calling __expm1f.
1352         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1353         small arguments before calling __expm1l.
1354         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1355         Likewise.
1356         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1357         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1358         spurious underflow for some cosh tests.
1359         * math/auto-libm-test-out: Regenerated.
1360         * sysdeps/i386/fpu/libm-test-ulps: Update.
1361
1362         [BZ #17050]
1363         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1364         (__ieee754_y1): Set errno if return value overflows.
1365         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1366         (__ieee754_y1f): Set errno if return value overflows.
1367         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1368         (__ieee754_y1l): Set errno if return value overflows.
1369         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1370         (__ieee754_y1l): Set errno if return value overflows.
1371         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1372         * math/auto-libm-test-out: Regenerated.
1373
1374         * math/gen-auto-libm-tests.c: Document use of
1375         ignore-zero-inf-sign.
1376         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1377         (input_flags): Add ignore-zero-inf-sign.
1378         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1379         * math/gen-libm-test.pl (generate_testfile): Handle
1380         ignore-zero-inf-sign.
1381         * math/auto-libm-test-in: Mark some cpow tests with
1382         ignore-zero-inf-sign and some with xfail-rounding.
1383         * math/auto-libm-test-out: Regenerated.
1384         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1385         * sysdeps/i386/fpu/libm-test-ulps: Update.
1386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1387
1388         [BZ #16315]
1389         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1390         overflowing or underflowing operations take place with sign of
1391         result.
1392         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1393         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1394         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1395         (__ieee754_pow): Recompute overflowing and underflowing results in
1396         original rounding mode.
1397         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1398         (__powl_helper): Allow negative argument X and scale negated value
1399         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1400         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1401         overflowing or underflowing operations take place with sign of
1402         result.
1403         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1404         Include <math.h>.
1405         * math/auto-libm-test-in: Add more tests of pow.
1406         * math/auto-libm-test-out: Regenerated.
1407         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1408         (pow_tonearest_test_data): Remove.
1409         (pow_test_tonearest): Likewise.
1410         (pow_towardzero_test_data): Likewise.
1411         (pow_test_towardzero): Likewise.
1412         (pow_downward_test_data): Likewise.
1413         (pow_test_downward): Likewise.
1414         (pow_upward_test_data): Likewise.
1415         (pow_test_upward): Likewise.
1416         (main): Don't call removed functions.
1417         * sysdeps/i386/fpu/libm-test-ulps: Update.
1418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1419
1420 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1421
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1423         Moved ...
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1426         Moved ...
1427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1429         Moved ...
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1432         Moved ...
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1435         File removed.
1436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1437         File removed.
1438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1439         File removed.
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1441         File removed.
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1443         File removed.
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1445         File removed.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1447         File removed.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1449         File removed.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1451         File removed.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1453         File removed.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1455         File removed.
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1457         File removed.
1458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1459         Moved ...
1460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1462         Moved ...
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1464         ... here.
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1466         Moved ...
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1469         Moved ...
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1472         Moved ...
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1475         Moved ...
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1478         Moved ...
1479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1481         Moved ...
1482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1484         Moved ...
1485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1488         ... here.
1489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1490         Moved ...
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1493         Moved ...
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1495         ... here.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1497         Moved ...
1498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1499         ... here.
1500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1501         Moved ...
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1503         ... here.
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1505         Moved ...
1506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1508         Moved ...
1509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1513         Moved ...
1514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1515         ... here.
1516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1517         Moved ...
1518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1519         ... here.
1520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1521         Moved ...
1522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1524         Moved ...
1525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1527         Moved ...
1528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1530         Moved ...
1531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1533         Moved ...
1534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1535         ... here.
1536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1537         Moved ...
1538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1540         Moved ...
1541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1543         Moved ...
1544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1546         Moved ...
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1551         Moved ...
1552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1554         Moved ...
1555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1557         Moved ...
1558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1559         ... here.
1560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1561         Moved ...
1562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1563         ... here.
1564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1565         Moved ...
1566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1567         ... here.
1568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1569         Moved ...
1570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1572         Moved ...
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1575         Moved ...
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1578         Moved ...
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1580         ... here.
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1582         Moved ...
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1584         ... here.
1585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1586         Moved ...
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1588         ... here.
1589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1590         Moved ...
1591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1593         Moved ...
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1595
1596 2014-06-23  Will Newton  <will.newton@linaro.org>
1597             Wilco  <wdijkstr@arm.com>
1598
1599         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1600         implementation.  Include get-rounding-mode.h.
1601         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1602         [!libc_feholdsetround_noex_ctx]: Define
1603         libc_feholdsetround_noex_ctx.
1604         [!libc_feholdsetround_noexf_ctx]: Define
1605         libc_feholdsetround_noexf_ctx.
1606         [!libc_feholdsetround_noexl_ctx]: Define
1607         libc_feholdsetround_noexl_ctx.
1608         (libc_feholdsetround_ctx): New function.
1609         (libc_feresetround_ctx): New function.
1610         (libc_feholdsetround_noex_ctx): New function.
1611         (libc_feresetround_noex_ctx): New function.
1612
1613 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1614
1615         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1616         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1617         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1618         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1619         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1620         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1621
1622         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1623         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1624         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1625         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1626         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1627         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1629         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1631         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1633         Moved ...
1634         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1635         ... here.
1636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1637         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1639         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1641         Moved ...
1642         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1644         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1646         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1648         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1650         Moved ...
1651         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1652         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1653         Moved ...
1654         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1656         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1658         Moved ...
1659         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1660         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1661         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1662         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1663         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1664         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1665         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1666         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1667         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1668         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1669         Moved ...
1670         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1671         ... here.
1672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1673         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1675         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1676         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1677         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1679         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1681         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1682         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1683         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1685         Moved ...
1686         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1688         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1690         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1692         Moved ...
1693         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1695         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1696         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1697         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1698
1699         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1700         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1701         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1702         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1703         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1704         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1705         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1706         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1707         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1708         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1709         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1710         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1711         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1712         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1713         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1714         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1715         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1716         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1717         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1718         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1719         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1720         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1721         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1722         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1723         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1724         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1725         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1726         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1727
1728 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1729
1730         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1731         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1732         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1733         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1734         (IPV6_PMTUDISC_INTERFACE): Likewise.
1735         (IPV6_PMTUDISC_OMIT): Likewise.
1736
1737 2014-06-23  Andreas Schwab  <schwab@suse.de>
1738
1739         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1740         Remove unused errout label.
1741
1742 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1743
1744         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1745         macro: hardware supports Vector Crypto instructions.
1746
1747 2014-06-23  Will Newton  <will.newton@linaro.org>
1748
1749         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1750         rather than __builtin_expect.
1751
1752         * elf/dl-lookup.c (undefined_msg): Remove variable.
1753         (_dl_lookup_symbol_x): Replace undefined_msg with string
1754         literal.
1755
1756         * elf/dl-lookup.c (do_lookup_unique): New function.
1757         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1758         to a separate function.
1759
1760 2014-06-23  Andreas Schwab  <schwab@suse.de>
1761
1762         [BZ #17079]
1763         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1764         before reading the next line.
1765
1766 2014-06-23  Will Newton  <will.newton@linaro.org>
1767
1768         * test-skeleton.c (signal_handler): Use printf and %m
1769         rather than perror.  Use printf rather than fprintf to
1770         stderr.  Use puts rather than fputs to stderr.
1771         (main): Likewise.
1772
1773 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1774
1775         * nscd/nscd.c (thread_info_t): Remove typedef.
1776         (thread_info): Remove variable.
1777
1778 2014-06-21  Allan McRae  <allan@archlinux.org>
1779
1780         * NEWS: Mention CVE-2014-4043.
1781
1782 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1783
1784         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1785         * nptl/smp.h: ... here.
1786
1787         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1788
1789         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1790         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1791         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1792         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1793
1794         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1795         * nptl/stack-aliasing.h: New file.
1796         * sysdeps/i386/i686/stack-aliasing.h: New file.
1797         * sysdeps/i386/i686/nptl/Makefile: File removed.
1798         * sysdeps/x86_64/stack-aliasing.h: New file.
1799         * sysdeps/x86_64/nptl/Makefile
1800         (CFLAGS-pthread_create.c): Variable removed.
1801
1802         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1803         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1804         old file.
1805         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1806         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1807         old file.
1808
1809 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1810
1811         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1812         (__ASSUME_SIGFRAME_V2): Remove macro.
1813         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1814         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1815         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1816         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1817         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1818         Declare as function.  Remove conditional macro definitions.
1819         (__default_rt_sa_restorer): Likewise.
1820         (__default_sa_restorer_v1): Remove declaration.
1821         (__default_sa_restorer_v2): Likewise.
1822         (__default_rt_sa_restorer_v1): Likewise.
1823         (__default_rt_sa_restorer_v2): Likewise.
1824         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1825         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1826         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1827
1828 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1829
1830         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1831         (libpthread-routines): Add sysdep.
1832         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1833         * sysdeps/unix/sysv/linux/sparc/Versions
1834         (libpthread: GLIBC_2.3.3): New version set.
1835         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1836         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1837         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1838         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1839         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1840         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1841         Moved ...
1842         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1843         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1844         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1845         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1846         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1847         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1848         * sysdeps/sparc/nptl/sem_init.c: ... here.
1849         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1850         * sysdeps/sparc/nptl/sem_post.c: ... here.
1851         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1852         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1853         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1854         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1855         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1856         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1857         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1858         (libpthread-routines): Add cpu_relax.
1859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1860         File removed.
1861         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1862         (librt: GLIBC_2.3.3): New version set.
1863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1864         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1865         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1866         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1869         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1871         Moved ...
1872         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1874         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1876         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1878         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1880         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1882         Moved ...
1883         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1884         Update #include.
1885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1886         Moved ...
1887         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1888         Update #include.
1889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1890         Moved ...
1891         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1892         Update #include.
1893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1894         Moved ...
1895         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1896         Update #include.
1897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1898         Moved ...
1899         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1900         Update #include.
1901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1902         Moved ...
1903         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1904         Update #include.
1905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1906         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1910         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1912         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1914         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1916         Moved ...
1917         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1919         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1921         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1922
1923 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1924
1925         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1926         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1927         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1928         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1929         * nscd/nscd.c: Likewise.
1930         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1931         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1932         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1933         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1934
1935         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1936         <kernel-features.h>.
1937         (init_mq_netlink): Remove conditional have_sock_cloexec
1938         definitions.  Remove code conditional on have_sock_cloexec < 0.
1939         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1940         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1941         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1942         <kernel-features.h>.
1943         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1944         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1945
1946 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1947
1948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1949         Add tests for memset_chk and memset.
1950
1951         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1952         with AVX2_Usable.
1953
1954 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1955
1956         [BZ #16046]
1957         * elf/tst-dl-iter-static.c: New file.
1958         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1959
1960         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1961         error.
1962
1963 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1964
1965         * sysdeps/unix/sysv/linux/kernel-features.h
1966         (__ASSUME_F_GETOWN_EX): Remove macro.
1967         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1968         <kernel-features.h>.
1969         (miss_F_GETOWN_EX): Remove variable or macro.
1970         (do_fcntl): Do not check miss_F_GETOWN_EX.
1971         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1972
1973         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1974         Remove macro.
1975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1976         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1977         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1978
1979         * sysdeps/unix/sysv/linux/kernel-features.h
1980         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1981         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1982         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1983         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1984
1985 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1986
1987         [BZ #17075]
1988         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1989         Fix calculation of the symbol's value.
1990         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1991         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1992         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1993         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1994         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1995         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1996         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1997         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1998         (modules-names): Add `tst-armtlsdescmod',
1999         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2000         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2001         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2002         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2003         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2004         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2005         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2006         ($(objpfx)tst-armtlsdescloc): New dependency.
2007         ($(objpfx)tst-armtlsdescextnow): Likewise.
2008         ($(objpfx)tst-armtlsdescextlazy): Likewise.
2009         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2010         TLS scheme support.
2011         * sysdeps/arm/configure: Regenerate.
2012
2013 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
2014
2015         * include/fcntl.h (__atfct_seterrno): Remove prototype.
2016         (__atfct_seterrno_2): Likewise.
2017         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2018         <kernel-features.h>.
2019         (__ASSUME_ATFCTS): Do not undefine and redefine.
2020         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2021         (__have_atfcts): Remove conditional definition.
2022         (__fxstatat([__NR_fstatat64]: Make code unconditional.
2023         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2024         unreachable if [__ASSUME_ATFCTS].
2025         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2026         not undefine and redefine.
2027         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2028         <kernel-features.h>.
2029         (faccessat) [__NR_faccessat]: Make code unconditional.
2030         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2031         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2032         <kernel-features.h>.
2033         (fchmodat) [__NR_fchmodat]: Make code unconditional.
2034         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2035         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2036         <kernel-features.h>.
2037         (fchownat) [__NR_fchownat]: Make code unconditional.
2038         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2039         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2040         <kernel-features.h>.
2041         (futimesat) [__NR_futimesat]: Make code unconditional.
2042         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2043         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2044         <kernel-features.h>.
2045         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2046         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2047         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2048         <kernel-features.h>.
2049         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2050         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2051         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2052         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2053         <kernel-features.h>.
2054         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2055         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2056         * sysdeps/unix/sysv/linux/linkat.c: Do not include
2057         <kernel-features.h>.
2058         (linkat) [__NR_linkat]: Make code unconditional.
2059         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2060         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2061         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2062         <kernel-features.h>.
2063         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2064         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2065         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2066         <kernel-features.h>.
2067         (mkdirat) [__NR_mkdirat]: Make code unconditional.
2068         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2069         * sysdeps/unix/sysv/linux/openat.c: Do not include
2070         <kernel-features.h>.
2071         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2072         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2073         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2074         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2075         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2076         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2077         <kernel-features.h>.
2078         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2079         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2080         result of INLINE_SYSCALL directly, not via int variable.
2081         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2082         <kernel-features.h>.
2083         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2084         (renameat) [__NR_renameat]: Make code unconditional.
2085         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2086         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2087         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2088         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2089         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2090         (__ASSUME_ATFCTS): Do not undefine and redefine.
2091         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2092         <kernel-features.h>.
2093         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2094         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2095         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2096         <kernel-features.h>.
2097         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2098         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2099         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2100         (__ASSUME_ATFCTS): Do not undefine and redefine.
2101         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2102         <kernel-features.h>.
2103         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2104         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2105         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2106         <kernel-features.h>.
2107         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2108         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2109
2110 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2111
2112         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2113
2114 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2115
2116         [BZ #17069]
2117         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2118         constructed tree before returning error.
2119         * posix/bug-regexp36.c: Expand test case.
2120
2121 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2122
2123         [BZ #6803]
2124         * math/libm-test.inc (scalbln_test_date):
2125         Add errno expectations.
2126         * math/w_scalblnf.c: New File.
2127         Add wrapper which checks for setting errno to ERANGE.
2128         Add weak_alias for corresponding scalbln function.
2129         * math/w_scalbln.c: Likewise.
2130         * math/w_scalblnl.c: Likewise.
2131         * math/Makefile (libm-calls): Add w_scalbln.
2132         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2133         Remove weak_alias for corresponding scalbln function.
2134         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2135         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2136         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2137         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2138         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2139         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2140         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2141         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2142         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2143         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2144         Remove long_double_symbol for scalblnl function in libm, libc.
2145         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2146         Add wrapper which checks for setting errno to ERANGE.
2147         Add long_double_symbol for scalblnl function in libm, libc.
2148         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2149         Remove long_double_symbol for scalblnl in libm.
2150         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2151         Add wrapper which checks for setting errno to ERANGE.
2152         Add long_double_symbol for scalblnl function in libm.
2153         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2154         Do not use wrapper because of own implementation.
2155
2156 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2157
2158         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2159         3 bytes for __pad1 for x32.
2160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2161
2162 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2163             H.J. Lu  <hongjiu.lu@intel.com>
2164
2165         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2166         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2167         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2168         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2169         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2170
2171 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2172
2173         [BZ #17069]
2174         * posix/regcomp.c (parse_expression): Deallocate partially
2175         constructed tree before returning error.
2176         * posix/Makefile.c (tests): Add bug-regex36.
2177         (generated): Add bug-regex36.mtrace.
2178         (tests-special): Add $(objpfx)bug-regex36-mem.out
2179         (bug-regex36-ENV): New variable.
2180         ($(objpfx)bug-regex36-mem.out): New rule.
2181         * posix/bug-regex36.c: New file.
2182
2183 2014-06-19  Will Newton  <will.newton@linaro.org>
2184
2185         * malloc/malloc.c (systrim): If extra is zero then return
2186         early.
2187
2188 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2189
2190         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2191
2192 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2193
2194         * sysdeps/aarch64/strchr.S: New file.
2195
2196 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2197
2198         [BZ #17022]
2199         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2200         from arguments -2 or below.
2201         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2202         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2203
2204 2014-06-18  Andreas Schwab  <schwab@suse.de>
2205
2206         [BZ #17062]
2207         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2208         of a bracket expr not to run off the end of the string.
2209         * posix/Makefile (tests): Add tst-fnmatch3.
2210         * posix/tst-fnmatch3.c: New file.
2211
2212 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2213
2214         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2215         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2216         [$(cross-compiling) = no]: Likewise.
2217         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2218         [$(cross-compiling) = no]: Likewise.
2219
2220 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2221
2222         [BZ #17031]
2223         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2224         double, adjusted for any remainder from the high double.
2225         * math/libm-test.inc (nearbyint): Add tests.
2226         (rint): Likewise.
2227
2228 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2229
2230         * nptl/sysdeps/powerpc/Makefile: Moved ...
2231         * sysdeps/powerpc/nptl/Makefile: ... here.
2232         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2233         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2234         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2235         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2236         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2237         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2238         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2239         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2240         * nptl/sysdeps/powerpc/tls.h: Moved ...
2241         * sysdeps/powerpc/nptl/tls.h: ... here.
2242
2243 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2244
2245         [BZ #16681]
2246         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2247         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2248         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2249         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2250         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2251         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2252         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2253         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2254         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2255
2256 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2257
2258         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2259
2260 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2261
2262         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2263         defined operator.
2264
2265         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2266         $TIMEOUTFACTOR.
2267
2268 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2269
2270         [BZ #17058]
2271         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2272         non-executed part of the test.
2273
2274 2014-06-16  Andreas Schwab  <schwab@suse.de>
2275
2276         * string/bits/string2.h (strdup, strndup): Update feature guard.
2277
2278 2014-06-14  David S. Miller  <davem@davemloft.net>
2279
2280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2281
2282 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2283
2284         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2285         that was previously under [RESET_PID].
2286         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2287
2288         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2289         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2290         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2291         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2292         (__libc_vfork): New strong alias.
2293         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2294
2295 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2296
2297         * sysdeps/generic/elide.h: New file.
2298
2299 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2300
2301         * Makefile (installed-headers): Adjust path of pthread.h header.
2302
2303 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2304
2305         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2306         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2307         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2308         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2309
2310         * nptl/sysdeps/s390/Makefile: Moved ...
2311         * sysdeps/s390/nptl/Makefile: ... here.
2312         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2313         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2314         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2315         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2316         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2317         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2318         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2319         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2320         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2321         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2322         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2323         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2324         * nptl/sysdeps/s390/tls.h: Moved ...
2325         * sysdeps/s390/nptl/tls.h: ... here.
2326
2327         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2328         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2329
2330 2014-06-13  David S. Miller  <davem@davemloft.net>
2331
2332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2335         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2339         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2340         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2341         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2342         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2343         Remove RESET_PID cpp guards.
2344         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2345         Remove RESET_PID cpp guards.
2346         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2347
2348 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2349
2350         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2351         __sp to uintptr_t.
2352
2353 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2354
2355         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2356         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2357         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2358         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2359         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2360         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2361         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2362         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2364         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2365         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2366         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2367         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2368         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2370         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2371         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2372         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2373         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2375
2376         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2377         (pthread_rwlock_rdlock): Add elision.
2378         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2379         (pthread_rwlock_wrlock): Add elision.
2380         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2381         (pthread_rwlock_trywrlock): Add elision.
2382         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2383         (pthread_rwlock_tryrdlock): Add elision.
2384         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2385         (pthread_rwlock_tryrdlock): Add elision unlock.
2386         * nptl/sysdeps/pthread/pthread.h:
2387         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2388         (PTHREAD_RWLOCK_INITIALIZER,
2389         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2390         Handle new elision field.
2391         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2392         * sysdeps/arm/nptl/bits/pthreadtypes.h
2393         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2394         * sysdeps/sh/nptl/bits/pthreadtypes.h
2395         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2396         * sysdeps/tile/nptl/bits/pthreadtypes.h
2397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2398         * sysdeps/a/nptl/bits/pthreadtypes.h
2399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2400         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2402         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2404         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2406         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2408         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2410         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2412         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2414         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2416         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2417         (elision_init): Set try_xbegin to zero when no RTM.
2418         * sysdeps/x86/nptl/bits/pthreadtypes.h
2419         (pthread_rwlock_t): Change __pad1 to __rwelision.
2420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2421
2422 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2423
2424         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2425         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2426         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2427         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2428
2429 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2430
2431         [BZ #16996]
2432         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2433         that the cached result has been set before returning it.
2434
2435 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2436
2437         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2438         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2439         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2440         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2441         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2442         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2443
2444         * nptl/sysdeps/sparc/Makefile: Moved ...
2445         * sysdeps/sparc/nptl/Makefile: ... here.
2446         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2447         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2448         * nptl/sysdeps/sparc/tls.h: Moved ...
2449         * sysdeps/sparc/nptl/tls.h: ... here.
2450         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2451         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2452         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2453         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2454         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2455         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2456         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2457         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2458         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2459         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2460         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2461         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2462         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2463         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2464         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2465         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2466         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2467         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2468         Update #include.
2469         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2470         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2471         Update #include.
2472         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2473         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2474         Update #include.
2475         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2476         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2477         Update #include.
2478
2479         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2480
2481         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2482         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2483
2484         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2485         (struct list_links): Type removed.
2486         (struct thread_node, struct timer_node): Replace struct list_links
2487         with struct list_head.
2488         (list_unlink_ip): Likewise.
2489         * sysdeps/pthread/timer_routines.c
2490         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2491         (list_append, list_insbefore): Likewise.
2492         (list_init): Function removed.
2493         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2494         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2495         * sysdeps/pthread/Makefile: ... here, new file.
2496
2497         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2498         * sysdeps/nptl/Implies: ... here.
2499         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2500         * nptl/sysdeps/pthread/list.h: Moved ...
2501         * include/list.h: ... here.
2502         * nptl/sysdeps/pthread/createthread.c: Moved ...
2503         * nptl/createthread.c: ... here.
2504         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2505         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2506         * nptl/pt-longjmp.c: ... here.
2507         * nptl/sysdeps/pthread/Makefile: Moved ...
2508         * sysdeps/nptl/Makefile: ... here.
2509         * nptl/sysdeps/pthread/Subdirs: Moved ...
2510         * sysdeps/nptl/Subdirs: ... here.
2511         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2512         * sysdeps/nptl/aio_misc.h: ... here.
2513         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2514         * sysdeps/nptl/bits/libc-lock.h: ... here.
2515         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2516         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2517         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2518         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2519         * nptl/sysdeps/pthread/configure: Moved ...
2520         * sysdeps/nptl/configure: ... here.
2521         * nptl/sysdeps/pthread/configure.ac: Moved ...
2522         * sysdeps/nptl/configure.ac: ... here.
2523         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2524         * sysdeps/nptl/gai_misc.h: ... here.
2525         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2526         * sysdeps/nptl/librt-cancellation.c: ... here.
2527         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2528         * sysdeps/nptl/malloc-machine.h: ... here.
2529         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2530         * sysdeps/nptl/pthread-functions.h: ... here.
2531         * nptl/sysdeps/pthread/pthread.h: Moved ...
2532         * sysdeps/nptl/pthread.h: ... here.
2533         * nptl/sysdeps/pthread/setxid.h: Moved ...
2534         * sysdeps/nptl/setxid.h: ... here.
2535         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2536         * sysdeps/nptl/sigfillset.c: ... here.
2537         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2538         * sysdeps/nptl/tcb-offsets.h: ... here.
2539         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2540         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2541         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2542         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2543         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2544         * sysdeps/pthread/allocalim.h: ... here.
2545         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2546         * sysdeps/pthread/bits/sigthread.h: ... here.
2547         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2548         * sysdeps/pthread/flockfile.c: ... here.
2549         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2550         * sysdeps/pthread/ftrylockfile.c: ... here.
2551         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2552         * sysdeps/pthread/funlockfile.c: ... here.
2553         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2554         * sysdeps/pthread/posix-timer.h: ... here.
2555         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2556         * sysdeps/pthread/timer_create.c: ... here.
2557         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2558         * sysdeps/pthread/timer_delete.c: ... here.
2559         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2560         * sysdeps/pthread/timer_getoverr.c: ... here.
2561         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2562         * sysdeps/pthread/timer_gettime.c: ... here.
2563         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2564         * sysdeps/pthread/timer_routines.c: ... here.
2565         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2566         * sysdeps/pthread/timer_settime.c: ... here.
2567         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2568         * sysdeps/pthread/tst-timer.c: ... here.
2569         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2570         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2571
2572         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2573         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2574
2575         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2576         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2577         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2578         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2579         Update #include target.
2580         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2581         * sysdeps/i386/i686/nptl/Makefile: ... here.
2582         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2583         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2584         Update #include target.
2585         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2586         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2587         * nptl/sysdeps/i386/Makefile: Moved ...
2588         * sysdeps/i386/nptl/Makefile: ... here.
2589         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2590         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2591         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2592         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2593         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2594         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2595         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2596         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2597         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2598         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2599         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2600         * nptl/sysdeps/i386/tls.h: Moved ...
2601         * sysdeps/i386/nptl/tls.h: ... here.
2602
2603         * sysdeps/sh/Makefile [$(subdir) = csu]
2604         (gen-as-const-headers): Add tcb-offsets.sym.
2605         * nptl/sysdeps/sh/Makefile: File removed.
2606         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2607         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2608         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2609         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2610         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2611         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2612         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2613         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2614         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2615         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2616         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2617         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2618         * nptl/sysdeps/sh/tls.h: Moved ...
2619         * sysdeps/sh/nptl/tls.h: ... here.
2620         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2621         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2622         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2623         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2624         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2625         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2626         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2627         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2628         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2629         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2630         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2631         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2632         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2633         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2634         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2635         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2637         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2638         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2639         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2640         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2641         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2643         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2644         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2645         Moved ...
2646         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2647         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2648         Moved ...
2649         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2650         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2652         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2654         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2655         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2656         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2657         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2658         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2659         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2660         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2661         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2662         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2663         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2664         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2665         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2666         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2667         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2668
2669 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2670
2671         * posix/spawn_faction_addopen.c: Include string.h.
2672
2673 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2674
2675         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2676         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2677         * nptl/sysdeps/x86_64/Makefile: Moved ...
2678         * sysdeps/x86_64/nptl/Makefile: ... here.
2679         * nptl/sysdeps/x86_64/configure: Moved ...
2680         * sysdeps/x86_64/nptl/configure: ... here.
2681         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2682         * sysdeps/x86_64/nptl/configure.ac: ... here.
2683         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2684         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2685         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2686         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2687         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2688         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2689         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2690         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2691         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2692         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2693         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2694         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2695         * nptl/sysdeps/x86_64/tls.h: Moved ...
2696         * sysdeps/x86_64/nptl/tls.h: ... here.
2697         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2698         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2699         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2700         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2701
2702         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2703
2704 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2705
2706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2707
2708 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2709
2710         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2711         type.
2712         [POSIX] (off_t): Likewise.
2713         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2714         [POSIX] (S_ISBLK): Require macro.
2715         [POSIX] (S_ISCHR): Likewise.
2716         [POSIX] (S_ISDIR): Likewise.
2717         [POSIX] (S_ISFIFO): Likewise.
2718         [POSIX] (S_ISREG): Likewise.
2719         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2720         optional-macro.
2721         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2722         type.
2723         [POSIX] (time_t): Likewise.
2724         [POSIX] (timer_t): Likewise.
2725
2726 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2727
2728         [BZ #17048]
2729         * posix/spawn_int.h (struct __spawn_action): Make the path string
2730         non-const to support deallocation.
2731         * posix/spawn_faction_addopen.c
2732         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2733         * posix/spawn_faction_destroy.c
2734         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2735         path in all spawn_do_open actions.
2736         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2737         posix_spawn_file_actions_addopen.
2738
2739 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2740
2741         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2742         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2743         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2744         conditional code always true.
2745         (__libc_vfork): New alias.
2746
2747 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2748
2749         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2750         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2751
2752         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2753
2754         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2755         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2756
2757         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2758         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2759
2760         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2761         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2762
2763 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2764
2765         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2766         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2767         multiarch strcmp for PPC64.
2768         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2769         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2771         multiarch optimizations.
2772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2773         (__libc_ifunc_impl_list): Likewise.
2774
2775 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2776
2777         * benchtests/scripts/validate_benchout.py: New script.
2778         * benchtests/Makefile (bench-func): Call it.
2779         * benchtests/scripts/benchout.schema.json: New file.
2780
2781 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2782
2783         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2784         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2785         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2786         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2787         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2788         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2789         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2790         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2791         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2792         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2793         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2794         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2795         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2796         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2797         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2798         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2800         Moved ...
2801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2802         ... here.
2803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2804         Moved ...
2805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2807         Moved ...
2808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2809         ... here.
2810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2811         Moved ...
2812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2813         ... here.
2814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2815         Moved ...
2816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2818         Moved ...
2819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2820         ... here.
2821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2822         Moved ...
2823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2824         ... here.
2825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2826         Moved ...
2827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2829         Moved ...
2830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2831         ... here.
2832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2833         Moved ...
2834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2835         ... here.
2836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2837         Moved ...
2838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2839         ... here.
2840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2841         Moved ...
2842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2844         Moved ...
2845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2846         ... here.
2847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2848         Moved ...
2849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2850         ... here.
2851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2852         Moved ...
2853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2854         ... here.
2855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2856         Moved ...
2857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2859         Moved ...
2860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2861         ... here.
2862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2863         Moved ...
2864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2865         ... here.
2866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2870         Moved ...
2871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2872         ... here.
2873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2874         Moved ...
2875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2877         Moved ...
2878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2880         Moved ...
2881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2882         ... here.
2883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2884         Moved ...
2885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2886         ... here.
2887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2888         Moved ...
2889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2890         ... here.
2891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2892         Moved ...
2893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2895         Moved ...
2896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2897         ... here.
2898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2899         Moved ...
2900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2901         ... here.
2902         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2903         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2905         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2907         Moved ...
2908         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2909         ... here.
2910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2911         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2912         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2913         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2915         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2917         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2919         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2921         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2923         Moved ...
2924         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2926         Moved ...
2927         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2929         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2931         Moved ...
2932         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2934         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2935         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2936         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2937         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2938         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2939
2940 2014-06-10  Wilco  <wdijkstr@arm.com>
2941
2942         * math/test-fenv-return.c: New file.
2943         * math/Makefile: Add new test test-fenv-return.
2944
2945 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2946
2947         [BZ #17042]
2948         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2949         when x - 1 is zero.
2950         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2951         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2952         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2953         0.0L for an argument of 1.0L.
2954         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2955         Likewise.
2956         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2957         value when x - 1 is zero.
2958         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2959         * sysdeps/i386/fpu/libm-test-ulps: Update.
2960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2961
2962 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2963
2964         [BZ #15119]
2965         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2966
2967 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2968
2969         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2970         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2971
2972 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2973
2974         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2975         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2976
2977         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2978         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2979
2980         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2981         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2982
2983         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2984         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2985
2986         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2987         if not already defined.
2988         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2989         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2990         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2991         (TLS_INIT_TP): Use it.
2992         (TLS_DEFINE_INIT_TP): New macro.
2993         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2994
2995 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2996
2997         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2998         constant.
2999         [POSIX] (IXANY): Likewise.
3000         [POSIX] (OLCUC): Likewise.
3001         [POSIX || POSIX2008] (CBAUD): Do not allow.
3002         [POSIX || POSIX2008] (DEFECHO): Likewise.
3003         [POSIX || POSIX2008] (ECHOCTL): Likewise.
3004         [POSIX || POSIX2008] (ECHOKE): Likewise.
3005         [POSIX || POSIX2008] (ECHOPRT): Likewise.
3006         [POSIX || POSIX2008] (EXTA): Likewise.
3007         [POSIX || POSIX2008] (EXTB): Likewise.
3008         [POSIX || POSIX2008] (FLUSHO): Likewise.
3009         [POSIX || POSIX2008] (LOBLK): Likewise.
3010         [POSIX || POSIX2008] (PENDIN): Likewise.
3011         [POSIX || POSIX2008] (SWTCH): Likewise.
3012         [POSIX || POSIX2008] (VDISCARD): Likewise.
3013         [POSIX || POSIX2008] (VDSUSP): Likewise.
3014         [POSIX || POSIX2008] (VLNEXT): Likewise.
3015         [POSIX || POSIX2008] (VREPRINT): Likewise.
3016         [POSIX || POSIX2008] (VSTATUS): Likewise.
3017         [POSIX || POSIX2008] (VWERASE): Likewise.
3018         (B*): Change to B[0123456789]*.
3019         * conform/data/time.h-data [POSIX || UNIX98]
3020         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3021         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3022         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3023         [POSIX] (tm_*): Do not allow.
3024
3025 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
3026
3027         * Makefile (install): Don't set LANGUAGE.
3028         * Makefile.in (install): Likewise.
3029         * assert/Makefile (test-assert-ENV): Remove variable.
3030         (test-assert-perr-ENV): Likewise.
3031         * elf/Makefile (neededtest4-ENV): Likewise.
3032         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3033         [$(cross-compiling) = no]: Don't set LANGUAGE.
3034         * io/ftwtest-sh (LANG): Remove variable.
3035         * libio/Makefile (tst-widetext-ENV): Likewise.
3036         * manual/install.texi (Running make install): Don't refer to
3037         environment settings for make install.
3038         * INSTALL: Regenerated.
3039         * nptl/tst-tls6.sh: Don't set LANG.
3040         * posix/globtest.sh (LANG): Remove variable.
3041         * string/Makefile (tester-ENV): Likewise.
3042         (inl-tester-ENV): Likewise.
3043         (noinl-tester-ENV): Likewise.
3044         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3045         [$(cross-compiling) = no]: Don't set LANGUAGE.
3046         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3047         without explicit environment settings.
3048
3049 2014-06-06  Roland McGrath  <roland@hack.frob.com>
3050
3051         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3052         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3053         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3054         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3055
3056 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
3057
3058         * crypt/crypt-private.h [DOS]: Add some includes taken from the
3059         other files in the crypt directory.
3060         * crypt/crypt.c: Remove duplicate includes.
3061         * crypt/crypt-entry.c: Likewise.
3062         * crypt/crypt_util.c: Likewise.
3063
3064 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
3065
3066         * Makeconfig (run-program-env): New variable.
3067         (run-program-prefix-before-env): Likewise.
3068         (run-program-prefix-after-env): Likewise.
3069         (run-program-prefix): Define in terms of new variables.
3070         (built-program-cmd-before-env): New variable.
3071         (built-program-cmd-after-env): Likewise.
3072         (built-program-cmd): Define in terms of new variables.
3073         (test-program-prefix-before-env): New variable.
3074         (test-program-prefix-after-env): Likewise.
3075         (test-program-prefix): Define in terms of new variables.
3076         (test-program-cmd-before-env): New variable.
3077         (test-program-cmd-after-env): Likewise.
3078         (test-program-cmd): Define in terms of new variables.
3079         * Rules (make-test-out): Use $(run-program-env).
3080         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3081         (help): Do not mention environment variables.  Mention
3082         --timeoutfactor option.
3083         (timeoutfactor): New variable.
3084         (blacklist_exports): Remove function.
3085         (exports): Remove variable.
3086         (command): Do not include ${exports}.
3087         * manual/install.texi (Configuring and compiling): Do not mention
3088         test wrappers preserving environment variables.  Mention that last
3089         assignment to a variable must take precedence.
3090         * INSTALL: Regenerated.
3091         * benchtests/Makefile (run-bench): Use $(run-program-env).
3092         * catgets/Makefile ($(objpfx)test1.cat): Use
3093         $(built-program-cmd-before-env), $(run-program-env) and
3094         $(built-program-cmd-after-env).
3095         ($(objpfx)test2.cat): Do not specify environment variables
3096         explicitly.
3097         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3098         $(run-program-env) and $(built-program-cmd-after-env).
3099         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3100         $(run-program-env) and $(test-program-cmd-after-env).
3101         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3102         explicitly.
3103         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3104         run_program_env and test_program_cmd_after_env arguments.
3105         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3106         * elf/tst-pathopt.sh: Use run_program_env argument.
3107         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3108         $(test-wrapper-env) and $(run-program-env).
3109         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3110         run_program_env arguments.
3111         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3112         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3113         $(test-program-prefix-before-env), $(run-program-env) and
3114         $(test-program-prefix-after-env).
3115         ($(objpfx)tst-gettext2.out): Likewise.
3116         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3117         run_program_env and test_program_prefix_after_env arguments.
3118         * intl/tst-gettext2.sh: Likewise.
3119         * intl/tst-gettext4.sh: Do not set environment variables
3120         explicitly.
3121         * intl/tst-gettext6.sh: Likewise.
3122         * intl/tst-translit.sh: Likewise.
3123         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3124         $(test-program-prefix-before-env), $(run-program-env) and
3125         $(test-program-prefix-after-env).
3126         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3127         run_program_env and test_program_prefix_after_env arguments.
3128         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3129         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3130         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3131         explicitly with each use of ${test_wrapper_env}.
3132         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3133         $(test-program-prefix-before-env), $(run-program-env) and
3134         $(test-program-prefix-after-env).
3135         * posix/tst-getconf.sh: Do not set environment variables
3136         explicitly.
3137         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3138         run_program_env and test_program_prefix_after_env arguments.
3139         * stdio-common/tst-printf.sh: Do not set environment variables
3140         explicitly.
3141         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3142         $(test-program-prefix-before-env), $(run-program-env) and
3143         $(test-program-prefix-after-env).
3144         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3145         run_program_env and test_program_prefix_after_env arguments.
3146         Split $test calls into $test_pre and $test.
3147         * timezone/Makefile (build-testdata): Use
3148         $(built-program-cmd-before-env), $(run-program-env) and
3149         $(built-program-cmd-after-env).
3150
3151 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3152
3153         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3154         strlen for non SHARED builds.
3155
3156 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3157
3158         * nptl/allocatestack.c (check_list): Inlined function...
3159         (__reclaim_stacks): ... here.
3160
3161 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3162
3163         [BZ #15698]
3164         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3165         memory overrun.
3166
3167 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3168
3169         * Rules (make-test-out): Include
3170         LOCPATH=$(common-objpfx)localedata in default environment.
3171         * debug/Makefile (tst-chk1-ENV): Remove variable.
3172         (tst-chk2-ENV): Likewise.
3173         (tst-chk3-ENV): Likewise.
3174         (tst-chk4-ENV): Likewise.
3175         (tst-chk5-ENV): Likewise.
3176         (tst-chk6-ENV): Likewise.
3177         (tst-lfschk1-ENV): Likewise.
3178         (tst-lfschk2-ENV): Likewise.
3179         (tst-lfschk3-ENV): Likewise.
3180         (tst-lfschk4-ENV): Likewise.
3181         (tst-lfschk5-ENV): Likewise.
3182         (tst-lfschk6-ENV): Likewise.
3183         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3184         (tst-iconv7-ENV): Likewise.
3185         * intl/Makefile (LOCPATH-ENV): Likewise.
3186         (tst-codeset-ENV): Likewise.
3187         (tst-gettext3-ENV): Likewise.
3188         (tst-gettext5-ENV): Likewise.
3189         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3190         (tst-fopenloc-ENV): Likewise.
3191         (tst-fgetws-ENV): Remove variable.
3192         (tst-ungetwc1-ENV): Likewise.
3193         (tst-ungetwc2-ENV): Likewise.
3194         (bug-ungetwc2-ENV): Likewise.
3195         (tst-swscanf-ENV): Likewise.
3196         (bug-ftell-ENV): Likewise.
3197         (tst-fgetwc-ENV): Likewise.
3198         (tst-fseek-ENV): Likewise.
3199         (tst-ftell-partial-wide-ENV): Likewise.
3200         (tst-ftell-active-handler-ENV): Likewise.
3201         (tst-ftell-append-ENV): Likewise.
3202         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3203         (tst-regexloc-ENV): Likewise.
3204         (bug-regex1-ENV): Likewise.
3205         (tst-regex-ENV): Likewise.
3206         (tst-regex2-ENV): Likewise.
3207         (bug-regex5-ENV): Likewise.
3208         (bug-regex6-ENV): Likewise.
3209         (bug-regex17-ENV): Likewise.
3210         (bug-regex18-ENV): Likewise.
3211         (bug-regex19-ENV): Likewise.
3212         (bug-regex20-ENV): Likewise.
3213         (bug-regex22-ENV): Likewise.
3214         (bug-regex23-ENV): Likewise.
3215         (bug-regex25-ENV): Likewise.
3216         (bug-regex26-ENV): Likewise.
3217         (bug-regex30-ENV): Likewise.
3218         (bug-regex32-ENV): Likewise.
3219         (bug-regex33-ENV): Likewise.
3220         (bug-regex34-ENV): Likewise.
3221         (bug-regex35-ENV): Likewise.
3222         (tst-rxspencer-ENV): Likewise.
3223         (tst-rxspencer-no-utf8-ENV): Likewise.
3224         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3225         (tst-sscanf-ENV): Likewise.
3226         (tst-swprintf-ENV): Likewise.
3227         (tst-swscanf-ENV): Likewise.
3228         (test-vfprintf-ENV): Likewise.
3229         (scanf13-ENV): Likewise.
3230         (bug14-ENV): Likewise.
3231         (tst-grouping-ENV): Likewise.
3232         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3233         (tst-strtod3-ENV): Likewise.
3234         (tst-strtod4-ENV): Likewise.
3235         (tst-strtod5-ENV): Likewise.
3236         (testmb2-ENV): Likewise./
3237         * string/Makefile (tst-strxfrm-ENV): Likewise.
3238         (tst-strxfrm2-ENV): Likewise.
3239         (bug-strcoll1-ENV): Likewise.
3240         (test-strcasecmp-ENV): Likewise.
3241         (test-strncasecmp-ENV): Likewise.
3242         * time/Makefile (tst-strptime-ENV): Likewise.
3243         (tst-ftime_l-ENV): Likewise.
3244         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3245         (tst-mbrtowc-ENV): Likewise.
3246         (tst-wcrtomb-ENV): Likewise.
3247         (tst-mbrtowc2-ENV): Likewise.
3248         (tst-c16c32-1-ENV): Likewise.
3249         (tst-mbsnrtowcs-ENV): Likewise.
3250
3251 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3252
3253         * manual/resource.texi (How to get information about the memory
3254         subsystem?): Fix typo.
3255         Reported by Peon de la Parra Ivan <peon@keba.com>
3256
3257 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3258
3259         [BZ #16882]
3260         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3261         (pthread_spin_lock): Branch out of spin loop to proper location.
3262         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3263         (pthread_spin_lock): Likewise.
3264
3265         * nptl/tst-spin4.c: New test.
3266         * nptl/Makefile (tests): Add tst-spin4.
3267
3268 2014-06-03  Andreas Schwab  <schwab@suse.de>
3269
3270         [BZ #15946]
3271         * resolv/res_send.c (send_dg): Reload file descriptor after
3272         calling reopen.
3273
3274 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3275
3276         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3277
3278 2014-06-03  Richard Henderson  <rth@redhat.com>
3279
3280         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3281         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3282         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3283         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3284         in the SAVE_PID block.
3285         (__libc_vfork): New alias.
3286         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3287
3288         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3289         child in registers, not on the stack.  Remove RESET_PID conditionals.
3290         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3291
3292 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3293
3294         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3295
3296 2014-06-03  Wilco  <wdijkstr@arm.com>
3297
3298         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3299         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3300         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3301         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3302         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3303         Likewise.
3304
3305 2014-06-03  Wilco  <wdijkstr@arm.com>
3306
3307         * sysdeps/aarch64/fpu/math_private.h
3308         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3309         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3310         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3311         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3312         Fix declarations.
3313
3314 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3315
3316         * crypt/crypt-private.h: Include ufc-crypt.h.
3317         (__b64_from_24bit): Declare extern.
3318         * crypt/crypt_util.c(__b64_from_24bit): New function.
3319         (b64t): New static const variable.
3320         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3321         (b64t): Remove variable.
3322         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3323         * crypt/sha256-crypt.c: Include crypt-private.h.
3324         (b64t): Remove variable.
3325         (__sha256_crypt_r): Remove b64_from_24bit and replace
3326         with __b64_from_24bit.
3327         * crypt/sha512-crypt.c: Likewise.
3328
3329 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3330
3331         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3332         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3333         Label the code __libc_vfork rather than __vfork.
3334         [!NOT_IN_libc] (vfork): Define as weak alias.
3335         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3336         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3337         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3338
3339 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3340
3341         * malloc/malloc.c (malloc_info): Fix format specifier for
3342         n_mmaps.
3343
3344 2014-06-02  Wilco  <wdijkstr@arm.com>
3345
3346         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3347         FPCR write.
3348
3349 2014-06-02  Wilco  <wdijkstr@arm.com>
3350
3351         [BZ #17009]
3352         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3353         Rewrite to reduce FPCR/FPSR accesses.
3354
3355 2014-06-01  David S. Miller  <davem@davemloft.net>
3356
3357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3358
3359 2014-05-31  David S. Miller  <davem@davemloft.net>
3360
3361         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3362         to occur in round to nearest mode when |x| >= 2.0
3363
3364 2014-05-30  Richard Henderson  <rth@twiddle.net>
3365
3366         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3367         (PSEUDO_RET_NOERRNO): Remove.
3368         (ret): Don't redefine.
3369         (ret_NOERRNO): Define in terms of ret.
3370         (ret_ERRVAL): Likewise.
3371
3372         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3373         use of PSEUDO_RET; perform the error check directly.
3374
3375 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3376
3377         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3378         with __int128_t.
3379
3380 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3381
3382         * malloc/malloc (malloc_info): Fix formatting.
3383
3384 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3385             Roland McGrath  <roland@hack.frob.com>
3386
3387         * malloc/malloc (malloc_info): Also print mmapped statistics.
3388
3389 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3390
3391         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3392         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3393
3394 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3395
3396         * malloc/malloc.c (malloc_info): Inline mi_arena.
3397
3398 2014-05-29  Richard Henderson  <rth@twiddle.net>
3399
3400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3401         Remove comma before expanding ASM_ARGS_##nr.
3402         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3403         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3404         of ASM_ARGS_##nr.
3405         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3406         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3407         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3408         (ASM_ARGS_1): Add leading comma.
3409
3410         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3411         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3412         to __errno_location.
3413         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3414         Remove the expected plt for __errno_location.
3415
3416         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3417         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3418         call to __read_tp.
3419
3420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3421         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3422         it and break it down.
3423         (DOCARGS_0, DOCARGS_1): Do nothing.
3424         (DOCARGS_2): Update to store into the new stack frame.
3425         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3426         (UNDOCARGS_1): Update to restore from the new stack frame.
3427         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3428         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3429
3430         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3431         (SINGLE_THREAD_P): New parameter for result regno.
3432         (PSEUDO): Update to match; use cbz instead of beq.
3433
3434         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3435         Use ENTRY to define the _nocancel entry point.  Share the syscall
3436         and syscall error check paths with the cancel path.
3437         (PSEUDO_END): New.
3438
3439         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3440         whitespace; tabs before and after asm mnemonics.
3441
3442 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3443
3444         [BZ #15132]
3445         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3446         Call fstat64 or stat64 internally, depending on arguments passed.
3447         Replace stat buffer argument with file descriptor argument.
3448         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3449         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3450         Pass fd to __internal_statvfs instead of calling fstat64.
3451         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3452         Pass fd to __internal_statvfs64 instead of calling fstat64.
3453         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3454         Pass -1 to __internal_statvfs instead of calling stat64.
3455         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3456         Pass -1 to __internal_statvfs64 instead of calling stat64.
3457
3458 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3459
3460         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3461         that was previously under [RESET_PID].
3462         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3463
3464         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3465         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3466
3467 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3468
3469         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3470
3471         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3472         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3473
3474 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3475
3476         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3477
3478 2014-05-27  Andreas Schwab  <schwab@suse.de>
3479
3480         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3481         TLS_INIT_TP macro.
3482         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3483         * elf/rtld.c (init_tls, dl_main): Likewise.
3484         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3485         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3486         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3487         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3488         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3489         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3490         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3491         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3492         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3493         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3494         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3495         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3496         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3497         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3498         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3499         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3500         * sysdeps/generic/tls.h: Update description.
3501
3502 2014-05-27  Will Newton  <will.newton@linaro.org>
3503
3504         [BZ #16990]
3505         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3506         and restore r2 rather than just restoring.
3507
3508 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3509
3510         [BZ #16724]
3511         * libio/tst-ftell-append.c: New test case.
3512         * libio/Makefile (tests): Add test case.
3513         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3514         append mode.
3515         * libio/wfileops.c (do_ftell_wide): Likewise.
3516
3517 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3518
3519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3520
3521         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3522         ...
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3525         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3526         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3527         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3528         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3529         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3530         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3532         Moved ...
3533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3535         Moved ...
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3537         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3538         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3539         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3540         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3541         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3542         ...
3543         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3544         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3545         Moved ...
3546         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3547         here.
3548         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3549         ...
3550         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3551         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3552         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3553
3554         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3555         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3556         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3557         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3558
3559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3560         merge into ...
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3563         ...
3564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3566         ...
3567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3568         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3569         Moved ...
3570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3571         here.
3572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3573         Moved ...
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3575         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3578
3579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3580         conditional [RESET_PID].
3581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3583         removed.
3584         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3585         removed.
3586
3587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3588         <tcb-offsets.h>.
3589         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3590         (__libc_vfork): New strong alias.
3591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3592         removed.
3593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3594         Removed.
3595
3596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3597         <tcb-offsets.h>.
3598         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3599         (__libc_vfork): New strong alias.
3600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3601         removed.
3602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3603         removed.
3604
3605 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3606
3607         * malloc/malloc.c (mi_arena): New function.
3608         (malloc_info): Remove nested function mi_arena. Call non-nosted
3609         function mi_arena.
3610
3611 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3612
3613         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3614         by insrwi.
3615         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3616         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3617         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3618         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3619         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3620         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3621         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3622
3623 2014-05-26  Andreas Schwab  <schwab@suse.de>
3624
3625         [BZ #16984]
3626         * locale/programs/repertoire.c (repertoire_read): Add slash
3627         between I18NPATH element and file name.
3628         * locale/programs/locfile.c (locfile_read): Likewise.
3629
3630 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3631
3632         * nptl/pthread_mutexattr_settype.c
3633         (__pthread_mutexattr_settype):
3634         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3635
3636 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3637
3638         * nptl/tst-mutex5 (do_test):
3639         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3640
3641 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3642
3643         * benchtests/README: Document 'init' directive.
3644         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3645         BENCH_INIT.
3646         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3647         (parse_file): Recognize 'init' directive.
3648
3649 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3650
3651         [BZ #16796]
3652         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3653         alignment of struct pthread.
3654
3655 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3656
3657         [BZ #16878]
3658         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3659         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3660         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3661         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3662
3663 2014-05-25  Richard Henderson  <rth@twiddle.net>
3664
3665         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3666         (SINGLE_THREAD_P_PIC): Remove.
3667         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3668         (SINGLE_THREAD_P_PIC): Remove.
3669
3670         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3671         branch to syscall error ...
3672         (PSEUDO): ... here.
3673         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3674         from __local_syscall_error to .Lsyscall_error.
3675         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3676         (SYSCALL_ERROR): Update label name.
3677
3678         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3679         Do not use DOARGS/UNDOARGS.
3680         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3681         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3682         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3683         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3684         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3685
3686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3687         block comment.
3688
3689         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3690         define if !NOT_IN_libc.
3691         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3692         define with non-default symbol versions.
3693
3694 2014-05-23  Richard Henderson  <rth@twiddle.net>
3695
3696         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3697         (vfork, __vfork): Define via compat_symbol.
3698
3699         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3700         [!HAVE_IFUNC] (vfork_compat): Remove.
3701         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3702
3703 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3704
3705         [BZ #16978]
3706         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3707         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3708         variable.
3709
3710 2014-05-23  Richard Henderson  <rth@twiddle.net>
3711
3712         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3713         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3714         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3715         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3716
3717         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3718         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3719         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3720         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3721         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3722         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3723         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3724         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3725         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3726         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3727         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3728         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3729         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3730         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3731         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3732         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3733         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3734         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3735         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3736         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3737         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3738         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3739         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3740         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3741         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3742         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3743         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3744         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3745         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3746         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3747         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3748         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3749         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3750         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3751         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3752         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3753         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3754         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3755         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3756         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3757         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3758         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3759         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3760         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3761         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3762         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3763         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3764         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3765         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3766         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3767         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3768         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3769         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3770         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3771         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3772         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3773
3774         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3775         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3776         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3777         before exiting on error.
3778         (__libc_vfork): New strong alias.
3779         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3780         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3781
3782         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3783         that was previously under [RESET_PID].
3784         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3785
3786         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3787
3788 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3789
3790         [BZ #16977]
3791         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3792         value when x - 1 is zero.
3793         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3794         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3795         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3796         0.0L for an argument of 1.0L.
3797         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3798         Likewise.
3799         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3800         value when x - 1 is zero.
3801         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3802         * sysdeps/i386/fpu/libm-test-ulps: Update.
3803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3804
3805 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3806
3807         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3808         alphasort and versionsort.
3809
3810 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3811
3812         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3813         macro.
3814         [copysignf]: Likewise.
3815
3816 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3817
3818         * crypt/md5-crypt.c: Fix formatting.
3819
3820 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3821
3822         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3823         (b64_from_24bit): New function.
3824
3825 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3826
3827         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3828         libc_hidden_builtin_def to ifunc.
3829         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3830         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3831
3832 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3833
3834         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3835         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3836
3837 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3838
3839         * nscd/Depend (linuxthreads): Remove.
3840         (nptl): Add.
3841         * resolv/Depend (linuxthreads): Remove.
3842         * rt/Depend (linuxthreads): Remove.
3843
3844         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3845         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3846         $(common-objpfx)elf/.
3847         (link-libc-before-gnulib): Likewise.
3848         (elfobjdir): Remove variable.
3849         * Makefile (install): Use $(elf-objpfx) instead of
3850         $(common-objpfx)elf/.
3851         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3852         $(elfobjdir)/.
3853         (link-libc-deps): Likewise.
3854         ($(common-objpfx)libc.so): Likewise.
3855         ($(common-objpfx)linkobj/libc.so): Likewise.
3856         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3857         instead of $(common-objpfx)elf/.
3858         (symbolic-link-list): Likewise.
3859         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3860         [$(cross-compiling) = no]: Likewise.
3861         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3862         $(elfobjdir)/.
3863         (static-gnulib-arch): Likewise.
3864         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3865         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3866         $(common-objpfx)elf/.
3867
3868 2014-05-21  Richard Henderson  <rth@redhat.com>
3869
3870         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3871         (SINGLE_THREAD_P): Use the correct width load.  Fold
3872         into the ldr offset.
3873
3874         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3875         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3876
3877 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3878
3879         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3880         (libgcc_s_resume): Use __attribute_used__.
3881         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3882         Likewise.
3883
3884 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3885
3886         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3887         optimization when used with float constants.
3888
3889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3890
3891 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3892
3893         [BZ #16915]
3894         * locale/nl_langinfo_l.c: Make direct reference to every
3895         _nl_current_CATEGORY symbol.
3896         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3897         (tests-static): Add tst-langinfo-static.
3898         (tests-special): Add tst-langinfo-static.out.
3899         ($(objpfx)tst-langinfo.out): Redirect output.
3900         ($(objpfx)tst-langinfo-static.out): New.
3901         * localedata/tst-langinfo.sh: Send output to stdout.
3902         * localedata/tst-langinfo-static.c: New file.
3903
3904         [BZ #16965]
3905         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3906         when the shift amount is modulo the limb size.
3907
3908 2014-05-20  Richard Henderson  <rth@redhat.com>
3909
3910         [BZ #16967]
3911         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3912         Change type of sa_flags from unsigned int to int.
3913
3914         [BZ #16966]
3915         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3916
3917         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3918
3919 2014-05-20  Will Newton  <will.newton@linaro.org>
3920
3921         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3922         Test the return value of the system call in the nocancel case.
3923
3924 2014-05-20  Will Newton  <will.newton@linaro.org>
3925             Yvan Roux  <yvan.roux@linaro.org>
3926
3927         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3928         #include of asm/ptrace.h.
3929         (PTRACE_GET_THREAD_AREA): Remove #undef.
3930         (PTRACE_GETHBPREGS): Likewise.
3931         (PTRACE_SETHBPREGS): Likewise.
3932         (struct user_regs_struct): New structure.
3933         (struct user_fpsimd_struct): New structure.
3934         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3935         #include of asm/ptrace.h and second #include of sys/user.h.
3936         (PTRACE_GET_THREAD_AREA): Remove #undef.
3937         (PTRACE_GETHBPREGS): Likewise.
3938         (PTRACE_SETHBPREGS): Likewise.
3939         (ELF_NGREG): Use new struct user_regs_struct.
3940         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3941
3942 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3943
3944         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3945         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3946
3947 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3948
3949         [BZ #16958]
3950         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3951         membar to avoid block loads/stores to overlap previous stores.
3952
3953 2014-05-17  Richard Henderson  <rth@redhat.com>
3954
3955         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3956         Create the __##syscall_name##_nocancel entry point.
3957         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3958         Remove; let the sysdep-cancel.h code create it.
3959
3960 2014-05-17  David S. Miller  <davem@davemloft.net>
3961
3962         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3963         Protect with __USE_GNU.
3964         (TIOCSET_TEMPT): Likewise.
3965         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3966         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3967         these are already provided in bits/ioctl-types.h
3968
3969 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3970
3971         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3972         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3973
3974         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3975         Use wait4 regardless of [__NR_waitpid].
3976
3977 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3978
3979         PR libgcc/60166
3980         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3981         (_FP_NANSIGN_Q): Set the quiet bit.
3982
3983 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3984
3985         * benchtests/Makefile
3986         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3987         not $(common-objpfx)math/libm.so.
3988         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3989         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3990         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3991         $(common-objpfx)dlfcn/libdl.so.
3992         ($(objpfx)tst-audit8): Depend on $(libm), not
3993         $(common-objpfx)math/libm.so.
3994         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3995         not $(common-objpfx)dlfcn/libdl.so.
3996         * math/Makefile
3997         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3998         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3999         [$(build-shared) = yes].
4000         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4001         $(common-objpfx)nptl/libpthread.so.
4002         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4003         $(common-objpfx)math/libm.so$(libm.so-version) or
4004         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4005         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4006         $(common-objpfx)dlfcn/libdl.so.
4007         * setjmp/Makefile (link-libm): Remove variable.
4008         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4009         * stdio-common/Makefile (link-libm): Remove variable.
4010         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4011         * stdlib/Makefile (link-libm): Remove variable.
4012         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4013         ($(objpfx)tst-strtod-round): Likewise.
4014         ($(objpfx)tst-tininess): Likewise.
4015         ($(objpfx)tst-strtod-underflow): Likewise.
4016         ($(objpfx)tst-strtod6): Likewise.
4017         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4018         $(libdl), not $(common-objpfx)nptl/libpthread.so and
4019         $(common-objpfx)dlfcn/libdl.so.
4020
4021 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4022
4023         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4024         BSD terminal modes definitions.
4025
4026 2014-05-16  Roland McGrath  <roland@hack.frob.com>
4027
4028         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4029         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4030
4031         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4032         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4033         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4034         Don't do #include_next.
4035         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4036         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4037         Don't do #include_next.
4038         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4039         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4040         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4041         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4042
4043 2014-05-16  Allan McRae  <allan@archlinux.org>
4044
4045         * po/sv.po: Update Swedish translation from translation project.
4046
4047         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4048         in sed expression.
4049
4050 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
4051
4052         [BZ #16917]
4053         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4054         errno if the TIOCGPTN ioctl fails with an error different than
4055         EINVAL.
4056         * login/tst-ptsname.c: New file.
4057         * login/Makefile (tests): Add tst-ptsname.
4058
4059         [BZ #16943]
4060         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4061         and prlimit64.
4062
4063 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4064
4065         [BZ #16849]
4066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4067         herrno to return EAI_AGAIN.
4068
4069 2014-05-14  Roland McGrath  <roland@hack.frob.com>
4070
4071         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4072         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4073         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4074         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4075         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4076         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4077         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4078         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4079         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4080         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4081         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4082         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4083         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4084         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4085         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4086         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4087         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4088         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4089         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4090         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4091         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4092         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4093         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4094         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4095         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4096         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4097         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4098         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4099         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4100         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4102         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4104         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4106         Moved ...
4107         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4109         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4111         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4113         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4115         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4117         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4119         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4121         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4123         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4125         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4127         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4129         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4131         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4133         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4135         Moved ...
4136         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4138         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4140         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4142         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4144         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4146         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4148         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4150         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4152         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4154         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4156         Moved ...
4157         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4159         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4160
4161         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4162         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4163         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4164         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4165         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4166         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4167         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4168         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4169         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4170         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4171         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4172         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4173         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4174         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4175         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4176         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4177         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4178         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4179         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4180         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4181         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4183         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4185         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4187         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4188         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4189         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4190         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4191         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4192
4193         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4194         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4195
4196         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4197         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4198         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4199         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4200         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4202         Moved ...
4203         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4204         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4205         Moved ...
4206         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4207         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4208         Moved ...
4209         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4210         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4211         Moved ...
4212         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4213         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4214         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4215         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4216         Moved ...
4217         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4218         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4219         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4220         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4221         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4222         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4223         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4225         Moved ...
4226         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4228         Moved ...
4229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4230         ... here.
4231         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4232         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4234         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4235         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4236         Moved ...
4237         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4238         ... here.
4239         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4240         Moved ...
4241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4242         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4243         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4244         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4245         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4246         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4247         Moved ...
4248         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4249         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4250         Moved ...
4251         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4252         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4253         Moved ...
4254         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4255         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4256         Moved ...
4257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4258         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4259         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4260         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4261         Moved ...
4262         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4263         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4264         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4265         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4266         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4267         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4268         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4270         Moved ...
4271         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4273         Moved ...
4274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4275         ... here.
4276         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4277         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4278         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4279         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4280         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4281         Moved ...
4282         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4283         ... here.
4284         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4285         Moved ...
4286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4287         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4288         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4289         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4290         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4291         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4292         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4293         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4294         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4295         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4296         Moved ...
4297         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4298         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4299         Moved ...
4300         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4301         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4302         Moved ...
4303         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4304         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4305         Moved ...
4306         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4307         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4308         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4309         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4310         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4311         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4312         Moved ...
4313         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4314         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4315         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4317         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4318         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4319         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4320         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4321         Moved ...
4322         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4323         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4324         Moved ...
4325         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4326         ... here.
4327         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4328         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4329         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4330         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4331         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4332         Moved ...
4333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4334         ... here.
4335         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4336         Moved ...
4337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4338         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4339         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4340         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4341         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4342         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4343         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4344         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4345         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4346         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4347         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4348
4349         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4350         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4351
4352         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4353         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4354
4355         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4356         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4357         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4358         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4359         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4360         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4361         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4362         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4363         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4364         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4365         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4366         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4367         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4368         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4369         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4370         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4371         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4373         Moved ...
4374         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4376         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4378         Moved ...
4379         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4380         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4381         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4383         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4385         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4387         Moved ...
4388         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4390         Moved ...
4391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4397         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4398         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4399         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4400         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4401         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4402         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4403         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4404         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4405         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4406         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4407         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4408
4409         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4410         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4411         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4412         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4413         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4414
4415         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4416         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4418         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4419         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4420         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4421         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4422         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4423         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4424         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4425
4426         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4427         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4428
4429         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4430         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4431         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4432         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4433         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4434         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4435         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4436         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4437         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4438         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4439         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4440         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4441         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4442         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4444         Update #include.
4445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4446         Likewise.
4447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4448         Likewise.
4449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4450         Likewise.
4451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4452         Likewise.
4453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4454         Likewise.
4455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4456         Likewise.
4457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4458         Likewise.
4459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4460         Likewise.
4461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4462         Likewise.
4463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4466         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4469         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4470         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4471         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4472         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4473         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4474         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4475         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4476         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4477         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4478
4479         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4480         that was previously under [RESET_PID].
4481         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4482         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4483         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4484
4485         * sysdeps/i386/nptl/Implies: New file.
4486         * sysdeps/x86_64/nptl/Implies: New file.
4487         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4488         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4489         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4490         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4491
4492         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4493         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4494         (__libc_vfork): New strong alias.
4495         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4496         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4497
4498         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4499         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4500         (__libc_vfork): New strong alias.
4501         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4502         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4503
4504         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4505         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4506         (__libc_vfork): New strong alias.
4507         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4508         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4509         * nptl/pt-vfork.c: New file.
4510         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4511         (libpthread: GLIBC_2.20): New version set (empty).
4512
4513 2014-05-14  Will Newton  <will.newton@linaro.org>
4514
4515         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4516         rather than #if.
4517
4518 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4519
4520         [BZ #16564]
4521         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4522         arguments with exponent 65 or above.
4523         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4524         arguments 0x1p113L or above.
4525         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4526         to arguments 0x1p107L or above.
4527         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4528         positive arguments with exponent 65 or above.
4529         * math/auto-libm-test-in: Add more tests of log1p.
4530         * math/auto-libm-test-out: Regenerated.
4531
4532         [BZ #16928]
4533         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4534         non-finite arguments is +0.
4535         * math/s_cacosf.c (__cacosf): Likewise.
4536         * math/s_cacosl.c (__cacosl): Likewise.
4537         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4538         * sysdeps/i386/fpu/libm-test-ulps: Update.
4539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4540
4541         [BZ #16927]
4542         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4543         value.
4544         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4545         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4546         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4547         for explicit high bit of mantissa when testing for argument equal
4548         to 1.
4549         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4550         * sysdeps/i386/fpu/libm-test-ulps: Update.
4551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552
4553         [BZ #16516]
4554         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4555         (__erf): Scale by 16 instead of 8 in potentially underflowing
4556         case.  Ensure exception if result actually underflows.
4557         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4558         (__erff): Scale by 16 instead of 8 in potentially underflowing
4559         case.  Ensure exception if result actually underflows.
4560         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4561         (efx8): Remove variable.
4562         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4563         case.  Ensure exception if result actually underflows.
4564         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4565         (efx8): Remove variable.
4566         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4567         case.  Ensure exception if result actually underflows.
4568         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4569         (efx8): Remove variable.
4570         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4571         case.  Ensure exception if result actually underflows.
4572         * math/auto-libm-test-in: Add more tests of erf.
4573         * math/auto-libm-test-out: Regenerated.
4574
4575 2014-05-14  Andreas Schwab  <schwab@suse.de>
4576
4577         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4578         Remove code conditionalized on USE___THREAD.
4579
4580         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4581         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4582         not definedness.
4583
4584 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4585
4586         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4587         Define unconditionally.
4588         (__ASSUME_O_CLOEXEC): Likewise.
4589         (__ASSUME_SOCK_CLOEXEC): Likewise.
4590         (__ASSUME_IN_NONBLOCK): Likewise.
4591         (__ASSUME_PIPE2): Likewise.
4592         (__ASSUME_EVENTFD2): Likewise.
4593         (__ASSUME_SIGNALFD4): Likewise.
4594         (__ASSUME_DUP3): Likewise.
4595         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4596         (__ASSUME_DUP3): Do not define.
4597         (__ASSUME_EVENTFD2): Likewise.
4598         (__ASSUME_IN_NONBLOCK): Likewise.
4599         (__ASSUME_O_CLOEXEC): Likewise.
4600         (__ASSUME_PIPE2): Likewise.
4601         (__ASSUME_SIGNALFD4): Likewise.
4602         (__ASSUME_SOCK_CLOEXEC): Likewise.
4603         (__ASSUME_UTIMES): Undefine.
4604         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4605         (__ASSUME_UTIMES): Do not define.
4606         (__ASSUME_O_CLOEXEC): Likewise.
4607         (__ASSUME_SOCK_CLOEXEC): Likewise.
4608         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4609         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4610         0x020621].
4611         (__ASSUME_PIPE2): Likewise.
4612         (__ASSUME_EVENTFD2): Likewise.
4613         (__ASSUME_SIGNALFD4): Likewise.
4614         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4615         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4616         Do not define.
4617         (__ASSUME_EVENTFD2): Likewise.
4618         (__ASSUME_SIGNALFD4): Likewise.
4619         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4620         (__ASSUME_32BITUIDS): Likewise.
4621         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4622         (__ASSUME_IPC64): Likewise.
4623         (__ASSUME_ST_INO_64_BIT): Likewise.
4624         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4625         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4626         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4627         (__ASSUME_UTIMES): Do not define.
4628         (__ASSUME_PSELECT): Likewise.
4629         (__ASSUME_PPOLL): Likewise.
4630         (__ASSUME_O_CLOEXEC): Likewise.
4631         (__ASSUME_SOCK_CLOEXEC): Likewise.
4632         (__ASSUME_IN_NONBLOCK): Likewise.
4633         (__ASSUME_PIPE2): Likewise.
4634         (__ASSUME_EVENTFD2): Likewise.
4635         (__ASSUME_SIGNALFD4): Likewise.
4636         (__ASSUME_DUP3): Likewise.
4637         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4638         (__ASSUME_UTIMES): Likewise.
4639         (__ASSUME_O_CLOEXEC): Likewise.
4640         (__ASSUME_SOCK_CLOEXEC): Likewise.
4641         (__ASSUME_IN_NONBLOCK): Likewise.
4642         (__ASSUME_PIPE2): Likewise.
4643         (__ASSUME_EVENTFD2): Likewise.
4644         (__ASSUME_SIGNALFD4): Likewise.
4645         (__ASSUME_DUP3): Likewise.
4646         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4647         (__ASSUME_UTIMES): Likewise.
4648         (__ASSUME_O_CLOEXEC): Likewise.
4649         (__ASSUME_SOCK_CLOEXEC): Likewise.
4650         (__ASSUME_IN_NONBLOCK): Likewise.
4651         (__ASSUME_PIPE2): Likewise.
4652         (__ASSUME_EVENTFD2): Likewise.
4653         (__ASSUME_SIGNALFD4): Likewise.
4654         (__ASSUME_DUP3): Likewise.
4655         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4656         Likewise.
4657         (__ASSUME_UTIMES): Likewise.
4658         (__ASSUME_EVENTFD2): Likewise.
4659         (__ASSUME_SIGNALFD4): Likewise.
4660         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4661         (__ASSUME_O_CLOEXEC): Likewise.
4662         (__ASSUME_SOCK_CLOEXEC): Likewise.
4663         (__ASSUME_IN_NONBLOCK): Likewise.
4664         (__ASSUME_PIPE2): Likewise.
4665         (__ASSUME_EVENTFD2): Likewise.
4666         (__ASSUME_SIGNALFD4): Likewise.
4667         (__ASSUME_DUP3): Likewise.
4668         (__ASSUME_UTIMES): Undefine.
4669
4670         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4671         feclearexcept.  Remove symbol versioning code.
4672         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4673         symbol versioning code.
4674         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4675         symbol versioning code.
4676         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4677         feupdateenv.  Remove symbol versioning code.
4678         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4679         fegetexceptflag.  Remove symbol versioning code.
4680         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4681         fesetexceptflag.  Remove symbol versioning code.
4682         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4683         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4684         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4685         (__posix_fadvise64_l32): Remove prototype.
4686         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4687         code.
4688
4689 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4690
4691         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4692         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4693         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4694         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4695
4696 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4697
4698         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4699         current working directory
4700
4701 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4702
4703         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4704         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4705         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4706         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4707         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4708         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4709         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4710         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4711         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4712         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4713         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4714         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4715         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4716         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4717         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4718         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4719         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4720         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4721         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4722         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4723         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4724         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4725         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4726         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4727         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4728         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4729         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4730         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4731         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4732         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4733         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4734         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4735         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4736         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4737         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4738         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4739         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4740         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4741         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4742         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4743         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4744         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4745
4746         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4747         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4748
4749         * sysdeps/unix/sysv/linux/arm/Makefile
4750         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4751         Add rt-aeabi_unwind_cpp_pr1.
4752         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4753         Add nptl-aeabi_unwind_cpp_pr1.
4754         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4755         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4756         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4757         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4758         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4759         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4760
4761         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4762         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4763         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4764         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4765
4766         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4767         Deconditionalize the code that was previously under [RESET_PID].
4768         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4769
4770         * sysdeps/generic/exit-thread.h: New file.
4771         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4772         * include/unistd.h (__exit_thread): Remove declaration.
4773         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4774         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4775         * csu/libc-start.c: Include <exit-thread.h>.
4776         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4777         * nptl/pthread_create.c: Include <exit-thread.h>.
4778         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4779         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4780         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4781         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4782         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4783         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4784         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4785         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4786         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4787         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4788         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4789         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4790         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4791         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4792         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4793         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4794         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4795
4796 2014-05-13  Andreas Schwab  <schwab@suse.de>
4797
4798         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4799
4800 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4801
4802         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4803         (__ASSUME_UTIMES): Do not condition on kernel version.
4804         (__ASSUME_PSELECT): Define unconditionally.
4805         (__ASSUME_PPOLL): Likewise.
4806         (__ASSUME_ATFCTS): Likewise.
4807         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4808         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4809         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4810         (__ASSUME_UTIMENSAT): Define unconditionally.
4811         (__ASSUME_PRIVATE_FUTEX): Likewise.
4812         (__ASSUME_FALLOCATE): Likewise.
4813         (__ASSUME_O_CLOEXEC): Likewise.
4814         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4815         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4816         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4817         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4818         (__ASSUME_IN_NONBLOCK): Likewise.
4819         (__ASSUME_PIPE2): Likewise.
4820         (__ASSUME_EVENTFD2): Likewise.
4821         (__ASSUME_SIGNALFD4): Likewise.
4822         (__ASSUME_DUP3): Likewise.
4823         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4824         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4825         (__ASSUME_AT_RANDOM): Likewise.
4826         (__ASSUME_PREADV): Likewise.
4827         (__ASSUME_PWRITEV): Likewise.
4828         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4829         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4830         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4831         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4832         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4833         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4834         (__ASSUME_O_CLOEXEC): Define unconditionally.
4835         (__ASSUME_PSELECT): Do not undefine conditionally.
4836         (__ASSUME_PPOLL): Likewise.
4837         (__ASSUME_ATFCTS): Likewise.
4838         (__ASSUME_SET_ROBUST_LIST): Likewise.
4839         (__ASSUME_UTIMENSAT): Likewise.
4840         (__ASSUME_FDATASYNC): Define unconditionally.
4841         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4842         (__ASSUME_SIGFRAME_V2): Likewise.
4843         )__ASSUME_EVENTFD2): Likewise.
4844         (__ASSUME_SIGNALFD4): Likewise.
4845         (__ASSUME_PSELECT): Do not undefine conditionally.
4846         (__ASSUME_PPOLL): Likewise.
4847         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4848         (__ASSUME_PSELECT): Define unconditionally.
4849         (__ASSUME_PPOLL): Likewise.
4850         (__ASSUME_O_CLOEXEC): Likewise.
4851         (__ASSUME_SOCK_CLOEXEC): Likewise.
4852         (__ASSUME_IN_NONBLOCK): Likewise.
4853         (__ASSUME_PIPE2): Likewise.
4854         (__ASSUME_EVENTFD2): Likewise.
4855         (__ASSUME_SIGNALFD4): Likewise.
4856         (__ASSUME_DUP3): Likewise.
4857         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4858         (__ASSUME_O_CLOEXEC): Likewise.
4859         (__ASSUME_SOCK_CLOEXEC): Likewise.
4860         (__ASSUME_IN_NONBLOCK): Likewise.
4861         (__ASSUME_PIPE2): Likewise.
4862         (__ASSUME_EVENTFD2): Likewise.
4863         (__ASSUME_SIGNALFD4): Likewise.
4864         (__ASSUME_DUP3): Likewise.
4865         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4866         (__ASSUME_EVENTFD2): Likewise.
4867         (__ASSUME_SIGNALFD4): Likewise.
4868         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4869
4870 2014-05-12  Andreas Schwab  <schwab@suse.de>
4871
4872         [BZ #16932]
4873         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4874         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4875         than maximum RPC packet size.
4876         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4877         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4878         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4879         (_nss_nis_getservbyport_r): Likewise.
4880
4881 2014-05-12  Will Newton  <will.newton@linaro.org>
4882
4883         * malloc/Makefile (tests): Add tst-mallopt.
4884         * malloc/tst-mallopt.c: New file.
4885
4886 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4887
4888         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4889         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4890
4891 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4892
4893         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4894         (tst-tlsmod6.so): Likewise.
4895
4896 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4897
4898         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4899
4900 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4901
4902         [BZ #16064]
4903         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4904         and <dl-procinfo.h>.
4905         (__fegetenv): Save SSE state in envp->__eip if supported.
4906         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4907         envp->__eip if supported.
4908         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4909         and <dl-procinfo.h>.
4910         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4911         __data_offset and __data_selector in environment to 0.  Set SSE
4912         state if supported.
4913         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4914         test-fenv-sse.
4915         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4916         -mfpmath=sse.
4917         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4918
4919 2014-05-09  Will Newton  <will.newton@linaro.org>
4920
4921         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4922         and libc_relro_required for ARM.
4923         * sysdeps/arm/preconfigure: Regenerate.
4924
4925 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4926             Stefan Liebler  <stli@linux.vnet.ibm.com>
4927
4928         * config.make.in (enable-lock-elision): New Makefile variable.
4929         * configure.ac: Likewise.
4930         * configure: Regenerate.
4931         * sysdeps/s390/configure.ac:
4932         Add check for gcc transactions support.
4933         * sysdeps/s390/configure: Regenerate.
4934         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4935         Build elision files if enabled.
4936         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4937         Add lock elision support for s390.
4938         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4939         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4940         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4941         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4942         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4943         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4944         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4945         Likewise.
4946         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4947         Likewise.
4948         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4949         Likewise.
4950         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4951         Likewise.
4952         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4953         (__lll_timedlock_elision, __lll_lock_elision)
4954         (__lll_unlock_elision, __lll_trylock_elision)
4955         (lll_timedlock_elision, lll_lock_elision)
4956         (lll_unlock_elision, lll_trylock_elision): Add.
4957         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4958         (pthread_mutex_t): Add lock elision support for s390.
4959
4960 2014-05-14  Wilco  <wdijkstr@arm.com>
4961
4962         * sysdeps/arm/fclrexcpt.c: Cleanup.
4963         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4964         * sysdeps/arm/feenablxcpt.c: Cleanup.
4965         * sysdeps/arm/fegetenv.c: Cleanup.
4966         * sysdeps/arm/fegetexcept.c: Cleanup.
4967         * sysdeps/arm/fegetround.c: Cleanup.
4968         * sysdeps/arm/feholdexcpt.c: Cleanup.
4969         * sysdeps/arm/fesetenv.c: Cleanup.
4970         * sysdeps/arm/fesetround.c: Cleanup.
4971         * sysdeps/arm/feupdateenv.c: Cleanup.
4972         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4973         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4974         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4975         * sysdeps/arm/ftestexcept.c: Cleanup.
4976         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4977         * sysdeps/arm/setfpucw.c: Cleanup.
4978
4979 2014-05-09  Will Newton  <will.newton@linaro.org>
4980
4981         * sysdeps/arm/armv7/strcmp.S: New file.
4982         * NEWS: Mention addition of ARMv7 optimized strcmp.
4983
4984 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4985
4986         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4987         look for %.ac rather than %.in.
4988
4989         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4990         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4991         * sysdeps/mach/hurd/configure: Regenerated.
4992         * sysdeps/unix/sysv/linux/configure: Regenerated.
4993
4994         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4995
4996 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4997
4998         [BZ# 16922]
4999         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5000         (LONG_SUB): Ditto.
5001         (PTR_SUB): Ditto.
5002
5003 2014-05-07  Andreas Schwab  <schwab@suse.de>
5004
5005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5006         when skipping over non-matching result from nscd.
5007
5008 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
5009
5010         [BZ #16876]
5011         * nptl/sockperf.c (client): Check socket return value.
5012
5013         [BZ #16877]
5014         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5015         nscd security class.
5016
5017 2014-05-06  Roland McGrath  <roland@hack.frob.com>
5018
5019         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5020         * sysdeps/arm/unwind.h: ... here.
5021
5022 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
5023
5024         [BZ# 16916]
5025         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5026         Define.
5027
5028 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5029
5030         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5031         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5032         multiarch strncpy for PPC64.
5033         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5034         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5036         multiarch optimizations.
5037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5038         (__libc_ifunc_impl_list): Likewise.
5039         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5040         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5041         multiarch stpncpy for PPC64.
5042         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5043         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5044
5045 2014-05-06  Andreas Schwab  <schwab@suse.de>
5046
5047         [BZ #16912]
5048         * gmon/mcount.c (_MCOUNT_DECL): Use
5049         atomic_compare_and_exchange_bool_acq instead of
5050         catomic_compare_and_exchange_bool_acq.
5051
5052 2014-05-05  Roland McGrath  <roland@hack.frob.com>
5053
5054         * elf/Makefile (others, install-bin): Remove pldd.
5055         (pldd-modules): Variable removed.
5056         ($(objpfx)pldd): Target removed.
5057         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5058         (others, install-bin): Append pldd here.
5059         ($(objpfx)pldd): New target.
5060
5061         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5062         to 0, so the first #if test emitted later doesn't see it undefined.
5063         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5064         * sysdeps/gnu/errlist.c: Regenerated.
5065
5066 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5067
5068         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5069         [libc_hidden_builtin_def]: Define to empty value.
5070         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5071         [libc_hidden_builtin_def]: Likewise.
5072         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5073         [libc_hidden_builtin_def]: Likewise.
5074         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5075         [libc_hidden_builtin_def]: Likewise.
5076         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5077         __redirect_memcpy and define ifunc as default hidden symbol.
5078         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5079         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5080
5081 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5082
5083         * locale/iso-4217.def: Reintroduce XDR currency.
5084
5085 2014-05-04  Allan McRae  <allan@archlinux.org>
5086
5087         * po/eo.po: Update Esperanto translation from translation project.
5088
5089 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5090
5091         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5092         and FEATURE_INDEX_MAX to 1.
5093         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5094
5095 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5096
5097         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5098         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5099         * iconvdata/big5.c (ONE_DIRECTION): Define.
5100         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5101         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5102         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5103         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5104         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5105         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5106         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5107         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5108         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5109         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5110         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5111         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5112         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5113         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5114         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5115         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5116         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5117         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5118         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5119         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5120         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5121         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5122         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5123         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5124         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5125         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5126         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5127         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5128         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5129         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5130         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5131         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5132         * iconvdata/johab.c (ONE_DIRECTION): Define.
5133         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5134         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5135         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5136         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5137         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5138         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5139         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5140         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5141         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5142         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5143
5144 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5145
5146         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5147         (_IO_JUMPS_OFFSET): Define to 0.
5148
5149         * nptl/sysdeps/pthread/bits/libc-lock.h
5150         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5151         (__libc_lock_define_initialized_recursive): Always define using
5152         initializer.  Modern compilers treat uninitialized (implicit zero) and
5153         explicit zero initializers the same (i.e. put the datum in bss).
5154
5155 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5156
5157         * nscd/nscd-client.h: Include <string.h>.
5158
5159 2014-05-01  David S. Miller  <davem@davemloft.net>
5160
5161         [BZ #16885]
5162         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5163         multiple zero bytes exist at the end of a string.
5164         Reported by Aurelien Jarno <aurelien@aurel32.net>
5165
5166         * string/test-strcmp.c (check): Add explicit test for situations where
5167         there are multiple zero bytes after the first.
5168
5169 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5170
5171         [BZ #16890]
5172         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5173         when compiling wprintf.
5174         * stdio-common/tstdiomisc.c (t3): New function.
5175         (main): Call it.
5176
5177 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5178
5179         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5180         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5181         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5182         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5183
5184 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5185
5186         * stdlib/longlong.h: Updated from GCC.
5187
5188 2014-05-01  Will Newton  <will.newton@linaro.org>
5189             Bernard Ogden  <bernie.ogden@linaro.org>
5190
5191         * NEWS: Update fixed bug list.
5192
5193         [BZ #15119]
5194         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5195
5196 2014-04-30  David S. Miller  <davem@davemloft.net>
5197
5198         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5199         (libc_feholdexcept_setround_sparc_ctx): New function.
5200         (libc_fesetenv_sparc_ctx): Likewise.
5201         (libc_feupdateenv_sparc_ctx): Likewise.
5202         (libc_feholdsetround_sparc_ctx): Likewise.
5203         (libc_feholdexcept_setround_ctx): Define.
5204         (libc_feholdexcept_setroundf_ctx): Likewise.
5205         (libc_feholdexcept_setroundl_ctx): Likewise.
5206         (libc_fesetenv_ctx): Likewise.
5207         (libc_fesetenvf_ctx): Likewise.
5208         (libc_fesetenvl_ctx): Likewise.
5209         (libc_feupdateenv_ctx): Likewise.
5210         (libc_feupdateenvf_ctx): Likewise.
5211         (libc_feupdateenvl_ctx): Likewise.
5212         (libc_feresetround_ctx): Likewise.
5213         (libc_feresetroundf_ctx): Likewise.
5214         (libc_feresetroundl_ctx): Likewise.
5215         (libc_feholdsetround_ctx): Likewise.
5216         (libc_feholdsetroundf_ctx): Likewise.
5217         (libc_feholdsetroundl_ctx): Likewise.
5218
5219         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5220         with __USE_GNU instead of XOPEN cpp guards.
5221
5222         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5223         0.
5224
5225         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5226         with XOPEN cpp guards.
5227
5228 2014-04-30  Julian Brown  <julian@codesourcery.com>
5229
5230         [BZ #16888]
5231         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5232         handling.
5233
5234 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5235
5236         [BZ #9894]
5237         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5238         Change to 2.6.32.
5239         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5240         * sysdeps/unix/sysv/linux/configure: Regenerated.
5241         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5242         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5243         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5244         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5245         * README: Update reference to required Linux kernel version.
5246         * manual/install.texi (Linux): Update reference to required Linux
5247         kernel headers version.
5248         * INSTALL: Regenerated.
5249
5250         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5251         header inclusion.
5252         [POSIX] (limits.h): Likewise.
5253         [POSIX] (math.h): Likewise.
5254         [POSIX] (sys/wait.h): Likewise.
5255         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5256         function.
5257         [POSIX] (stddef.h): Do not allow header inclusion.
5258
5259 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5260
5261         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5262
5263 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5264
5265         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5266         Return immediately after lll_futex_wake.
5267
5268 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5269
5270         [BZ #16791]
5271         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5272         structure.
5273         (datahead_init_pos): Call datahead_init_common early.
5274         (datahead_init_neg): Likewise.
5275
5276         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5277         datahead_init_neg): New functions.
5278         * nscd/aicache.c (addhstaiX): Use them.
5279         * nscd/grpcache.c (cache_addgr): Likewise.
5280         * nscd/hstcache.c (cache_addhst): Likewise.
5281         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5282         * nscd/netgroupcache.c (do_notfound): Likewise.
5283         (addgetnetgrentX): Likewise.
5284         (addinnetgrX): Likewise.
5285         * nscd/pwdcache.c (cache_addpw): Likewise.
5286         * nscd/servicescache.c (cache_addserv): Likewise.
5287
5288 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5289             Atsushi Onoe  <atsushi@onoe.org>
5290
5291         [BZ #14308]
5292         [BZ #12994]
5293         [BZ #13651]
5294         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5295         one response is valid.
5296         * resolv/res_send.c (send_dg): Check for validity of other
5297         response if the current response is a referral.
5298
5299 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5300
5301         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5302
5303 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5304
5305         [BZ #16823]
5306         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5307         Always divide by positive zero when computing -Inf result.
5308         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5309         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5310
5311 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5312
5313         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5314         FPSCR if value do not change.
5315         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5316         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5317         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5318         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5319         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5320         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5321         function.
5322
5323 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5324
5325         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5326         * sysdeps/unix/sysv/linux/hppa: Move directory from
5327         ports/systeps/unix/sysv/linux/hppa.
5328         * README: Update listing for hppa-*-linux-gnu.
5329
5330 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5331
5332         [BZ #16754]
5333         * manual/stdio.texi (Hook functions): Fix types of stream hook
5334         functions.
5335         [BZ #16854]
5336         * socket/sys/socket.h: Fix typo in comment.
5337
5338 2014-04-28  Wilco  <wdijkstr@arm.com>
5339
5340         * sysdeps/arm/fenv_private.h: New file.
5341         * sysdeps/arm/math_private.h: New file.
5342         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5343
5344 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5345
5346         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5347         with __int128_t.
5348         (La_x86_64_retval): Likewise.
5349
5350 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5351
5352         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5353         fpsr if value didn't change.
5354         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5355         to fpcr if value didn't change.
5356         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5357         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5358         fpsr or fpcr if value didn't change.
5359         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5360         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5361         fpcr if value didn't change.
5362         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5363         to fpsr if value didn't change.
5364
5365 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5366
5367         * nptl/tst-sem3.c: Use test-skeleton.c
5368         (main): Rename to do_test.  Use return instead of
5369         exit.
5370         * nptl/tst-sem4.c: Use test-skeleton.c
5371         (main): Rename to do_test.
5372
5373 2014-04-22  David S. Miller  <davem@davemloft.net>
5374
5375         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5376         (struct sigaction): New struct member __glibc_reserved0, change
5377         type of sa_flags to int.
5378
5379 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5380
5381         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5382         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5383
5384 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5385
5386         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5387         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5388
5389 2014-04-22  Will Newton  <will.newton@linaro.org>
5390             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5391
5392         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5393         (__longjmp): Add longjmp and longjmp_target SystemTap
5394         probes.
5395         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5396         (__sigsetjmp): Add setjmp SystemTap probe.
5397
5398 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5399
5400         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5401         match manual order.
5402
5403 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5404
5405         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5406
5407         * sysdeps/powerpc/fpu/fenv_private.h
5408         (libc_feholdexcept_setroundl_ctx): Define to
5409         libc_feholdexcept_setround_ppc_ctx.
5410         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5411         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5412         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5413         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5414
5415 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5416
5417         * sysdeps/aarch64/math-tests.h: New file.
5418
5419 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5420
5421         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5422         New.
5423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5424         Check and set bit_AVX2_Usable.
5425         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5426         macro.
5427         (bit_AVX2): Likewise.
5428         (index_AVX2_Usable): Likewise.
5429         (CPUID_AVX2): Likewise.
5430         (HAS_AVX2): Likewise.
5431
5432 2014-04-17  Will Newton  <will.newton@linaro.org>
5433
5434         * manual/setjmp.texi (System V contexts): Add note that
5435         calling setcontext on a context created by a call to a
5436         signal handler is undefined.  Update text to note that
5437         setcontext from a signal handler is possible but not
5438         recommended.
5439
5440         [BZ #16629]
5441         * stdlib/tst-setcontext.c: Include signal.h.
5442         (main): Check that the signal stack before and
5443         after swapcontext is the same.
5444
5445         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5446         Re-implement to restore registers in user code and avoid
5447         rt_sigreturn system call.
5448
5449 2014-04-17  Wilco  <wdijkstr@arm.com>
5450
5451         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5452         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5453         * math/test-fenv.c: Skip exception trap tests on targets which only
5454         support non-stop mode.
5455
5456 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5457             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5458
5459         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5460         (libc_feholdsetround_aarch64_ctx)
5461         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5462         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5463         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5464         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5465         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5466         (libc_feresetround_noexl_ctx): Define.
5467
5468 2014-04-16  Richard Henderson  <rth@redhat.com>
5469
5470         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5471
5472         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5473         unwind tables.
5474
5475         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5476         const from the non-libc, non-ldso copy.
5477
5478         * sysdeps/alpha/libm-test-ulps: Regenerate.
5479
5480 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5481             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5482
5483         * sysdeps/aarch64/fpu/math_private.h: New file.
5484
5485 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5486
5487         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5488
5489 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5490
5491         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5492         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5494         Intel MPX bound registers before _dl_profile_fixup.
5495         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5496         registers after _dl_profile_fixup.  Save and restore bound
5497         registers bnd0/bnd1 when calling _dl_call_pltexit.
5498         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5499         (LR_BND_OFFSET): Likewise.
5500         (LRV_BND0_OFFSET): Likewise.
5501         (LRV_BND1_OFFSET): Likewise.
5502
5503 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5504
5505         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5506         to...
5507         * sysdeps/mach/hurd/i386/tls.h: ... here.
5508         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5509         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5510         fields.
5511
5512 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5513
5514         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5515
5516 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5517
5518         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5519
5520 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5521
5522         [BZ #14770]
5523         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5524         * sysdeps/s390/configure: Regenerate.
5525
5526         [BZ #16824]
5527         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5528         Set round-to-nearest internally to reduce error accumulation.
5529
5530 2014-04-16  Alan Modra  <amodra@gmail.com>
5531
5532         [BZ #16740]
5533         [BZ #16619]
5534         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5535         * math/libm-test.inc (frexp_test_data): Add tests.
5536         * NEWS: Update fixed bug list.
5537
5538 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5539
5540         * benchtests/Makefile: Depend on libraries in build directory.
5541         (bench-math): Separate out math tests.
5542         (bench-pthread): Separate out pthread tests.
5543         (bench): Include math and pthread tests.
5544
5545 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5546
5547         [BZ #16831]
5548         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5549         _dl_debug_initialize.
5550
5551         * configure.ac: Remove SELinux header check.
5552         * configure: Regenerate.
5553         * nscd/selinux.c (perms): Array of const char* to permission names.
5554         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5555         default policy. Call string_to_security_class and string_to_av_perm to
5556         translate strings. Enforce default policy and call avs_has_perm with
5557         results of translated strings.
5558
5559 2014-04-13  David S. Miller  <davem@davemloft.net>
5560
5561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5562
5563 2014-04-12  Allan McRae  <allan@archlinux.org>
5564
5565         [BZ #16838]
5566         * manual/string.texi (Collation Functions): Fix qsort argument
5567         order in example.
5568         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5569
5570 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5571
5572         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5573         Make the test a no-op if there are no exceptions defined.
5574
5575 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5576
5577         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5578         enable-hardcoded-path-in-tests
5579
5580 2014-04-11  Will Newton  <will.newton@linaro.org>
5581
5582         * benchtests/Makefile (extra-objs): Add json-lib.o.
5583         (bench-func): Tidy up JSON output.
5584         * benchtests/bench-skeleton.c: Include json-lib.h.
5585         (main): Use JSON library functions to do output of
5586         benchmark results.
5587         * benchtests/bench-timing-type.c (main): Output the
5588         timing type simply, leaving formatting to the user.
5589         * benchtests/json-lib.c: New file.
5590         * benchtests/json-lib.h: Likewise.
5591
5592 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5593
5594         [BZ #15215]
5595         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5596         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5597         memory barriers.  Add comments.
5598         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5599         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5600         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5601         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5602         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5603         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5604
5605 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5606
5607         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5608         * sysdeps/s390/s390-64/configure.ac: ... this ...
5609         * sysdeps/s390/configure.ac: ... to here.
5610         * sysdeps/s390/s390-32/configure: Delete file.
5611         * sysdeps/s390/s390-64/configure: Delete file.
5612         * sysdeps/s390/configure: Regenerate.
5613
5614 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5615
5616         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5617
5618 2014-04-11  Will Newton  <will.newton@linaro.org>
5619
5620         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5621         to zero if it is not defined elsewhere.  (mtrim): Test
5622         the value of MALLOC_DEBUG with #if rather than #ifdef.
5623
5624 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5625
5626         * benchtests/pthread_once-inputs: New file.
5627         * benchtests/pthread_once-source.c: New file.
5628         * benchtests/README: Update documentation.
5629
5630 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5631             H.J. Lu  <hongjiu.lu@intel.com>
5632
5633         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5634         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5635         * sysdeps/x86_64/configure: Regenerated.
5636         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5637         macro.
5638         (REGISTER_SAVE_RAX): Likewise.
5639         (REGISTER_SAVE_RCX): Likewise.
5640         (REGISTER_SAVE_RDX): Likewise.
5641         (REGISTER_SAVE_RSI): Likewise.
5642         (REGISTER_SAVE_RDI): Likewise.
5643         (REGISTER_SAVE_R8): Likewise.
5644         (REGISTER_SAVE_R9): Likewise.
5645         (REGISTER_SAVE_BND0): Likewise.
5646         (REGISTER_SAVE_BND1): Likewise.
5647         (REGISTER_SAVE_BND2): Likewise.
5648         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5649         bound registers when calling _dl_fixup.
5650
5651 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5652
5653         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5654         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5655         of its definition.
5656         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5657         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5658         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5659         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5660         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5661         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5662         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5663
5664 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5665
5666         [BZ #15514]
5667         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5668         pathconf(_PC_NAME_MAX).
5669
5670 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5671
5672         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5673         Remove macro usage.
5674         (__PTHREAD_SPINS): Move definition to ...
5675         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5676         (__PTHREAD_SPINS): ... here.
5677         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5678         (__PTHREAD_SPIN): Likewise.
5679         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5680         (__PTHREAD_SPIN): Likewise.
5681         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5682         (__PTHREAD_SPIN): Likewise.
5683         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5684         (__PTHREAD_SPIN): Likewise.
5685         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5686         (__PTHREAD_SPIN): Likewise.
5687         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5688         (__PTHREAD_SPIN): Likewise.
5689         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5690         (__PTHREAD_SPIN): Likewise.
5691         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5692         (__PTHREAD_SPIN): Likewise.
5693         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5694         (__PTHREAD_SPIN): Likewise.
5695         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5696         (__PTHREAD_SPIN): Likewise.
5697         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5698         (__PTHREAD_SPIN): Likewise.
5699         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5700         (__PTHREAD_SPIN): Likewise.
5701
5702         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5703         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5704         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5705         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5706         imply folder.
5707         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5708         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5709         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5710         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5711         correct imply path.
5712         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5713         strlen symbol for non multi-arch builds.
5714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5715         missing hidden_def and weak_alias.
5716
5717 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5718
5719         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5720
5721 2014-04-07  Will Newton  <will.newton@linaro.org>
5722
5723         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5724         and contents.  [!_LIBC] Remove #ifndef and contents.
5725         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5726         * string/memccpy.c (__memccpy): Use ANSI prototype.
5727         * string/memfrob.c (memfrob): Likewise.
5728         * string/strcoll.c (STRCOLL): Likewise.
5729         * string/strlen.c (strlen): Likewise.
5730         * string/strtok.c (STRTOK): Likewise.
5731         * string/strcat.c: Remove unused #include of memcopy.h.
5732         (strcat): Use ANSI prototype.
5733         * string/strchr.c: Remove unused #include of memcopy.h.
5734         (strchr): Use ANSI prototype.
5735         * string/strcmp.c: Remove unused #include of memcopy.h.
5736         (strcmp): Use ANSI prototype.
5737         * string/strcpy.c: Remove unused #include of memcopy.h.
5738         (strcpy): Use ANSI prototype.
5739
5740 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5741
5742         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5743         * config.make.in (config-extra-cppflags): Set it from
5744         libc_extra_cppflags.
5745         * configure.ac (libc_extra_cflags): Make it accumulate over
5746         configure fragments.
5747         (libc_extra_cppflags): New flag.
5748         * configure. Regenerate.
5749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5750         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5751         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5753
5754         [BZ #16815]
5755         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5756         result for FE_DOWNWARD rounding mode.
5757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5758         Likewise.
5759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5760
5761 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5762
5763         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5764         in function argument name.
5765
5766 2014-04-03  David Svoboda  <svoboda@cert.org>
5767
5768         [BZ #5666]
5769         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5770         explicitly.
5771
5772 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5773
5774         * elf/dl-unmap-segments.h: New file.
5775         * sysdeps/generic/ldsodefs.h
5776         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5777         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5778         * elf/dl-fptr.c: Likewise.
5779         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5780         * sysdeps/aarch64/tlsdesc.c: Likewise.
5781         * sysdeps/arm/tlsdesc.c: Likewise.
5782         * sysdeps/i386/tlsdesc.c: Likewise.
5783         * sysdeps/tile/dl-runtime.c: Likewise.
5784         * sysdeps/x86_64/tlsdesc.c: Likewise.
5785         * elf/dl-load.h: New file.
5786         * elf/dl-load.c: Include it.
5787         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5788         Macros moved to dl-load.h.
5789         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5790         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5791         Use _dl_unmap_segments in place of __munmap.
5792         Break out segment-mapping loop into ...
5793         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5794
5795 2014-04-03  Will Newton  <will.newton@linaro.org>
5796
5797         * elf/dl-lookup.c (do_lookup_x): Remove comment
5798         referring to nested function and move variable
5799         declarations down to before first use.
5800
5801 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5802
5803         [BZ #16799]
5804         [BZ #16800]
5805         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5806         with 0 numerator.
5807         * math/s_catanf.c (__catanf): Likewise.
5808         * math/s_catanh.c (__catanh): Likewise.
5809         * math/s_catanhf.c (__catanhf): Likewise.
5810         * math/s_catanhl.c (__catanhl): Likewise.
5811         * math/s_catanl.c (__catanl): Likewise.
5812         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5813         by positive zero when computing -Inf result.
5814         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5815         (catanh_test): Likewise.
5816         * sysdeps/i386/fpu/libm-test-ulps: Update.
5817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5818
5819         [BZ #16789]
5820         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5821         instead of using underflowing value in computing result.
5822         * math/s_clog10.c (__clog10): Likewise.
5823         * math/s_clog10f.c (__clog10f): Likewise.
5824         * math/s_clog10l.c (__clog10l): Likewise.
5825         * math/s_clogf.c (__clogf): Likewise.
5826         * math/s_clogl.c (__clogl): Likewise.
5827         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5828         (clog10_test): Likewise.
5829         * sysdeps/i386/fpu/libm-test-ulps: Update.
5830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5831
5832 2014-04-02  Alan Modra  <amodra@gmail.com>
5833
5834         [BZ #16739]
5835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5836         output when value is near a power of two.  Use int64_t for lx and
5837         remove casts.  Use decimal rather than hex exponent constants.
5838         Don't use long double multiplication when double will suffice.
5839         * math/libm-test.inc (nextafter_test_data): Add tests.
5840         * NEWS: Add 16739 and 16786 to bug list.
5841
5842         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5843
5844         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5845
5846 2014-04-01  Will Newton  <will.newton@linaro.org>
5847
5848         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5849         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5850
5851 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5852
5853         [BZ #13347]
5854         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5855         * nptl/tst-setuid2.c: New file.
5856         * nptl/Makefile (xtests): Add tst-setuid2.
5857
5858 2014-04-01  Alan Modra  <amodra@gmail.com>
5859
5860         [BZ #16786]
5861         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5862
5863 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5864
5865         [BZ #6803]
5866         [BZ #6804]
5867         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5868         set errno as appropriate.
5869         * math/w_scalbf.c (__scalbf): Likewise.
5870         * math/w_scalbl.c (__scalbl): Likewise.
5871         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5872         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5873         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5874         Add more NaN tests.
5875
5876         [BZ #16349]
5877         * math/w_atan2.c: Include <errno.h>.
5878         (__atan2): Set errno for result underflowing to zero.
5879         * math/w_atan2f.c: Include <errno.h>.
5880         (__atan2f): Set errno for result underflowing to zero.
5881         * math/w_atan2l.c: Include <errno.h>.
5882         (__atan2l): Set errno for result underflowing to zero.
5883         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5884         tests.
5885         * math/auto-libm-test-out: Regenerated.
5886
5887 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5888
5889         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5890         Encode instruction correctly in little endian.
5891         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5892         Likewise.
5893         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5894         Likewise.
5895         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5896         Likewise.
5897         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5898         Likewise.
5899
5900 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5901
5902         [BZ #9894]
5903         * sysdeps/unix/sysv/linux/kernel-features.h
5904         [__sparc__ && !__arch64__ && !__sparc_v9__]
5905         (__ASSUME_SET_ROBUST_LIST): Do not define.
5906         [__sparc__ && !__arch64__ && !__sparc_v9__]
5907         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5908         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5909         Likewise.
5910         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5911         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5912         (__ASSUME_REQUEUE_PI): Likewise.
5913         (__ASSUME_SET_ROBUST_LIST): Likewise.
5914         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5915         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5916         Undefine.
5917         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5918         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5919         Likewise.
5920         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5921         Likewise.
5922         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5923         Likewise.
5924         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5925         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5926         Undefine.
5927         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5928         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5929         Likewise.
5930
5931         [BZ #16648]
5932         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5933         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5934         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5935
5936 2014-03-31  Will Newton  <will.newton@linaro.org>
5937
5938         * benchtests/Makefile (bench): Add ffs and ffsll to list
5939         of tests.
5940         * benchtests/ffs-inputs: New file.
5941         * benchtests/ffsll-inputs: Likewise.
5942
5943 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5944
5945         [BZ #16770]
5946         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5947         too large before casting to int.
5948         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5949         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5950         * math/libm-test.inc (scalb_test_data): Add more tests.
5951
5952 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5953
5954         * benchtests/Makefile (DETAILED_OPT): New make option.
5955         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5956         set.
5957         * benchtests/bench-skeleton.c: Include stdbool.h.
5958         (main): Store and print timings per input.
5959         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5960         member to each argument value.
5961         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5962         (_print_arg_data): Initialize per-input timing to 0.
5963
5964         * benchtests/Makefile (timing-type): New binary.
5965         (bench-clean): Also remove bench-timing-type.
5966         (bench): New target for timing-type.
5967         (bench-func): Print output in JSON format.
5968         * benchtests/bench-skeleton.c (main): Print output in JSON
5969         format.
5970         * benchtests/bench-timing-type.c: New file.
5971         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5972         (TIMING_PRINT_STATS): Remove.
5973         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5974         name separately.
5975
5976         * benchtests/bench-modf.c: Remove.
5977         * benchtests/modf-inputs: New inputs file.
5978
5979 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5980
5981         [BZ #16362]
5982         * math/s_clog10.c (M_PI_LOG10E): New macro.
5983         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5984         imaginary parts are 0.
5985         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5986         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5987         imaginary parts are 0.
5988         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5989         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5990         imaginary parts are 0.
5991         * math/libm-test.inc (clog10_test_data): Update expected results
5992         for when real and imaginary parts are 0.
5993
5994 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5995
5996         * elf/dl-load.c: Finish conversion of __builtin_expect into
5997         __glibc_{un}likely.
5998
5999 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
6000
6001         [BZ #16348]
6002         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6003         1+x for argument with exponent below -67.
6004         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6005         Likewise.
6006         * math/auto-libm-test-in: Add more tests of exp.
6007         * math/auto-libm-test-out: Regenerated.
6008
6009 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6010
6011         [BZ #16759]
6012         * inet/getnetgrent_r.c (get_nonempty_val): New function.
6013         (nscd_getnetgrent): Use it.
6014
6015         [BZ #16760]
6016         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6017         of stpcpy.
6018
6019 2014-03-27  Andi Kleen  <ak@linux.intel.com>
6020
6021         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6022         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6023         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6024         (lll_robust_unlock): Remove out of line section. Use cfi
6025         intrinsics.
6026         (LLL_STUB_UNWIND_INFO*): Remove.
6027         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6028         (lll_robust_lock, lll_cond_lock, lll_timedlock)
6029         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6030         (lll_robust_unlock): Remove out of line section. Use cfi
6031         intrinsics.
6032         (LLL_STUB_UNWIND_INFO*): Remove.
6033
6034 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6035
6036         [BZ #16758]
6037         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6038         blank values.
6039
6040 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
6041
6042         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6043
6044 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
6045
6046         [BZ #16198]
6047         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6048         fnstenv.
6049         * math/test-fenv-preserve.c: New file.
6050         * math/Makefile (tests): Add test-fenv-preserve.
6051
6052 2014-03-26  Will Newton <will.newton@linaro.org>
6053
6054         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6055
6056 2014-03-25  Roland McGrath  <roland@hack.frob.com>
6057
6058         * scripts/versionlist.awk: Partition the version sets and emit all
6059         GLIBC_* (sorted) before all others (sorted).
6060
6061 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6062
6063         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6064         GLIBC_2.2.5 version.
6065
6066 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6067
6068         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6069         calls.
6070
6071         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6072         previous change.
6073
6074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6075
6076 2014-03-25  Andreas Schwab  <schwab@suse.de>
6077
6078         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6079         label to be used after in6ailist is initialized.
6080
6081 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6082
6083         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6084         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6085
6086 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6087
6088         [BZ #16357]
6089         [BZ #16599]
6090         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6091         min_plus_half.
6092         (fp_formats): Update initializers.
6093         (init_fp_formats): Initialize new field.
6094         (output_for_one_input_case): Allow underflow for results up to
6095         min_plus_half.
6096         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6097         * math/auto-libm-test-in: Don't mark some underflows from asin and
6098         atanh as spurious.
6099         * math/auto-libm-test-out: Regenerated.
6100         * sysdeps/i386/fpu/libm-test-ulps: Update.
6101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6102
6103 2014-03-25  Andreas Schwab  <schwab@suse.de>
6104
6105         * libio/Makefile (tst-ftell-partial-wide-ENV)
6106         (tst-ftell-active-handler-ENV): Define.
6107
6108 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6109
6110         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6111
6112 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6113
6114         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6115
6116 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6117
6118         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6119         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6120         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6121
6122 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6123
6124         [BZ #16634]
6125         * elf/dl-load.c (open_verify): Add mode parameter.
6126         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6127         (open_path): Change from boolean 'secure' to complete flag 'mode'
6128         (_dl_map_object): Adjust.
6129         * elf/Makefile (tests): Add tst-dlopen-aout.
6130         * elf/tst-dlopen-aout.c: New test.
6131
6132 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6133
6134         [BZ #16714]
6135         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6136         (struct stat): Rename member pad0 to __glibc_reserved0.
6137
6138         [BZ #16712]
6139         * sysdeps/s390/s390-32/bits/wordsize.h
6140         (__WORDSIZE32_SIZE_ULONG): New define.
6141         * sysdeps/s390/s390-64/bits/wordsize.h
6142         (__WORDSIZE32_SIZE_ULONG): Likewise.
6143         * sysdeps/generic/stdint.h (SIZE_MAX):
6144         Define as UL if __WORDSIZE32_SIZE_ULONG.
6145
6146         [BZ #16713]
6147         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6148         (__glibc_reserved0): New variable.
6149         (sa_flags): Change type to int.
6150
6151         * posix/Makefile (before-compile): Use += before-compile instead
6152         of a :=.
6153
6154         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6155         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6156
6157 2014-03-20  Andreas Schwab  <schwab@suse.de>
6158
6159         [BZ #16743]
6160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6161         non-matching result from nscd.
6162
6163 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6164
6165         * scripts/bench.py: Moved to ...
6166         * benchtests/scripts/bench.py: ... here.
6167         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6168
6169 2014-03-24  Andreas Schwab  <schwab@suse.de>
6170
6171         [BZ #16002]
6172         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6173         alloca_account and account alloca use for struct in6ailist.
6174
6175 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6176
6177         [BZ #16284]
6178         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6179         rounding mode to recompute results that overflow to infinity or
6180         underflow to zero.
6181         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6182         bug 16284.
6183         * math/auto-libm-test-out: Regenerated.
6184         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6185         (ccosh_test): Likewise.
6186         (csin_test_data): Use plus_oflow.
6187         (csin_test): Use ALL_RM_TEST.
6188         (csinh_test_data): Use plus_oflow.
6189         (csinh_test): Use ALL_RM_TEST.
6190         * sysdeps/i386/fpu/libm-test-ulps: Update.
6191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6192
6193 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6194
6195         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6196         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6197         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6198
6199         [BZ #16731]
6200         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6201         when x - 1 is zero.
6202         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6203         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6204         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6205         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6206         argument is 1.
6207         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6208         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6209         zero.
6210         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6211         * sysdeps/i386/fpu/libm-test-ulps: Update.
6212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6213
6214 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6215
6216         * scripts/bench.pl: Remove file.
6217         * scripts/bench.py: New benchmark script.
6218         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6219         * benchtests/README: Mention python dependency.
6220         * scripts/pylintrc: New file.
6221         * scripts/pylint: New file.
6222
6223         * bits/mathdef.h: Use #ifdef instead of #if.
6224         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6225         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6226         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6227         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6228         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6229         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6230
6231 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6232             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6233
6234         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6236         and strpbrk-ppc64 objects.
6237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6238         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6239         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6240         multiarch strpbrk for POWER7.
6241         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6242         multiarch strpbrk for PPC64.
6243         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6244         ifunc selector.
6245         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6246         strpbrk for POWER7.
6247
6248 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6249
6250         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6251         (atan_test): Likewise.
6252         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6253         (atanh_test): Use ALL_RM_TEST.
6254         (atan2_test_data): Likewise.
6255         (cabs_test): Likewise.
6256         (cacosh_test): Likewise.
6257         (carg_test): Likewise.
6258         (casin_test): Likewise.
6259         (casinh_test): Likewise.
6260         (cbrt_test): Likewise.
6261         (csqrt_test): Likewise.
6262         (erf_test): Likewise.
6263         (erfc_test): Likewise.
6264         (pow10_test): Likewise.
6265         (exp2_test): Likewise.
6266         (hypot_test): Likewise.
6267         (j0_test): Likewise.
6268         (j1_test): Likewise.
6269         (lgamma_test): Likewise.
6270         (gamma_test): Likewise.
6271         (sincos_test): Likewise.
6272         (tanh_test): Likewise.
6273         (y0_test): Likewise.
6274         (y1_test): Likewise.
6275         * sysdeps/i386/fpu/libm-test-ulps: Update.
6276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6277
6278 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6279
6280         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6282         and strcspn-ppc64 objects.
6283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6284         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6285         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6286         multiarch strcspn for POWER7.
6287         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6288         multiarch strcspn for PPC64.
6289         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6290         ifunc selector.
6291         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6292         strcspn for POWER7.
6293
6294 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6295
6296         * math/gen-libm-test.pl (generate_testfile): Expect only function
6297         name as argument to AUTO_TESTS_* and pass results for all rounding
6298         modes to parse_args.
6299         (parse_auto_input): Separate inputs of automatic tests from
6300         outputs before storing in %auto_tests.
6301         * math/libm-test.inc (acos_test_data): Update call to
6302         AUTO_TESTS_f_f.
6303         (acos_test): Use ALL_RM_TEST.
6304         (acos_tonearest_test_data): Remove.
6305         (acos_test_tonearest): Likewise.
6306         (acos_towardzero_test_data): Likewise.
6307         (acos_test_towardzero): Likewise.
6308         (acos_downward_test_data): Likewise.
6309         (acos_test_downward): Likewise.
6310         (acos_upward_test_data): Likewise.
6311         (acos_test_upward): Likewise.
6312         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6313         (asin_test_data): Likewise.
6314         (asin_test): Use ALL_RM_TEST.
6315         (asin_tonearest_test_data): Remove.
6316         (asin_test_tonearest): Likewise.
6317         (asin_towardzero_test_data): Likewise.
6318         (asin_test_towardzero): Likewise.
6319         (asin_downward_test_data): Likewise.
6320         (asin_test_downward): Likewise.
6321         (asin_upward_test_data): Likewise.
6322         (asin_test_upward): Likewise.
6323         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6324         (atan_test_data): Likewise.
6325         (atanh_test_data): Likewise.
6326         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6327         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6328         (carg_test_data): Likewise.
6329         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6330         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6331         (ccosh_test_data): Likewise.
6332         (cexp_test_data): Likewise.
6333         (clog_test_data): Likewise.
6334         (clog10_test_data): Likewise.
6335         (cos_test_data): Update call to AUTO_TESTS_f_f.
6336         (cos_test): Use ALL_RM_TEST.
6337         (cos_tonearest_test_data): Remove.
6338         (cos_test_tonearest): Likewise.
6339         (cos_towardzero_test_data): Likewise.
6340         (cos_test_towardzero): Likewise.
6341         (cos_downward_test_data): Likewise.
6342         (cos_test_downward): Likewise.
6343         (cos_upward_test_data): Likewise.
6344         (cos_test_upward): Likewise.
6345         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6346         (cosh_test): Use ALL_RM_TEST.
6347         (cosh_tonearest_test_data): Remove.
6348         (cosh_test_tonearest): Likewise.
6349         (cosh_towardzero_test_data): Likewise.
6350         (cosh_test_towardzero): Likewise.
6351         (cosh_downward_test_data): Likewise.
6352         (cosh_test_downward): Likewise.
6353         (cosh_upward_test_data): Likewise.
6354         (cosh_test_upward): Likewise.
6355         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6356         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6357         (ctan_test_data): Likewise.
6358         (ctan_test): Use ALL_RM_TEST.
6359         (ctan_tonearest_test_data): Remove.
6360         (ctan_test_tonearest): Likewise.
6361         (ctan_towardzero_test_data): Likewise.
6362         (ctan_test_towardzero): Likewise.
6363         (ctan_downward_test_data): Likewise.
6364         (ctan_test_downward): Likewise.
6365         (ctan_upward_test_data): Likewise.
6366         (ctan_test_upward): Likewise.
6367         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6368         (ctanh_test): Use ALL_RM_TEST.
6369         (ctanh_tonearest_test_data): Remove.
6370         (ctanh_test_tonearest): Likewise.
6371         (ctanh_towardzero_test_data): Likewise.
6372         (ctanh_test_towardzero): Likewise.
6373         (ctanh_downward_test_data): Likewise.
6374         (ctanh_test_downward): Likewise.
6375         (ctanh_upward_test_data): Likewise.
6376         (ctanh_test_upward): Likewise.
6377         (erf_test_data): Update call to AUTO_TESTS_f_f.
6378         (erfc_test_data): Likewise.
6379         (exp_test_data): Likewise.
6380         (exp_test): Use ALL_RM_TEST.
6381         (exp_tonearest_test_data): Remove.
6382         (exp_test_tonearest): Likewise.
6383         (exp_towardzero_test_data): Likewise.
6384         (exp_test_towardzero): Likewise.
6385         (exp_downward_test_data): Likewise.
6386         (exp_test_downward): Likewise.
6387         (exp_upward_test_data): Likewise.
6388         (exp_test_upward): Likewise.
6389         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6390         (exp10_test): Use ALL_RM_TEST.
6391         (exp10_tonearest_test_data): Remove.
6392         (exp10_test_tonearest): Likewise.
6393         (exp10_towardzero_test_data): Likewise.
6394         (exp10_test_towardzero): Likewise.
6395         (exp10_downward_test_data): Likewise.
6396         (exp10_test_downward): Likewise.
6397         (exp10_upward_test_data): Likewise.
6398         (exp10_test_upward): Likewise.
6399         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6400         (expm1_test_data): Likewise.
6401         (expm1_test): Use ALL_RM_TEST.
6402         (expm1_tonearest_test_data): Remove.
6403         (expm1_test_tonearest): Likewise.
6404         (expm1_towardzero_test_data): Likewise.
6405         (expm1_test_towardzero): Likewise.
6406         (expm1_downward_test_data): Likewise.
6407         (expm1_test_downward): Likewise.
6408         (expm1_upward_test_data): Likewise.
6409         (expm1_test_upward): Likewise.
6410         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6411         (fma_test): Use ALL_RM_TEST.
6412         (fma_towardzero_test_data): Remove.
6413         (fma_test_towardzero): Likewise.
6414         (fma_downward_test_data): Likewise.
6415         (fma_test_downward): Likewise.
6416         (fma_upward_test_data): Likewise.
6417         (fma_test_upward): Likewise.
6418         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6419         (j0_test_data): Update call to AUTO_TESTS_f_f.
6420         (j1_test_data): Likewise.
6421         (jn_test_data): Update call to AUTO_TESTS_if_f.
6422         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6423         (log_test_data): Update call to AUTO_TESTS_f_f.
6424         (log10_test_data): Likewise.
6425         (log1p_test_data): Likewise.
6426         (log2_test_data): Likewise.
6427         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6428         (pow_tonearest_test_data): Likewise.
6429         (sin_test_data): Update call to AUTO_TESTS_f_f.
6430         (sin_test): Use ALL_RM_TEST.
6431         (sin_tonearest_test_data): Remove.
6432         (sin_test_tonearest): Likewise.
6433         (sin_towardzero_test_data): Likewise.
6434         (sin_test_towardzero): Likewise.
6435         (sin_downward_test_data): Likewise.
6436         (sin_test_downward): Likewise.
6437         (sin_upward_test_data): Likewise.
6438         (sin_test_upward): Likewise.
6439         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6440         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6441         (sinh_test): Use ALL_RM_TEST.
6442         (sinh_tonearest_test_data): Remove.
6443         (sinh_test_tonearest): Likewise.
6444         (sinh_towardzero_test_data): Likewise.
6445         (sinh_test_towardzero): Likewise.
6446         (sinh_downward_test_data): Likewise.
6447         (sinh_test_downward): Likewise.
6448         (sinh_upward_test_data): Likewise.
6449         (sinh_test_upward): Likewise.
6450         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6451         (sqrt_test): Use ALL_RM_TEST.
6452         (sqrt_tonearest_test_data): Remove.
6453         (sqrt_test_tonearest): Likewise.
6454         (sqrt_towardzero_test_data): Likewise.
6455         (sqrt_test_towardzero): Likewise.
6456         (sqrt_downward_test_data): Likewise.
6457         (sqrt_test_downward): Likewise.
6458         (sqrt_upward_test_data): Likewise.
6459         (sqrt_test_upward): Likewise.
6460         (tan_test_data): Update call to AUTO_TESTS_f_f.
6461         (tan_test): Use ALL_RM_TEST.
6462         (tan_tonearest_test_data): Remove.
6463         (tan_test_tonearest): Likewise.
6464         (tan_towardzero_test_data): Likewise.
6465         (tan_test_towardzero): Likewise.
6466         (tan_downward_test_data): Likewise.
6467         (tan_test_downward): Likewise.
6468         (tan_upward_test_data): Likewise.
6469         (tan_test_upward): Likewise.
6470         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6471         (tgamma_test_data): Likewise.
6472         (y0_test_data): Likewise.
6473         (y1_test_data): Likewise.
6474         (yn_test_data): Update call to AUTO_TESTS_if_f.
6475         (main): Do not call removed functions.
6476
6477 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6478
6479         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6480         (ldexp_test_data): Remove.
6481         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6482         scalbn_test_data.
6483         (scalb_test): Use ALL_RM_TEST.
6484
6485 2014-03-19  Andreas Schwab  <schwab@suse.de>
6486
6487         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6488
6489 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6490
6491         [BZ #16649]
6492         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6493         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6494         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6496         (__ASSUME_PREADV): Undefine.
6497         (__ASSUME_PWRITEV): Likewise.
6498
6499 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6500
6501         * bits/mman-linux.h: Add comment about non-Linux use.
6502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6503         bits/mman-linux.h resting place.
6504
6505         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6506         * bits/mman-linux.h: ... here.
6507
6508 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6509
6510         * conform/conformtest.pl: Add standard definition when calling C
6511         preprocessor on data files.
6512         (checknamespace): Remove unused variable.
6513
6514 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6515
6516         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6517         minus_oflow, plus_uflow and minus_uflow in expected results.
6518         * math/libm-test.inc (scalbn_test_data): Add more tests of
6519         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6520         minus_uflow.
6521         (scalbn_test): Use ALL_RM_TEST.
6522         (scalbln_test_data): Add more tests of negative arguments.  Use
6523         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6524         (scalbln_test): Use ALL_RM_TEST.
6525
6526 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6527
6528         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6529
6530 2014-03-18  Will Newton  <will.newton@linaro.org>
6531
6532         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6533         inaccurate comment.
6534
6535 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6536
6537         * Makerules [!subdir] (check-abi): Exit with error status if a
6538         test failed.
6539
6540 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6541
6542         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6543         for rint.  Include results for all rounding modes.
6544         (nearbyint_test): Use ALL_RM_TEST.
6545         (rint_test_data): Include all tests used for nearbyint.
6546
6547 2014-03-17  Will Newton  <will.newton@linaro.org>
6548
6549         * nptl/sysdeps/pthread/pthread.h: Revert previous
6550         change.
6551
6552         * sysdeps/generic/ldsodefs.h: Revert previous
6553         change.
6554
6555         * libio/genops.c: Revert previous change.
6556         * libio/libioP.h: Likewise.
6557         * stdio-common/vfprintf.c: Likewise.
6558
6559         * sysdeps/generic/math_private.h: Revert previous
6560         change.
6561
6562         * sysdeps/generic/math_private.h: Check whether
6563         HAVE_RM_CTX is defined with #ifdef rather
6564         than #if.
6565
6566         * argp/argp-fmtstream.h: Check whether
6567         __STRICT_ANSI__ is defined with #ifdef rather
6568         than #if.
6569         * argp/argp.h: Likewise.
6570
6571         * libio/genops.c: Check whether
6572         _IO_JUMPS_OFFSET is defined with #ifdef rather
6573         than #if.
6574         * libio/libioP.h: Likewise.
6575         * stdio-common/vfprintf.c: Likewise.
6576
6577         * sysdeps/generic/ldsodefs.h: Check whether
6578         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6579         than #if.
6580
6581         * nptl/sysdeps/pthread/pthread.h: Check
6582         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6583         its value.
6584
6585 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6586
6587         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6588         setting O_APPEND.
6589         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6590         test case.
6591
6592         [BZ #16680]
6593         * libio/fileops.c (_IO_file_open): Seek to end of file but
6594         don't cache the offset.
6595         (get_file_offset): Remove function.
6596         (do_ftell): Use cached offset when available.
6597         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6598         don't cache the offset.
6599         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6600         case.
6601         (do_one_test): Call it.
6602         (do_ftell_test): Fix up expected old offset for a+ mode.
6603         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6604         available.
6605
6606         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6607         up test status with function return status.
6608         (do_write_test): Likewise.
6609         (do_append_test): Likewise.
6610
6611         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6612         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6613         Remove.
6614
6615 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6616
6617         * math/gen-libm-test.pl (parse_args): Handle results specified for
6618         each rounding mode separately.
6619         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6620         tests and results from lrint_tonearest_test_data,
6621         lrint_towardzero_test_data, lrint_downward_test_data and
6622         lrint_upward_test_data.
6623         (lrint_test): Use ALL_RM_TEST.
6624         (lrint_tonearest_test_data): Remove.
6625         (lrint_test_tonearest): Likewise.
6626         (lrint_towardzero_test_data): Likewise.
6627         (lrint_test_towardzero): Likewise.
6628         (lrint_downward_test_data): Likewise.
6629         (lrint_test_downward): Likewise.
6630         (lrint_upward_test_data): Likewise.
6631         (lrint_test_upward): Likewise.
6632         (llrint_test_data): Merge in per-rounding-mode tests and results
6633         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6634         llrint_downward_test_data and llrint_upward_test_data.
6635         (llrint_test): Use ALL_RM_TEST.
6636         (llrint_tonearest_test_data): Remove.
6637         (llrint_test_tonearest): Likewise.
6638         (llrint_towardzero_test_data): Likewise.
6639         (llrint_test_towardzero): Likewise.
6640         (llrint_downward_test_data): Likewise.
6641         (llrint_test_downward): Likewise.
6642         (llrint_upward_test_data): Likewise.
6643         (llrint_test_upward): Likewise.
6644         (rint_test_data): Merge in per-rounding-mode tests and results
6645         from rint_tonearest_test_data, rint_towardzero_test_data,
6646         rint_downward_test_data and rint_upward_test_data.  Add
6647         per-rounding-mode results for tests not in those arrays.
6648         (rint_test): Use ALL_RM_TEST.
6649         (rint_tonearest_test_data): Remove.
6650         (rint_test_tonearest): Likewise.
6651         (rint_towardzero_test_data): Likewise.
6652         (rint_test_towardzero): Likewise.
6653         (rint_downward_test_data): Likewise.
6654         (rint_test_downward): Likewise.
6655         (rint_upward_test_data): Likewise.
6656         (rint_test_upward): Likewise.
6657         (main): Don't call removed functions.
6658
6659 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6660
6661         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6662         "Compiled on ..." crapola.  It is anti-useful.
6663
6664 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6665
6666         * scripts/evaluate-test.sh: Handle fourth argument to determine
6667         whether test run should stop on failure.
6668         * Makeconfig (stop-on-test-failure): New variable.
6669         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6670         $(stop-on-test-failure).
6671         * Makefile (tests): Give a summary of results from testing and
6672         exit with failure status if they include an ERROR or FAIL.
6673         (xtests): Likewise.
6674         * manual/install.texi (Configuring and compiling): Mention
6675         stop-on-test-failure=y.
6676         * INSTALL: Regenerated.
6677
6678 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6679
6680         * scripts/versionlist.awk: New file.
6681         * Makerules [$(build-shared) = yes]
6682         (postclean-generated): Add Versions.def, not Versions.def.v and
6683         Versions.def.v.i.
6684         ($(common-objpfx)Versions.def.v.i): Target removed.
6685         ($(common-objpfx)Versions.def): New target.
6686         ($(common-objpfx)Versions.all): Depend on that rather that
6687         $(common-objpfx)Versions.def.v.
6688         * Versions.def: File removed.
6689
6690         * Makeconfig (+gccwarn): Add -Wundef.
6691         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6692         a dl-sysdep.h breaking its contract.
6693         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6694         * include/stackinfo.h: New file.
6695         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6696         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6697         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6698         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6699         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6700         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6701         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6702         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6703         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6704         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6705         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6706         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6707         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6708         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6709         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6710
6711 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6712
6713         [BZ #16707]
6714         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6715         implementation.
6716         * math/libm-test.inc (round_test_data): Add more tests.
6717
6718         [BZ #16706]
6719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6720         implementation.
6721         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6722
6723         [BZ #16701]
6724         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6725         implementation.
6726         * math/libm-test.inc (ceil_test_data): Add more tests.
6727
6728         * math/libm-test.inc (trunc_test_data): Add more tests related to
6729         BZ#16414.
6730
6731 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6732
6733         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6734         with #if rather than #ifdef.
6735         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6736
6737 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6738
6739         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6740         first.  Disable AVX-512 GCC support if assembler doesn't support
6741         it.
6742         * sysdeps/x86_64/configure: Regenerated.
6743
6744 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6745
6746         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6747         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6748         (__old_pthread_attr_setstack): Likewise.
6749         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6750         [!_STACK_GROWS_DOWN]: Likewise.
6751
6752 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6753
6754         * config.make.in (have-bash2): Delete.
6755         * configure.ac (libc_cv_have_bash2): Delete.
6756         * configure: Regenerate.
6757         * elf/Makefile (common-ldd-rewrite): Rename to ...
6758         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6759         (sh-ldd-rewrite): Delete.
6760         (bash-ldd-rewrite): Delete.
6761         (have-bash2): Delete checks.
6762         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6763         ldd-rewrite.
6764
6765         * config.make.in (have-ksh): Delete.
6766         (KSH): Delete.
6767         * configure.ac (libc_cv_have_ksh): Delete.
6768         * configure: Regenerate.
6769
6770         * elf/Makefile: Delete $(have-ksh) check.
6771         ($(objpfx)sotruss): Change KSH to BASH.
6772         * elf/sotruss.ksh: Rename to ...
6773         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6774         function style to match POSIX.  Drop ksh vim mode setting.
6775
6776         * manual/time.texi (Specifying the Time Zone with TZ): Change
6777         Tuesday to Thursday.
6778
6779         * debug/tst-longjmp_chk2.c: Update header comment.
6780         (stackoverflow_handler): Add comment.  Call assert on pass value.
6781
6782 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6783
6784         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6785         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6786         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6787         (La_x86_64_vector): Add zmm.
6788         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6789         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6790         ($(objpfx)tst-audit10): New target.
6791         ($(objpfx)tst-audit10.out): Likewise.
6792         (tst-audit10-ENV): New.
6793         (AVX512-CFLAGS): Likewise.
6794         (CFLAGS-tst-audit10.c): Likewise.
6795         (CFLAGS-tst-auditmod10a.c): Likewise.
6796         (CFLAGS-tst-auditmod10b.c): Likewise.
6797         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6798         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6799         * sysdeps/x86_64/configure: Regenerated.
6800         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6801         AVX-512 zmm register support.
6802         (_dl_x86_64_save_sse): Likewise.
6803         (_dl_x86_64_restore_sse): Likewise.
6804         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6805         size vector registers.
6806         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6807         (ZMM_SIZE): Likewise.
6808         * sysdeps/x86_64/tst-audit10.c: New file.
6809         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6810         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6811
6812 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6813
6814         * configure.ac (HAVE_EHDR_START): New check.
6815         * configure: Regenerated.
6816         * config.h.in (HAVE_EHDR_START): New #undef.
6817         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6818         assuming the lowest-addressed segment maps the start of the file.
6819
6820 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6821
6822         * INSTALL: Regenerated.
6823
6824 2014-03-13  Will Newton  <will.newton@linaro.org>
6825
6826         * manual/setjmp.texi (System V contexts): Improve
6827         clarity and grammar of documentation.
6828
6829 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6830
6831         [BZ #16381]
6832         * elf/Makefile (tests): Add tst-pie2.
6833         (tests-pie): Add tst-pie2.
6834         * elf/tst-pie2.c: New file.
6835         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6836         for ET_EXEC.
6837         * elf/rtld.c (map_doit): Load executable as lt_executable.
6838         (dl_main): Likewise.
6839
6840 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6841
6842         [BZ #16642]
6843         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6844         (__ASSUME_PSELECT): Undefine.
6845
6846 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6847
6848         [BZ #16689]
6849         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6850         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6851         static build.
6852         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6853         selector for static builds.
6854
6855 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6856
6857         [BZ #16695]
6858         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6859         key in the buffer.
6860
6861 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6862
6863         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6864         IFUNC selector for static builds.
6865
6866 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6867
6868         * sysdeps/mips/math_private.h [__mips_hard_float]
6869         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6870         libc_feresetround_mips_ctx.
6871         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6872         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6873         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6874
6875         [BZ #16677]
6876         * math/s_nextafter.c (__nextafter): Do not return value from
6877         overflowing computation.
6878         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6879         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6880         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6881         Likewise.
6882         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6883         Likewise.
6884         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6885         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6886
6887 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6888
6889         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6890         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6891         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6892         the new mov targetting sp.
6893
6894 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6895
6896         [BZ #16683]
6897         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6898         Define it for static builds as well.
6899         (NO_BZERO_IMPL): Likewise.
6900
6901 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6902
6903         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6904         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6905         multiarch strspn for PPC64.
6906         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6907         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6909         (__libc_ifunc_impl_list): Likewise.
6910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6911         multiarch optimizations
6912         * string/strspn.c (strspn): Using macro to redefine symbol name.
6913
6914 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6915             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6916
6917         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6918         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6919         multiarch strncat for PPC64.
6920         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6921         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6923         (__libc_ifunc_impl_list): Likewise.
6924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6925         multiarch optimizations
6926
6927 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6928
6929         [BZ #16639]
6930         * nscd/nscd.service: Make service type forking.
6931
6932 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6933
6934         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6935         sign in non default rounding modes.
6936         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6937
6938 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6939
6940         * math/libm-test.inc (ALL_RM_TEST): New macro.
6941         (ceil_test): Use ALL_RM_TEST.
6942         (cimag_test): Likewise.
6943         (conj_test): Likewise.
6944         (copysign_test): Likewise.
6945         (cproj_test): Likewise.
6946         (creal_test): Likewise.
6947         (fabs_test): Likewise.
6948         (floor_test): Likewise.
6949         (fmax_test): Likewise.
6950         (fmin_test): Likewise.
6951         (fmod_test): Likewise.
6952         (fpclassify_test): Likewise.
6953         (frexp_test): Likewise.
6954         (ilogb_test): Likewise.
6955         (isfinite_test): Likewise.
6956         (finite_test): Likewise.
6957         (isgreater_test): Likewise.
6958         (isgreaterequal_test): Likewise.
6959         (isinf_test): Likewise.
6960         (isless_test): Likewise.
6961         (islessequal_test): Likewise.
6962         (islessgreater_test): Likewise.
6963         (isnan_test): Likewise.
6964         (isnormal_test): Likewise.
6965         (issignaling_test): Likewise.
6966         (isunordered_test): Likewise.
6967         (logb_test): Likewise.
6968         (logb_downward_test_data): Remove.
6969         (logb_test_downward): Likewise.
6970         (lround_test): Use ALL_RM_TEST.
6971         (llround_test): Likewise.
6972         (modf_test): Likewise.
6973         (nexttoward_test): Likewise.
6974         (remainder_test): Likewise.
6975         (drem_test): Likewise.
6976         (remainder_tonearest_test_data): Likewise.
6977         (remainder_test_tonearest): Likewise.
6978         (drem_test_tonearest): Likewise.
6979         (remainder_towardzero_test_data): Likewise.
6980         (remainder_test_towardzero): Likewise.
6981         (drem_test_towardzero): Likewise.
6982         (remainder_downward_test_data): Likewise.
6983         (remainder_test_downward): Likewise.
6984         (drem_test_downward): Likewise.
6985         (remainder_upward_test_data): Likewise.
6986         (remainder_test_upward): Likewise.
6987         (drem_test_upward): Likewise.
6988         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6989         (round_test): Use ALL_RM_TEST.
6990         (signbit_test): Likewise.
6991         (trunc_test): Likewise.
6992         (significand_test): Likewise.
6993         (main): Don't call removed functions.
6994
6995 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6996
6997         [BZ #16674]
6998         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6999         || __USE_XOPEN2K8].
7000         (ILL_ILLOPN): Likewise.
7001         (ILL_ILLADR): Likewise.
7002         (ILL_ILLTRP): Likewise.
7003         (ILL_PRVOPC): Likewise.
7004         (ILL_PRVREG): Likewise.
7005         (ILL_COPROC): Likewise.
7006         (ILL_BADSTK): Likewise.
7007         (FPE_INTDIV): Likewise.
7008         (FPE_INTOVF): Likewise.
7009         (FPE_FLTDIV): Likewise.
7010         (FPE_FLTOVF): Likewise.
7011         (FPE_FLTUND): Likewise.
7012         (FPE_FLTRES): Likewise.
7013         (FPE_FLTINV): Likewise.
7014         (FPE_FLTSUB): Likewise.
7015         (SEGV_MAPERR): Likewise.
7016         (SEGV_ACCERR): Likewise.
7017         (BUS_ADRALN): Likewise.
7018         (BUS_ADRERR): Likewise.
7019         (BUS_OBJERR): Likewise.
7020         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7021         (TRAP_TRACE): Likewise.
7022         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7023         __USE_XOPEN2K8].
7024         (CLD_KILLED): Likewise.
7025         (CLD_DUMPED): Likewise.
7026         (CLD_TRAPPED): Likewise.
7027         (CLD_STOPPED): Likewise.
7028         (CLD_CONTINUED): Likewise.
7029         (POLL_IN): Likewise.
7030         (POLL_OUT): Likewise.
7031         (POLL_MSG): Likewise.
7032         (POLL_ERR): Likewise.
7033         (POLL_PRI): Likewise.
7034         (POLL_HUP): Likewise.
7035         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7036         Likewise.
7037         (ILL_ILLOPN): Likewise.
7038         (ILL_ILLADR): Likewise.
7039         (ILL_ILLTRP): Likewise.
7040         (ILL_PRVOPC): Likewise.
7041         (ILL_PRVREG): Likewise.
7042         (ILL_COPROC): Likewise.
7043         (ILL_BADSTK): Likewise.
7044         (FPE_INTDIV): Likewise.
7045         (FPE_INTOVF): Likewise.
7046         (FPE_FLTDIV): Likewise.
7047         (FPE_FLTOVF): Likewise.
7048         (FPE_FLTUND): Likewise.
7049         (FPE_FLTRES): Likewise.
7050         (FPE_FLTINV): Likewise.
7051         (FPE_FLTSUB): Likewise.
7052         (SEGV_MAPERR): Likewise.
7053         (SEGV_ACCERR): Likewise.
7054         (BUS_ADRALN): Likewise.
7055         (BUS_ADRERR): Likewise.
7056         (BUS_OBJERR): Likewise.
7057         (BUS_MCEERR_AR): Likewise.
7058         (BUS_MCEERR_AO): Likewise.
7059         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7060         (TRAP_TRACE): Likewise.
7061         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7062         __USE_XOPEN2K8].
7063         (CLD_KILLED): Likewise.
7064         (CLD_DUMPED): Likewise.
7065         (CLD_TRAPPED): Likewise.
7066         (CLD_STOPPED): Likewise.
7067         (CLD_CONTINUED): Likewise.
7068         (POLL_IN): Likewise.
7069         (POLL_OUT): Likewise.
7070         (POLL_MSG): Likewise.
7071         (POLL_ERR): Likewise.
7072         (POLL_PRI): Likewise.
7073         (POLL_HUP): Likewise.
7074         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7075         (ILL_ILLOPN): Likewise.
7076         (ILL_ILLADR): Likewise.
7077         (ILL_ILLTRP): Likewise.
7078         (ILL_PRVOPC): Likewise.
7079         (ILL_PRVREG): Likewise.
7080         (ILL_COPROC): Likewise.
7081         (ILL_BADSTK): Likewise.
7082         (FPE_INTDIV): Likewise.
7083         (FPE_INTOVF): Likewise.
7084         (FPE_FLTDIV): Likewise.
7085         (FPE_FLTOVF): Likewise.
7086         (FPE_FLTUND): Likewise.
7087         (FPE_FLTRES): Likewise.
7088         (FPE_FLTINV): Likewise.
7089         (FPE_FLTSUB): Likewise.
7090         (SEGV_MAPERR): Likewise.
7091         (SEGV_ACCERR): Likewise.
7092         (BUS_ADRALN): Likewise.
7093         (BUS_ADRERR): Likewise.
7094         (BUS_OBJERR): Likewise.
7095         (BUS_MCEERR_AR): Likewise.
7096         (BUS_MCEERR_AO): Likewise.
7097         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7098         (TRAP_TRACE): Likewise.
7099         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7100         __USE_XOPEN2K8].
7101         (CLD_KILLED): Likewise.
7102         (CLD_DUMPED): Likewise.
7103         (CLD_TRAPPED): Likewise.
7104         (CLD_STOPPED): Likewise.
7105         (CLD_CONTINUED): Likewise.
7106         (POLL_IN): Likewise.
7107         (POLL_OUT): Likewise.
7108         (POLL_MSG): Likewise.
7109         (POLL_ERR): Likewise.
7110         (POLL_PRI): Likewise.
7111         (POLL_HUP): Likewise.
7112         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7113         Likewise.
7114         (ILL_ILLOPN): Likewise.
7115         (ILL_ILLADR): Likewise.
7116         (ILL_ILLTRP): Likewise.
7117         (ILL_PRVOPC): Likewise.
7118         (ILL_PRVREG): Likewise.
7119         (ILL_COPROC): Likewise.
7120         (ILL_BADSTK): Likewise.
7121         (ILL_BADIADDR): Likewise.
7122         (ILL_BREAK): Likewise.
7123         (FPE_INTDIV): Likewise.
7124         (FPE_INTOVF): Likewise.
7125         (FPE_FLTDIV): Likewise.
7126         (FPE_FLTOVF): Likewise.
7127         (FPE_FLTUND): Likewise.
7128         (FPE_FLTRES): Likewise.
7129         (FPE_FLTINV): Likewise.
7130         (FPE_FLTSUB): Likewise.
7131         (FPE_DECOVF): Likewise.
7132         (FPE_DECDIV): Likewise.
7133         (FPE_DECERR): Likewise.
7134         (FPE_INVASC): Likewise.
7135         (FPE_INVDEC): Likewise.
7136         (SEGV_MAPERR): Likewise.
7137         (SEGV_ACCERR): Likewise.
7138         (SEGV_PSTKOVF): Likewise.
7139         (BUS_ADRALN): Likewise.
7140         (BUS_ADRERR): Likewise.
7141         (BUS_OBJERR): Likewise.
7142         (BUS_MCEERR_AR): Likewise.
7143         (BUS_MCEERR_AO): Likewise.
7144         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7145         (TRAP_TRACE): Likewise.
7146         (TRAP_BRANCH): Likewise.
7147         (TRAP_HWBKPT): Likewise.
7148         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7149         __USE_XOPEN2K8].
7150         (CLD_KILLED): Likewise.
7151         (CLD_DUMPED): Likewise.
7152         (CLD_TRAPPED): Likewise.
7153         (CLD_STOPPED): Likewise.
7154         (CLD_CONTINUED): Likewise.
7155         (POLL_IN): Likewise.
7156         (POLL_OUT): Likewise.
7157         (POLL_MSG): Likewise.
7158         (POLL_ERR): Likewise.
7159         (POLL_PRI): Likewise.
7160         (POLL_HUP): Likewise.
7161         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7162         (ILL_ILLOPN): Likewise.
7163         (ILL_ILLADR): Likewise.
7164         (ILL_ILLTRP): Likewise.
7165         (ILL_PRVOPC): Likewise.
7166         (ILL_PRVREG): Likewise.
7167         (ILL_COPROC): Likewise.
7168         (ILL_BADSTK): Likewise.
7169         (FPE_INTDIV): Likewise.
7170         (FPE_INTOVF): Likewise.
7171         (FPE_FLTDIV): Likewise.
7172         (FPE_FLTOVF): Likewise.
7173         (FPE_FLTUND): Likewise.
7174         (FPE_FLTRES): Likewise.
7175         (FPE_FLTINV): Likewise.
7176         (FPE_FLTSUB): Likewise.
7177         (SEGV_MAPERR): Likewise.
7178         (SEGV_ACCERR): Likewise.
7179         (BUS_ADRALN): Likewise.
7180         (BUS_ADRERR): Likewise.
7181         (BUS_OBJERR): Likewise.
7182         (BUS_MCEERR_AR): Likewise.
7183         (BUS_MCEERR_AO): Likewise.
7184         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7185         (TRAP_TRACE): Likewise.
7186         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7187         __USE_XOPEN2K8].
7188         (CLD_KILLED): Likewise.
7189         (CLD_DUMPED): Likewise.
7190         (CLD_TRAPPED): Likewise.
7191         (CLD_STOPPED): Likewise.
7192         (CLD_CONTINUED): Likewise.
7193         (POLL_IN): Likewise.
7194         (POLL_OUT): Likewise.
7195         (POLL_MSG): Likewise.
7196         (POLL_ERR): Likewise.
7197         (POLL_PRI): Likewise.
7198         (POLL_HUP): Likewise.
7199         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7200         (ILL_ILLOPN): Likewise.
7201         (ILL_ILLADR): Likewise.
7202         (ILL_ILLTRP): Likewise.
7203         (ILL_PRVOPC): Likewise.
7204         (ILL_PRVREG): Likewise.
7205         (ILL_COPROC): Likewise.
7206         (ILL_BADSTK): Likewise.
7207         (FPE_INTDIV): Likewise.
7208         (FPE_INTOVF): Likewise.
7209         (FPE_FLTDIV): Likewise.
7210         (FPE_FLTOVF): Likewise.
7211         (FPE_FLTUND): Likewise.
7212         (FPE_FLTRES): Likewise.
7213         (FPE_FLTINV): Likewise.
7214         (FPE_FLTSUB): Likewise.
7215         (SEGV_MAPERR): Likewise.
7216         (SEGV_ACCERR): Likewise.
7217         (BUS_ADRALN): Likewise.
7218         (BUS_ADRERR): Likewise.
7219         (BUS_OBJERR): Likewise.
7220         (BUS_MCEERR_AR): Likewise.
7221         (BUS_MCEERR_AO): Likewise.
7222         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7223         (TRAP_TRACE): Likewise.
7224         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7225         __USE_XOPEN2K8].
7226         (CLD_KILLED): Likewise.
7227         (CLD_DUMPED): Likewise.
7228         (CLD_TRAPPED): Likewise.
7229         (CLD_STOPPED): Likewise.
7230         (CLD_CONTINUED): Likewise.
7231         (POLL_IN): Likewise.
7232         (POLL_OUT): Likewise.
7233         (POLL_MSG): Likewise.
7234         (POLL_ERR): Likewise.
7235         (POLL_PRI): Likewise.
7236         (POLL_HUP): Likewise.
7237         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7238         (ILL_ILLOPN): Likewise.
7239         (ILL_ILLADR): Likewise.
7240         (ILL_ILLTRP): Likewise.
7241         (ILL_PRVOPC): Likewise.
7242         (ILL_PRVREG): Likewise.
7243         (ILL_COPROC): Likewise.
7244         (ILL_BADSTK): Likewise.
7245         (FPE_INTDIV): Likewise.
7246         (FPE_INTOVF): Likewise.
7247         (FPE_FLTDIV): Likewise.
7248         (FPE_FLTOVF): Likewise.
7249         (FPE_FLTUND): Likewise.
7250         (FPE_FLTRES): Likewise.
7251         (FPE_FLTINV): Likewise.
7252         (FPE_FLTSUB): Likewise.
7253         (SEGV_MAPERR): Likewise.
7254         (SEGV_ACCERR): Likewise.
7255         (BUS_ADRALN): Likewise.
7256         (BUS_ADRERR): Likewise.
7257         (BUS_OBJERR): Likewise.
7258         (BUS_MCEERR_AR): Likewise.
7259         (BUS_MCEERR_AO): Likewise.
7260         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7261         (TRAP_TRACE): Likewise.
7262         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7263         __USE_XOPEN2K8].
7264         (CLD_KILLED): Likewise.
7265         (CLD_DUMPED): Likewise.
7266         (CLD_TRAPPED): Likewise.
7267         (CLD_STOPPED): Likewise.
7268         (CLD_CONTINUED): Likewise.
7269         (POLL_IN): Likewise.
7270         (POLL_OUT): Likewise.
7271         (POLL_MSG): Likewise.
7272         (POLL_ERR): Likewise.
7273         (POLL_PRI): Likewise.
7274         (POLL_HUP): Likewise.
7275         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7276         (ILL_ILLOPN): Likewise.
7277         (ILL_ILLADR): Likewise.
7278         (ILL_ILLTRP): Likewise.
7279         (ILL_PRVOPC): Likewise.
7280         (ILL_PRVREG): Likewise.
7281         (ILL_COPROC): Likewise.
7282         (ILL_BADSTK): Likewise.
7283         (ILL_DBLFLT): Likewise.
7284         (ILL_HARDWALL): Likewise.
7285         (FPE_INTDIV): Likewise.
7286         (FPE_INTOVF): Likewise.
7287         (FPE_FLTDIV): Likewise.
7288         (FPE_FLTOVF): Likewise.
7289         (FPE_FLTUND): Likewise.
7290         (FPE_FLTRES): Likewise.
7291         (FPE_FLTINV): Likewise.
7292         (FPE_FLTSUB): Likewise.
7293         (SEGV_MAPERR): Likewise.
7294         (SEGV_ACCERR): Likewise.
7295         (BUS_ADRALN): Likewise.
7296         (BUS_ADRERR): Likewise.
7297         (BUS_OBJERR): Likewise.
7298         (BUS_MCEERR_AR): Likewise.
7299         (BUS_MCEERR_AO): Likewise.
7300         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7301         (TRAP_TRACE): Likewise.
7302         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7303         __USE_XOPEN2K8].
7304         (CLD_KILLED): Likewise.
7305         (CLD_DUMPED): Likewise.
7306         (CLD_TRAPPED): Likewise.
7307         (CLD_STOPPED): Likewise.
7308         (CLD_CONTINUED): Likewise.
7309         (POLL_IN): Likewise.
7310         (POLL_OUT): Likewise.
7311         (POLL_MSG): Likewise.
7312         (POLL_ERR): Likewise.
7313         (POLL_PRI): Likewise.
7314         (POLL_HUP): Likewise.
7315         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7316         (ILL_ILLOPN): Likewise.
7317         (ILL_ILLADR): Likewise.
7318         (ILL_ILLTRP): Likewise.
7319         (ILL_PRVOPC): Likewise.
7320         (ILL_PRVREG): Likewise.
7321         (ILL_COPROC): Likewise.
7322         (ILL_BADSTK): Likewise.
7323         (FPE_INTDIV): Likewise.
7324         (FPE_INTOVF): Likewise.
7325         (FPE_FLTDIV): Likewise.
7326         (FPE_FLTOVF): Likewise.
7327         (FPE_FLTUND): Likewise.
7328         (FPE_FLTRES): Likewise.
7329         (FPE_FLTINV): Likewise.
7330         (FPE_FLTSUB): Likewise.
7331         (SEGV_MAPERR): Likewise.
7332         (SEGV_ACCERR): Likewise.
7333         (BUS_ADRALN): Likewise.
7334         (BUS_ADRERR): Likewise.
7335         (BUS_OBJERR): Likewise.
7336         (BUS_MCEERR_AR): Likewise.
7337         (BUS_MCEERR_AO): Likewise.
7338         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7339         (TRAP_TRACE): Likewise.
7340         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7341         __USE_XOPEN2K8].
7342         (CLD_KILLED): Likewise.
7343         (CLD_DUMPED): Likewise.
7344         (CLD_TRAPPED): Likewise.
7345         (CLD_STOPPED): Likewise.
7346         (CLD_CONTINUED): Likewise.
7347         (POLL_IN): Likewise.
7348         (POLL_OUT): Likewise.
7349         (POLL_MSG): Likewise.
7350         (POLL_ERR): Likewise.
7351         (POLL_PRI): Likewise.
7352         (POLL_HUP): Likewise.
7353         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7354         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7355
7356         [BZ #16670]
7357         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7358         before #include of <time.h>.
7359         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7360         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7361         (test-xfail-UNIX98/sched.h/conform): Likewise.
7362
7363 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7364
7365         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7366         error absence of trapping exception support.
7367         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7368
7369 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7370
7371         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7372         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7373         * timezone/Makefile (testdata): Move definition above include of
7374         Rules.
7375         (test-zones): New variable.
7376         (tests-special): Add zone files.
7377         (build-testdata): Use $(evaluate-test).
7378
7379         * elf/Makefile (tests-special): Rename tests to end with .out.
7380         ($(objpfx)noload-mem): Likewise.
7381         ($(objpfx)tst-leaks1-mem): Likewise.
7382         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7383         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7384         $(objpfx)test-iconvconfig.out.
7385         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7386         set -e inside subshell and redirect output to file.
7387         * iconvdata/Makefile (generated): Rename tests to end with .out.
7388         Correct type.
7389         (tests-special): Rename tests to end with .out.
7390         ($(objpfx)mtrace-tst-loading): Likewise.
7391         * intl/Makefile (generated): Likewise.
7392         (tests-special): Likewise.
7393         ($(objpfx)mtrace-tst-gettext): Likewise.
7394         * misc/Makefile (generated): Likewise.
7395         (tests-special): Likewise.
7396         ($(objpfx)tst-error1-mem): Likewise.
7397         * nptl/Makefile (tests-special): Likewise.
7398         ($(objpfx)tst-stack3-mem): Likewise.
7399         (generated): Likewise.
7400         * posix/Makefile (generated): Likewise.
7401         (tests-special): Likewise.
7402         (xtests-special): Likewise.
7403         ($(objpfx)tst-fnmatch-mem): Likewise.
7404         ($(objpfx)bug-regex2-mem): Likewise.
7405         ($(objpfx)bug-regex14-mem): Likewise.
7406         ($(objpfx)bug-regex21-mem): Likewise.
7407         ($(objpfx)bug-regex31-mem): Likewise.
7408         ($(objpfx)tst-vfork3-mem): Likewise.
7409         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7410         ($(objpfx)tst-pcre-mem): Likewise.
7411         ($(objpfx)tst-boost-mem): Likewise.
7412         ($(objpfx)bug-ga2-mem): Likewise.
7413         ($(objpfx)bug-glob2-mem): Likewise.
7414         * resolv/Makefile (generate): Likewise.
7415         (tests-special): Likewise.
7416         (xtests-special): Likewise.
7417         (generated): Likewise.
7418         ($(objpfx)mtrace-tst-leaks): Likewise.
7419         ($(objpfx)mtrace-tst-leaks2): Likewise.
7420
7421         * scripts/merge-test-results.sh: New file.
7422         * Makefile (tests-special-notdir): New variable.
7423         (tests): Run merge-test-results.sh.
7424         (xtests): Likewise.
7425         * Rules (tests-special-notdir): New variable.
7426         (xtests-special-notdir): Likewise.
7427         (tests): Run merge-test-results.sh
7428         (xtests): Likewise.
7429
7430         * Makeconfig (test-xfail-name): New variable.
7431         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7432         compute variable name for expected failures.
7433         * conform/Makefile (conformtest-headers-data): New variable.
7434         (conformtest-standards): Likewise.
7435         (conformtest-headers-ISO): Likewise.
7436         (conformtest-headers-ISO99): Likewise.
7437         (conformtest-headers-ISO11): Likewise.
7438         (conformtest-headers-POSIX): Likewise.
7439         (conformtest-headers-XPG3): Likewise.
7440         (conformtest-headers-XPG4): Likewise.
7441         (conformtest-headers-UNIX98): Likewise.
7442         (conformtest-headers-XOPEN2K): Likewise.
7443         (conformtest-headers-POSIX2008): Likewise.
7444         (conformtest-headers-XOPEN2K8): Likewise.
7445         (conformtest-header-list-base): Likewise.
7446         (conformtest-header-list-tests): Likewise.
7447         (conformtest-header-base): Likewise.
7448         (conformtest-header-tests): Likewise.
7449         (tests-special): Add $(conformtest-header-list-tests).  If
7450         [$(fast-check) && !$(cross-compiling)], add
7451         $(conformtest-header-tests) instead of
7452         $(objpfx)run-conformtest.out.
7453         (generated): Add $(conformtest-header-list-base).  If
7454         [$(fast-check) && !$(cross-compiling)], add
7455         $(conformtest-header-base).  Remove previous setting.
7456         ($(conformtest-header-list-tests)): New target.
7457         (test-xfail-run-conformtest): Remove variable.
7458         ($(objpfx)run-conformtest.out): Remove target.
7459         (test-xfail-ISO11/complex.h/conform): New variable.
7460         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7461         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7462         (test-xfail-XPG3/varargs.h/conform): Likewise.
7463         (test-xfail-XPG4/varargs.h/conform): Likewise.
7464         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7465         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7466         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7467         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7468         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7469         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7470         (test-xfail-XPG3/ftw.h/conform): Likewise.
7471         (test-xfail-XPG3/grp.h/conform): Likewise.
7472         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7473         (test-xfail-XPG3/limits.h/conform): Likewise.
7474         (test-xfail-XPG3/pwd.h/conform): Likewise.
7475         (test-xfail-XPG3/search.h/conform): Likewise.
7476         (test-xfail-XPG3/signal.h/conform): Likewise.
7477         (test-xfail-XPG3/stdio.h/conform): Likewise.
7478         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7479         (test-xfail-XPG3/string.h/conform): Likewise.
7480         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7481         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7482         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7483         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7484         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7485         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7486         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7487         (test-xfail-XPG3/termios.h/conform): Likewise.
7488         (test-xfail-XPG3/time.h/conform): Likewise.
7489         (test-xfail-XPG3/unistd.h/conform): Likewise.
7490         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7491         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7492         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7493         (test-xfail-XPG4/netdb.h/conform): Likewise.
7494         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7495         (test-xfail-XPG4/signal.h/conform): Likewise.
7496         (test-xfail-XPG4/stdio.h/conform): Likewise.
7497         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7498         (test-xfail-XPG4/stropts.h/conform): Likewise.
7499         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7500         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7501         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7502         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7503         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7504         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7505         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7506         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7507         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7508         (test-xfail-XPG4/termios.h/conform): Likewise.
7509         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7510         (test-xfail-XPG4/unistd.h/conform): Likewise.
7511         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7512         (test-xfail-POSIX/sched.h/conform): Likewise.
7513         (test-xfail-POSIX/signal.h/conform): Likewise.
7514         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7515         (test-xfail-POSIX/tar.h/conform): Likewise.
7516         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7517         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7518         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7519         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7520         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7521         (test-xfail-UNIX98/sched.h/conform): Likewise.
7522         (test-xfail-UNIX98/signal.h/conform): Likewise.
7523         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7524         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7525         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7526         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7527         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7528         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7529         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7530         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7531         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7532         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7533         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7534         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7535         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7536         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7537         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7538         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7539         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7540         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7541         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7542         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7543         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7544         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7545         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7546         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7547         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7548         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7549         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7550         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7551         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7552         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7553         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7554         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7555         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7556         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7557         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7558         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7559         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7560         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7561         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7562         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7563         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7564         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7565         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7566         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7567         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7568         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7569         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7570         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7571         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7572         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7573         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7574         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7575         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7576         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7577         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7578         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7579         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7580         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7581         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7582         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7583         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7584         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7585         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7586         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7587         (conformtest-cc-flags): Likewise.
7588         ($(conformtest-header-tests): New target.
7589         * conform/check-header-lists.sh: New file.
7590         * conform/run-conformtest.sh: Remove.
7591
7592         * conform/conformtest.pl: Allow ' and \ in values given for
7593         constants.
7594         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7595         inclusion.
7596         [POSIX] (sys/types.h): Likewise.
7597         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7598         inclusion.
7599         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7600         inclusion.
7601         * conform/data/signal.h-data (SIGIO): Remove expectation.
7602         [XPG3] (SIGBUS): Do not expect.
7603         [POSIX || XPG3] (SIGPOLL): Likewise.
7604         [POSIX || XPG3] (SIGPROF): Likewise.
7605         [POSIX || XPG3] (SIGSYS): Likewise.
7606         [XPG3] (SIGTRAP): Likewise.
7607         [POSIX || XPG3] (SIGURG): Likewise.
7608         [POSIX || XPG3] (SIGVTALRM): Likewise.
7609         [POSIX || XPG3] (SIGXCPU): Likewise.
7610         [POSIX || XPG3] (SIGXFSZ): Likewise.
7611         [POSIX] (SA_SIGINFO): Expect.
7612         [XPG3] (siginfo_t): Do not expect type or contents.
7613         [POSIX] (si_pid): Do not expect element.
7614         [POSIX] (si_uid): Likewise.
7615         [POSIX] (si_addr): Likewise.
7616         [POSIX] (si_status): Likewise.
7617         [POSIX] (si_band): Likewise.
7618         [XPG4] (si_value): Likewise.
7619         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7620         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7621         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7622         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7623         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7624         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7625         [POSIX || XPG3] (ILL_COPROC): Likewise.
7626         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7627         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7628         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7629         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7630         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7631         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7632         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7633         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7634         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7635         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7636         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7637         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7638         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7639         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7640         [POSIX || XPG3] (CLD_EXITED): Likewise.
7641         [POSIX || XPG3] (CLD_KILLED): Likewise.
7642         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7643         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7644         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7645         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7646         [POSIX || XPG3] (POLL_IN): Likewise.
7647         [POSIX || XPG3] (POLL_OUT): Likewise.
7648         [POSIX || XPG3] (POLL_MSG): Likewise.
7649         [POSIX || XPG3] (POLL_ERR): Likewise.
7650         [POSIX || XPG3] (POLL_PRI): Likewise.
7651         [POSIX || XPG3] (POLL_HUP): Likewise.
7652         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7653         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7654         (SIG*): Do not allow.
7655         [XPG3] (si_*): Likewise.
7656         [XPG3] (SI_*): Likewise.
7657         [XPG3 || XPG4] (sigev_*): Likewise.
7658         [XPG3 || XPG4] (SIGEV_*): Likewise.
7659         [XPG3 || XPG4] (sival_*): Likewise.
7660         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7661         [POSIX || XPG3] (BUS_*): Likewise.
7662         [POSIX || XPG3] (CLD_*): Likewise.
7663         [POSIX || XPG3] (FPE_*): Likewise.
7664         [POSIX || XPG3] (ILL_*): Likewise.
7665         [POSIX || XPG3] (POLL_*): Likewise.
7666         [POSIX || XPG3] (SEGV_*): Likewise.
7667         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7668         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7669         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7670         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7671         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7672         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7673         Specify type and value.
7674         (TVERSLEN): Likewise.
7675         (REGTYPE): Likewise.
7676         (AREGTYPE): Likewise.
7677         (LNKTYPE): Likewise.
7678         (SYMTYPE): Likewise.
7679         (CHRTYPE): Likewise.
7680         (BLKTYPE): Likewise.
7681         (DIRTYPE): Likewise.
7682         (FIFOTYPE): Likewise.
7683         (CONTTYPE): Likewise.
7684         (TSUID): Likewise.
7685         (TSGID): Likewise.
7686         (TSVTX): Likewise.
7687         (TUREAD): Likewise.
7688         (TUWRITE): Likewise.
7689         (TUEXEC): Likewise.
7690         (TGREAD): Likewise.
7691         (TGWRITE): Likewise.
7692         (TGEXEC): Likewise.
7693         (TOREAD): Likewise.
7694         (TOWRITE): Likewise.
7695         (TOEXEC): Likewise.
7696         [POSIX] (TSVTX): Expect constant.
7697
7698 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7699
7700         * Makefile (tests): Change dependencies to ....
7701         (tests-special): ... additions to this variable.
7702         (tests): Depend on $(tests-special).
7703         * Makerules (check-abi-list): New variable.
7704         (check-abi): Depend on $(check-abi-list).
7705         [$(subdir) = elf] (tests-special): Add
7706         $(objpfx)check-abi-libc.out.
7707         [$(build-shared) = yes && subdir] (tests-special): Add
7708         $(check-abi-list).
7709         [$(build-shared) = yes && subdir] (tests): Do not depend on
7710         check-abi.
7711         * Rules (tests): Depend on $(tests-special).
7712         (xtests): Depend on $(xtests-special).
7713         * catgets/Makefile (tests): Change dependencies to ....
7714         (tests-special): ... additions to this variable.
7715         * conform/Makefile (tests): Change dependencies to ....
7716         (tests-special): ... additions to this variable.
7717         * elf/Makefile (tests): Change dependencies to ....
7718         (tests-special): ... additions to this variable.
7719         * grp/Makefile (tests): Change dependencies to ....
7720         (tests-special): ... additions to this variable.
7721         * iconv/Makefile (xtests): Change dependencies to ....
7722         (xtests-special): ... additions to this variable.
7723         * iconvdata/Makefile (tests): Change dependencies to ....
7724         (tests-special): ... additions to this variable.
7725         * intl/Makefile (tests): Change dependencies to ....
7726         (tests-special): ... additions to this variable.  Also add
7727         $(objpfx)tst-gettext.out.
7728         * io/Makefile (tests): Change dependencies to ....
7729         (tests-special): ... additions to this variable.
7730         * libio/Makefile (tests): Change dependencies to ....
7731         (tests-special): ... additions to this variable.
7732         * malloc/Makefile (tests): Change dependencies to ....
7733         (tests-special): ... additions to this variable.
7734         * misc/Makefile (tests): Change dependencies to ....
7735         (tests-special): ... additions to this variable.
7736         * nptl/Makefile (tests): Change dependencies to ....
7737         (tests-special): ... additions to this variable.
7738         * nptl_db/Makefile (tests): Change dependencies to ....
7739         (tests-special): ... additions to this variable.
7740         * posix/Makefile (tests): Change dependencies to ....
7741         (tests-special): ... additions to this variable.
7742         (xtests): Change dependencies to ....
7743         (xtests-special): ... additions to this variable.
7744         * resolv/Makefile (tests): Change dependencies to ....
7745         (tests-special): ... additions to this variable.
7746         (xtests): Change dependencies to ....
7747         (xtests-special): ... additions to this variable.
7748         * stdio-common/Makefile (tests): Change dependencies to ....
7749         (tests-special): ... additions to this variable.
7750         (do-tst-unbputc): Remove target.
7751         (do-tst-printf): Likewise.
7752         * stdlib/Makefile (tests): Change dependencies to ....
7753         (tests-special): ... additions to this variable.
7754         * string/Makefile (tests): Change dependencies to ....
7755         (tests-special): ... additions to this variable.
7756         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7757         (tests-special): ... additions to this variable.
7758
7759         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7760         whole file.
7761         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7762         whole file.
7763         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7764         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7765
7766         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7767         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7768         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7769         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7770         * conform/data/libgen.h-data [XPG3]: Likewise.
7771         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7772         * conform/data/ndbm.h-data [XPG3]: Likewise.
7773         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7774         * conform/data/netdb.h-data [XPG3]: Likewise.
7775         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7776         * conform/data/poll.h-data [XPG3]: Likewise.
7777         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7778         * conform/data/strings.h-data [XPG3]: Likewise.
7779         * conform/data/stropts.h-data [XPG3]: Likewise.
7780         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7781         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7782         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7783         Likewise.
7784         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7785         * conform/data/sys/time.h-data [XPG3]: Likewise.
7786         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7787         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7788         * conform/data/sys/un.h-data [XPG3]: Likewise.
7789         * conform/data/syslog.h-data [XPG3]: Likewise.
7790         * conform/data/ucontext.h-data [XPG3]: Likewise.
7791         * conform/data/utmpx.h-data [XPG3]: Likewise.
7792         * conform/data/varargs.h-data [UNIX98]: Enable file.
7793
7794         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7795
7796         * math/libm-test.inc (struct test_f_f_data): Move expected results
7797         into structure for each rounding mode.
7798         (struct test_ff_f_data): Likewise.
7799         (struct test_ff_f_data_nexttoward): Likewise.
7800         (struct test_fi_f_data): Likewise.
7801         (struct test_fl_f_data): Likewise.
7802         (struct test_if_f_data): Likewise.
7803         (struct test_fff_f_data): Likewise.
7804         (struct test_c_f_data): Likewise.
7805         (struct test_f_f1_data): Likewise.
7806         (struct test_fF_f1_data): Likewise.
7807         (struct test_ffI_f1_data): Likewise.
7808         (struct test_c_c_data): Likewise.
7809         (struct test_cc_c_data): Likewise.
7810         (struct test_f_i_data): Likewise.
7811         (struct test_ff_i_data): Likewise.
7812         (struct test_f_l_data): Likewise.
7813         (struct test_f_L_data): Likewise.
7814         (struct test_fFF_11_data): Likewise.
7815         (RM_): New macro.
7816         (RM_FE_DOWNWARD): Likewise.
7817         (RM_FE_TONEAREST): Likewise.
7818         (RM_FE_TOWARDZERO): Likewise.
7819         (RM_FE_UPWARD): Likewise.
7820         (RUN_TEST_LOOP_f_f): Update references to expected results.
7821         (RUN_TEST_LOOP_2_f): Likewise.
7822         (RUN_TEST_LOOP_fff_f): Likewise.
7823         (RUN_TEST_LOOP_c_f): Likewise.
7824         (RUN_TEST_LOOP_f_f1): Likewise.
7825         (RUN_TEST_LOOP_fF_f1): Likewise.
7826         (RUN_TEST_LOOP_fI_f1): Likewise.
7827         (RUN_TEST_LOOP_ffI_f1): Likewise.
7828         (RUN_TEST_LOOP_c_c): Likewise.
7829         (RUN_TEST_LOOP_cc_c): Likewise.
7830         (RUN_TEST_LOOP_f_i): Likewise.
7831         (RUN_TEST_LOOP_f_i_tg): Likewise.
7832         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7833         (RUN_TEST_LOOP_f_b): Likewise.
7834         (RUN_TEST_LOOP_f_b_tg): Likewise.
7835         (RUN_TEST_LOOP_f_l): Likewise.
7836         (RUN_TEST_LOOP_f_L): Likewise.
7837         (RUN_TEST_LOOP_fFF_11): Likewise.
7838         * math/gen-libm-test.pl (parse_args): Output four copies of
7839         expected results for each test.
7840
7841         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7842         (__ASSUME_UTIMES): Remove.
7843         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7844         (__ASSUME_UTIMES): Likewise.
7845
7846         * math/gen-auto-libm-tests.c: Update comment on output format.
7847         (output_for_one_input_case): Generate before-rounding and
7848         after-rounding information as conditions on output flags not
7849         floating-point format.
7850         * math/auto-libm-test-out: Regenerated.
7851         * math/gen-libm-test.pl (cond_value): New function.
7852         (or_cond_value): Use cond_value.
7853         (generate_testfile): Handle conditional exceptions.
7854
7855 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7856
7857         * math/libm-test.inc (max_valid_error): New variable.
7858         (init_max_error): Take new argument specifying whether function
7859         results are exactly determined.  Set max_valid_error and bound
7860         other variables for errors based on this argument.
7861         (set_max_error): Do not record results above max_valid_error.
7862         (check_float_internal): Only accept errors of up to 0.5ulps if
7863         also at most max_valid_error.
7864         (START): Take new argument EXACT and pass it to init_max_error.
7865         (acos_test): Update call to START.
7866         (acos_test_tonearest): Likewise.
7867         (acos_test_towardzero): Likewise.
7868         (acos_test_downward): Likewise.
7869         (acos_test_upward): Likewise.
7870         (acosh_test): Likewise.
7871         (asin_test): Likewise.
7872         (asin_test_tonearest): Likewise.
7873         (asin_test_towardzero): Likewise.
7874         (asin_test_downward): Likewise.
7875         (asin_test_upward): Likewise.
7876         (asinh_test): Likewise.
7877         (atan_test): Likewise.
7878         (atanh_test): Likewise.
7879         (atan2_test): Likewise.
7880         (cabs_test): Likewise.
7881         (cacos_test): Likewise.
7882         (cacosh_test): Likewise.
7883         (carg_test): Likewise.
7884         (casin_test): Likewise.
7885         (casinh_test): Likewise.
7886         (catan_test): Likewise.
7887         (catanh_test): Likewise.
7888         (cbrt_test): Likewise.
7889         (ccos_test): Likewise.
7890         (ccosh_test): Likewise.
7891         (ceil_test): Likewise.
7892         (cexp_test): Likewise.
7893         (cimag_test): Likewise.
7894         (clog_test): Likewise.
7895         (clog10_test): Likewise.
7896         (conj_test): Likewise.
7897         (copysign_test): Likewise.
7898         (cos_test): Likewise.
7899         (cos_test_tonearest): Likewise.
7900         (cos_test_towardzero): Likewise.
7901         (cos_test_downward): Likewise.
7902         (cos_test_upward): Likewise.
7903         (cosh_test): Likewise.
7904         (cosh_test_tonearest): Likewise.
7905         (cosh_test_towardzero): Likewise.
7906         (cosh_test_downward): Likewise.
7907         (cosh_test_upward): Likewise.
7908         (cpow_test): Likewise.
7909         (cproj_test): Likewise.
7910         (creal_test): Likewise.
7911         (csin_test): Likewise.
7912         (csinh_test): Likewise.
7913         (csqrt_test): Likewise.
7914         (ctan_test): Likewise.
7915         (ctan_test_tonearest): Likewise.
7916         (ctan_test_towardzero): Likewise.
7917         (ctan_test_downward): Likewise.
7918         (ctan_test_upward): Likewise.
7919         (ctanh_test): Likewise.
7920         (ctanh_test_tonearest): Likewise.
7921         (ctanh_test_towardzero): Likewise.
7922         (ctanh_test_downward): Likewise.
7923         (ctanh_test_upward): Likewise.
7924         (erf_test): Likewise.
7925         (erfc_test): Likewise.
7926         (exp_test): Likewise.
7927         (exp_test_tonearest): Likewise.
7928         (exp_test_towardzero): Likewise.
7929         (exp_test_downward): Likewise.
7930         (exp_test_upward): Likewise.
7931         (exp10_test): Likewise.
7932         (exp10_test_tonearest): Likewise.
7933         (exp10_test_towardzero): Likewise.
7934         (exp10_test_downward): Likewise.
7935         (exp10_test_upward): Likewise.
7936         (pow10_test): Likewise.
7937         (exp2_test): Likewise.
7938         (expm1_test): Likewise.
7939         (expm1_test_tonearest): Likewise.
7940         (expm1_test_towardzero): Likewise.
7941         (expm1_test_downward): Likewise.
7942         (expm1_test_upward): Likewise.
7943         (fabs_test): Likewise.
7944         (fdim_test): Likewise.
7945         (floor_test): Likewise.
7946         (fma_test): Likewise.
7947         (fma_test_towardzero): Likewise.
7948         (fma_test_downward): Likewise.
7949         (fma_test_upward): Likewise.
7950         (fmax_test): Likewise.
7951         (fmin_test): Likewise.
7952         (fmod_test): Likewise.
7953         (fpclassify_test): Likewise.
7954         (frexp_test): Likewise.
7955         (hypot_test): Likewise.
7956         (ilogb_test): Likewise.
7957         (isfinite_test): Likewise.
7958         (finite_test): Likewise.
7959         (isgreater_test): Likewise.
7960         (isgreaterequal_test): Likewise.
7961         (isinf_test): Likewise.
7962         (isless_test): Likewise.
7963         (islessequal_test): Likewise.
7964         (islessgreater_test): Likewise.
7965         (isnan_test): Likewise.
7966         (isnormal_test): Likewise.
7967         (issignaling_test): Likewise.
7968         (isunordered_test): Likewise.
7969         (j0_test): Likewise.
7970         (j1_test): Likewise.
7971         (jn_test): Likewise.
7972         (ldexp_test): Likewise.
7973         (lgamma_test): Likewise.
7974         (gamma_test): Likewise.
7975         (lrint_test): Likewise.
7976         (lrint_test_tonearest): Likewise.
7977         (lrint_test_towardzero): Likewise.
7978         (lrint_test_downward): Likewise.
7979         (lrint_test_upward): Likewise.
7980         (llrint_test): Likewise.
7981         (llrint_test_tonearest): Likewise.
7982         (llrint_test_towardzero): Likewise.
7983         (llrint_test_downward): Likewise.
7984         (llrint_test_upward): Likewise.
7985         (log_test): Likewise.
7986         (log10_test): Likewise.
7987         (log1p_test): Likewise.
7988         (log2_test): Likewise.
7989         (logb_test): Likewise.
7990         (logb_test_downward): Likewise.
7991         (lround_test): Likewise.
7992         (llround_test): Likewise.
7993         (modf_test): Likewise.
7994         (nearbyint_test): Likewise.
7995         (nextafter_test): Likewise.
7996         (nexttoward_test): Likewise.
7997         (pow_test): Likewise.
7998         (pow_test_tonearest): Likewise.
7999         (pow_test_towardzero): Likewise.
8000         (pow_test_downward): Likewise.
8001         (pow_test_upward): Likewise.
8002         (remainder_test): Likewise.
8003         (drem_test): Likewise.
8004         (remainder_test_tonearest): Likewise.
8005         (drem_test_tonearest): Likewise.
8006         (remainder_test_towardzero): Likewise.
8007         (drem_test_towardzero): Likewise.
8008         (remainder_test_downward): Likewise.
8009         (drem_test_downward): Likewise.
8010         (remainder_test_upward): Likewise.
8011         (drem_test_upward): Likewise.
8012         (remquo_test): Likewise.
8013         (rint_test): Likewise.
8014         (rint_test_tonearest): Likewise.
8015         (rint_test_towardzero): Likewise.
8016         (rint_test_downward): Likewise.
8017         (rint_test_upward): Likewise.
8018         (round_test): Likewise.
8019         (scalb_test): Likewise.
8020         (scalbn_test): Likewise.
8021         (scalbln_test): Likewise.
8022         (signbit_test): Likewise.
8023         (sin_test): Likewise.
8024         (sin_test_tonearest): Likewise.
8025         (sin_test_towardzero): Likewise.
8026         (sin_test_downward): Likewise.
8027         (sin_test_upward): Likewise.
8028         (sincos_test): Likewise.
8029         (sinh_test): Likewise.
8030         (sinh_test_tonearest): Likewise.
8031         (sinh_test_towardzero): Likewise.
8032         (sinh_test_downward): Likewise.
8033         (sinh_test_upward): Likewise.
8034         (sqrt_test): Likewise.
8035         (sqrt_test_tonearest): Likewise.
8036         (sqrt_test_towardzero): Likewise.
8037         (sqrt_test_downward): Likewise.
8038         (sqrt_test_upward): Likewise.
8039         (tan_test): Likewise.
8040         (tan_test_tonearest): Likewise.
8041         (tan_test_towardzero): Likewise.
8042         (tan_test_downward): Likewise.
8043         (tan_test_upward): Likewise.
8044         (tanh_test): Likewise.
8045         (tgamma_test): Likewise.
8046         (trunc_test): Likewise.
8047         (y0_test): Likewise.
8048         (y1_test): Likewise.
8049         (yn_test): Likewise.
8050         (significand_test): Likewise.
8051
8052         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8053         individual tests in comment.
8054         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8055         (prev_max_error): New variable.
8056         (prev_real_max_error): Likewise.
8057         (prev_imag_max_error): Likewise.
8058         (compare_ulp_data): Don't refer to test names in comment.
8059         (find_test_ulps): Remove function.
8060         (find_function_ulps): Likewise.
8061         (find_complex_function_ulps): Likewise.
8062         (init_max_error): Take function name as argument.  Look up ulps
8063         for that function.
8064         (print_ulps): Remove function.
8065         (print_max_error): Use prev_max_error instead of calling
8066         find_function_ulps.
8067         (print_complex_max_error): Use prev_real_max_error and
8068         prev_imag_max_error instead of calling find_complex_function_ulps.
8069         (check_float_internal): Take max_ulp parameter instead of calling
8070         find_test_ulps.  Don't call print_ulps.
8071         (check_float): Update call to check_float_internal.
8072         (check_complex): Update calls to check_float_internal.
8073         (START): Pass argument to init_max_error.
8074         * math/gen-libm-test.pl (%results): Don't include "kind"
8075         information.
8076         (parse_ulps): Don't handle ulps of individual tests.
8077         (print_ulps_file): Likewise.
8078         (output_ulps): Likewise.
8079         * math/README.libm-test: Update.
8080         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8081         individual tests.
8082         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8083         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8084         * sysdeps/arm/libm-test-ulps: Likewise.
8085         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8086         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8087         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8088         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8089         * sysdeps/microblaze/libm-test-ulps: Likewise.
8090         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8091         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8092         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8093         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8094         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8095         * sysdeps/sh/libm-test-ulps: Likewise.
8096         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8097         * sysdeps/tile/libm-test-ulps: Likewise.
8098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8099
8100 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8101
8102         * math/libm-test.inc (print_complex_max_error): Check separately
8103         whether real and imaginary errors are within allowed range and
8104         pass 0 to print_complex_function_ulps instead of value within
8105         allowed range.
8106
8107 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8108
8109         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8110         formatting.
8111         (get_handles_fopen): Likewise.
8112         (do_write_test): Likewise.
8113
8114         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8115
8116         * libio/fileops.c (do_ftell): Use cached offset when
8117         available.
8118         * libio/iofwide.c (do_ftell_wide): Likewise.
8119         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8120         _IO_file_attach.
8121         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8122
8123         [BZ #16532]
8124         * libio/libioP.h (get_file_offset): New function.
8125         * libio/fileops.c (get_file_offset): Likewise.
8126         (do_ftell): Likewise.
8127         (_IO_new_file_seekoff): Split out ftell logic.
8128         * libio/wfileops.c (do_ftell_wide): Likewise.
8129         (_IO_wfile_seekoff): Split out ftell logic.
8130         * libio/tst-ftell-active-handler.c: New test case.
8131         * libio/Makefile (tests): Add it.
8132
8133 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8134
8135         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8136         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8137
8138 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8139
8140         [BZ #16639]
8141         * nscd/connections.c (nscd_init): Call do_exit.
8142         (start_threads): Call do_exit and notify_parent.
8143         (begin_drop_privileges): Call do_exit.
8144         (finish_drop_privileges): Likewise.
8145         * nscd/selinux.c (preserve_capabilities): Likewise.
8146         (install_real_capabilities): Likewise.
8147         (nscd_selinux_enabled): Likewise.
8148         (avc_create_thread): Likewise.
8149         (avc_alloc_lock): Likewise.
8150         (nscd_avc_init): Likewise.
8151         * nscd/nscd.c (parent_fd): New static variable.
8152         (main): Create a pipe between parent and child processes.
8153         Skip closing parent_fd.
8154         (monitor_child): New function.
8155         (do_exit): Likewise.
8156         (notify_parent): Likewise.
8157         * nscd/nscd.h (notify_parent): Likewise.
8158         (do_exit): Likewise.
8159
8160 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8161
8162         * malloc/malloc.c (__libc_calloc): Revert last change.
8163
8164 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8165
8166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8167
8168 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8169
8170         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8172         implementation.
8173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8174         (__libc_ifunc_impl_list): Likewise.
8175         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8176         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8177         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8178         * string/strrchr.c: Define STRRCHR.
8179
8180 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8181
8182         * benchtest/bench-strtok.c (simple_strtok): Delete.
8183         (strtok_string): Use as benchmark.
8184         * string/strtok (STRTOK): New macro.
8185
8186 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8187
8188         * manual/threads.texi: Add header and standard comments to all
8189         functions.
8190
8191         * elf/dl-lookup.c (check_match): New function.
8192         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8193         (do_lookup_x): Remove nested function check_match. Use non-nested
8194         function check_match.
8195
8196 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8197
8198         * csu/Makefile (generated, before-compile): Use += rather than =.
8199         * catgets/Makefile (generated, generated-dirs): Likewise.
8200         * debug/Makefile (generated): Likewise.
8201         * dlfcn/Makefile (generated): Likewise.
8202         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8203         * iconvdata/Makefile (before-compile, generated): Likewise.
8204         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8205         * libio/Makefile (generated): Likewise.
8206         * malloc/Makefile (generated): Likewise.
8207         * manual/Makefile (generated, generated-dirs): Likewise.
8208         * misc/Makefile (generated): Likewise.
8209         * posix/Makefile (generated): Likewise.
8210         * resolv/Makefile (generated): Likewise.
8211         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8212         * timezone/Makefile (generated, generated-dirs): Likewise.
8213
8214         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8215
8216 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8217
8218         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8219         power8 implementation.
8220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8221         file: POWER8 llround ifunc implementation.
8222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8223         (__lllround): Add POWER8 implementation.
8224         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8225         POWER8 llround implementation.
8226
8227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8228         power8 implementation.
8229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8230         file: POWER8 llrint ifunc implementation.
8231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8232         Add POWER8 implementation.
8233         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8234         POWER8 llrint implementation.
8235
8236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8237         power8 implementation.
8238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8239         file: POWER8 finite ifunc implementation.
8240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8241         Add POWER8 implementation.
8242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8243         Likewise.
8244         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8245         POWER8 finite implementation.
8246         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8247
8248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8249         power8 implementation.
8250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8251         file: POWER8 isinf ifunc implementation.
8252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8253         POWER8 implementation.
8254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8255         Likewise.
8256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8257         isinf implementation.
8258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8259
8260         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8261         (INIT_ARCH): Add hwcap2 initialization.
8262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8263         power8 implementation.
8264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8265         file: POWER8 isnan ifunc implementation.
8266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8267         POWER8 implementation.
8268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8269         Likewise.
8270         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8271         isnan implementation.
8272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8273
8274 2014-02-27  Joey Ye  <joey.ye@arm.com>
8275
8276         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8277         (_FP_NANFRAC_Q): Set to zero.
8278
8279 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8280
8281         [BZ #16623]
8282         * math/auto-libm-test-in: New test inputs.
8283         * math/auto-libm-test-out: Regenerate.
8284         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8285         and DA.
8286         (__cos): Likewise.
8287         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8288
8289 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8290
8291         * scripts/evaluate-test.sh: Take new argument indicating whether
8292         failure is expected.
8293         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8294         indicating whether failure is expected.
8295         * conform/Makefile (test-xfail-run-conformtest): New variable.
8296         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8297         level.
8298         * posix/Makefile (test-xfail-annexc): New variable.
8299         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8300
8301 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8302
8303         * argp/Makefile: Include Makeconfig immediately after defining
8304         subdir.
8305         * assert/Makefile: Likewise.
8306         * benchtests/Makefile: Likewise.
8307         * catgets/Makefile: Likewise.
8308         * conform/Makefile: Likewise.
8309         * crypt/Makefile: Likewise.
8310         * csu/Makefile: Likewise.
8311         (all): Remove target.
8312         * ctype/Makefile: Include Makeconfig immediately after defining
8313         subdir.
8314         * debug/Makefile: Likewise.
8315         * dirent/Makefile: Likewise.
8316         * dlfcn/Makefile: Likewise.
8317         * gmon/Makefile: Likewise.
8318         * gnulib/Makefile: Likewise.
8319         * grp/Makefile: Likewise.
8320         * gshadow/Makefile: Likewise.
8321         * hesiod/Makefile: Likewise.
8322         * hurd/Makefile: Likewise.
8323         (all): Remove target.
8324         * iconvdata/Makefile: Include Makeconfig immediately after
8325         defining subdir.
8326         * inet/Makefile: Likewise.
8327         * intl/Makefile: Likewise.
8328         * io/Makefile: Likewise.
8329         * libio/Makefile: Likewise.
8330         (all): Remove target.
8331         * locale/Makefile: Include Makeconfig immediately after defining
8332         subdir.
8333         * login/Makefile: Likewise.
8334         * mach/Makefile: Likewise.
8335         (all): Remove target.
8336         * malloc/Makefile: Include Makeconfig immediately after defining
8337         subdir.
8338         (all): Remove target.
8339         * manual/Makefile: Include Makeconfig immediately after defining
8340         subdir.
8341         * math/Makefile: Likewise.
8342         * misc/Makefile: Likewise.
8343         * nis/Makefile: Likewise.
8344         * nss/Makefile: Likewise.
8345         * po/Makefile: Likewise.
8346         (all): Remove target.
8347         * posix/Makefile: Include Makeconfig immediately after defining
8348         subdir.
8349         * pwd/Makefile: Likewise.
8350         * resolv/Makefile: Likewise.
8351         * resource/Makefile: Likewise.
8352         * rt/Makefile: Likewise.
8353         * setjmp/Makefile: Likewise.
8354         * shadow/Makefile: Likewise.
8355         * signal/Makefile: Likewise.
8356         * socket/Makefile: Likewise.
8357         * soft-fp/Makefile: Likewise.
8358         * stdio-common/Makefile: Likewise.
8359         * stdlib/Makefile: Likewise.
8360         * streams/Makefile: Likewise.
8361         * string/Makefile: Likewise.
8362         * sunrpc/Makefile: Likewise.
8363         (all): Remove target.
8364         * sysvipc/Makefile: Include Makeconfig immediately after defining
8365         subdir.
8366         * termios/Makefile: Likewise.
8367         * time/Makefile: Likewise.
8368         * timezone/Makefile: Likewise.
8369         (all): Remove target.
8370         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8371         subdir.
8372         * wctype/Makefile: Likewise.
8373
8374 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8375
8376         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8377         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8378         (libc_feholdexcept_setround_mips): Ditto.
8379         (libc_feholdsetround): New.
8380         (libc_feholdsetroundf): New.
8381         (libc_feholdsetroundl): New.
8382         (libc_feupdateenv_test_mips): New.
8383         (libc_feupdateenv_test): New.
8384         (libc_feupdateenv_testf): New.
8385         (libc_feupdateenv_testl): New.
8386         (libc_feresetround): New.
8387         (libc_feresetroundf): New.
8388         (libc_feresetroundl): New.
8389         (libc_fetestexcept_mips): New.
8390         (libc_fetestexcept): New.
8391         (libc_fetestexceptf): New.
8392         (libc_fetestexceptl): New.
8393         (HAVE_RM_CTX): New.
8394         (libc_feholdexcept_setround_mips_ctx): New.
8395         (libc_feholdexcept_setround_ctx): New.
8396         (libc_feholdexcept_setroundf_ctx): New.
8397         (libc_feholdexcept_setroundl_ctx): New.
8398         (libc_fesetenv_mips_ctx): New.
8399         (libc_fesetenv_ctx): New.
8400         (libc_fesetenv_ctxf): New.
8401         (libc_fesetenv_ctxl): New.
8402         (libc_feupdateenv_mips_ctx): New.
8403         (libc_feupdateenv_ctx): New.
8404         (libc_feupdateenvf_ctx): New.
8405         (libc_feupdateenvl_ctx): New.
8406         (libc_feholdsetround_mips_ctx): New.
8407         (libc_feholdsetround_ctx): New.
8408         (libc_feholdsetroundf_ctx): New.
8409         (libc_feholdsetroundl_ctx): New.
8410         (libc_feresetround_mips_ctx): New.
8411         (libc_feresetround_ctx): New.
8412         (libc_feresetroundf_ctx): New.
8413         (libc_feresetroundl_ctx): New.
8414
8415 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8416
8417         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8418
8419         * manual/ipc.texi: New file.
8420         * manual/Makefile (chapters): Add ipc.
8421         * manual/job.texi: Add "Inter-Process Communication" to next.
8422         * manual/process.texi: Add "Inter-Process Communication" to prev.
8423
8424 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8425
8426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8427
8428 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8429
8430         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8431
8432         * manual/arith.texi: Fix spaces after sentences.
8433         * manual/charset.texi: Likewise.
8434         * manual/errno.texi: Likewise.
8435         * manual/install.texi: Likewise.
8436         * manual/llio.texi: Likewise.
8437         * manual/locale.texi: Likewise.
8438         * manual/maint.texi: Likewise.
8439         * manual/math.texi: Likewise.
8440         * manual/memory.texi: Likewise.
8441         * manual/message.texi: Likewise.
8442         * manual/probes.texi: Likewise.
8443         * manual/resource.texi: Likewise.
8444         * manual/signal.texi: Likewise.
8445         * manual/socket.texi: Likewise.
8446         * manual/stdio.texi: Likewise.
8447         * manual/string.texi: Likewise.
8448         * manual/time.texi: Likewise.
8449         * manual/users.texi: Likewise.
8450
8451 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8452
8453         [BZ #16632]
8454         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8455         _DEFAULT_SOURCE is defined.
8456
8457 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8458             Carlos O'Donell  <carlos@redhat.com>
8459
8460         [BZ #16613]
8461         * elf/dl-tls.c (_dl_count_modids): New function.
8462         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8463         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8464         audit library and increment generation counter.
8465         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8466         * elf/tst-audit9.c: New file.
8467         * elf/tst-auditmod9a.c: New file.
8468         * elf/tst-auditmod9b.c: New file.
8469         * elf/Makefile: Add rules to build and run tst-audit9.
8470
8471 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8472
8473         [BZ #15347]
8474         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8475
8476 2014-02-25  Will Newton  <will.newton@linaro.org>
8477
8478         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8479         (__longjmp): Restore sp and lr before restoring callee
8480         saved registers.  Add longjmp and longjmp_target
8481         SystemTap probe point.
8482         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8483         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8484         Define to zero to match jmpbuf layout.
8485         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8486         (__sigsetjmp): Save sp and lr before saving callee
8487         saved registers.  Add setjmp SystemTap probe point.
8488
8489 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8490
8491         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8492
8493 2014-02-24  Andreas Schwab  <schwab@suse.de>
8494
8495         [BZ #15804]
8496         * elf/pldd.c (wait_for_ptrace_stop): New function.
8497         (main): Call it after attaching.
8498
8499 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8500
8501         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8502         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8503         Versions files is now verboten.
8504         * hurd/Versions (libc: GLIBC_2.0):
8505         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8506         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8507         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8508         * mach/Versions: Likewise.
8509
8510         * csu/Versions: Remove unused %include.
8511         * resolv/Versions: Likewise.
8512
8513 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8514
8515         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8516         ($(objpfx)check-local-headers.out): Likewise.
8517         ($(objpfx)begin-end-check.out): Likewise.
8518         * Makerules (check-abi-%.out): Likewise.
8519         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8520         ($(objpfx)test2.cat): Likewise.
8521         ($(objpfx)de/libc.cat): Likewise.
8522         ($(objpfx)test-gencat.out): Likewise.
8523         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8524         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8525         ($(objpfx)noload-mem): Likewise.
8526         ($(objpfx)tst-pathopt.out): Likewise.
8527         ($(objpfx)tst-rtld-load-self.out): Likewise.
8528         ($(objpfx)tst-array1-cmp.out): Likewise.
8529         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8530         ($(objpfx)tst-array2-cmp.out): Likewise.
8531         ($(objpfx)tst-array3-cmp.out): Likewise.
8532         ($(objpfx)tst-array4-cmp.out): Likewise.
8533         ($(objpfx)tst-array5-cmp.out): Likewise.
8534         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8535         ($(objpfx)check-textrel.out): Likewise.
8536         ($(objpfx)check-execstack.out): Likewise.
8537         ($(objpfx)check-localplt.out): Likewise.
8538         ($(objpfx)order2-cmp.out): Likewise.
8539         ($(objpfx)tst-leaks1-mem): Likewise.
8540         ($(objpfx)tst-leaks1-static-mem): Likewise.
8541         ($(objpfx)tst-initorder-cmp.out): Likewise.
8542         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8543         ($(objpfx)tst-unused-dep.out): Likewise.
8544         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8545         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8546         * iconv/Makefile (test-iconvconfig): Likewise.
8547         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8548         ($(objpfx)iconv-test.out): Likewise.
8549         ($(objpfx)tst-tables.out): Likewise.
8550         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8551         ($(objpfx)tst-gettext.out): Likewise.
8552         ($(objpfx)tst-translit.out): Likewise.
8553         ($(objpfx)tst-gettext2.out): Likewise.
8554         ($(objpfx)tst-gettext4.out): Likewise.
8555         ($(objpfx)tst-gettext6.out): Likewise.
8556         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8557         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8558         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8559         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8560         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8561         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8562         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8563         ($(objpfx)wordexp-tst.out): Likewise.
8564         ($(objpfx)annexc.out): Likewise.
8565         ($(objpfx)tst-fnmatch-mem): Likewise.
8566         ($(objpfx)bug-regex2-mem): Likewise.
8567         ($(objpfx)bug-regex14-mem): Likewise.
8568         ($(objpfx)bug-regex21-mem): Likewise.
8569         ($(objpfx)bug-regex31-mem): Likewise.
8570         ($(objpfx)tst-vfork3-mem): Likewise.
8571         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8572         ($(objpfx)tst-pcre-mem): Likewise.
8573         ($(objpfx)tst-boost-mem): Likewise.
8574         ($(objpfx)tst-getconf.out): Likewise.
8575         ($(objpfx)bug-ga2-mem): Likewise.
8576         ($(objpfx)bug-glob2-mem): Likewise.
8577         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8578         ($(objpfx)mtrace-tst-leaks2): Likewise.
8579         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8580         ($(objpfx)tst-printf.out): Likewise.
8581         ($(objpfx)tst-setvbuf1.out): Likewise.
8582         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8583         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8584         ($(objpfx)tst-fmtmsg.out): Likewise.
8585         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8586         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8587
8588         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8589         * bits/sigaction.h [__USE_MISC]: Likewise.
8590         * bits/waitstatus.h: Update #endif comments.
8591         * ctype/ctype.h: Likewise.
8592         * dirent/dirent.h: Likewise.
8593         [__USE_MISC]: Remove redundant conditionals.
8594         * grp/grp.h: Update #endif comments.
8595         [__USE_GNU]: Remove redundant conditionals.
8596         [__USE_MISC]: Likewise.
8597         * inet/netinet/in.h [__USE_GNU]: Likewise.
8598         * io/sys/stat.h [__USE_MISC]: Likewise.
8599         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8600         * libio/bits/stdio.h: Update #endif comments.
8601         [__USE_MISC]: Remove redundant conditionals.
8602         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8603         * libio/stdio.h: Update #endif comments.
8604         [__USE_MISC]: Remove redundant conditionals.
8605         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8606         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8607         * math/math.h: Update #else and #endif comments.
8608         [__USE_MISC]: Remove redundant conditionals.
8609         * misc/sys/uio.h: Update #endif comments.
8610         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8611         * posix/glob.h [__USE_MISC]: Likewise.
8612         * posix/sys/types.h: Update #endif comments.
8613         [__USE_MISC]: Remove redundant conditionals.
8614         * posix/sys/wait.h: Update #endif comments.
8615         [__USE_MISC]: Remove redundant conditionals.
8616         * posix/unistd.h: Update #endif comments.
8617         [__USE_MISC]: Remove redundant conditionals.
8618         * pwd/pwd.h [__USE_GNU]: Likewise.
8619         [__USE_MISC]: Likewise.
8620         * resolv/netdb.h [__USE_GNU]: Likewise.
8621         * signal/signal.h: Update #endif comments.
8622         [__USE_MISC]: Remove redundant conditionals.
8623         * stdlib/stdlib.h: Update #else and #endif comments.
8624         [__USE_MISC]: Remove redundant conditionals.
8625         [__USE_GNU]: Likewise.
8626         * string/bits/string2.h [__USE_MISC]: Likewise.
8627         * string/string.h: Update #endif comments.
8628         [__USE_MISC]: Remove redundant conditionals.
8629         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8630         Likewise.
8631         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8632         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8633         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8634         Likewise.
8635         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8636         Likewise.
8637         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8638         comments.
8639         [__USE_MISC]: Remove redundant conditionals.
8640         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8641         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8642         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8643         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8644         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8645         Likewise.
8646         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8647         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8648         Likewise.
8649         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8650         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8651         Likewise.
8652         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8653         Likewise.
8654         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8655         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8656         Likewise.
8657         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8658         Likewise.
8659         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8660         * sysdeps/x86/bits/string.h: Update #endif comments.
8661         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8662         conditionals.
8663         * time/sys/time.h: Update #endif comments.
8664         * time/time.h: Likewise.
8665         [__USE_MISC]: Remove redundant conditionals.
8666
8667 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8668
8669         [BZ #16600]
8670         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8671
8672 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8673
8674         * Versions.def (librt): Add GLIBC_2.17.
8675
8676 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8677
8678         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8679         synonym for _SYS_AUXV_H to allow direct inclusion.
8680         * sysdeps/sparc/bits/hwcap.h: Likewise.
8681         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8682         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8683         * sysdeps/sparc/sysdep.h: Likewise.
8684
8685 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8686
8687         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8688
8689 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8690
8691         * benchtests/bench-strrchr.c: Print length instead of position.
8692
8693 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8694
8695         [BZ #16611]
8696         * sysdeps/unix/sysv/linux/kernel-features.h
8697         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8698         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8699         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8700         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8701         Likewise.
8702         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8703         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8704         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8705         (__ASSUME_SENDMMSG): Define instead of using previous
8706         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8707         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8708         (__ASSUME_SENDMMSG_SYSCALL): Define.
8709         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8710         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8711         Likewise.
8712         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8713         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8714         Likewise.
8715         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8716         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8717         Likewise.
8718         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8719         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8720         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8721         [__ASSUME_SENDMMSG]: Change conditionals to
8722         [__ASSUME_SENDMMSG_SOCKETCALL].
8723         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8724         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8725         Define.
8726         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8727         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8728         Likewise.
8729         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8730         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8731         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8732         [!__ASSUME_SENDMMSG]: Change conditional to
8733         [!__ASSUME_SENDMMSG_SOCKETCALL].
8734         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8735         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8736         Define.
8737
8738         [BZ #16610]
8739         * sysdeps/unix/sysv/linux/kernel-features.h
8740         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8741         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8742         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8743         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8744         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8745         [__i386__ || __sparc__]
8746         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8747         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8748         (__ASSUME_RECVMMSG): Define instead of using previous
8749         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8750         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8751         (__ASSUME_RECVMMSG_SYSCALL): Define.
8752         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8753         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8754         Likewise.
8755         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8756         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8757         Likewise.
8758         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8759         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8760         Likewise.
8761         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8762         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8763         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8764         [__ASSUME_RECVMMSG]: Change condition to
8765         [__ASSUME_RECVMMSG_SOCKETCALL].
8766         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8767         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8768         Define.
8769         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8770         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8771         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8772         Likewise.
8773         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8774         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8775         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8776         [!__ASSUME_RECVMMSG]: Change condition to
8777         [!__ASSUME_RECVMMSG_SOCKETCALL].
8778         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8779         (__ASSUME_RECVMMSG_SYSCALL): Define.
8780
8781         [BZ #16609]
8782         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8783         __powerpc__ || __s390__ || __sh__ || __sparc__]
8784         (__ASSUME_SOCKETCALL): Define.
8785         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8786         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8787         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8788         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8789         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8790         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8791         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8792         (__ASSUME_ACCEPT4): Define instead of using previous
8793         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8794         __powerpc__ || __sparc__ || __s390__)] condition.
8795         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8796         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8797         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8798         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8799         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8800         [!__ASSUME_ACCEPT4]: Change condition to
8801         [!__ASSUME_ACCEPT4_SOCKETCALL].
8802         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8803         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8804         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8805         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8806         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8807         __ASSUME_ACCEPT4_SYSCALL.
8808         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8809         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8810         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8811         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8812         __ASSUME_ACCEPT4_SYSCALL.
8813         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8814         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8815         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8816         [__ASSUME_ACCEPT4]: Change condition to
8817         [__ASSUME_ACCEPT4_SOCKETCALL].
8818         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8819         (__ASSUME_SOCKETCALL): Define.
8820         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8821         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8822         (__ASSUME_SOCKETCALL): Define.
8823         (__ASSUME_ACCEPT4): Remove.
8824         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8825         Define.
8826         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8827         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8828         Likewise.
8829         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8830         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8831
8832         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8833         macro.
8834         (HWCAP_ARM_LPAE): Likewise.
8835         (HWCAP_ARM_EVTSTRM): Likewise.
8836         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8837         Add vpfd32, lpae and evtstrm.
8838         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8839         Increase to 22.
8840
8841 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8842
8843         * math/auto-libm-test-in: Add tests of clog10.
8844         * math/auto-libm-test-out: Regenerated.
8845         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8846         * sysdeps/i386/fpu/libm-test-ulps: Update.
8847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8848
8849 2014-02-18  Andreas Schwab  <schwab@suse.de>
8850
8851         [BZ #16574]
8852         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8853         Store non-zero if the second buffer was newly allocated.
8854         (send_dg): Likewise.
8855         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8856         to send_vc and send_dg.
8857         (res_nsend): Pass NULL for ansp2_malloced.
8858         * resolv/res_query.c (__libc_res_nquery): Add parameter
8859         answerp2_malloced and pass it down to __libc_res_nsend.
8860         (res_nquery): Pass additional NULL to __libc_res_nquery.
8861         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8862         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8863         second answer buffer if answerp2_malloced was set.
8864         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8865         (__libc_res_nquerydomain): Add parameter
8866         answerp2_malloced and pass it down to __libc_res_nquery.
8867         (res_nquerydomain): Pass additional NULL to
8868         __libc_res_nquerydomain.
8869         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8870         additional NULL to __libc_res_nsend and __libc_res_nquery.
8871         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8872         additional NULL to __libc_res_nsearch.
8873         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8874         parameter of __libc_res_nsearch to check for separately allocated
8875         second buffer.
8876         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8877         __libc_res_nquery.
8878         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8879         additional NULL to __libc_res_nquery.
8880         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8881         __libc_res_nsearch.
8882         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8883         * include/resolv.h: Update prototypes of __libc_res_nquery,
8884         __libc_res_nsearch, __libc_res_nsend.
8885
8886 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8887
8888         * math/auto-libm-test-in: Add tests of fma.
8889         * math/auto-libm-test-out: Regenerated.
8890         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8891         (fma_towardzero_test_data): Likewise.
8892         (fma_downward_test_data): Likewise.
8893         (fma_upward_test_data): Likewise.
8894         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8895         mpc_mode.
8896         (rounding_modes): Add values for new field.
8897         (func_calc_method): Add value mpfr_fff_f.
8898         (func_calc_desc): Add mpfr_fff_f union field.
8899         (test_function): Add field exact_args.
8900         (FUNC): Add macro argument EXACT_ARGS.
8901         (FUNC_mpfr_f_f): Update call to FUNC.
8902         (FUNC_mpfr_f_f): Likewise.
8903         (FUNC_mpfr_ff_f): Likewise.
8904         (FUNC_mpfr_if_f): Likewise.
8905         (FUNC_mpc_c_f): Likewise.
8906         (FUNC_mpc_c_c): Likewise.
8907         (test_functions): Add fma.  Update calls to FUNC.
8908         (handle_input_arg): Add argument exact_args.
8909         (add_test): Update call to handle_input_arg.
8910         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8911         (output_for_one_input_case): Update call to calc_generic_results.
8912         Recalculate exact zero results in each rounding mode.
8913
8914         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8915         non-negative before setting low bit.
8916         * math/auto-libm-test-in: Mark one asin test possibly having
8917         spurious underflow.
8918         * math/auto-libm-test-out: Regenerated.
8919         * sysdeps/i386/fpu/libm-test-ulps: Update.
8920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8921
8922 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8923
8924         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8925         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8926         ports/sysdeps/unix/sysv/linux/microblaze.
8927         * README: Add missing listing for microblaze*-*-linux-gnu.
8928
8929 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8930
8931         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8932         * sysdeps/unix/sysv/linux/ia64: Move directory from
8933         ports/sysdeps/unix/sysv/linux/ia64.
8934         * README: Update listing for ia64-*-linux-gnu.
8935
8936 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8937             Joseph Myers  <joseph@codesourcery.com>
8938
8939         * Makeconfig (test-name): New variable.
8940         (evaluate-test): Likewise.
8941         * Makerules (do-test-clean): Remove .test-result files.
8942         (common-mostlyclean): Likewise.
8943         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8944         * scripts/evaluate-test.sh: New file.
8945
8946 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8947
8948         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8949         separate $(objpfx)tst-fopenloc-cmp.out and
8950         $(objpfx)tst-fopenloc-mem.out targets.
8951         (tests): Update dependencies.
8952         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8953         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8954         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8955         (tst-rxspencer-no-utf8-ARGS): New variable.
8956         (tst-rxspencer-no-utf8-ENV): Likewise.
8957         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8958         instead of $(objpfx)tst-rxspencer-mem.
8959         ($(objpfx)tst-rxspencer-mem): Change target to
8960         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8961         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8962         * posix/tst-rxspencer-no-utf8.c: New file.
8963
8964         * elf/Makefile ($(objpfx)order.out): Remove rule.
8965         [$(run-built-tests) = yes] (tests): Depend on
8966         $(objpfx)order-cmp.out.
8967         ($(objpfx)order-cmp.out): New rule.
8968         [$(run-built-tests) = yes] (tests): Depend on
8969         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8970         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8971         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8972         $(objpfx)tst-array5-static-cmp.out.
8973         ($(objpfx)tst-array1.out): Remove rule.
8974         ($(objpfx)tst-array1-cmp.out): New rule.
8975         ($(objpfx)tst-array1-static.out): Remove rule.
8976         ($(objpfx)tst-array1-static-cmp.out): New rule.
8977         ($(objpfx)tst-array2.out): Remove rule.
8978         ($(objpfx)tst-array2-cmp.out): New rule.
8979         ($(objpfx)tst-array3.out): Remove rule.
8980         ($(objpfx)tst-array3-cmp.out): New rule.
8981         ($(objpfx)tst-array4.out): Remove rule.
8982         ($(objpfx)tst-array4-cmp.out): New rule.
8983         ($(objpfx)tst-array5.out): Remove rule.
8984         ($(objpfx)tst-array5-cmp.out): New rule.
8985         ($(objpfx)tst-array5-static.out): Remove rule.
8986         ($(objpfx)tst-array5-static-cmp.out): New rule.
8987         [$(run-built-tests) = yes] (tests): Depend on
8988         $(objpfx)order2-cmp.out.
8989         ($(objpfx)order2.out): Remove rule.
8990         ($(objpfx)order2-cmp.out): New rule.
8991         ($(objpfx)tst-initorder.out): Remove rule.
8992         [$(run-built-tests) = yes] (tests): Depend on
8993         $(objpfx)tst-initorder-cmp.out.
8994         ($(objpfx)tst-initorder-cmp.out): New rule.
8995         ($(objpfx)tst-initorder2.out): Remove rule.
8996         [$(run-built-tests) = yes] (tests): Depend on
8997         $(objpfx)tst-initorder2-cmp.out.
8998         ($(objpfx)tst-initorder2-cmp.out): New rule.
8999         [$(run-built-tests) = yes] (tests): Depend on
9000         $(objpfx)tst-unused-dep-cmp.out.
9001         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9002         ($(objpfx)tst-unused-dep-cmp.out): New rule.
9003         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9004         on $(objpfx)tst-setvbuf1-cmp.out.
9005         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9006         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9007         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9008         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9009         ($(objpfx)tst-svc.out): Remove rule.
9010         ($(objpfx)tst-svc-cmp.out): New rule.
9011
9012 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
9013
9014         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9015         * ctype/ctype.h [__USE_MISC]: Likewise.
9016         * dirent/dirent.h [__USE_MISC]: Likewise.
9017         * grp/grp.h [__USE_MISC]: Likewise.
9018         * io/fcntl.h [__USE_MISC]: Likewise.
9019         * io/sys/stat.h [__USE_MISC]: Likewise.
9020         * libio/stdio.h [__USE_MISC]: Likewise.
9021         * posix/unistd.h [__USE_MISC]: Likewise.
9022         * pwd/pwd.h [__USE_MISC]: Likewise.
9023         * stdlib.h [__USE_MISC]: Likewise.
9024         * string/bits/string2.h [__USE_MISC]: Likewise.
9025         * string/string.h [__USE_MISC]: Likewise.
9026         * time/time.h [__USE_MISC]: Likewise.
9027
9028 2014-02-13  Andreas Schwab  <schwab@suse.de>
9029
9030         [BZ #16574]
9031         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9032         second answer buffer if it was separately allocated.
9033
9034 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
9035
9036         * sysdeps/mips/math-tests.h: Include <features.h>.
9037         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9038         (ROUNDING_TESTS_long_double): Do not define.
9039         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9040         (EXCEPTION_TESTS_long_double): Likewise.
9041         * sysdeps/mips/mips64/libm-test-ulps: Update.
9042
9043         * include/features.h (__USE_BSD): Remove macro definitions.
9044         (__USE_SVID): Likewise.
9045         (_BSD_SOURCE): Likewise.
9046         (_SVID_SOURCE): Likewise.
9047         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9048         from definition of _DEFAULT_SOURCE.
9049         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9050         [_DEFAULT_SOURCE].
9051         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9052         * bits/mman.h [__USE_BSD]: Likewise.
9053         * bits/termios.h [__USE_BSD]: Likewise.
9054         * bits/waitstatus.h [__USE_BSD]: Likewise.
9055         * ctype/ctype.h [__USE_SVID]: Likewise.
9056         * dirent/dirent.h [__USE_BSD]: Likewise.
9057         * grp/grp.h [__USE_SVID]: Likewise.
9058         [__USE_BSD]: Likewise.
9059         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9060         * io/fcntl.h [__USE_BSD]: Likewise.
9061         * io/ftw.h [__USE_BSD]: Likewise.
9062         * io/sys/stat.h [__USE_BSD]: Likewise.
9063         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9064         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9065         * libio/stdio.h [__USE_SVID]: Likewise.
9066         [__USE_BSD]: Likewise.
9067         * math/math.h [__USE_SVID]: Likewise.
9068         [__USE_BSD]: Likewise.
9069         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9070         * misc/bits/syslog.h [__USE_BSD]: Likewise.
9071         * misc/search.h [__USE_SVID]: Likewise.
9072         * misc/sys/mman.h [__USE_BSD]: Likewise.
9073         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9074         * misc/sys/uio.h [__USE_BSD]: Likewise.
9075         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9076         * posix/glob.h [__USE_BSD]: Likewise.
9077         * posix/regex.h [__USE_BSD]: Likewise.
9078         * posix/sys/types.h [__USE_BSD]: Likewise.
9079         [__USE_SVID]: Likewise.
9080         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9081         * posix/sys/wait.h [__USE_BSD]: Likewise.
9082         [__USE_SVID]: Likewise.
9083         * posix/unistd.h [__USE_BSD]: Likewise.
9084         [__USE_SVID]: Likewise.
9085         * pwd/pwd.h [__USE_SVID]: Likewise.
9086         * resolv/netdb.h [__USE_BSD]: Likewise.
9087         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9088         * signal/signal.h [__USE_BSD]: Likewise.
9089         [__USE_SVID]: Likewise.
9090         * socket/sys/socket.h [__USE_BSD]: Likewise.
9091         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9092         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9093         [__USE_SVID]: Likewise.
9094         * string/bits/string2.h [__USE_BSD]: Likewise.
9095         [__USE_SVID]: Likewise.
9096         * string/bits/string3.h [__USE_BSD]: Likewise.
9097         * string/endian.h [__USE_BSD]: Likewise.
9098         * string/string.h [__USE_SVID]: Likewise.
9099         [__USE_BSD]: Likewise.
9100         * string/strings.h [__USE_BSD]: Likewise.
9101         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9102         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9103         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9104         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9105         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9106         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9107         Likewise.
9108         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9109         Likewise.
9110         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9111         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9112         Likewise.
9113         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9114         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9115         Likewise.
9116         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9117         Likewise.
9118         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9119         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9120         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9121         Likewise.
9122         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9123         Likewise.
9124         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9125         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9126         * termios/termios.h [__USE_BSD]: Likewise.
9127         * time/sys/time.h [__USE_BSD]: Likewise.
9128         * time/time.h [__USE_BSD]: Likewise.
9129         [__USE_SVID]: Likewise.
9130
9131         * Makefile (subdir_targets): Remove subdir_lint.out.
9132
9133         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9134         (do-tst-printf): Likewise.
9135         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9136         $(objpfx)tst-printf.out.
9137
9138         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9139
9140         * Makerules (check-abi-%): Change target to
9141         $(objpfx)check-abi-%.out.
9142         (check-abi target): Update dependencies.
9143         (check-abi-pattern variable): Redirect output of diff to $@.
9144         (check-abi variable): Likewise.
9145         * elf/Makefile (check-abi): Update dependencies.
9146
9147         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9148         unused.
9149         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9150         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9151         subnormal range.
9152         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9153         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9154         value has largest subnormal exponent.
9155         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9156         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9157         * sysdeps/aarch64/soft-fp/sfp-machine.h
9158         (_FP_TININESS_AFTER_ROUNDING): New macro.
9159         * sysdeps/alpha/soft-fp/sfp-machine.h
9160         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9161         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9162         Likewise.
9163         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9164         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9165         * sysdeps/mips/soft-fp/sfp-machine.h
9166         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9167         * sysdeps/powerpc/soft-fp/sfp-machine.h
9168         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9169         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9170         Likewise.
9171         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9172         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9173         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9174         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9175         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9176         Likewise.
9177
9178 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9179
9180         [BZ #16545]
9181         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9182         model 1.
9183
9184 2014-02-12  Richard Henderson  <rth@redhat.com>
9185
9186         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9187         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9188         * sysdeps/unix/sysv/linux/alpha: Move directory from
9189         ports/sysdeps/unix/sysv/linux/alpha.
9190         * README: Update listing for alpha-*-linux-gnu.
9191
9192 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9193
9194         * include/features.h: Update comment documenting feature test
9195         macros.
9196         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9197         _DEFAULT_SOURCE.
9198         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9199         (_SVID_SOURCE): Likewise.
9200         (_DEFAULT_SOURCE): Update description of default features.
9201         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9202         with _GNU_SOURCE.
9203         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9204         (S_ISVTX): Likewise.
9205         * manual/math.texi (Mathematical Constants): Likewise.
9206         * manual/signal.texi (Interrupted Primitives): Likewise.
9207         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9208         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9209         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9210         Don't refer to _SVID_SOURCE in warning text.
9211
9212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9213
9214         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9215         already defined.
9216         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9217         * sysdeps/mips/dl-lookup.c: Remove.
9218         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9219
9220 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9221
9222         [BZ #16447]
9223         * math/auto-libm-test-in: Add testcase for expl.
9224         * math/auto-libm-test-out: Regenerate.
9225         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9226         calculation of unsafe.
9227         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9228
9229 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9230
9231         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9232         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9233         ports/sysdeps/unix/sysv/linux/aarch64.
9234         * README: Update listing for aarch64*-*-linux-gnu.
9235
9236 2014-02-11  Will Newton  <will.newton@linaro.org>
9237
9238         * manual/probes.texi (Mathematical Function Probes): Use
9239         "triggered" instead of "hit".
9240
9241         * manual/probes.texi (Internal Probes): Add documentation
9242         of setjmp, longjmp and longjmp_target probes.
9243
9244         * include/stap-probe.h: Add comment about probe argument
9245         format.
9246
9247         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9248         definition.  (tr_where, tr_freehook, tr_mallochook,
9249         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9250
9251 2014-02-11  David S. Miller  <davem@davemloft.net>
9252
9253         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9254         processing int_tests.
9255
9256 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9257
9258         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9259         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9260         * sysdeps/unix/sysv/linux/mips: Move directory from
9261         ports/sysdeps/unix/sysv/linux/mips.
9262         * README: Update listing for mips-*-linux-gnu and
9263         mips64-*-linux-gnu.
9264
9265 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9266
9267         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9268         * sysdeps/unix/sysv/linux/m68k: Move directory from
9269         ports/sysdeps/unix/sysv/linux/m68k.
9270         * README: Update listing for m68k-*-linux-gnu.
9271
9272 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9273
9274         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9275         * sysdeps/unix/sysv/linux/generic: Move directory from
9276         ports/sysdeps/unix/sysv/linux/generic.
9277         * sysdeps/unix/sysv/linux/tile: Move directory from
9278         ports/sysdeps/unix/sysv/linux/tile.
9279         * README: Update listing for tile*-*-linux-gnu.
9280
9281 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9282
9283         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9284         __builtin_expect.
9285         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9286         * catgets/open_catalog.c (__open_catalog): Likewise.
9287         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9288         * debug/confstr_chk.c: Likewise.
9289         * debug/fread_chk.c (__fread_chk): Likewise.
9290         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9291         * debug/getgroups_chk.c: Likewise.
9292         * debug/mbsnrtowcs_chk.c: Likewise.
9293         * debug/mbsrtowcs_chk.c: Likewise.
9294         * debug/mbstowcs_chk.c: Likewise.
9295         * debug/memcpy_chk.c: Likewise.
9296         * debug/memmove_chk.c: Likewise.
9297         * debug/mempcpy_chk.c: Likewise.
9298         * debug/memset_chk.c: Likewise.
9299         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9300         * debug/strcat_chk.c (__strcat_chk): Likewise.
9301         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9302         * debug/strncat_chk.c (__strncat_chk): Likewise.
9303         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9304         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9305         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9306         * debug/wcpncpy_chk.c: Likewise.
9307         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9308         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9309         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9310         * debug/wcsncpy_chk.c: Likewise.
9311         * debug/wcsnrtombs_chk.c: Likewise.
9312         * debug/wcsrtombs_chk.c: Likewise.
9313         * debug/wcstombs_chk.c: Likewise.
9314         * debug/wmemcpy_chk.c: Likewise.
9315         * debug/wmemmove_chk.c: Likewise.
9316         * debug/wmempcpy_chk.c: Likewise.
9317         * debug/wmemset_chk.c: Likewise.
9318         * dirent/scandirat.c (SCANDIRAT): Likewise.
9319         * dlfcn/dladdr1.c (dladdr1): Likewise.
9320         * dlfcn/dladdr.c (dladdr): Likewise.
9321         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9322         * dlfcn/dlerror.c (__dlerror): Likewise.
9323         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9324         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9325         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9326         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9327         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9328         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9329         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9330         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9331         Likewise.
9332         * elf/dl-conflict.c: Likewise.
9333         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9334         * elf/dl-dst.h: Likewise.
9335         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9336         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9337         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9338         * elf/dl-init.c (call_init, _dl_init): Likewise.
9339         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9340         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9341         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9342         Likewise.
9343         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9344         Likewise.
9345         * elf/dl-minimal.c (__libc_memalign): Likewise.
9346         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9347         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9348         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9349         * elf/dl-sym.c (do_sym): Likewise.
9350         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9351         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9352         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9353         * elf/dl-writev.h (_dl_writev): Likewise.
9354         * elf/ldconfig.c (search_dir): Likewise.
9355         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9356         (dl_main): Likewise.
9357         * elf/setup-vdso.h (setup_vdso): Likewise.
9358         * grp/compat-initgroups.c (compat_call): Likewise.
9359         * grp/fgetgrent.c (fgetgrent): Likewise.
9360         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9361         * grp/putgrent.c (putgrent): Likewise.
9362         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9363         Likewise.
9364         * hurd/hurdinit.c: Likewise.
9365         * iconvdata/8bit-gap.c (struct): Likewise.
9366         * iconvdata/ansi_x3.110.c : Likewise.
9367         * iconvdata/big5.c : Likewise.
9368         * iconvdata/big5hkscs.c : Likewise.
9369         * iconvdata/cp1255.c: Likewise.
9370         * iconvdata/cp1258.c : Likewise.
9371         * iconvdata/cp932.c : Likewise.
9372         * iconvdata/euc-cn.c: Likewise.
9373         * iconvdata/euc-jisx0213.c : Likewise.
9374         * iconvdata/euc-jp.c: Likewise.
9375         * iconvdata/euc-jp-ms.c : Likewise.
9376         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9377         * iconvdata/gb18030.c : Likewise.
9378         * iconvdata/gbbig5.c (const): Likewise.
9379         * iconvdata/gbgbk.c: Likewise.
9380         * iconvdata/gbk.c : Likewise.
9381         * iconvdata/ibm1364.c : Likewise.
9382         * iconvdata/ibm930.c : Likewise.
9383         * iconvdata/ibm932.c: Likewise.
9384         * iconvdata/ibm933.c : Likewise.
9385         * iconvdata/ibm935.c : Likewise.
9386         * iconvdata/ibm937.c : Likewise.
9387         * iconvdata/ibm939.c : Likewise.
9388         * iconvdata/ibm943.c: Likewise.
9389         * iconvdata/iso_11548-1.c: Likewise.
9390         * iconvdata/iso-2022-cn.c : Likewise.
9391         * iconvdata/iso-2022-cn-ext.c : Likewise.
9392         * iconvdata/iso-2022-jp-3.c: Likewise.
9393         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9394         * iconvdata/iso-2022-kr.c : Likewise.
9395         * iconvdata/iso646.c (gconv_end): Likewise.
9396         * iconvdata/iso_6937-2.c : Likewise.
9397         * iconvdata/iso_6937.c : Likewise.
9398         * iconvdata/iso8859-1.c: Likewise.
9399         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9400         * iconvdata/shift_jisx0213.c : Likewise.
9401         * iconvdata/sjis.c : Likewise.
9402         * iconvdata/t.61.c : Likewise.
9403         * iconvdata/tcvn5712-1.c : Likewise.
9404         * iconvdata/tscii.c: Likewise.
9405         * iconvdata/uhc.c : Likewise.
9406         * iconvdata/unicode.c (gconv_end): Likewise.
9407         * iconvdata/utf-16.c (gconv_end): Likewise.
9408         * iconvdata/utf-32.c (gconv_end): Likewise.
9409         * iconvdata/utf-7.c (base64): Likewise.
9410         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9411         * iconv/gconv_close.c (__gconv_close): Likewise.
9412         * iconv/gconv_open.c (__gconv_open): Likewise.
9413         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9414         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9415         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9416         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9417         (ucs4le_internal_loop_single): Likewise.
9418         * iconv/iconv.c (iconv): Likewise.
9419         * iconv/iconv_close.c: Likewise.
9420         * iconv/loop.c (SINGLE): Likewise.
9421         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9422         * include/atomic.h: Likewise.
9423         * inet/inet6_option.c (option_alloc): Likewise.
9424         * intl/bindtextdom.c (set_binding_values): Likewise.
9425         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9426         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9427         * intl/localealias.c (read_alias_file): Likewise.
9428         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9429         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9430         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9431         * libio/fmemopen.c (fmemopen): Likewise.
9432         * libio/iofgets.c (_IO_fgets): Likewise.
9433         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9434         * libio/iofgetws.c (fgetws): Likewise.
9435         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9436         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9437         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9438         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9439         * locale/findlocale.c (_nl_find_locale): Likewise.
9440         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9441         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9442         Likewise.
9443         * locale/setlocale.c (setlocale): Likewise.
9444         * login/programs/pt_chown.c (main): Likewise.
9445         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9446         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9447         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9448         (mmap, mmap64, mremap, munmap): Likewise.
9449         * math/e_exp2l.c: Likewise.
9450         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9451         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9452         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9453         * math/s_catan.c (__catan): Likewise.
9454         * math/s_catanf.c (__catanf): Likewise.
9455         * math/s_catanh.c (__catanh): Likewise.
9456         * math/s_catanhf.c (__catanhf): Likewise.
9457         * math/s_catanhl.c (__catanhl): Likewise.
9458         * math/s_catanl.c (__catanl): Likewise.
9459         * math/s_ccosh.c (__ccosh): Likewise.
9460         * math/s_ccoshf.c (__ccoshf): Likewise.
9461         * math/s_ccoshl.c (__ccoshl): Likewise.
9462         * math/s_cexp.c (__cexp): Likewise.
9463         * math/s_cexpf.c (__cexpf): Likewise.
9464         * math/s_cexpl.c (__cexpl): Likewise.
9465         * math/s_clog10.c (__clog10): Likewise.
9466         * math/s_clog10f.c (__clog10f): Likewise.
9467         * math/s_clog10l.c (__clog10l): Likewise.
9468         * math/s_clog.c (__clog): Likewise.
9469         * math/s_clogf.c (__clogf): Likewise.
9470         * math/s_clogl.c (__clogl): Likewise.
9471         * math/s_csin.c (__csin): Likewise.
9472         * math/s_csinf.c (__csinf): Likewise.
9473         * math/s_csinh.c (__csinh): Likewise.
9474         * math/s_csinhf.c (__csinhf): Likewise.
9475         * math/s_csinhl.c (__csinhl): Likewise.
9476         * math/s_csinl.c (__csinl): Likewise.
9477         * math/s_csqrt.c (__csqrt): Likewise.
9478         * math/s_csqrtf.c (__csqrtf): Likewise.
9479         * math/s_csqrtl.c (__csqrtl): Likewise.
9480         * math/s_ctan.c (__ctan): Likewise.
9481         * math/s_ctanf.c (__ctanf): Likewise.
9482         * math/s_ctanh.c (__ctanh): Likewise.
9483         * math/s_ctanhf.c (__ctanhf): Likewise.
9484         * math/s_ctanhl.c (__ctanhl): Likewise.
9485         * math/s_ctanl.c (__ctanl): Likewise.
9486         * math/w_pow.c: Likewise.
9487         * math/w_powf.c: Likewise.
9488         * math/w_powl.c: Likewise.
9489         * math/w_scalb.c (sysv_scalb): Likewise.
9490         * math/w_scalbf.c (sysv_scalbf): Likewise.
9491         * math/w_scalbl.c (sysv_scalbl): Likewise.
9492         * misc/error.c (error_tail): Likewise.
9493         * misc/pselect.c (__pselect): Likewise.
9494         * nis/nis_callback.c (__nis_create_callback): Likewise.
9495         * nis/nis_call.c (__nisfind_server): Likewise.
9496         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9497         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9498         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9499         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9500         * nis/nis_lookup.c (nis_lookup): Likewise.
9501         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9502         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9503         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9504         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9505         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9506         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9507         * nis/nss_compat/compat-initgroups.c (add_group)
9508         (internal_getgrent_r): Likewise.
9509         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9510         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9511         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9512         (internal_getspnam_r): Likewise.
9513         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9514         (_nss_nis_getaliasbyname_r): Likewise.
9515         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9516         (_nss_nis_getntohost_r): Likewise.
9517         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9518         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9519         (_nss_nis_getgrgid_r): Likewise.
9520         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9521         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9522         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9523         (_nss_nis_gethostbyname4_r): Likewise.
9524         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9525         (initgroups_netid): Likewise.
9526         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9527         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9528         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9529         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9530         (_nss_nis_getprotobynumber_r): Likewise.
9531         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9532         (_nss_nis_getsecretkey): Likewise.
9533         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9534         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9535         (_nss_nis_getpwuid_r): Likewise.
9536         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9537         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9538         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9539         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9540         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9541         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9542         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9543         Likewise.
9544         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9545         (_nss_nisplus_getntohost_r): Likewise.
9546         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9547         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9548         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9549         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9550         Likewise.
9551         * nis/nss_nisplus/nisplus-initgroups.c
9552         (_nss_nisplus_initgroups_dyn): Likewise.
9553         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9554         (_nss_nisplus_getnetbyaddr_r): Likewise.
9555         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9556         (_nss_nisplus_getprotobynumber_r): Likewise.
9557         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9558         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9559         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9560         Likewise.
9561         * nis/nss_nisplus/nisplus-service.c
9562         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9563         (_nss_nisplus_getservbyport_r): Likewise.
9564         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9565         (_nss_nisplus_getspnam_r): Likewise.
9566         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9567         Likewise.
9568         * nscd/aicache.c (addhstaiX): Likewise.
9569         * nscd/cache.c (cache_search, prune_cache): Likewise.
9570         * nscd/connections.c (register_traced_file, send_ro_fd)
9571         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9572         (main_loop_epoll): Likewise.
9573         * nscd/grpcache.c (addgrbyX): Likewise.
9574         * nscd/hstcache.c (addhstbyX): Likewise.
9575         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9576         * nscd/mem.c (gc, mempool_alloc): Likewise.
9577         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9578         (addinnetgrX): Likewise.
9579         * nscd/nscd-client.h (__nscd_acquire_maplock)
9580         (__nscd_drop_map_ref): Likewise.
9581         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9582         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9583         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9584         Likewise.
9585         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9586         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9587         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9588         (__nscd_get_map_ref): Likewise.
9589         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9590         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9591         Likewise.
9592         * nscd/pwdcache.c (addpwbyX): Likewise.
9593         * nscd/selinux.c (preserve_capabilities): Likewise.
9594         * nscd/servicescache.c (addservbyX): Likewise.
9595         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9596         * posix/fnmatch.c (fnmatch): Likewise.
9597         * posix/getopt.c (_getopt_internal_r): Likewise.
9598         * posix/glob.c (glob, glob_in_dir): Likewise.
9599         * posix/wordexp.c (exec_comm_child): Likewise.
9600         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9601         (getanswer_r, gaih_getanswer_slice): Likewise.
9602         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9603         * resolv/res_init.c: Likewise.
9604         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9605         * resolv/res_query.c (__libc_res_nquery): Likewise.
9606         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9607         Likewise.
9608         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9609         * stdio-common/perror.c (perror): Likewise.
9610         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9611         * stdio-common/tmpnam.c (tmpnam): Likewise.
9612         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9613         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9614         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9615         Likewise.
9616         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9617         * stdlib/putenv.c (putenv): Likewise.
9618         * stdlib/setenv.c (__add_to_environ): Likewise.
9619         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9620         * stdlib/strtol_l.c (INTERNAL): Likewise.
9621         * string/memmem.c (memmem): Likewise.
9622         * string/strerror.c (strerror): Likewise.
9623         * string/strnlen.c (__strnlen): Likewise.
9624         * string/test-memmem.c (simple_memmem): Likewise.
9625         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9626         * sunrpc/pm_getport.c (__get_socket): Likewise.
9627         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9628         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9629         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9630         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9631         Likewise.
9632         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9633         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9634         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9635         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9636         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9637         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9638         Likewise.
9639         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9640         Likewise.
9641         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9642         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9643         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9644         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9645         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9647         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9648         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9649         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9650         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9651         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9652         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9653         Likewise.
9654         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9655         Likewise.
9656         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9657         Likewise.
9658         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9659         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9660         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9661         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9662         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9663         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9664         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9665         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9667         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9668         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9669         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9670         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9671         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9673         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9674         Likewise.
9675         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9676         Likewise.
9677         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9678         Likewise.
9679         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9680         Likewise.
9681         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9683         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9684         Likewise.
9685         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9686         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9687         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9688         * sysdeps/posix/sleep.c: Likewise.
9689         * sysdeps/posix/tempname.c: Likewise.
9690         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9691         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9692         Likewise.
9693         * sysdeps/powerpc/powerpc32/dl-machine.h
9694         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9695         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9696         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9697         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9698         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9699         Likewise.
9700         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9701         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9702         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9703         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9704         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9705         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9706         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9707         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9708         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9709         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9710         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9711         (elf_machine_lazy_rel): Likewise.
9712         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9713         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9714         (elf_machine_lazy_rel): Likewise.
9715         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9716         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9717         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9718         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9719         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9720         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9721         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9722         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9723         Likewise.
9724         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9725         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9726         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9727         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9728         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9729         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9730         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9731         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9732         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9733         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9734         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9735         Likewise.
9736         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9737         (__posix_fallocate64_l64): Likewise.
9738         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9739         (posix_fallocate): Likewise.
9740         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9741         Likewise.
9742         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9743         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9744         (getifaddrs_internal): Likewise.
9745         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9746         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9747         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9748         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9749         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9750         (__posix_fallocate64_l64): Likewise.
9751         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9752         Likewise.
9753         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9754         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9755         (__get_clockfreq): Likewise.
9756         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9757         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9758         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9759         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9760         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9761         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9762         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9763         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9764         Likewise.
9765         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9766         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9767         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9768         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9769         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9770         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9771         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9772         Likewise.
9773         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9774         (posix_fallocate): Likewise.
9775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9776         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9777         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9778         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9779         (elf_machine_rela, elf_machine_rela_relative)
9780         (elf_machine_lazy_rel): Likewise.
9781         * time/asctime.c (asctime_internal): Likewise.
9782         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9783         * time/tzset.c (__tzset_parse_tz): Likewise.
9784         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9785         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9786         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9787         * wcsmbs/wcsmbsload.h: Likewise.
9788
9789         [BZ #15894]
9790         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9791
9792         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9793         (arena_get2): Remove THREAD_STATS conditionals.
9794         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9795         (__malloc_stats, int): Likewise.
9796
9797 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9798
9799         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9800         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9801
9802         * manual/setjmp.texi: Fix typos/grammar errors.
9803
9804         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9805         Only return early when n is <= 0.  Delete unused return statement.
9806
9807         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9808         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9809         * debug/tst-longjmp_chk3.c: New file.
9810
9811         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9812         (test_main): Replace code with set_fortify_handler call.
9813         * debug/test-strcpy_chk.c: Likewise.
9814         * debug/tst-chk1.c: Likewise.
9815         * debug/tst-longjmp_chk.c: Likewise.
9816         * test-skeleton.c: Include fcntl.h & paths.h
9817         (set_fortify_handler): Define.
9818
9819         * debug/tst-longjmp_chk.c: Add header comment and include
9820         ../test-skeleton.c.
9821         (do_test): Mark static.
9822         (TEST_FUNCTION): Define.
9823
9824         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9825         (IP_PMTUDISC_INTERFACE): Likewise.
9826         (IP_MULTICAST_IF): Likewise.
9827         (IP_MULTICAST_TTL): Likewise.
9828         (IP_MULTICAST_LOOP): Likewise.
9829         (IP_ADD_MEMBERSHIP): Likewise.
9830         (IP_DROP_MEMBERSHIP): Likewise.
9831         (IP_UNBLOCK_SOURCE): Likewise.
9832         (IP_BLOCK_SOURCE): Likewise.
9833         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9834         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9835         (IP_MSFILTER): Likewise.
9836         (MCAST_JOIN_GROUP): Likewise.
9837         (MCAST_BLOCK_SOURCE): Likewise.
9838         (MCAST_UNBLOCK_SOURCE): Likewise.
9839         (MCAST_LEAVE_GROUP): Likewise.
9840         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9841         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9842         (MCAST_MSFILTER): Likewise.
9843         (IP_MULTICAST_ALL): Likewise.
9844         (IP_UNICAST_IF): Likewise.
9845
9846         * timezone/Makefile: Delete $(have-ksh) check.
9847         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9848         * timezone/tzselect.ksh: Add +x mode bits.
9849
9850         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9851         (ANON_INODE_FS_MAGIC): Likewise.
9852         (BDEVFS_MAGIC): Likewise.
9853         (BINFMTFS_MAGIC): Likewise.
9854         (BTRFS_TEST_MAGIC): Likewise.
9855         (CRAMFS_MAGIC_WEND): Likewise.
9856         (DEBUGFS_MAGIC): Likewise.
9857         (ECRYPTFS_SUPER_MAGIC): Likewise.
9858         (EXT3_SUPER_MAGIC): Likewise.
9859         (EXT4_SUPER_MAGIC): Likewise.
9860         (FUTEXFS_SUPER_MAGIC): Likewise.
9861         (HOSTFS_SUPER_MAGIC): Likewise.
9862         (HUGETLBFS_MAGIC): Likewise.
9863         (MINIX3_SUPER_MAGIC): Likewise.
9864         (MTD_INODE_FS_MAGIC): Likewise.
9865         (NILFS_SUPER_MAGIC): Likewise.
9866         (OPENPROM_SUPER_MAGIC): Likewise.
9867         (PIPEFS_MAGIC): Likewise.
9868         (PSTOREFS_MAGIC): Likewise.
9869         (QNX6_SUPER_MAGIC): Likewise.
9870         (RAMFS_MAGIC): Likewise.
9871         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9872         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9873         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9874         (SECURITYFS_MAGIC): Likewise.
9875         (SELINUX_MAGIC): Likewise.
9876         (SMACK_MAGIC): Likewise.
9877         (SOCKFS_MAGIC): Likewise.
9878         (SQUASHFS_MAGIC): Likewise.
9879         (STACK_END_MAGIC): Likewise.
9880         (TMPFS_MAGIC): Likewise.
9881         (USBDEVICE_SUPER_MAGIC): Likewise.
9882         (V9FS_MAGIC): Likewise.
9883         (XENFS_SUPER_MAGIC): Likewise.
9884         (CRAMFS_MAGIC): Fix typo in comment.
9885         (EXT2_SUPER_MAGIC): Update comment.
9886         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9887
9888 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9889
9890         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9891         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9892         * sysdeps/unix/sysv/linux/arm: Move directory from
9893         ports/sysdeps/unix/sysv/linux/arm.
9894         * README: Update listing for arm-*-linux-gnueabi.
9895
9896         * README: Remove mention of am33.
9897
9898 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9899
9900         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9901         than the comma operator, to avoid "rhs of comma has no effect"
9902         compiler warnings.
9903         (__sigfillset, __sigandset, __sigorset): Likewise.
9904         * include/signal.h (__sigemptyset): Likewise.
9905         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9906
9907 2014-02-07  Allan McRae  <allan@archlinux.org>
9908
9909         * version.h (RELEASE): Set to "development".
9910         (VERSION): Set to "2.19.90"
9911         * NEWS: Add 2.20 section.
9912
9913 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9914
9915         [BZ #16529]
9916         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9917
9918 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9919
9920         * manual/contrib.texi: Update entry for Carlos O'Donell,
9921         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9922
9923 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9924
9925         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9926
9927         * sysdeps/unix/sysv/linux/kernel-features.h
9928         [__LINUX_KERNEL_VERSION >= 0x020621]
9929         (__ASSUME_PROC_PID_TASK_COMM): Define.
9930
9931 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9932
9933         [BZ #16398]
9934         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9935         conversion when destination buffer does not have enough space.
9936         * libio/tst-ftell-partial-wide.c: New test case.
9937         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9938
9939         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9940         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9941         Leonard and Allan McRae.
9942
9943 2014-02-04  David S. Miller  <davem@davemloft.net>
9944
9945         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9946         32-bit.
9947
9948 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9949
9950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9951         New file
9952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9953         New file
9954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9955         New file.
9956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9957         New file.
9958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9959         New file.
9960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9961         New file.
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9963         New file.
9964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9965         New file.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9967         New file.
9968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9969         New file.
9970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9971         New file.
9972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9973         New file.
9974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9975         New file.
9976
9977 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9978
9979         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9980         * shlib-versions: Likewise.
9981
9982 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9983             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9984
9985         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9986         (abilist-pattern): New variable, set to %-le.abilist.
9987
9988         * Makerules (abilist-pattern): New variable.
9989         (vpath): Use $(abilist-pattern) in place of %.abilist.
9990         (check-abi-% pattern rule): Likewise.
9991         (check-abi, update-abi): Likewise.
9992
9993 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9994
9995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9996
9997 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9998
9999         * manual/startup.texi: Add next, previous, and top entries for
10000         the `Program Arguments' and `Environment Variables' nodes.
10001
10002 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
10003
10004         * manual/macros.texi: Add comments before MTASC-safety macros.
10005
10006         * manual/users.texi: Document MTASC-safety properties.
10007
10008         * manual/threads.texi (pthread_key_create, pthread_key_delete)
10009         (pthread_getspecific, pthread_setspecific): Format with
10010         @deftypefun, and add @safety note.
10011         * manual/signal.texi: Move comments that analyze the above
10012         functions to their home place.
10013
10014 2014-02-03  Allan McRae  <allan@archlinux.org>
10015
10016         * po/sl.po: Update Slovenian translation from translation project.
10017
10018 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
10019
10020         * manual/time.texi (timegm): Add missing blank after @c.
10021         Reported by Joseph Myers <joseph@codesourcery.com>.
10022
10023 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10024
10025         * manual/check-safety.sh: New.
10026         * manual/Makefile ($(objpfx)stamp-summary): Run it.
10027
10028         * manual/terminal.texi: Document MTASC-safety properties.
10029
10030         * manual/filesys.texi: Document MTASC-safety properties.
10031
10032         * manual/errno.texi: Document MTASC-safety properties.
10033
10034         * manual/intro.texi: Document safety identifiers and
10035         conditionals.
10036
10037         * manual/string.texi (wcstok): Fix prototype.
10038         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10039
10040         * manual/time.texi: Document MTASC-safety properties.
10041
10042         * manual/string.texi: Document MTASC-safety properties.
10043
10044         * manual/threads.texi: Document MTASC-safety properties.
10045
10046         * manual/stdio.texi: Document MTASC-safety properties.
10047
10048         * manual/syslog.texi: Document MTASC-safety properties.
10049
10050         * manual/sysinfo.texi: Document MTASC-safety properties.
10051
10052         * manual/startup.texi: Document MTASC-safety properties.
10053
10054         * manual/socket.texi: Document MTASC-safety properties.
10055
10056         * manual/signal.texi: Document MTASC-safety properties.
10057
10058 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
10059
10060         * manual/setjmp.texi: Document MTASC-safety properties.
10061
10062         * manual/search.texi: Document MTASC-safety properties.
10063
10064         * manual/resource.texi: Document MTASC-safety properties.
10065
10066         * manual/process.texi: Document MTASC-safety properties.
10067
10068         * manual/platform.texi: Document MTASC-safety properties.
10069
10070         * manual/pipe.texi: Document MTASC-safety properties.
10071
10072         * manual/pattern.texi: Document MTASC-safety properties.
10073
10074         * manual/message.texi: Document MTASC-safety properties.
10075
10076         [BZ #12751]
10077         * manual/memory.texi: Document MTASC-safety properties.
10078
10079         * manual/math.texi: Document MTASC-safety properties.
10080
10081         * manual/locale.texi: Document MTASC-safety properties.
10082
10083         * manual/llio.texi: Document MTASC-safety properties.
10084
10085         * manual/libdl.texi: New.
10086
10087         * manual/lang.texi: Document MTASC-safety properties.
10088
10089         * manual/job.texi: Document MTASC-safety properties.
10090
10091         * manual/getopt.texi: Document MTASC-safety properties.
10092
10093         * manual/ctype.texi: Document MTASC-safety properties.
10094
10095 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10096
10097         [BZ #16046]
10098         * csu/libc-tls.c (static_map): Remove variable.
10099         (__libc_setup_tls): Use main executable's link map for TLS data.
10100         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10101         casing for LM_ID_BASE and GL(dl_nns).
10102         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10103         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10104         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10105         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10106         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10107         member.
10108         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10109         l_phnum members.
10110
10111 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10112
10113         * manual/debug.texi: Document MTASC-safety properties.
10114
10115 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10116
10117         [BZ #16510]
10118         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10119         of __x86_64__ when disabling x87 inline functions.
10120
10121 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10122
10123         * manual/charset.texi: Document MTASC-safety properties.
10124
10125         * manual/crypt.texi: Document MTASC-safety properties.
10126
10127         * manual/conf.texi: Document MTASC-safety properties.
10128
10129         * manual/arith.texi: Document MTASC-safety properties.
10130
10131         * manual/argp.texi: Document MTASC-safety properties.
10132
10133         * manual/macros.texi: Introduce macros to document multi
10134         thread, asynchronous signal and asynchronous cancellation
10135         safety properties.
10136         * manual/intro.texi: Introduce the properties themselves.
10137
10138 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10139
10140         * sysdeps/sh/sh4/Makefile: New file.
10141
10142 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10143
10144         * math/gen-libm-test.pl ($srcdir): New variable.
10145         ($auto_input): Use it.
10146
10147 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10148
10149         [BZ #16506]
10150         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10151         access beyond array bounds when parsing netgroups file.
10152
10153         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10154         the old buffer before realloc.
10155
10156 2014-01-27  Allan McRae  <allan@archlinux.org>
10157
10158         * po/fr.po: Update French translation from translation project.
10159
10160 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10161
10162         * sysdeps/sh/libm-test-ulps: Regenerate.
10163
10164 2014-01-24  David S. Miller  <davem@davemloft.net>
10165
10166         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10167
10168 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10169
10170         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10171         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10172
10173 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10174
10175         [BZ #16474]
10176         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10177         string pointers after reallocation.
10178
10179 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10180
10181         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10182         __SH4A__ instead of __SH_FPU_ANY__.
10183
10184 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10185
10186         * sysdeps/sh/fpu_control.h: New file.
10187         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10188         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10189         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10190         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10191         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10192         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10193         * sysdeps/sh/sys/ucontext.h: Remove.
10194         * sysdeps/sh/sys: Remove directory.
10195
10196 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10197
10198         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10199         s390/sys/ucontext.h.
10200         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10201         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10202
10203 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10204
10205         [BZ #15605]
10206         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10207
10208 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10209
10210         [BZ#16431]
10211         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10212         Adjust the vDSO correctly for internal calls.
10213         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10214
10215 2014-01-20  Allan McRae  <allan@archlinux.org>
10216
10217         * po/ca.po: Update Catalan translation from translation project.
10218
10219 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10220
10221         * sysdeps/s390/sotruss-lib.c: New file.
10222
10223 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10224
10225         [BZ#16430]
10226         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10227         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10228         local calls issues by not having a PLT stub required for IFUNC calls.
10229         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10230
10231 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10232
10233         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10234         * math/test-fpucw-static.c: Likewise.
10235
10236 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10237
10238         [BZ #16453]
10239         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10240
10241 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10242
10243         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10244         implementation for powerpc.
10245
10246 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10247
10248         [BZ #14782]
10249         * sysdeps/posix/system.c (__libc_system): Do not enable
10250         asynchronous cancellation.
10251
10252 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10253
10254         [BZ #16427]
10255         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10256         handling only for numbers special also in the IEEE case.
10257
10258 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10259
10260         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10261
10262 2014-01-11  Allan McRae  <allan@archlinux.org>
10263
10264         * po/bg.po: Update Bulgarian translation from translation project.
10265
10266         * po/de.po: Update German translation from translation project.
10267
10268 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10269
10270         * sysdeps/generic/gcc-compat.h: New file.
10271
10272 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10273
10274         * benchtests/asin-inputs: Correct slow inputs.
10275         * benchtests/acos-inputs: Likewise.
10276
10277 2014-01-10  Allan McRae  <allan@archlinux.org>
10278
10279         * po:sv.po: Update Swedish translation from translation project.
10280
10281         * po/vi.po: Update Vietnamese translation from translation project.
10282
10283         * po/eo.po: Update Esperanto translation from translation project.
10284
10285         * po/cs.po: Update Czech translation from translation project.
10286
10287         * po/nl.po: Update Dutch translation from translation project.
10288
10289         * po/pl.po: Update Polish translation from translation project.
10290
10291         * po/ru.po: Update Russian translation from translation project.
10292
10293         * po/uk.po: Update Ukrainian translation from translation project.
10294
10295 2014-01-08  Brooks Moses  <bmoses@google.com>
10296
10297         * elf/dl-load.c: Fix comment typo.
10298
10299 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10300
10301         * po/header.pot: Rename to...
10302         * po/pot.header: ... this.
10303         * po/Makefile: Use pot.header.
10304
10305 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10306             Maxim Kuvyrkov  <maxim@kugelworks.com>
10307
10308         [BZ #16394]
10309         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10310         SRC and DEST against LEN.
10311
10312 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10313
10314         [BZ #16414]
10315         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10316         implementation.
10317         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10318
10319 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10320
10321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10322
10323 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10324
10325         [BZ #16408]
10326         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10327         for large positive arguments.
10328
10329 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10330
10331         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10332
10333         * math/auto-libm-test-in: Mark various tests with
10334         xfail-rounding:ldbl-128ibm.
10335         * math/auto-libm-test-out: Regenerated.
10336
10337         [BZ #16407]
10338         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10339         Increase overflow threshold.
10340
10341 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10342
10343         [BZ #14286]
10344         * stdio-common/vfprintf.c: Check for integer overflow.
10345
10346 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10347
10348         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10349         the first argument and return value of __tls_get_addr_internal.
10350
10351 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10352
10353         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10354         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10355
10356 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10357
10358         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10359         * sysdeps/s390/rtld-global-offsets.sym: New file.
10360         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10361         GLIBC_2.19 symbol.
10362         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10363         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10364         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10365         ... this.
10366         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10367         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10368         ... this.
10369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10370         Regenerate.
10371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10372         Regenerate.
10373         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10374         halfs of GPRs for high_gprs contexts.
10375         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10376         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10377         field.
10378         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10379         uc_flags field.
10380         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10381         64 bit versions:
10382         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10383         for high GPRs (uc_high_gprs) and for future extensions
10384         (__reserved).
10385         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10386         for future extensions (__reserved).
10387         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10388         64 bit versions:
10389         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10390         SC_HIGHGPRS offset definition.
10391         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10392         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10393
10394         * Versions.def: Add GLIBC_2.19 for libpthread.
10395         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10396         siglongjmp for libpthread with GLIBC_2.19 symver.
10397         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10398         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10399         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10400         * sysdeps/s390/__longjmp.c: New file.
10401         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10402         * sysdeps/s390/longjmp.c: New file.
10403         * sysdeps/s390/setjmp.S: New file.
10404         * sysdeps/s390/sigjmp.S: New file.
10405         * sysdeps/s390/v1-longjmp.c: New file.
10406         * sysdeps/s390/v1-setjmp.h: New file.
10407         * sysdeps/s390/v1-sigjmp.c: New file.
10408         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10409         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10410         GLIBC_2.19 version.
10411         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10412         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10413         versioned symbols for ____longjmp_chk.
10414         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10415         Likewise.
10416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10417         Regenerate.
10418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10419         Regenerate.
10420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10421         Regenerate.
10422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10423         Regenerate.
10424         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10425         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10426         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10427         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10428         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10429         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10430         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10431         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10432         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10433         * sysdeps/s390/rtld-__longjmp.c: New file.
10434         * sysdeps/s390/rtld-setjmp.S: New file.
10435
10436 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10437
10438         [BZ #16400]
10439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10440         Return -__logl (x) for small positive arguments without evaluating
10441         a polynomial.
10442
10443 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10444
10445         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10446         Rename to ...
10447         (__ptrace_peeksiginfo_args): ... this.
10448         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10449         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10450         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10451
10452 2014-01-06  Allan McRae  <allan@archlinux.org>
10453
10454         * inet/netinet/in.h: Fix typo in comment.
10455
10456 2014-01-05  Andreas Jaeger  <aj@suse.de>
10457
10458         * sysdeps/i386/fpu/libm-test-ulps: Update.
10459
10460 2014-01-05  Allan McRae  <allan@archlinux.org>
10461
10462         * po/libc.pot: Regenerated.
10463
10464         * malloc/memusagestat.c: Fix gettext call formatting.
10465
10466 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10467
10468         * nscd/nscd.c: Improve usage() output.
10469
10470 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10471
10472         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10473         * sysdeps/unix/sysv/linux/configure: Regenerated.
10474         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10475         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10476
10477 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10478
10479         [BZ #16390]
10480         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10481         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10482
10483 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10484
10485         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10486         extra tokens at end of #undef directive.
10487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10488         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10489         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10490
10491 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10492
10493         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10494
10495         * math/auto-libm-test-in: Mark various tests with
10496         xfail-rounding:ldbl-128ibm.
10497         * math/auto-libm-test-out: Regenerated.
10498
10499 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10500
10501         [BZ #16386]
10502         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10503         numbers with subnormal high part when calculating exponent.
10504
10505         [BZ #16385]
10506         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10507         fabs.
10508
10509         [BZ #16384]
10510         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10511         M_LN2l.
10512         (__ieee754_acoshl): Use __log1pl not __log1p.
10513
10514 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10515
10516         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10517         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10518         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10519         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10520         (reused_arena, arena_get2): Convert to GNU style.
10521         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10522         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10523         (memalign_check, __malloc_set_state): Likewise.
10524         * malloc/mallocbug.c (main): Likewise.
10525         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10526         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10527         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10528         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10529         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10530         (__posix_memalign, malloc_info): Likewise.
10531         * malloc/malloc.h: Likewise.
10532         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10533         (mallochook, memalignhook, reallochook, mabort): Likewise.
10534         * malloc/mcheck.h: Likewise.
10535         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10536         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10537         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10538         * malloc/morecore.c (__default_morecore): Likewise.
10539         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10540         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10541         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10542         (print_and_abort): Likewise.
10543         * malloc/obstack.h: Likewise.
10544         * malloc/set-freeres.c (__libc_freeres): Likewise.
10545         * malloc/tst-mallocstate.c (main): Likewise.
10546         * malloc/tst-mtrace.c (main): Likewise.
10547         * malloc/tst-realloc.c (do_test): Likewise.
10548
10549 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10550
10551         [BZ #16366]
10552         * nscd/netgroupcache.c (do_notfound): New function.
10553         (addgetnetgrentX): Use it.
10554
10555         [BZ # 16365]
10556         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10557         NSS_STATUS_NOTFOUND.
10558
10559 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10560
10561         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10563
10564 2014-01-01  Allan McRae  <allan@archlinux.org>
10565
10566         * scripts/update-copyrights: Update configure input file suffix.
10567
10568         * NEWS: Update copyright year.
10569         * catgets/gencat.c: Likewise.
10570         * csu/version.c: Likewise.
10571         * debug/catchsegv.sh: Likewise.
10572         * debug/pcprofiledump.c: Likewise.
10573         * debug/xtrace.sh: Likewise.
10574         * elf/ldconfig.c: Likewise.
10575         * elf/ldd.bash.in: Likewise.
10576         * elf/pldd.c: Likewise.
10577         * elf/sotruss.ksh: Likewise.
10578         * elf/sprof.c: Likewise.
10579         * iconv/iconv_prog.c: Likewise.
10580         * iconv/iconvconfig.c: Likewise.
10581         * locale/programs/locale.c: Likewise.
10582         * locale/programs/localedef.c: Likewise.
10583         * login/programs/pt_chown.c: Likewise.
10584         * malloc/memusage.sh: Likewise.
10585         * malloc/memusagestat.c: Likewise.
10586         * malloc/mtrace.pl: Likewise.
10587         * manual/libc.texinfo: Likewise.
10588         * nscd/nscd.c: Likewise.
10589         * nss/getent.c: Likewise.
10590         * nss/makedb.c: Likewise.
10591         * posix/getconf.c: Likewise.
10592         * scripts/test-installation.pl: Likewise.
10593
10594         * All files with FSF copyright notices: Update copyright dates
10595         using scripts/update-copyrights.
10596         * intl/plural.c: Regenerated.
10597         * locale/programs/charmap-kw.h: Likewise.
10598         * locale/programs/locfile-kw.h: Likewise.
10599
10600 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10601
10602         * sysdeps/unix/sysv/linux/configure: Regenerated.
10603         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10604         the linux/fanotify.h header.
10605         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10606         HAVE_LINUX_FANOTIFY_H is defined.
10607
10608 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10609
10610         * benchtests/cos-inputs: New inputs.
10611         * benchtests/sin-inputs: Likewise.
10612
10613         * benchtests/atan-inputs: New inputs. Fix name of multiple
10614         precision fallback inputs.
10615
10616         * benchtests/atanh-inputs: New inputs.
10617         * benchtests/tanh-inputs: Likewise.
10618
10619         * benchtests/acosh-inputs: New inputs.
10620         * benchtests/asinh-inputs: Likewise.
10621
10622         * benchtests/cosh-inputs: New inputs.
10623         * benchtests/sinh-inputs: Likewise.
10624
10625         * benchtests/acos-inputs: Add more inputs.
10626         * benchtests/asin-inputs: Likewise.
10627
10628 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10629
10630         [BZ #16375]
10631         * manual/arith.texi: Fix spelling.
10632         * manual/charset.texi: Likewise.
10633         * manual/errno.texi: Likewise.
10634         * manual/filesys.texi: Likewise.
10635         * manual/lang.texi: Likewise.
10636         * manual/llio.texi: Likewise.
10637         * manual/locale.texi: Likewise.
10638         * manual/message.texi: Likewise.
10639         * manual/resource.texi: Likewise.
10640         * manual/search.texi: Likewise.
10641         * manual/setjmp.texi: Likewise.
10642         * manual/stdio.texi: Likewise.
10643         * manual/string.texi: Likewise.
10644         * manual/sysinfo.texi: Likewise.
10645         * manual/time.texi: Likewise.
10646
10647 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10648
10649         * po/sl.po: New file.
10650
10651 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10652
10653         * .gitignore: Add core/.gdbinit/.gdb_history.
10654
10655 2013-12-27  Allan McRae  <allan@archlinux.org>
10656
10657         [BZ #16369]
10658         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10659         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10660
10661 2013-12-24  Brooks Moses  <bmoses@google.com>
10662
10663         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10664         all compilers that claim C++98 compliance, not just GCC.
10665         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10666         Likewise.
10667
10668 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10669
10670         * NEWS: Restore accidentally deleted bug-fix entries.
10671
10672 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10673             Ondřej Bílka  <neleai@seznam.cz>
10674
10675         [BZ #15073]
10676         * malloc/malloc.c (_int_free): Perform sanity check only if we
10677         have_lock.
10678
10679 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10680
10681         [BZ #12986]
10682         * manual/stdio.texi (String Input Conversions): Clarify that character
10683         classes are not supported.
10684
10685 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10686
10687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10688
10689 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10690
10691         [BZ #16337]
10692         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10693         Calculate results for small negative arguments directly rather
10694         than using reflection formula with special underflow handling.
10695
10696         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10697         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10698         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10699         (fchflags): Likewise.
10700         (revoke): Likewise.
10701         (setlogin): Likewise.
10702         (sigaltstack): Likewise.
10703         (wait4): Likewise.
10704         (sigblock): Remove.
10705         (sigsetmask): Likewise.
10706         (wait3): Likewise.
10707         (waitpid): Likewise.
10708         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10709         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10710         file.
10711         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10712         * sysdeps/unix/bsd/Makefile: ... here.
10713         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10714         * sysdeps/unix/bsd/Versions: ... here.
10715         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10716         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10717         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10718         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10719         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10720         * sysdeps/unix/bsd/sigblock.c: ... here.
10721         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10722         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10723         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10724         * sysdeps/unix/bsd/sigvec.c: ... here.
10725         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10726         * sysdeps/unix/bsd/tcdrain.c: ... here.
10727         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10728         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10729         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10730         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10731         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10732         * sysdeps/unix/bsd/wait.c: ... here.
10733         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10734         * sysdeps/unix/bsd/wait3.c: ... here.
10735         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10736         * sysdeps/unix/bsd/waitpid.c: ... here.
10737
10738 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10739
10740         [BZ #16356]
10741         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10742         round-to-nearest for [!USE_AS_EXPM1L].
10743         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10744         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10745         more tests of exp and exp10.  Expect some exp10 tests to miss
10746         exceptions or fail in directed rounding modes.
10747         * math/auto-libm-test-out: Regenerated.
10748         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10749         (exp10_test_tonearest): New function.
10750         (exp10_towardzero_test_data): New array.
10751         (exp10_test_towardzero): New function.
10752         (exp10_downward_test_data): New array.
10753         (exp10_test_downward): New function.
10754         (exp10_upward_test_data): New array.
10755         (exp10_test_upward): New function.
10756         (main): Call the new functions.
10757         * sysdeps/i386/fpu/libm-test-ulps: Update.
10758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10759
10760 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10761
10762         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10763         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10764         * math/auto-libm-test-out: Regenerated.
10765         * math/libm-test.inc (acosh_test_data): Add more tests.
10766         (atanh_test_data): Likewise.
10767         (ceil_test_data): Likewise.
10768         (copysign_test_data): Likewise.
10769         * sysdeps/i386/fpu/libm-test-ulps: Update.
10770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10771
10772         * timezone/checktab.awk: Update from tzcode 2013i.
10773         * timezone/private.h: Likewise.
10774         * timezone/scheck.c: Likewise.
10775         * timezone/tzfile.h: Likewise.
10776         * timezone/tzselect.ksh: Likewise.
10777         * timezone/zdump.c: Likewise.
10778         * timezone/zic.c: Likewise.
10779
10780         * math/auto-libm-test-in: Add tests of cpow.
10781         * math/auto-libm-test-out: Regenerated.
10782         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10783         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10784         mpc_cc_c.
10785         (func_calc_desc): Add mpc_cc_c union field.
10786         (test_functions): Add cpow.
10787         (special_fill_2pi): New function.
10788         (special_real_inputs): Add 2pi.
10789         (calc_generic_results): Handle mpc_cc_c.
10790         * sysdeps/i386/fpu/libm-test-ulps: Update.
10791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10792
10793         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10794         csqrt, ctan and ctanh.
10795         * math/auto-libm-test-out: Regenerated.
10796         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10797         (TEST_COND_x86): Likewise.
10798         (ccos_test_data): Use AUTO_TESTS_c_c.
10799         (ccosh_test_data): Likewise.
10800         (cexp_test_data): Likewise.
10801         (clog_test_data): Likewise.
10802         (csqrt_test_data): Likewise.
10803         (ctan_test_data): Likewise.
10804         (ctan_tonearest_test_data): Likewise.
10805         (ctan_towardzero_test_data): Likewise.
10806         (ctan_downward_test_data): Likewise.
10807         (ctan_upward_test_data): Likewise.
10808         (ctanh_test_data): Likewise.
10809         (ctanh_tonearest_test_data): Likewise.
10810         (ctanh_towardzero_test_data): Likewise.
10811         (ctanh_downward_test_data): Likewise.
10812         (ctanh_upward_test_data): Likewise.
10813         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10814         mpc_c_c.
10815         (func_calc_desc): Add mpc_c_c union field.
10816         (FUNC_mpc_c_c): New macro.
10817         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10818         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10819         ctanh.
10820         (special_fill_min_subnorm_p120): New function.
10821         (special_real_inputs): Add min_subnorm_p120.
10822         (calc_generic_results): Handle mpc_c_c.
10823         * sysdeps/i386/fpu/libm-test-ulps: Update.
10824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10825
10826 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10827
10828         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10829         (do_sin_slow): New functions.
10830         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10831         (cslow2, csloww1, csloww2): Use the new functions.
10832
10833         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10834         Use M to change sign of result instead of X.  Assume X is
10835         positive.
10836         (csloww1): Likewise.
10837         (__sin): Adjust.
10838         (__cos): Adjust.
10839
10840         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10841         arguments A and DA.
10842         (__sin): Adjust.
10843         (__cos): Likewise.
10844
10845         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10846         (__cos): Likewise.
10847         (sloww1): Don't adjust sign of DX.
10848         (csloww1): Likewise.
10849         (sloww2): Use X directly and don't adjust sign of DX.
10850         (csloww2): Likewise.
10851
10852 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10853
10854         * math/auto-libm-test-in: Add tests of cabs and carg.
10855         * math/auto-libm-test-out: Regenerated.
10856         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10857         (carg_test_data): Likewise.
10858         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10859         mpc_c_f.
10860         (func_calc_desc): Add mpc_c_f union field.
10861         (test_functions): Add cabs and carg.
10862         (calc_generic_results): Handle mpc_c_f.
10863
10864         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10865         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10866         as a macro and a compat symbol.
10867         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10868         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10869         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10870         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10871         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10872         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10873         not use .hidden.
10874         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10875         Likewise.
10876         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10877         Likewise.
10878         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10879         Likewise.
10880         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10881         Likewise.
10882         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10883         Likewise.
10884         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10885         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10886         from GLIBC_2.3.2.
10887
10888 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10889
10890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10891
10892 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10893
10894         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10895         trailing whitespace removed.
10896         * scripts/config.guess: Update to version 2013-11-29.
10897         * scripts/config.sub: Update to version 2013-10-01.
10898
10899         * math/auto-libm-test-in: Add tests of sincos.
10900         * math/auto-libm-test-out: Regenerated.
10901         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10902         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10903         mpfr_f_11.
10904         (func_calc_desc): Add mpfr_f_11 union field.
10905         (test_functions): Add sincos.
10906         (calc_generic_results): Handle mpfr_f_11.
10907         * sysdeps/i386/fpu/libm-test-ulps: Update.
10908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10909
10910 2013-12-19  Andreas Schwab  <schwab@suse.de>
10911
10912         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10913         CALL_MCOUNT.
10914         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10915         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10916         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10917
10918 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10919
10920         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10921         * sysdeps/i386/fpu/libm-test-ulps: Update.
10922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10923
10924         [BZ #16293]
10925         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10926         round-to-nearest mode when using frndint.
10927         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10928         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10929         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10930         Likewise.
10931         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10932         sinh test to fail.
10933         * math/auto-libm-test-out: Regenerated.
10934         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10935         (TEST_COND_x86): Likewise.
10936         (expm1_tonearest_test_data): New array.
10937         (expm1_test_tonearest): New function.
10938         (expm1_towardzero_test_data): New array.
10939         (expm1_test_towardzero): New function.
10940         (expm1_downward_test_data): New array.
10941         (expm1_test_downward): New function.
10942         (expm1_upward_test_data): New array.
10943         (expm1_test_upward): New function.
10944         (main): Run the new test functions.
10945         * sysdeps/i386/fpu/libm-test-ulps: Update.
10946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10947
10948         * include/features.h: Update comment documenting feature test
10949         macros.  Mention _DEFAULT_SOURCE in comment.
10950         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10951         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10952         _BSD_SOURCE and _SVID_SOURCE.
10953         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10954         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10955         !_SVID_SOURCE]: Likewise.
10956         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10957         (__USE_POSIX_IMPLICITLY): Define.
10958         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10959         (_POSIX_SOURCE): Undefine and redefine.
10960         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10961         (_POSIX_C_SOURCE): Likewise.
10962         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10963         (Feature Test Macros): Update documentation of default features.
10964
10965 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10966
10967         * benchtests/Makefile: Add bench-strtok.
10968         * benchtests/bench-strtok.c: New file: strtok benchtest.
10969
10970 2013-12-19  Allan McRae  <allan@archlinux.org>
10971
10972         * manual/install.texi: Suppress menu for plain text output.
10973         * INSTALL: Regenerated.
10974
10975 2013-12-18  Brooks Moses  <bmoses@google.com>
10976
10977         [BZ #15846]
10978         * misc/getauxval.c: Include errno.h.
10979         (__getauxval): Set errno to ENOENT if the requested type is not
10980         found.
10981         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10982         don't declare with __attribute_const__.
10983         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10984         * manual/startup.texi: Document that getauxval sets errno.
10985
10986 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10987
10988         * math/auto-libm-test-in: Add tests of jn and yn.
10989         * math/auto-libm-test-out: Regenerated.
10990         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10991         (yn_test_data): Likewise.
10992         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10993         mpfr_if_f.
10994         (func_calc_desc): Add mpfr_if_f union field.
10995         (FUNC_mpfr_if_f): New macro.
10996         (test_functions): Add jn and yn.
10997         (calc_generic_results): Assert type of second input for
10998         mpfr_ff_f.  Handle mpfr_if_f.
10999         (output_for_one_input_case): Disable all checking for arguments
11000         fitting floating-point types in case of an integer argument.
11001         * sysdeps/i386/fpu/libm-test-ulps: Update.
11002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11003
11004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11005         Don't expect fegetround reference in libm.so.
11006
11007 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11008
11009         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11010         $(config-cflags-nofma).
11011
11012 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
11013
11014         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11015         * math/auto-libm-test-out: Regenerated.
11016
11017         [BZ #16338]
11018         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11019         to determine exponent and adjust argument to have exponent of -1.
11020         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11021         log2.
11022         * math/auto-libm-test-out: Regenerated.
11023         * sysdeps/i386/fpu/libm-test-ulps: Update.
11024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11025
11026 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
11027
11028         * manual/probes.texi: Remove cases when per-thread arenas are
11029         disabled.
11030
11031 2013-12-18  Andreas Schwab  <schwab@suse.de>
11032
11033         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11034         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11035         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11036         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11037         * sysdeps/i386/i686/multiarch/Makefile: Update.
11038         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11039
11040 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11041
11042         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11043         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11044
11045 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
11046
11047         [BZ #15968]
11048         Support TZ transition times < 00:00:00.
11049         This is needed for version-3 tz-format files; it supports time
11050         stamps past 2037 for America/Godthab (the only entry in the tz
11051         database for which this change is relevant).
11052         * manual/time.texi (TZ Variable): Document transition times
11053         from -167:59:59 through -00:00:01.
11054         * time/tzset.c (tz_rule): Time of day is now signed.
11055         (__tzset_parse_tz): Parse negative time of day.
11056
11057         Document TZ transition times >= 25:00:00.
11058         * manual/time.texi (TZ Variable): Document transition times from
11059         25:00:00 through 167:59:59.  These are already supported, and this
11060         support will help with version-3 tz-format files.
11061
11062         * manual/time.texi (TZ Variable): Modernize North America example
11063         to reflect current (i.e., 2007-and-later) daylight saving rules.
11064
11065         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11066
11067 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11068
11069         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11070         * sysdeps/unix/bsd/bits/stat.h: Likewise.
11071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11072         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11073         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11074         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11075         * sysdeps/unix/bsd/clock.c: Likewise.
11076         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11077         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11078         * sysdeps/unix/bsd/init-posix.c: Likewise.
11079         * sysdeps/unix/bsd/poll.c: Likewise.
11080         * sysdeps/unix/bsd/ptsname.c: Likewise.
11081         * sysdeps/unix/bsd/seekdir.c: Likewise.
11082         * sysdeps/unix/bsd/setegid.c: Likewise.
11083         * sysdeps/unix/bsd/seteuid.c: Likewise.
11084         * sysdeps/unix/bsd/setgid.c: Likewise.
11085         * sysdeps/unix/bsd/setrgid.c: Likewise.
11086         * sysdeps/unix/bsd/setruid.c: Likewise.
11087         * sysdeps/unix/bsd/setsid.c: Likewise.
11088         * sysdeps/unix/bsd/setuid.c: Likewise.
11089         * sysdeps/unix/bsd/sigaction.c: Likewise.
11090         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11091         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11092         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11093         * sysdeps/unix/bsd/telldir.c: Likewise.
11094         * sysdeps/unix/bsd/times.c: Likewise.
11095         * sysdeps/unix/bsd/usleep.c: Likewise.
11096
11097         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11098         ($(objpfx)libbsd-compat.a): Remove rule.
11099
11100         * include/features.h (__FAVOR_BSD): Do not define.
11101         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11102         features conflicting with POSIX.
11103         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11104         (_BSD_SOURCE): Remove description of not being a subset of other
11105         feature test macros.
11106         * manual/job.texi (getpgrp): Do not document BSD version.
11107         (getpgid): Do not document by reference to BSD getpgrp.
11108         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11109         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11110         * signal/signal.h [__FAVOR_BSD]: Likewise.
11111         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11112         instead of making contents conditional on [__FAVOR_BSD].
11113         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11114
11115 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11116
11117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11118
11119 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11120
11121         [BZ #16314]
11122         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11123         values below 2**-450, not 2**-500.
11124         * math/auto-libm-test-in: Don't allow spurious underflow from
11125         hypot.
11126         * math/auto-libm-test-out: Regenerated.
11127
11128         [BZ #16316]
11129         [BZ #16330]
11130         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11131         values of ha and hb and sort them after adjusting subnormal
11132         arguments.
11133         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11134         Likewise.
11135         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11136         values of ea and eb and sort them after adjusting subnormal
11137         arguments.
11138         * math/auto-libm-test-in: Do not expect some hypot tests of
11139         subnormals to fail.  Add more hypot tests.
11140         * math/auto-libm-test-out: Regenerated.
11141
11142 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11143
11144         [BZ #13304]
11145         * sysdeps/sh/s_fma.c: New file.
11146         * sysdeps/sh/s_fmaf.c: New file.
11147         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11148         version.
11149         * sysdeps/sh/Implies: Add sh/soft-fp.
11150
11151 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11152
11153         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11154         level of indirection to members `objname', `errstring', `malloced'.
11155         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11156         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11157         it as the __longjmp argument (just pass 1 instead).
11158         (_dl_catch_error): Initialize C with argument pointers and address of
11159         volatile local ERRCODE rather than copying values out of C at return.
11160
11161 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11162
11163         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11164         * math/auto-libm-test-out: Regenerated.
11165         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11166         (hypot_test_data): Likewise.
11167         (pow_test_data): Likewise.
11168         (pow_tonearest_test_data): Likewise.
11169         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11170         mpfr_ff_f.
11171         (func_calc_desc): Add mpfr_ff_f union field.
11172         (FUNC_mpfr_ff_f): New macro.
11173         (test_functions): Add atan2, hypot and pow.
11174         (special_fill_min): New function.
11175         (special_fill_minus_min): Likewise.
11176         (special_fill_min_subnorm): Likewise.
11177         (special_fill_minus_min_subnorm): Likewise.
11178         (special_real_inputs): Add min, -min, min_subnorm and
11179         -min_subnorm.
11180         (calc_generic_results): Handle mpfr_ff_f.
11181         * sysdeps/i386/fpu/libm-test-ulps: Update.
11182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11183
11184 2013-12-16  Will Newton  <will.newton@linaro.org>
11185
11186         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11187         (Aligned Memory Blocks): Add documentation for aligned_alloc
11188         and suggest it as an alternative to posix_memalign.
11189         (Hooks for Malloc): Document __memalign_hook is also called
11190         for aligned_alloc.  (Summary of Malloc): Add summary for
11191         aligned alloc.  Document __memalign_hook is also called
11192         for aligned_alloc.
11193
11194 2013-12-16  Will Newton  <will.newton@linaro.org>
11195
11196         * manual/memory.texi (Malloc Examples): Clarify default
11197         alignment documentation.  Suggest posix_memalign rather
11198         than memalign or valloc.
11199         (Aligned Memory Blocks): Remove suggestion to use memalign
11200         or valloc.  Remove obsolete comment about BSD.
11201         Document memalign errno values and mark the function obsolete.
11202         Document posix_memalign returned error codes.  Mark valloc
11203         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11204         called for posix_memalign and valloc.
11205         (Summary of Malloc): Add posix_memalign to function summary.
11206         __memalign_hook is also called for posix_memalign and valloc.
11207
11208 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11209
11210         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11211         TAYLOR_SIN.
11212         (__sin): Adjust.
11213         (__cos): Likewise.
11214         (sloww): Use mynumber union.  Expand ternary operator into
11215         if-else statements.
11216         (cslow): use mynumber union.
11217
11218 2013-12-16  Allan McRae  <allan@archlinux.org>
11219
11220         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11221         * configure: Regenerated.
11222
11223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11224
11225         [BZ #14120]
11226         * configure.ac: Added --enable-maintainer-mode. Check for
11227         autoconf when enabled.
11228         * configure: Regenerated.
11229
11230         * nscd/nscd.service: New file.
11231         * nscd/nscd.tmpfiles: New file.
11232
11233 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11234
11235         [BZ #12100]
11236         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11237         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11238         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11239         (strstr): Add __strstr_sse2_unaligned ifunc.
11240         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11241         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11242         (strcasestr): Remove __strcasestr_sse42 ifunc.
11243         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11246
11247 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11248
11249         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11250         * sysdeps/sh/bits/fenv.h: ... here.
11251         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11252
11253 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11254
11255         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11256
11257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11258         hypotf multiarch implementations.
11259         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11260         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11261         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11262         multiarch hypot for PPC64.
11263         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11264         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11265         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11266         multiarch hypotf for PPC64.
11267
11268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11269         modff multiarch implementations.
11270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11273         multiarch modf for PPC64.
11274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11277         multiarch modff for PPC64.
11278
11279         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11280         and logl multiarch implementations.
11281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11284         multiarch logb for PPC64.
11285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11288         multiarch logb for PPC64.
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11292         multiarch logb for PPC64.
11293
11294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11295         isinff multiarch implementation.
11296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11297         file.
11298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11300         multiarch isinf for PPC64.
11301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11302         file.
11303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11304         multiarch isinff for PPC64.
11305
11306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11307         finitef multiarch implementation.
11308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11309         file.
11310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11312         multiarch finite for PPC64.
11313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11314         file.
11315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11316         multiarch finitef for PPC64.
11317
11318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11319         lrint multiarch implementation.
11320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11321         file.
11322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11324         multiarch llrint for PPC64.
11325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11326         multiarch lrint for PPC64.
11327
11328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11329         copysignf multiarch implementation.
11330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11331         file.
11332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11333         file.
11334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11335         multiarch copysign for PPC64.
11336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11337         multiarch copysignf for PPC64.
11338
11339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11340         multiarch implementation.
11341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11342         file.
11343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11344         file.
11345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11346         file.
11347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11348         file.
11349         multiarch llround for PPC64.
11350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11351         multiarch trunc for PPC64.
11352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11353         multiarch truncf for PPC64.
11354
11355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11356         multiarch implementation.
11357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11358         file.
11359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11360         file.
11361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11362         file.
11363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11364         file.
11365         multiarch llround for PPC64.
11366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11367         multiarch round for PPC64.
11368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11369         multiarch roundf for PPC64.
11370
11371         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11372         multiarch implementation.
11373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11374         file.
11375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11376         file.
11377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11378         file.
11379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11380         file.
11381         multiarch llround for PPC64.
11382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11383         multiarch floor for PPC64.
11384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11385         multiarch floorf for PPC64.
11386
11387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11388         multiarch implementation.
11389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11390         file.
11391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11392         file.
11393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11394         file.
11395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11396         file.
11397         multiarch llround for PPC64.
11398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11399         multiarch ceil for PPC64.
11400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11401         multiarch ceilf for PPC64.
11402
11403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11404         multiarch implementation.
11405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11406         file.
11407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11408         file.
11409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11410         file.
11411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11412         multiarch llround for PPC64.
11413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11414         multiarch lround for PPC64.
11415
11416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11417         multiarch implementation.
11418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11421         file.
11422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11425         multiarch isnan for PPC64.
11426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11427         multiarch isnanf for PPC64.
11428
11429         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11430         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11431         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11432         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11433         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11435
11436         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11437         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11438         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11439         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11440
11441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11442         multiarch implementations.
11443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11444         (__libc_ifunc_impl_list): Likewise.
11445         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11446         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11447         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11448         multiarch stpcpy for PPC64.
11449
11450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11451         multiarch implementations.
11452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11453         (__libc_ifunc_impl_list): Likewise.
11454         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11455         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11456         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11457         multiarch strcpy for PPC64.
11458
11459         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11460         redefine function name.
11461         (_wordcopy_fwd_dest_aligned): Likewise.
11462         (_wordcopy_bwd_aligned): Likewise.
11463         (_wordcopy_bwd_dest_aligned): Likewise.
11464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11465         multiarch implementations.
11466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11467         (__libc_ifunc_impl_list): Likewise.
11468         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11469         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11470         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11471         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11472         multiarch wcscpy for PPC64.
11473
11474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11475         multiarch implementations.
11476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11477         (__libc_ifunc_impl_list): Likewise.
11478         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11479         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11480         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11481         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11482         multiarch wcscpy for PPC64.
11483
11484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11485         multiarch implementations.
11486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11487         (__libc_ifunc_impl_list): Likewise.
11488         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11489         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11490         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11491         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11492         multiarch wcsrchr for PPC64.
11493
11494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11495         multiarch implementations.
11496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11497         (__libc_ifunc_impl_list): Likewise.
11498         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11499         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11500         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11501         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11502         multiarch wcschr for PPC64.
11503
11504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11505         multiarch implementations.
11506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11507         (__libc_ifunc_impl_list): Likewise.
11508         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11509         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11510         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11511         multiarch strchrnul for PPC64.
11512
11513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11514         implementations.
11515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11516         (__libc_ifunc_impl_list): Likewise.
11517         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11518         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11519         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11520         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11521         strchr for PPC64.
11522
11523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11524         implementations.
11525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11526         (__libc_ifunc_impl_list): Likewise.
11527         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11528         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11529         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11530         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11531         strncmp for PPC64.
11532
11533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11534         multiarch implementations.
11535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11536         (__libc_ifunc_impl_list): Likewise.
11537         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11538         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11539         strncasecmp for PPC64.
11540         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11541         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11542         multiarch strncasecmp_l for PPC64.
11543
11544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11545         multiarch implementations.
11546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11547         (__libc_ifunc_impl_list): Likewise.
11548         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11549         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11550         multiarch strcasecmp for PPC64.
11551         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11552         file.
11553         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11554         multiarch strcasecmp_l for PPC64.
11555
11556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11557         implementations.
11558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11559         (__libc_ifunc_impl_list): Likewise.
11560         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11561         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11562         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11563         strnlen for PPC64.
11564
11565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11566         implementations.
11567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11568         (__libc_ifunc_impl_list): Likewise.
11569         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11570         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11571         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11572         strlen for PPC64.
11573
11574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11575         implementations.
11576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11577         (__libc_ifunc_impl_list): Likewise.
11578         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11579         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11580         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11581         rawmemrchr for PPC64.
11582
11583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11584         implementation.
11585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11586         (__libc_ifunc_impl_list): Likewise.
11587         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11588         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11589         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11590         memrchr for PPC64.
11591
11592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11593         implementation.
11594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11595         (__libc_ifunc_impl_list): Likewise.
11596         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11597         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11598         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11599         memchr for PPC64.
11600
11601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11602         implementation.
11603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11604         (__libc_ifunc_impl_list): Likewise.
11605         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11606         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11607         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11608         mempcpy for PPC64.
11609
11610         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11611         avoid cretion of __bzero symbol.
11612         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11613         Likewise.
11614         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11615         Likewise.
11616         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11617         Likewise.
11618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11619         multiarch implementations.
11620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11621         (__libc_ifunc_impl_list): Likewise.
11622         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11623         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11624         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11625         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11626         bzero for PPC32.
11627         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11628         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11629         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11630         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11631         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11632         memset for PPC64.
11633         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11634
11635         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11637         implementations.
11638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11639         (__libc_ifunc_impl_list): Likewise.
11640         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11641         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11642         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11643         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11644         memcmp for PPC64.
11645
11646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11647         multiarch for POWER/PPC64.
11648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11649         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11650         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11651         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11652         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11653         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11654         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11655         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11656         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11657         memcpy for PPC64.
11658
11659         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11660         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11661         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11662         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11663         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11664         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11665         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11666         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11667         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11668         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11669         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11670         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11671         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11672         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11673         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11681
11682 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11683
11684         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11685
11686 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11687
11688         * benchtests/Makefile (bench): Add exp2 and log2.
11689         (LDLIBS-bench-exp2): Add -lm.
11690         (LDLIBS-bench-log2): Likewise.
11691         * benchtests/exp2-inputs: New inputs file.
11692         * benchtests/log2-inputs: New inputs file.
11693         * benchtests/log-inputs: Add new inputs.
11694         * benchtests/tan-inputs: Likewise.
11695
11696 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11697
11698         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11699         definition...
11700         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11701         (csloww2): ... from here.
11702
11703         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11704         instead of structures.
11705         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11706         (POLYNOMIAL): Likewise.
11707         (TAYLOR_SLOW): Likewise.
11708         (__sin): Likewise.
11709         (__cos): Likewise.
11710         (slow1): Likewise.
11711         (slow2): Likewise.
11712         (sloww): Likewise.
11713         (sloww1); Likewise.
11714         (sloww2): Likewise.
11715         (bsloww1): Likewise.
11716         (bsloww2): Likewise.
11717         (cslow2): Likewise.
11718         (csloww): Likewise.
11719         (csloww1): Likewise.
11720         (csloww2): Likewise.
11721
11722 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11723
11724         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11725         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11726         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11727         * malloc/hooks.c (realloc_check): Likewise.
11728
11729         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11730         * malloc/arena.c: Remove PER_THREAD conditional.
11731         [!PER_THREAD]: Remove code.
11732         (ptmalloc_unlock_all2): Likewise.
11733         (ptmalloc_init): Likewise.
11734         (_int_new_arena): Likewise.
11735         (arena_get2): Likewise.
11736         * malloc/hooks.c (__malloc_get_state): Likewise.
11737         (__malloc_set_state): Likewise.
11738         * malloc/malloc.c: Likewise.
11739         (struct malloc_state): Likewise.
11740         (struct malloc_par): Likewise.
11741         (__libc_realloc): Likewise.
11742         (__libc_mallopt): Likewise.
11743
11744 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11745
11746         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11747
11748 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11749
11750         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11751         macro to a function.  Check for zero perturb_byte.
11752         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11753
11754         * malloc/malloc.c: (force_reg): Remove.
11755         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11756         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11757         force_reg by atomic_forced_read.
11758         * malloc/arena.c (ptmalloc_init): Likewise.
11759         * malloc/hooks.c (top_check): Likewise.
11760
11761 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11762
11763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11764
11765 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11766
11767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11768
11769 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11770
11771         * math/auto-libm-test-in: Add tests of lgamma.
11772         * math/auto-libm-test-out: Regenerated.
11773         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11774         (M_LOG_2_SQRT_PIl): Likewise.
11775         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11776         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11777         mpfr_f_f1.
11778         (func_calc_desc): Add mpfr_f_f1 union field.
11779         (ARGS1): New macro.
11780         (ARGS2): Likewise.
11781         (ARGS3): Likewise.
11782         (ARGS4): Likewise.
11783         (RET1): Likewise.
11784         (RET2): Likewise.
11785         (CALC): Likewise.
11786         (FUNC): Likewise.
11787         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11788         (test_functions): Add lgamma.
11789         (calc_generic_results): Handle mpfr_f_f1.
11790         * sysdeps/i386/fpu/libm-test-ulps: Update.
11791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11792
11793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11794
11795         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11796         __mpn_add_n for PowerPC64/POWER7.
11797         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11798         __mpn_sub_n for PowerPC64/POWER7.
11799
11800         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11801         __mpn_addmul_1 for PowerPC64.
11802         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11803         __mpn_submul_1 for PowerPC64.
11804         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11805         for PowerPC64.
11806         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11807         for PowerPC64.
11808
11809 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11810
11811         [BZ #15089]
11812         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11813
11814 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11815
11816         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11817
11818         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11819         add multiarch folders.
11820         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11821         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11822         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11823         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11824         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11825         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11826         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11827         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11828         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11829         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11830         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11837
11838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11839         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11841         New file.
11842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11843         New file.
11844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11845         multiarch __ieee754_hypot for PowerPC32.
11846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11847         New file.
11848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11849         New file.
11850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11851         multiarch __ieee754_hypotf for PowerPC32.
11852
11853         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11854         long_double_symbol only if __logbl is defined.
11855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11856         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11858         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11859         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11860         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11861         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11862         path for implementation.
11863         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11864         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11866         logb, and logbl multiarch implementations for PowerPC32.
11867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11868         file.
11869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11870         file.
11871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11872         multiarch logb for PowerPC32.
11873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11874         file.
11875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11876         file.
11877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11878         multiarch logbf for PowerPC32.
11879         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11881         file.
11882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11883         multiarch logbl implementation for PowerPC32.
11884
11885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11886         and modff multiarch implementations.
11887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11888         New file.
11889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11890         New file.
11891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11892         multiarch modf for PowerPC32.
11893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11894         New file.
11895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11896         New file.
11897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11898         multiarch modff for PowerPC32.
11899
11900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11901         and lrintf multiarch implementations.
11902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11903         New file.
11904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11905         New file.
11906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11907         multiarch lrint for PowerPC32.
11908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11909         file: multiarch lrintf for PowerPC32.
11910
11911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11912         and lroundf multiarch implementations.
11913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11914         New file.
11915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11916         New file.
11917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11918         New file.
11919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11920         multiarch lround for PowerPC32.
11921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11922         file: multiarch lroundf for PowerPC32.
11923
11924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11925         copysign and copysignf multiarch implementations.
11926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11927         New file.
11928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11929         New file.
11930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11931         file: multiarch copysign for PowerPC32.
11932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11933         file: multiarch copysignf for PowerPC32.
11934
11935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11936         and truncf multiarch implementations.
11937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11938         New file.
11939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11940         file.
11941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11942         multiarch trunc for PowerPC32.
11943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11944         New file.
11945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11946         New file.
11947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11948         multiarch truncf for PowerPC32.
11949
11950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11951         and roundf multiarch implementations.
11952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11953         New file.
11954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11955         file.
11956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11957         multiarch round for PowerPC32.
11958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11959         New file.
11960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11961         New file.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11963         multiarch roundf for PowerPC32.
11964
11965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11966         and floorf multiarch implementations.
11967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11968         New file.
11969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11970         file.
11971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11972         multiarch floor for PowerPC32.
11973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11974         New file.
11975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11976         New file.
11977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11978         multiarch floorf for PowerPC32.
11979
11980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11981         and ceilf multiarch implementations.
11982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11983         New file.
11984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11985         file.
11986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11987         multiarch ceil for PowerPC32.
11988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11989         New file.
11990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11991         file.
11992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11993         multiarch ceilf for PowerPC32.
11994
11995         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11996         is defined.
11997         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11998         FINITEF is defined.
11999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12000         and finitef multiarch implementations.
12001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12002         New file.
12003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12004         file.
12005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12006         multiarch finite for PowerPC32.
12007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12008         New file.
12009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12010         file: multiarch finitef for PowerPC32.
12011
12012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12013         and isinff multiarch implementations.
12014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12015         file.
12016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12017         file.
12018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12019         multiarch isinf for PowerPC32.
12020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12021         New file.
12022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12023         multiarch isinff for PowerPC32.
12024
12025         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12026         alias when __isnan is defined.
12027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12028         and isnanf multiarch implementations.
12029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12030         file.
12031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12032         file.
12033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12034         file.
12035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12036         file.
12037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12038         multiarch isnan for PowerPC32.
12039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12040         New file.
12041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12042         New file.
12043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12044         multiarch isnanf for PowerPC32.
12045
12046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12047         and sqrtf multiarch implementations.
12048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12049         file.
12050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12051         file.
12052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12053         multiarch sqrt for PowerPC32.
12054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12055         file.
12056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12057         file.
12058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12059         multiarch sqrtf for PowerPC32.
12060
12061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12062         and llroundf multiarch implementations.
12063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12064         New file.
12065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12066         New file.
12067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12068         New file.
12069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12070         file: multiarch llround for PowerPC32.
12071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12072         file: multiarch llroundf for PowerPC32.
12073
12074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12075         multiarch PowerPC32 fpu implementations.
12076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12077         New file.
12078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12079         New file.
12080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12081         multiarch llrint for PowerPC32.
12082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12083         New file.
12084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12085         New file.
12086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12087         file.
12088
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12090
12091         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12092         file.
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12094         file.
12095         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12096         file.
12097         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12098         multiarch wordcopy for PPC32.
12099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12100         wordcopy objects.
12101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12102         (__libc_ifunc_impl_list): Likewise.
12103         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12104         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12105         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12106         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12107         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12108         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12109
12110         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12112         file.
12113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12114         file.
12115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12116         file.
12117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12118         multiarch wcscpy for PPC32.
12119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12120         multiarch objects.
12121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12122         (__libc_ifunc_impl_list): Likewise.
12123         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12124         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12125         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12126         sysdeps/powerpc/power6/wcscpy.c.
12127
12128         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12130         file.
12131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12132         file.
12133         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12134         file.
12135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12136         multiarch wcsrchr for PPC32.
12137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12138         multiarch objects.
12139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12140         (__libc_ifunc_impl_list): Likewise.
12141         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12142         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12143         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12144         sysdeps/powerpc/power6/wcsrchr.c.
12145
12146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12147         file.
12148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12149         file.
12150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12152         multiarch wcschr for PPc32.
12153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12154         multiarch objects.
12155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12156         (__libc_ifunc_impl_list): Likewise.
12157         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12158         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12159         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12160         sysdeps/powerpc/power6/wcschr.c.
12161
12162         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12163         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12164         file.
12165         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12166         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12167         file: multiarch strchr for PPC32.
12168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12169         multiarch objects.
12170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12171         (__libc_ifunc_impl_list): Likewise.
12172
12173         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12174         name.
12175         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12176         file.
12177         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12178         file.
12179         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12180         multiarch strchrnul for PPC32.
12181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12182         multiarch objects.
12183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12184         (__libc_ifunc_impl_list): Likewise.
12185
12186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12187         file.
12188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12189         multiarch strncasecmp for PPC32.
12190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12191         file.
12192         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12193         multiarch strncasecmp_l for PPC32.
12194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12195         strncasecmp multiarch objects.
12196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12197         (__libc_ifunc_impl_list): Likewise.
12198
12199         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12200         file.
12201         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12202         multiarch strncasecmp for PPC32.
12203         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12204         New file.
12205         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12206         multiarch strcasecmp_l for PPC32.
12207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12208         multiarch objects.
12209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12210         (__libc_ifunc_impl_list): Likewise.
12211
12212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12213         file.
12214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12215         file.
12216         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12217         multiarch strncmp for PPC32.
12218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12219         multiarch objects.
12220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12221         (__libc_ifunc_impl_list): Likewise.
12222
12223         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12224         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12225         file.
12226         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12227         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12229         multiarch objects.
12230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12231         (__libc_ifunc_impl_list): Likewise.
12232
12233         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12234         file.
12235         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12236         file.
12237         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12239         multiarch objects.
12240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12241         (__libc_ifunc_impl_list): Likewise.
12242
12243         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12244         file.
12245         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12246         file.
12247         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12248         multiarch rawmemchr for PPC32.
12249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12250         multiarch objects.
12251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12252         (__libc_ifunc_impl_list): Likewise.
12253
12254         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12255         file.
12256         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12257         file.
12258         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12259         file: memrchr multiarch for PPC32.
12260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12261         multiarch objects.
12262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12263         (__libc_ifunc_impl_list): Likewise.
12264
12265         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12266         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12267         file.
12268         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12269         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12270         multiarch memchr for PPC32.
12271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12272         multiarch objects.
12273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12274         (__libc_ifunc_impl_list): Likewise.
12275
12276         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12277         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12278         file.
12279         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12280         file.
12281         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12282         file: multiarch mempcpy for PPC32.
12283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12284         multiarch objects.
12285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12286         (__libc_ifunc_impl_list): Likewise.
12287
12288         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12289         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12290         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12291         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12292         multiarch bzero for PPC32.
12293         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12294         file.
12295         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12296         file.
12297         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12298         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12299         file: multiarch memset for PPC32.
12300         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12302         memset multiarch objects.
12303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12304         (__libc_ifunc_impl_list): Likewise.
12305
12306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12307         file.
12308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12309         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12310         memcmp for PPC32.
12311         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12313         multiarch objects.
12314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12315         (__libc_ifunc_impl_list): Likewise.
12316
12317         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12320         file.
12321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12322         file.
12323         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12324         file.
12325         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12326         multiarch memcpy for PPC32.
12327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12328         multiarch objects.
12329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12330         (__libc_ifunc_impl_list): Likewise.
12331
12332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12333         support multiarch for POWER/PPC32.
12334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12335         Likewise.
12336         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12338         Implies file to make multiarch folder appers before the fpu and
12339         default folder for power4 configuration.
12340
12341 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12342
12343         * scripts/bench.pl: Append volatile keyword to type.
12344
12345 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12346
12347         * sysdeps/sh/sotruss-lib.c: New file.
12348         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12349
12350 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12351
12352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12353
12354 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12355
12356         [BZ #6810]
12357         * math/w_tgamma.c: Include <errno.h>.
12358         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12359         * math/w_tgammaf.c: Include <errno.h>.
12360         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12361         * math/w_tgammal.c: Include <errno.h>.
12362         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12363         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12364         underflow.  Add more tgamma tests.
12365         * math/auto-libm-test-out: Regenerated.
12366         * sysdeps/i386/fpu/libm-test-ulps: Update.
12367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12368
12369         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12370         sin, sinh, tan, tanh, tgamma, y0 and y1.
12371         * math/auto-libm-test-out: Regenerated.
12372         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12373         (TEST_COND_x86): Likewise.
12374         (M_E2l): Remove macro.
12375         (M_E3l): Likewise.
12376         (M_2_SQRT_PIl): Likewise.
12377         (M_SQRT_PIl): Likewise.
12378         (M_1_DIV_El): Likewise.
12379         (log_test_data): Use AUTO_TESTS_f_f.
12380         (log10_test_data): Likewise.
12381         (log1p_test_data): Likewise.
12382         (log2_test_data): Likewise.
12383         (sin_test_data): Likewise.
12384         (sin_tonearest_test_data): Likewise.
12385         (sin_towardzero_test_data): Likewise.
12386         (sin_downward_test_data): Likewise.
12387         (sin_upward_test_data): Likewise.
12388         (sinh_test_data): Likewise.
12389         (sinh_tonearest_test_data): Likewise.
12390         (sinh_towardzero_test_data): Likewise.
12391         (sinh_downward_test_data): Likewise.
12392         (sinh_upward_test_data): Likewise.
12393         (tan_test_data): Likewise.
12394         (tan_tonearest_test_data): Likewise.
12395         (tan_towardzero_test_data): Likewise.
12396         (tan_downward_test_data): Likewise.
12397         (tan_upward_test_data): Likewise.
12398         (tanh_test_data): Likewise.
12399         (tgamma_test_data): Likewise.
12400         (y0_test_data): Likewise.
12401         (y1_test_data): Likewise.
12402         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12403         (special_real_inputs): Add pi/4.
12404         * sysdeps/i386/fpu/libm-test-ulps: Update.
12405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12406
12407 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12408
12409         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12410         "longjmp_target" static probes.
12411         (__longjmp): Rename to __longjmp_symbol.
12412         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12413         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12414         on which longjmp to generate.
12415         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12416         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12417         probe.
12418         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12419         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12420         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12421         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12422         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12423         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12425         __longjmp_symbol based on which __longjmp to generate.
12426         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12427         probe.
12428         (setjmp): Rename to setjmp_symbol.
12429         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12430         (_setjmp): Rename to _setjmp_symbol.
12431         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12432         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12433         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12434         which setjmp to generate.
12435         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12436         "longjmp_target" static probes.
12437
12438 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12439
12440         * benchtests/README: Add note about output arguments.
12441         * benchtests/bench-sincos.c: Remove file.
12442         * benchtests/sincos-inputs: New file.
12443         * scripts/bench.pl: Identify output arguments and define
12444         static variables for them.
12445
12446         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12447
12448         [BZ #15941]
12449         * Makefile (INSTALL): Add install-plain.texi as the primary
12450         dependency.
12451         * manual/install-plain.texi: New file.
12452         * manual/install.texi: Include node directive only for
12453         non-plaintext output.
12454
12455 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12456
12457         * stdlib/longlong.h: Update from GCC.
12458
12459         [BZ #6807]
12460         [BZ #15901]
12461         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12462         * math/w_j0f.c (y0f): Likewise.
12463         * math/w_j0l.c (__y0l): Likewise.
12464         * math/w_j1.c (y1): Likewise.
12465         * math/w_j1f.c (y1f): Likewise.
12466         * math/w_j1l.c (__y1l): Likewise
12467         * math/w_jn.c (yn): Likewise.
12468         * math/w_jnf.c (ynf): Likewise.
12469         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12470         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12471         value for Bessel function domain errors outside _SVID_ mode.
12472         Adjust sign of return value for yn (negative integer, 0).
12473         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12474         by zero in return for negative x and set sign appropriately for
12475         negative n.
12476         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12477         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12478         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12479         expectations in error cases.
12480         (y1_test_data): Likewise.
12481         (yn_test_data): Likewise.
12482         * sysdeps/i386/fpu/libm-test-ulps: Update.
12483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12484
12485 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12486
12487         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12488         "64" to "64-v1".  Add "64-v2".
12489         (abi-64-options): Rename to ...
12490         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12491         (abi-64-condition): Rename to ...
12492         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12493         (abi-64-ld-soname): Rename to ...
12494         (abi-64-v1-ld-soname): ... this.
12495         (abi-64-v2-options): Define.
12496         (abi-64-v2-condition): Likewise.
12497         (abi-64-v2-ld-soname): Likewise.
12498         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12499         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12503
12504 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12505             Alan Modra  <amodra@gmail.com>
12506
12507         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12508         New versions for use with the ELFv2 ABI.
12509         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12510         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12511         declaration.
12512         (struct La_ppc64v2_retval): Likewise.
12513         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12514         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12515         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12516         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12517         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12518         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12519         Do not save or restore CR.
12520         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12521         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12522         return values for ELFv2 ABI.  Fix location of FPR return registers.
12523         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12524         updated values for _CALL_ELF == 2.
12525         (La_regs, La_retval, int_retval): Likewise.
12526
12527 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12528
12529         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12530         (FRAME_MIN_SIZE_PARM): Likewise.
12531         (FRAME_BACKCHAIN): Likewise.
12532         (FRAME_CR_SAVE): Likewise.
12533         (FRAME_LR_SAVE): Likewise.
12534         (FRAME_TOC_SAVE): Likewise.
12535         (FRAME_PARM_SAVE): Likewise.
12536         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12537         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12538         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12539         (call_mcount_parm_offset): New macro.
12540         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12541         (PROF): Use symbolic stack frame offsets.
12542         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12543         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12544         Redefine in terms of FRAME_MIN_SIZE.
12545         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12546         (_dl_profile_resolve): Likewise.  Update comment.
12547         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12548         symbols stack frame offsets.
12549         (__sigsetjmp): Likewise.
12550         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12551         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12552         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12553         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12554
12555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12556         (FRAME_BACKCHAIN): Remove.
12557         (FRAME_CR_SAVE): Likewise.
12558         (FRAME_LR_SAVE): Likewise.
12559         (FRAME_COMPILER_DW): Likewise.
12560         (FRAME_LINKER_DW): Likewise.
12561         (FRAME_TOC_SAVE): Likewise.
12562         (FRAME_PARM_SAVE): Likewise.
12563         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12564         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12565         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12567         (CHECK_SP): Use symbolic stack frame offsets.
12568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12569         zone" instead of caller's parameter save area for temp storage.
12570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12571         Likewise.  Also, use symbolic stack frame offsets.
12572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12573         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12574         our own stack frame instead of the caller's.
12575         (__socket): Use symbolic stack frame offsets.
12576
12577 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12578             Alan Modra  <amodra@gmail.com>
12579
12580         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12581         Define.
12582         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12583         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12584         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12585         New function.
12586         (elf_machine_fixup_plt): Call it.
12587         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12588         reloc arguments.
12589         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12590         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12591         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12592         r2 before calling target.
12593
12594 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12595             Alan Modra  <amodra@gmail.com>
12596
12597         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12598         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12599         versions of macros to support ELFv2 ABI.
12600         (LOCALENTRY): New macro.
12601         (ENTRY, EALIGN): Use it.
12602         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12603         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12604         fall through into ENTRY entry point.
12605         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12606         Only define if _CALL_ELF != 2.
12607
12608         (elf_machine_matches_host): Verify ABI version matches.
12609         (RTLD_START): Use LOCALENTRY.
12610         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12611         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12612         (PLT_ENTRY_WORDS): New macro.
12613         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12614         (elf_machine_runtime_setup): Support ELFv2 ABI.
12615         (elf_machine_fixup_plt): Likewise.
12616         (elf_machine_plt_conflict): Likewise.
12617         (resolve_ifunc): Likewise.
12618         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12619         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12620         Likewise.
12621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12622         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12624         (makecontext): Support ELFv2 ABI.
12625         * elf/elf.h (EF_PPC64_ABI): Define.
12626
12627 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12628
12629         * sysdeps/powerpc/powerpc64/sysdep.h
12630         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12631         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12632         (ENTRY) [ASSEMBLER]: ... but instead here ...
12633         (EALIGN) [ASSEMBLER]: ... and here.
12634         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12635         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12636         (ENTRY_2) [!ASSEMBLER]: Use it.
12637         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12638         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12639         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12640         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12641         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12643         Use PPC64_LOAD_FUNCPTR.
12644
12645         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12646
12647 2013-12-04  Alan Modra  <amodra@gmail.com>
12648
12649         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12650         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12651         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12652         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12653
12654         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12655         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12656         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12657         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12658         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12659         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12660
12661 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12662
12663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12664         (__makecontext): Fix incorrect CFI when backtracing out of
12665         context created via makecontext.
12666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12667         (__setcontext): Fix incorrect CFI during switch to new context.
12668         (__novec_setcontext): Likewise.
12669
12670 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12671
12672         [BZ #4772]
12673         * time/strptime_l.c (__strptime_internal): Allow modifiers
12674         in strptime.
12675         * time/tst-strptime.c (day_tests): Add testcase.
12676
12677 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12678
12679         * scripts/bench.pl: Skip over blank lines.
12680
12681 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12682
12683         [BZ #926]
12684         * manual/time.texi (Calendar Time): Clarify what timezone functions
12685         use.
12686
12687 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12688
12689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12690
12691 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12692
12693         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12694         implementation.
12695         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12696         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12697         * debug/memset_chk.c (__memset_chk): Likewise.
12698         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12699         * debug/strncpy_chk.c: Likewise.
12700
12701 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12702
12703         [BZ #15268]
12704         [BZ #15425]
12705         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12706         (__ieee754_exp): For possibly underflowing results, check size of
12707         result and force underflow exception if required.
12708         * math/auto-libm-test-in: Add more tests of exp.
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         [BZ #16283]
12714         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12715         * math/w_exp2f.c (__exp2f): Likewise.
12716         * math/w_exp2l.c (__exp2l): Likewise.
12717         * math/auto-libm-test-in: Do not allow missing errno on exp2
12718         underflow.
12719         * math/auto-libm-test-out: Regenerated.
12720
12721 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12722
12723         [BZ #16274]
12724         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12725         handle filename validation.
12726         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12727         (do_open): Delete.
12728
12729 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12730
12731         [BZ #6786]
12732         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12733         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12734         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12735         <float.h>.
12736         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12737         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12738         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12740         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12741         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12742         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12743         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12744         Add more erfc tests.
12745         * math/auto-libm-test-out: Regenerated.
12746         * sysdeps/i386/fpu/libm-test-ulps: Update.
12747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12748
12749         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12750         exp2, expm1, j0 and j1.
12751         * math/auto-libm-test-out: Regenerated.
12752         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12753         (erfc_test_data): Likewise.
12754         (exp_test_data): Likewise.
12755         (exp_tonearest_test_data): Likewise.
12756         (exp_towardzero_test_data): Likewise.
12757         (exp_downward_test_data): Likewise.
12758         (exp_upward_test_data): Likewise.
12759         (exp10_test_data): Likewise.
12760         (exp2_test_data): Likewise.
12761         (expm1_test_data): Likewise.
12762         (j0_test_data): Likewise.
12763         (j1_test_data): Likewise.
12764         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12765         (input_flag_type): Add flag_xfail_rounding.
12766         (input_flags): Add xfail-rounding.
12767         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12768         (output_for_one_input_case): Handle flag_xfail_rounding.
12769         * sysdeps/i386/fpu/libm-test-ulps: Update.
12770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12771
12772 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12773
12774         [BZ #16289]
12775         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12776         division by 0.
12777
12778 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12779
12780         [BZ #16195]
12781         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12782         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12783         (STAP_PROBE0): New macro.
12784         (STAP_PROBE1): Likewise.
12785         (STAP_PROBE2): Likewise.
12786         (STAP_PROBE3): Likewise.
12787         (STAP_PROBE4): Likewise.
12788
12789 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12790
12791         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12792
12793 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12794
12795         * benchtests/Makefile (bench): Add sqrt.
12796         (LDLIBS-bench-sqrt): New.
12797         * benchtests/sqrt-input: New.
12798
12799 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12800
12801         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12802         (GAIH_EAI): Likewise.
12803         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12804         (gaih_inet): Likewise.
12805         (getaddrinfo): Don't use GAIH_EAI.
12806
12807         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12808         (struct gaih): Remove definition.
12809
12810 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12811
12812         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12813         Use HERRNOP directly.
12814
12815 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12816
12817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12818
12819 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12820
12821         * math/gen-auto-libm-tests.c (test_functions): Add more
12822         single-argument functions.
12823         (special_fill_pi_2): New function.
12824         (special_fill_minus_pi_2): Likewise.
12825         (special_fill_pi_6): Likewise.
12826         (special_fill_minus_pi_6): Likewise.
12827         (special_fill_pi_3): Likewise.
12828         (special_fill_2pi_3): Likewise.
12829         (special_fill_e): Likewise.
12830         (special_fill_1_e): Likewise.
12831         (special_fill_e_minus_1): Likewise.
12832         (special_real_inputs): Add more special inputs.
12833         (output_for_one_input_case): Do not require ERANGE on underflow to
12834         zero if round-to-nearest result does not underflow to zero, unless
12835         exact results required.
12836         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12837         atan, atanh, cbrt, cos and cosh.
12838         * math/auto-libm-test-out: Regenerated.
12839         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12840         (acos_tonearest_test_data): Likewise.
12841         (acos_towardzero_test_data): Likewise.
12842         (acos_downward_test_data): Likewise.
12843         (acos_upward_test_data): Likewise.
12844         (acosh_test_data): Likewise.
12845         (asin_test_data): Likewise.
12846         (asin_tonearest_test_data): Likewise.
12847         (asin_towardzero_test_data): Likewise.
12848         (asin_upward_test_data): Likewise.
12849         (asinh_test_data): Likewise.
12850         (atan_test_data): Likewise.
12851         (atanh_test_data): Likewise.
12852         (cbrt_test_data): Likewise.
12853         (cos_test_data): Likewise.
12854         (cos_tonearest_test_data): Likewise.
12855         (cos_towardzero_test_data): Likewise.
12856         (cos_downward_test_data): Likewise.
12857         (cos_upward_test_data): Likewise.
12858         (cosh_test_data): Likewise.
12859         (cosh_tonearest_test_data): Likewise.
12860         (cosh_towardzero_test_data): Likewise.
12861         (cosh_downward_test_data): Likewise.
12862         (cosh_upward_test_data): Likewise.
12863         * sysdeps/i386/fpu/libm-test-ulps: Update.
12864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12865
12866 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12867
12868         [BZ #6787]
12869         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12870         * math/w_exp10f.c (__exp10f): Likewise.
12871         * math/w_exp10l.c (__exp10l): Likewise.
12872         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12873         errno settings in existing tests.
12874
12875         [BZ #14032]
12876         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12877         precision control set to double precision.
12878         * sysdeps/i386/fpu/w_sqrt.c: New file.
12879         * math/auto-libm-test-in: Add more tests.
12880         * math/auto-libm-test-out: Update.
12881
12882         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12883         (sqrt_test_tonearest): New function.
12884         (sqrt_towardzero_test_data): New variable.
12885         (sqrt_test_towardzero): New function.
12886         (sqrt_downward_test_data): New variable.
12887         (sqrt_test_downward): New function.
12888         (sqrt_upward_test_data): New variable.
12889         (sqrt_test_upward): New function.
12890         (main): Call the new functions.
12891
12892         * math/gen-auto-libm-tests.c: New file.
12893         * math/auto-libm-test-in: Likewise.
12894         * math/auto-libm-test-out: New generated file.
12895         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12896         variables.
12897         (%beautify): Add generated representations of zero.
12898         (top level): Set $auto_input and call parse_auto_input.
12899         (beautify): Remove trailing "f" from hex float constants.
12900         (parse_args): Handle XFAIL_TEST.
12901         (convert_condition): New function.
12902         (or_value): Likewise.
12903         (or_cond_value): Likewise.
12904         (generate_testfile): Handle AUTO_TESTS_* lines.
12905         (parse_auto_input): New function.
12906         * math/libm-test.inc (XFAIL_TEST): New macro.
12907         (ERRNO_UNCHANGED): Update value.
12908         (ERRNO_EDOM): Likewise.
12909         (ERRNO_ERANGE): Likewise.
12910         (IGNORE_RESULT): Likewise.
12911         (TEST_COND_flt_32): New macro.
12912         (TEST_COND_dbl_64): Likewise.
12913         (TEST_COND_ldbl_96_intel): Likewise.
12914         (TEST_COND_ldbl_96_m68k): Likewise.
12915         (TEST_COND_ldbl_128): Likewise.
12916         (TEST_COND_ldbl_128ibm): Likewise.
12917         (TEST_COND_long32): Likewise.
12918         (TEST_COND_long64): Likewise.
12919         (TEST_COND_before_rounding): Likewise.
12920         (TEST_COND_after_rounding): Likewise.
12921         (enable_test): Handle XFAIL_TEST flag.
12922         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12923         with finite results.
12924         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12925         auto-libm-test-out.
12926
12927 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12928             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12929
12930         [BZ #16214]
12931         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12932         __tls_get_addr_internal instead of __tls_get_offset in order to
12933         avoid GOT pointer dependency.  Make rtld export
12934         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12935         __tls_get_addr since we are a __tls_get_offset platform.
12936         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12937         GOT pointer being set up before.
12938         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12939
12940 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12941
12942         * manual/math.texi (Errors in Math Functions): Document accuracy
12943         goals.
12944
12945         [BZ #15004]
12946         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12947         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12948         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12949         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12950         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12951         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12952         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12953         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12954         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12955         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12956         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12957         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12958         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12959         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12960         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12961         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12962
12963         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12964         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12965         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12966         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12967         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12968         Likewise.
12969         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12970         Likewise.
12971         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12972         Likewise.
12973         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12974         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12975         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12976         atomic-feupdateenv and flt-rounds.
12977         * sysdeps/powerpc/nofpu/Versions (libc): Add
12978         __atomic_feholdexcept, __atomic_feclearexcept,
12979         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12980         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12981         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12982         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12983         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12984         here.
12985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12986         Update.
12987
12988         * manual/arith.texi (FP Exceptions): Document that exceptions may
12989         not be raised when matherr is used.
12990         (Math Error Reporting): Document overflow in directed rounding
12991         modes.  Document that errno may not be set when finite values are
12992         returned on overflow.  Document intent to set errno on underflow
12993         only for underflow to zero.
12994
12995         [BZ #16271]
12996         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12997         round-to-nearest then adjust result for other rounding modes.
12998         * include/fenv.h (fegetround): Use libm_hidden_proto.
12999         * math/fegetround.c (fegetround): Use libm_hidden_def.
13000         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13001         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13002         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13003         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13004         Likewise.
13005         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13006         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13007         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13008         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13009
13010 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13011
13012         [BZ #16077]
13013         * nss/Versions (libnss_files): Add
13014         _nss_files_gethostbyname3_r.
13015         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13016         New function.
13017         (HOST_DB_LOOKUP): Remove macro.
13018         (_nss_files_gethostbyname_r): Implement function without the
13019         HOST_DB_LOOKUP macro.
13020         (_nss_files_gethostbyname2_r): Likewise.
13021
13022 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
13023
13024         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13025
13026 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
13027
13028         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13029         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13030         warning.
13031
13032 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13033
13034         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13035         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13036         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13037         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13038         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13039         __fe_nomask_env_priv and attribute_hidden.
13040         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13041         (libc_feupdateenv_test_ppc): Likewise.
13042         (libc_feresetround_ppc): Likewise.
13043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13044         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13045         compat_symbol macro.
13046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13047         (__fe_nomask_env): Likewise.
13048         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13049
13050 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13051
13052         * string/Makefile: Remove ifunc tests.
13053         * string/test-string.h: Define TEST_IFUNC.
13054         * string/test-bcopy-ifunc.c: Remove.
13055         * string/test-bzero-ifunc.c: Likewise.
13056         * string/test-memccpy-ifunc.c: Likewise.
13057         * string/test-memchr-ifunc.c: Likewise.
13058         * string/test-memcmp-ifunc.c: Likewise.
13059         * string/test-memcpy-ifunc.c: Likewise.
13060         * string/test-memmem-ifunc.c: Likewise.
13061         * string/test-memmove-ifunc.c: Likewise.
13062         * string/test-mempcpy-ifunc.c: Likewise.
13063         * string/test-memrchr-ifunc.c: Likewise.
13064         * string/test-memset-ifunc.c: Likewise.
13065         * string/test-rawmemchr-ifunc.c: Likewise.
13066         * string/test-stpcpy-ifunc.c: Likewise.
13067         * string/test-stpncpy-ifunc.c: Likewise.
13068         * string/test-strcasecmp-ifunc.c: Likewise.
13069         * string/test-strcasestr-ifunc.c: Likewise.
13070         * string/test-strcat-ifunc.c: Likewise.
13071         * string/test-strchr-ifunc.c: Likewise.
13072         * string/test-strchrnul-ifunc.c: Likewise.
13073         * string/test-strcmp-ifunc.c: Likewise.
13074         * string/test-strcpy-ifunc.c: Likewise.
13075         * string/test-strcspn-ifunc.c: Likewise.
13076         * string/test-strlen-ifunc.c: Likewise.
13077         * string/test-strncasecmp-ifunc.c: Likewise.
13078         * string/test-strncat-ifunc.c: Likewise.
13079         * string/test-strncmp-ifunc.c: Likewise.
13080         * string/test-strncpy-ifunc.c: Likewise.
13081         * string/test-strnlen-ifunc.c: Likewise.
13082         * string/test-strpbrk-ifunc.c: Likewise.
13083         * string/test-strrchr-ifunc.c: Likewise.
13084         * string/test-strspn-ifunc.c: Likewise.
13085         * string/test-strstr-ifunc.c: Likewise.
13086
13087 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13088
13089         * benchtests/Makefile: Remove ifunc tests.
13090         * benchtests/bench-string.h: Define TEST_IFUNC.
13091         * benchtests/bench-bcopy-ifunc.c: Remove.
13092         * benchtests/bench-bzero-ifunc.c: Likewise.
13093         * benchtests/bench-memccpy-ifunc.c: Likewise.
13094         * benchtests/bench-memchr-ifunc.c: Likewise.
13095         * benchtests/bench-memcmp-ifunc.c: Likewise.
13096         * benchtests/bench-memcpy-ifunc.c: Likewise.
13097         * benchtests/bench-memmem-ifunc.c: Likewise.
13098         * benchtests/bench-memmove-ifunc.c: Likewise.
13099         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13100         * benchtests/bench-memrchr-ifunc.c: Likewise.
13101         * benchtests/bench-memset-ifunc.c: Likewise.
13102         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13103         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13104         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13105         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13106         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13107         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13108         * benchtests/bench-strcat-ifunc.c: Likewise.
13109         * benchtests/bench-strchr-ifunc.c: Likewise.
13110         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13111         * benchtests/bench-strcmp-ifunc.c: Likewise.
13112         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13113         * benchtests/bench-strcpy-ifunc.c: Likewise.
13114         * benchtests/bench-strcspn-ifunc.c: Likewise.
13115         * benchtests/bench-strlen-ifunc.c: Likewise.
13116         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13117         * benchtests/bench-strncat-ifunc.c: Likewise.
13118         * benchtests/bench-strncmp-ifunc.c: Likewise.
13119         * benchtests/bench-strncpy-ifunc.c: Likewise.
13120         * benchtests/bench-strnlen-ifunc.c: Likewise.
13121         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13122         * benchtests/bench-strrchr-ifunc.c: Likewise.
13123         * benchtests/bench-strsep-ifunc.c: Likewise.
13124         * benchtests/bench-strspn-ifunc.c: Likewise.
13125         * benchtests/bench-strstr-ifunc.c: Likewise.
13126
13127 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13128
13129         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13130
13131 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13132
13133         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13134         * rt/aio.h: Likewise.
13135         * sysdeps/gnu/bits/utmp.h: Likewise.
13136         * sysdeps/gnu/bits/utmpx.h: Likewise.
13137         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13138         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13139         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13140         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13141         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13142         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13143         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13144         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13145         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13146         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13147         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13148         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13149         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13151         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13152         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13153         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13154         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13155         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13156         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13157         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13158         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13159         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13160         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13161         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13162         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13163         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13164         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13165         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13166         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13167         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13168         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13169         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13170         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13171         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13172         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13173         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13174         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13175         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13176         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13177         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13178         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13179
13180 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13181
13182         [BZ #16245]
13183         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13184         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13185
13186 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13187
13188         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13189         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13190         Likewise.
13191
13192 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13193
13194         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13195         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13196         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13197         (__fesetround): Remove define.
13198         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13199         rounding and exceptions handling.
13200         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13201         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13202         (__fe_nomask_env): Likewise.
13203         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13204         __fegetround instead of fegetround.
13205         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13206         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13207
13208 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13209
13210         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13211         it's there.
13212
13213         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13214
13215 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13216
13217         [BZ #11157]
13218         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13219         (encrypt_r): Likewise.
13220         * malloc/obstack.h (obstack_free): Likewise.
13221         * posix/unistd.h (encrypt): Likewise.
13222
13223 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13224
13225         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13226         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13227         DL_CALL_DT_FINI() that call the functions directly.
13228         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13229         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13230         * elf/dl-fini.c: Likewise.
13231
13232 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13233
13234         * malloc/hooks.c (memalign_check): Add alignment rounding.
13235         * malloc/malloc.c (_mid_memalign): New function.
13236         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13237         Implement by calling _mid_memalign.
13238         * manual/probes.texi (Memory Allocation Probes): Remove
13239         memory_valloc_retry and memory_pvalloc_retry.
13240
13241 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13242
13243         * locale/programs/locarchive.c (open_archive): Add const
13244         qualifier to ARCHIVEFNAME and copy default fname to
13245         DEFAULT_FNAME.
13246
13247         [BZ #15601]
13248         * libio/tst-widetext.input: Rename Oriya to Odia.
13249         * locale/iso-639.def: Likewise.
13250
13251         * manual/probes.texi (Mathematical Function Probes): Add
13252         documentation for sin, cos, asin and acos probes.
13253         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13254         (__sin32): Add slowasin probe.
13255         (__cos32): Add slowacos probe.
13256         (__mpsin): Add slowsin probe.
13257         (__mpcos): Add slowcos probe.
13258
13259 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13260
13261         [BZ #15483]
13262         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13263         thread-local __sim_exceptions_thread and global
13264         __sim_exceptions_global.
13265         (__sim_disabled_exceptions): Change to thread-local
13266         __sim_disabled_exceptions_thread and global
13267         __sim_disabled_exceptions_global.
13268         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13269         and global __sim_round_mode_global.
13270         (__simulate_exceptions): Use thread-local floating-point state and
13271         set global state from it as needed.
13272         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13273         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13274         __sim_round_mode_thread.
13275         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13276         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13277         and global __sim_exceptions_global.
13278         (__sim_disabled_exceptions): Change to thread-local
13279         __sim_disabled_exceptions_thread and global
13280         __sim_disabled_exceptions_global.
13281         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13282         and global __sim_round_mode_global.
13283         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13284         (SIM_SET_GLOBAL): Likewise.
13285         * sysdeps/powerpc/soft-fp/sfp-machine.h
13286         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13287         __sim_round_mode_thread.
13288         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13289         __sim_disabled_exceptions_thread.
13290         (__sim_exceptions): Change to __sim_exceptions_thread.
13291         (__sim_disabled_exceptions): Change to
13292         __sim_disabled_exceptions_thread.
13293         (__sim_round_mode): Change to __sim_round_mode_thread.
13294         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13295         thread-local floating-point state and set global state from it as
13296         needed.
13297         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13298         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13299         (__sim_disabled_exceptions): Remove extern declaration.
13300         (feenableexcept): Use thread-local floating-point state and set
13301         global state from it as needed.
13302         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13303         extern declaration.
13304         (__sim_disabled_exceptions): Likewise.
13305         (__sim_round_mode): Likewise.
13306         (__fegetenv): Use thread-local floating-point state.
13307         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13308         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13309         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13310         floating-point state and set global state from it as needed.
13311         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13312         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13313         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13314         Likewise.
13315         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13316         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13317         Likewise.
13318         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13319         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13320         Use __sim_round_mode_thread.
13321         * math/test-fenv-tls.c: New file.
13322         * math/Makefile (tests): Add test-fenv-tls.
13323         ($(objpfx)test-fenv-tls): Depend on
13324         $(common-objpfx)nptl/libpthread.so.
13325
13326 2013-11-19  Andreas Schwab  <schwab@suse.de>
13327
13328         * locale/programs/locale.c (show_info): Decode wordarray elements.
13329         * locale/categories.def (LC_MONETARY): Add element for
13330         _NL_MONETARY_CRNCYSTR.
13331         * locale/C-monetary.c (conversion_rate): New variable.
13332         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13333         element.
13334
13335 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13336
13337         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13338         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13339
13340 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13341
13342         * elf/Makefile (tst-auxv): New test.
13343         * elf/tst-auxv.c: New
13344         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13345
13346 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13347
13348         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13349         (hidden_proto): Caller changed.
13350         (hidden_tls_proto): New macro.
13351         (libc_hidden_tls_proto): Likewise.
13352         (rtld_hidden_tls_proto): Likewise.
13353         (libm_hidden_tls_proto): Likewise.
13354         (libresolv_hidden_tls_proto): Likewise.
13355         (librt_hidden_tls_proto): Likewise.
13356         (libdl_hidden_tls_proto): Likewise.
13357         (libnss_files_hidden_tls_proto): Likewise.
13358         (libnsl_hidden_tls_proto): Likewise.
13359         (libnss_nisplus_hidden_tls_proto): Likewise.
13360         (libutil_hidden_tls_proto): Likewise.
13361
13362 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13363
13364         [BZ #10253]
13365         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13366         (decompose_rpath): Defer expansion to fillin_rpath.
13367         (_dl_init_paths): Pass linkmap to fillin_rpath.
13368
13369 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13370
13371         * benchtests/Makefile: Add strsep.
13372         * benchtests/bench-strsep.c: New file: strsep benchtest.
13373         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13374
13375 2013-11-18  Andreas Schwab  <schwab@suse.de>
13376
13377         * locale/programs/locale.c (show_info) [case byte]: Check for
13378         '\377' instead of '\177'.
13379         * locale/C-monetary.c (not_available): Always use "\377".
13380         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13381         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13382         detect unavailable sign_posn locale elements.
13383         * locale/localeconv.c (__localeconv): For grouping and
13384         mon_grouping handle "\177" and "\377" like no grouping.
13385         (INT_ELEM): New macro.  Use it to set all numeric members.
13386         * locale/programs/ld-monetary.c (monetary_read)
13387         <tok_mon_grouping>: Normalize single -1 to the empty string.
13388         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13389         Likewise.
13390
13391 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13392
13393         [BZ #16055]
13394         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13395         when we match (nil).
13396         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13397
13398 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13399
13400         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13401         (NO_TEST_INLINE): Update value.
13402         (ERRNO_UNCHANGED): Likewise.
13403         (ERRNO_EDOM): Likewise.
13404         (ERRNO_ERANGE): Likewise.
13405         (IGNORE_RESULT): Likewise.
13406         (check_float_internal): Check signs of NaN results if
13407         TEST_NAN_SIGN used.
13408         (check_complex): Pass TEST_NAN_SIGN flag through to second
13409         check_float_internal call.
13410         (copysign_test_data): Add tests with quiet NaNs as second
13411         argument.  Use TEST_NAN_SIGN.
13412         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13413         TEST_NAN_SIGN.
13414         (signbit_test_data): Add tests of quiet NaN argument.
13415         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13416
13417         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13418         $ignore_result.
13419         (parse_args): Handle function results specified as IGNORE.
13420         * math/libm-test.inc (IGNORE_RESULT): New macro.
13421         (check_float_internal): Do not check numerical result if flag
13422         IGNORE_RESULT set.
13423         (check_complex): Pass through IGNORE_RESULT to second
13424         check_float_internal call.
13425         (check_int): Do not check numerical result if flag IGNORE_RESULT
13426         set.
13427         (check_long): Likewise.
13428         (check_bool): Likewise.
13429         (check_longlong): Likewise.
13430         (lrint_test_data): Add tests of infinite and NaN arguments.
13431         (lrint_tonearest_test_data): Likewise.
13432         (lrint_towardzero_test_data): Likewise.
13433         (lrint_downward_test_data): Likewise.
13434         (lrint_upward_test_data): Likewise.
13435         (llrint_test_data): Likewise.
13436         (llrint_tonearest_test_data): Likewise.
13437         (llrint_towardzero_test_data): Likewise.
13438         (llrint_downward_test_data): Likewise.
13439         (llrint_upward_test_data): Likewise.
13440         (lround_test_data): Likewise.
13441         (llround_test_data): Likewise.
13442
13443         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13444         (ERRNO_UNCHANGED): Update value.
13445         (ERRNO_EDOM): Likewise.
13446         (ERRNO_ERANGE): Likewise.
13447         (NO_TEST_INLINE_FLOAT): New macro.
13448         (NO_TEST_INLINE_DOUBLE): Likewise.
13449         (enable_test): New function.
13450         (RUN_TEST_f_f): Check enable_test before running test.
13451         (RUN_TEST_2_f): Likewise.
13452         (RUN_TEST_fff_f): Likewise.
13453         (RUN_TEST_c_f): Likewise.
13454         (RUN_TEST_f_f1): Likewise.
13455         (RUN_TEST_fF_f1): Likewise.
13456         (RUN_TEST_fI_f1): Likewise.
13457         (RUN_TEST_ffI_f1): Likewise.
13458         (RUN_TEST_c_c): Likewise.
13459         (RUN_TEST_cc_c): Likewise.
13460         (RUN_TEST_f_i): Likewise.
13461         (RUN_TEST_f_i_tg): Likewise.
13462         (RUN_TEST_ff_i_tg): Likewise.
13463         (RUN_TEST_f_b): Likewise.
13464         (RUN_TEST_f_b_tg): Likewise.
13465         (RUN_TEST_f_l): Likewise.
13466         (RUN_TEST_f_L): Likewise.
13467         (RUN_TEST_fFF_11): Likewise.
13468         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13469         conditionals.
13470         (cosh_test_data): Likewise.
13471         (exp_test_data): Likewise.
13472         (expm1_test_data): Likewise.
13473         (hypot_test_data): Likewise.
13474         (pow_test_data): Likewise.
13475         (sinh_test_data): Likewise.
13476         (tanh_test_data): Likewise.
13477         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13478         flags argument.
13479
13480         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13481         tests with quiet NaN input and output.
13482         (acosh_test_data): Likewise.
13483         (asin_test_data): Likewise.
13484         (asinh_test_data): Likewise.
13485         (atan_test_data): Likewise.
13486         (atanh_test_data): Likewise.
13487         (atan2_test_data): Likewise.
13488         (cbrt_test_data): Likewise.
13489         (cos_test_data): Likewise.
13490         (cosh_test_data): Likewise.
13491         (erf_test_data): Likewise.
13492         (erfc_test_data): Likewise.
13493         (exp_test_data): Likewise.
13494         (exp10_test_data): Likewise.
13495         (exp2_test_data): Likewise.
13496         (expm1_test_data): Likewise.
13497         (hypot_test_data): Likewise.
13498         (j0_test_data): Likewise.
13499         (j1_test_data): Likewise.
13500         (jn_test_data): Likewise.
13501         (lgamma_test_data): Likewise.
13502         (log_test_data): Likewise.
13503         (log10_test_data): Likewise.
13504         (log1p_test_data): Likewise.
13505         (log2_test_data): Likewise.
13506         (pow_test_data): Likewise.
13507         (scalb_test_data): Likewise.
13508         (sin_test_data): Likewise.
13509         (sincos_test_data): Likewise.
13510         (sinh_test_data): Likewise.
13511         (tan_test_data): Likewise.
13512         (tanh_test_data): Likewise.
13513         (tgamma_test_data): Likewise.
13514         (y0_test_data): Likewise.
13515         (y1_test_data): Likewise.
13516         (yn_test_data): Likewise.
13517
13518         [BZ #16167]
13519         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13520         argument being NaN and avoid computations with second argument in
13521         that case.
13522         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13523         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13524         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13525
13526 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13527
13528         * locale/iso-639.def: Add Chitwani Tharu (the).
13529
13530 2013-11-14  Andreas Schwab  <schwab@suse.de>
13531
13532         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13533         word instead of empty string.
13534
13535 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13536
13537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13538         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13540         (__fe_nomask_env): Likewise.
13541
13542 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13543
13544         * benchtests/bench-timing.h: Include time.h.
13545
13546 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13547
13548         [BZ #15997]
13549         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13550         to 3.4.0 for x32.
13551         * sysdeps/unix/sysv/linux/configure: Regenerated.
13552
13553 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13554
13555         [BZ #16151]
13556         * stdlib/strtod_l.c (round_and_return): Do not consider
13557         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13558         exponent one less than half the least subnormal exponent.
13559         * stdlib/test-strtod-round-data: Add more tests.
13560         * stdlib/tst-strtod-round.c (tests): Regenerated.
13561
13562 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13563
13564         [BZ #14143]
13565         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13566         (__fe_mask_env): Likewise.
13567         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13568         libm_hidden_proto and add function prototype.
13569         (__fe_mask_env): Add function prototype.
13570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13571         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13573         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13575         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13576
13577 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13578
13579         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13580         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13581
13582 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13583
13584         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13585         of htab_find_slot().
13586
13587 2013-11-11  David S. Miller  <davem@davemloft.net>
13588
13589         [BZ #16150]
13590         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13591         symbol in the non-vis3 case in static builds.
13592         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13593         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13594         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13595         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13596
13597 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13598
13599         [BZ #387]
13600         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13601         it is empty.
13602
13603 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13604
13605         * benchtests/Makefile: Add bench-strtod.
13606         * benchtests/bench-strtod.c: New file: strtod benchtest
13607
13608 2013-11-11  Andreas Schwab  <schwab@suse.de>
13609
13610         [BZ #16153]
13611         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13612         terminating NUL in key length.
13613
13614 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13615
13616         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13617         Add artificial ODP entry for vDSO symbol for PPC64.
13618         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13619         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13620
13621 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13622
13623         [BZ #15374]
13624         * nss/getent.c (services_keys): Recognize services starting with digit.
13625
13626 2013-11-06  David S. Miller  <davem@davemloft.net>
13627
13628         [BZ #15985]
13629         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13630         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13631
13632 2013-11-06  Will Newton  <will.newton@linaro.org>
13633
13634         * manual/memory.texi (Malloc Examples): Remove register
13635         keyword from examples.
13636
13637 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13638
13639         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13640
13641 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13642
13643         [BZ #6981]
13644         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13645         depending on [__GCC_IEC_559 > 0].
13646         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13647         depending on [__GCC_IEC_559_COMPLEX > 0].
13648
13649 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13650
13651         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13652         to iso-639.def.
13653
13654 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13655
13656         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13657
13658 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13659
13660         [BZ #16112]
13661         * malloc/malloc (malloc_info): Do not handle first bin as
13662         special case.
13663
13664 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13665
13666         * locale/iso-639.def: Add Central Nahuatl (nhn).
13667
13668 2013-11-01  Bruno Haible  <bruno@clisp.org>
13669
13670         [BZ #7003]
13671         * manual/math.texi (BSD Random): Specify range upper bound as
13672         in POSIX.
13673
13674 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13675
13676         * locale/iso-639.def: Add Meadow Mari (mhr).
13677
13678 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13679
13680         [BZ #14752], [BZ #15763]
13681         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13682         Validate name.
13683         * rt/tst_shm.c: Add test for escaping directory.
13684
13685 2013-10-31  Andreas Schwab  <schwab@suse.de>
13686
13687         [BZ #15917]
13688         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13689         followed by 'x' as part of digit sequence.
13690         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13691
13692 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13693
13694         [BZ #16037]
13695         * configure.ac: allow GNU Make 4.0 and greater.
13696         * configure: Regenerated.
13697
13698 2013-10-30  Will Newton  <will.newton@linaro.org>
13699
13700         [BZ #16038]
13701         * malloc/hooks.c (memalign_check): Limit alignment to the
13702         maximum representable power of two.
13703         * malloc/malloc.c (__libc_memalign): Likewise.
13704         * malloc/tst-memalign.c (do_test): Add test for very
13705         large alignment values.
13706         * malloc/tst-posix_memalign.c (do_test): Likewise.
13707
13708 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13709
13710         [BZ #11087]
13711         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13712         (munmap_chunk): Likewise.
13713         (mremap_chunk): Likewise.
13714
13715 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13716
13717         [BZ #15799]
13718         * stdlib/div.c (div): Remove obsolete code.
13719         * stdlib/ldiv.c (ldiv): Likewise.
13720         * stdlib/lldiv.c (lldiv): Likewise.
13721
13722 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13723
13724         [BZ #16071]
13725         * nss/nss_files/files-XXX.c (get_contents_ret): New
13726         enumerator.
13727         (get_contents): New function.
13728         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13729
13730 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13731
13732         * configure.in: Moved to ...
13733         * configure.ac: ... here. Change reference to configure.in
13734         to configure.ac.
13735         * sysdeps/arm/preconfigure.ac: ... here.
13736         configure.in to configure.ac.
13737         * sysdeps/gnu/configure.in: Moved to ...
13738         * sysdeps/gnu/configure.ac: ... here.
13739         * sysdeps/i386/configure.in: Moved to ...
13740         * sysdeps/i386/configure.ac: ... here.
13741         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13742         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13743         * sysdeps/mach/configure.in: Moved to ...
13744         * sysdeps/mach/configure.ac: ... here.
13745         * sysdeps/mach/hurd/configure.in: Moved to ...
13746         * sysdeps/mach/hurd/configure.ac: ... here.
13747         * sysdeps/powerpc/configure.in: Moved to ...
13748         * sysdeps/powerpc/configure.ac: ... here.
13749         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13750         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13751         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13752         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13753         * sysdeps/s390/s390-32/configure.in: Moved to ...
13754         * sysdeps/s390/s390-32/configure.ac: ... here.
13755         * sysdeps/s390/s390-64/configure.in: Moved to ...
13756         * sysdeps/s390/s390-64/configure.ac: ... here.
13757         * sysdeps/sh/configure.in: Moved to ...
13758         * sysdeps/sh/configure.ac: ... here.
13759         * sysdeps/sparc/configure.in: Moved to ...
13760         * sysdeps/sparc/configure.ac: ... here.
13761         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13762         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13763         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13764         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13765         * sysdeps/x86_64/configure.in: Moved to ...
13766         * sysdeps/x86_64/configure.ac: ... here.
13767         * sysdeps/x86_64/preconfigure.in: Moved to ...
13768         * sysdeps/x86_64/preconfigure.ac: ... here.
13769         * aclocal.m4: Change reference to configure.in to configure.ac.
13770         * config.h.in: Likewise.
13771         * manual/install.texi: Likewise.
13772         * manual/maint.texi: Likewise.
13773         * Makefile: Likewise.
13774         * malloc/Makefile: Likewise.
13775         * nscd/Makefile: Likewise.
13776         * Makeconfig: Change reference to configure.in and
13777         preconfigure.in to configure.ac and preconfigure.ac
13778         respectively.
13779         * INSTALL: Regenerated.
13780         * configure: Likewise.
13781         * sysdeps/gnu/configure: Likewise.
13782         * sysdeps/i386/configure: Likewise.
13783         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13784         * sysdeps/mach/configure: Likewise.
13785         * sysdeps/mach/hurd/configure: Likewise.
13786         * sysdeps/powerpc/configure: Likewise.
13787         * sysdeps/powerpc/powerpc32/configure: Likewise.
13788         * sysdeps/powerpc/powerpc64/configure: Likewise.
13789         * sysdeps/s390/s390-32/configure: Likewise.
13790         * sysdeps/s390/s390-64/configure: Likewise.
13791         * sysdeps/sh/configure: Likewise.
13792         * sysdeps/sparc/configure: Likewise.
13793         * sysdeps/unix/sysv/linux/configure: Likewise.
13794         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13795         * sysdeps/x86_64/configure: Likewise.
13796         * sysdeps/x86_64/preconfigure: Likewise.
13797
13798 2013-10-29  Andreas Schwab  <schwab@suse.de>
13799
13800         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13801
13802 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13803
13804         * benchtests/pow-inputs: Add new inputs.
13805
13806         * benchtests/exp-inputs: Add new inputs.
13807
13808         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13809         conditional check for return value.
13810         (__cos32): Likewise.
13811
13812 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13813
13814         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13815         to provide a boost for large inputs with word alignment.
13816         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13817         implementation based on optimized PPC64 strcpy.
13818         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13819         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13820         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13821         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13822
13823 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13824
13825         [BZ #2801]
13826         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13827
13828 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13829
13830         [BZ #14876]
13831         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13832         * time/tst-strptime.c (day_tests): Add testcase.
13833
13834 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13835
13836         [BZ #14029]
13837         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13838
13839 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13840
13841         [BZ #16074]
13842         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13843         MAP_FAILED on error.
13844
13845 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13846
13847         [BZ #16072]
13848         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13849         heap for large requests.
13850
13851 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13852
13853         [BZ #9954]
13854         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13855         result if the result has no associated interface.
13856         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13857         interface for all 127.X.Y.Z addresses.
13858
13859 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13860
13861         * locale/iso-639.def: Add Ligurian (lij)
13862
13863 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13864
13865         [BZ #15825]
13866         * sunrpc/rpc_main.c: Document rpcgen -5.
13867
13868 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13869
13870         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13871
13872 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13873
13874         [BZ #10278]
13875         * posix/glob.c: Match only directories when trailing slash is present.
13876         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13877         (main): Add testcase.
13878
13879 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13880
13881         [BZ #15670]
13882         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13883
13884 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13885
13886         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13887         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13888         AUTH_DES and cindex for FIPS 140-2.
13889         (DES Encryption): Add cindex FIPS 46-3.
13890
13891         * locale/locarchive.h (struct locarhandle): Add fname.
13892         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13893         if an optional argument was specified to --list-archive,
13894         otherwise NULL.
13895         * locale/programs/locarchive.c (show_archive_content): Take new
13896         argument fname and pass it via ah.fname to open_archive.
13897         * locale/programs/localedef.h: Update decl.
13898         (open_archive): If AH->fname is non-null, open that file
13899         rather than the default file name, and don't ignore ENOENT.
13900         (create_archive): Set AH.fname to NULL.
13901         (delete_locales_from_archive): Likewise.
13902         (add_locales_to_archive): Likewise.
13903         * locale/programs/locfile.c (write_all_categories): Likewise.
13904
13905 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13906             Aldy Hernandez  <aldyh@redhat.com>
13907
13908         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13909         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13910         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13911         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13912         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13913         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13914         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13915         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13916         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13917         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13918         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13919         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13920         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13921         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13922         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13923         Likewise.
13924         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13925         Likewise.
13926         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13927         Likewise.
13928         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13929         Likewise.
13930         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13931         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13932         Likewise.
13933         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13934         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13935         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13936         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13937         Likewise.
13938         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13939         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13940         * sysdeps/powerpc/preconfigure: Likewise.
13941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13942         Likewise.
13943         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13944         Replace contents of file by #include of <fenv_libc.h>.
13945         * sysdeps/powerpc/soft-fp/sfp-machine.h
13946         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13947         and <sys/prctl.h>.
13948         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13949         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13950         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13951         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13952         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13953         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13954         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13955         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13956         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13957         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13958         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13959         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13961         Allow copysignl PLT reference to be missing.
13962
13963 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13964             Joseph Myers  <joseph@codesourcery.com
13965
13966         [BZ #15948]
13967         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13968         single character.
13969         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13970
13971 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13972
13973         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13974         * elf/tst-tls1.c: Likewise.
13975         * elf/tst-tls10.h: Likewise.
13976         * elf/tst-tls14.c: Likewise.
13977         * elf/tst-tls2.c: Likewise.
13978         * elf/tst-tls3.c: Likewise.
13979         * elf/tst-tls4.c: Likewise.
13980         * elf/tst-tls5.c: Likewise.
13981         * elf/tst-tls6.c: Likewise.
13982         * elf/tst-tls7.c: Likewise.
13983         * elf/tst-tls8.c: Likewise.
13984         * elf/tst-tls9.c: Likewise.
13985         * elf/tst-tlsmod1.c: Likewise.
13986         * elf/tst-tlsmod13.c: Likewise.
13987         * elf/tst-tlsmod13a.c: Likewise.
13988         * elf/tst-tlsmod14a.c: Likewise.
13989         * elf/tst-tlsmod16a.c: Likewise.
13990         * elf/tst-tlsmod16b.c: Likewise.
13991         * elf/tst-tlsmod2.c: Likewise.
13992         * elf/tst-tlsmod3.c: Likewise.
13993         * elf/tst-tlsmod4.c: Likewise.
13994         * elf/tst-tlsmod5.c: Likewise.
13995         * elf/tst-tlsmod6.c: Likewise.
13996
13997 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13998
13999         [BZ #12486]
14000         * malloc/malloc.c: remove checks for statistics.
14001
14002 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14003
14004         [BZ #15277]
14005         * inet/inet_net.c (inet_network): Detect additional invalid strings.
14006         * inet/tst-network.c: Add testcase.
14007
14008 2013-10-17  Andreas Schwab  <schwab@suse.de>
14009
14010         [BZ #15218]
14011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14012         to determine canonical name.
14013
14014 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
14015
14016         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14017         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14018         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14019         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14020         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14021         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14022         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14023         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14024         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14025         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14026         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14027         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14028         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14029         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14030         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14031         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14032         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14033         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14034         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14035         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14036         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14037         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14038         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14039         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14040         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14041         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14042         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14043         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14044         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14045         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14046         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14047         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14048         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14049         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14050         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14051         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14052         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14053         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14054         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14055         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14056         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14057         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14058         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14059         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14060         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14061         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14062         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14063         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14064         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14065         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14066         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14067         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14068         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14069         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14070         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14071         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14072         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14073         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14074
14075 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14076
14077         [BZ #16041]
14078         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14079         make result into a quiet NaN.
14080
14081 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14082
14083         * soft-fp/adddf3.c: Fix horizontal whitespace.
14084         * soft-fp/addsf3.c: Likewise.
14085         * soft-fp/addtf3.c: Likewise.
14086         * soft-fp/divdf3.c: Likewise.
14087         * soft-fp/divsf3.c: Likewise.
14088         * soft-fp/divtf3.c: Likewise.
14089         * soft-fp/double.h: Likewise.
14090         * soft-fp/eqdf2.c: Likewise.
14091         * soft-fp/eqsf2.c: Likewise.
14092         * soft-fp/eqtf2.c: Likewise.
14093         * soft-fp/extenddftf2.c: Likewise.
14094         * soft-fp/extended.h: Likewise.
14095         * soft-fp/extendsfdf2.c: Likewise.
14096         * soft-fp/extendsftf2.c: Likewise.
14097         * soft-fp/extendxftf2.c: Likewise.
14098         * soft-fp/fixdfdi.c: Likewise.
14099         * soft-fp/fixdfsi.c: Likewise.
14100         * soft-fp/fixdfti.c: Likewise.
14101         * soft-fp/fixsfdi.c: Likewise.
14102         * soft-fp/fixsfsi.c: Likewise.
14103         * soft-fp/fixsfti.c: Likewise.
14104         * soft-fp/fixtfdi.c: Likewise.
14105         * soft-fp/fixtfsi.c: Likewise.
14106         * soft-fp/fixtfti.c: Likewise.
14107         * soft-fp/fixunsdfdi.c: Likewise.
14108         * soft-fp/fixunsdfsi.c: Likewise.
14109         * soft-fp/fixunsdfti.c: Likewise.
14110         * soft-fp/fixunssfdi.c: Likewise.
14111         * soft-fp/fixunssfsi.c: Likewise.
14112         * soft-fp/fixunssfti.c: Likewise.
14113         * soft-fp/fixunstfdi.c: Likewise.
14114         * soft-fp/fixunstfsi.c: Likewise.
14115         * soft-fp/fixunstfti.c: Likewise.
14116         * soft-fp/floatdidf.c: Likewise.
14117         * soft-fp/floatdisf.c: Likewise.
14118         * soft-fp/floatditf.c: Likewise.
14119         * soft-fp/floatsidf.c: Likewise.
14120         * soft-fp/floatsisf.c: Likewise.
14121         * soft-fp/floatsitf.c: Likewise.
14122         * soft-fp/floattidf.c: Likewise.
14123         * soft-fp/floattisf.c: Likewise.
14124         * soft-fp/floattitf.c: Likewise.
14125         * soft-fp/floatundidf.c: Likewise.
14126         * soft-fp/floatundisf.c: Likewise.
14127         * soft-fp/floatunditf.c: Likewise.
14128         * soft-fp/floatunsidf.c: Likewise.
14129         * soft-fp/floatunsisf.c: Likewise.
14130         * soft-fp/floatunsitf.c: Likewise.
14131         * soft-fp/floatuntidf.c: Likewise.
14132         * soft-fp/floatuntisf.c: Likewise.
14133         * soft-fp/floatuntitf.c: Likewise.
14134         * soft-fp/fmadf4.c: Likewise.
14135         * soft-fp/fmasf4.c: Likewise.
14136         * soft-fp/fmatf4.c: Likewise.
14137         * soft-fp/gedf2.c: Likewise.
14138         * soft-fp/gesf2.c: Likewise.
14139         * soft-fp/getf2.c: Likewise.
14140         * soft-fp/ledf2.c: Likewise.
14141         * soft-fp/lesf2.c: Likewise.
14142         * soft-fp/letf2.c: Likewise.
14143         * soft-fp/muldf3.c: Likewise.
14144         * soft-fp/mulsf3.c: Likewise.
14145         * soft-fp/multf3.c: Likewise.
14146         * soft-fp/negdf2.c: Likewise.
14147         * soft-fp/negsf2.c: Likewise.
14148         * soft-fp/negtf2.c: Likewise.
14149         * soft-fp/op-1.h: Likewise.
14150         * soft-fp/op-2.h: Likewise.
14151         * soft-fp/op-4.h: Likewise.
14152         * soft-fp/op-8.h: Likewise.
14153         * soft-fp/op-common.h: Likewise.
14154         * soft-fp/quad.h: Likewise.
14155         * soft-fp/single.h: Likewise.
14156         * soft-fp/soft-fp.h: Likewise.
14157         * soft-fp/sqrtdf2.c: Likewise.
14158         * soft-fp/sqrtsf2.c: Likewise.
14159         * soft-fp/sqrttf2.c: Likewise.
14160         * soft-fp/subdf3.c: Likewise.
14161         * soft-fp/subsf3.c: Likewise.
14162         * soft-fp/subtf3.c: Likewise.
14163         * soft-fp/truncdfsf2.c: Likewise.
14164         * soft-fp/trunctfdf2.c: Likewise.
14165         * soft-fp/trunctfsf2.c: Likewise.
14166         * soft-fp/trunctfxf2.c: Likewise.
14167         * soft-fp/unorddf2.c: Likewise.
14168         * soft-fp/unordsf2.c: Likewise.
14169         * soft-fp/unordtf2.c: Likewise.
14170
14171 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14172
14173         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14174         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14175
14176 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14177
14178         * elf/dl-libc.c: Clear initfini list after freeing.
14179
14180 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14181
14182         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14183         * soft-fp/addsf3.c: Likewise.
14184         * soft-fp/addtf3.c: Likewise.
14185         * soft-fp/divdf3.c: Likewise.
14186         * soft-fp/divsf3.c: Likewise.
14187         * soft-fp/divtf3.c: Likewise.
14188         * soft-fp/double.h: Likewise.
14189         * soft-fp/eqdf2.c: Likewise.
14190         * soft-fp/eqsf2.c: Likewise.
14191         * soft-fp/eqtf2.c: Likewise.
14192         * soft-fp/extenddftf2.c: Likewise.
14193         * soft-fp/extended.h: Likewise.
14194         * soft-fp/extendsfdf2.c: Likewise.
14195         * soft-fp/extendsftf2.c: Likewise.
14196         * soft-fp/extendxftf2.c: Likewise.
14197         * soft-fp/fixdfdi.c: Likewise.
14198         * soft-fp/fixdfsi.c: Likewise.
14199         * soft-fp/fixdfti.c: Likewise.
14200         * soft-fp/fixsfdi.c: Likewise.
14201         * soft-fp/fixsfsi.c: Likewise.
14202         * soft-fp/fixsfti.c: Likewise.
14203         * soft-fp/fixtfdi.c: Likewise.
14204         * soft-fp/fixtfsi.c: Likewise.
14205         * soft-fp/fixtfti.c: Likewise.
14206         * soft-fp/fixunsdfdi.c: Likewise.
14207         * soft-fp/fixunsdfsi.c: Likewise.
14208         * soft-fp/fixunsdfti.c: Likewise.
14209         * soft-fp/fixunssfdi.c: Likewise.
14210         * soft-fp/fixunssfsi.c: Likewise.
14211         * soft-fp/fixunssfti.c: Likewise.
14212         * soft-fp/fixunstfdi.c: Likewise.
14213         * soft-fp/fixunstfsi.c: Likewise.
14214         * soft-fp/fixunstfti.c: Likewise.
14215         * soft-fp/floatdidf.c: Likewise.
14216         * soft-fp/floatdisf.c: Likewise.
14217         * soft-fp/floatditf.c: Likewise.
14218         * soft-fp/floatsidf.c: Likewise.
14219         * soft-fp/floatsisf.c: Likewise.
14220         * soft-fp/floatsitf.c: Likewise.
14221         * soft-fp/floattidf.c: Likewise.
14222         * soft-fp/floattisf.c: Likewise.
14223         * soft-fp/floattitf.c: Likewise.
14224         * soft-fp/floatundidf.c: Likewise.
14225         * soft-fp/floatundisf.c: Likewise.
14226         * soft-fp/floatunsidf.c: Likewise.
14227         * soft-fp/floatunsisf.c: Likewise.
14228         * soft-fp/floatuntidf.c: Likewise.
14229         * soft-fp/floatuntisf.c: Likewise.
14230         * soft-fp/floatuntitf.c: Likewise.
14231         * soft-fp/fmadf4.c: Likewise.
14232         * soft-fp/fmasf4.c: Likewise.
14233         * soft-fp/fmatf4.c: Likewise.
14234         * soft-fp/gedf2.c: Likewise.
14235         * soft-fp/gesf2.c: Likewise.
14236         * soft-fp/getf2.c: Likewise.
14237         * soft-fp/ledf2.c: Likewise.
14238         * soft-fp/lesf2.c: Likewise.
14239         * soft-fp/letf2.c: Likewise.
14240         * soft-fp/muldf3.c: Likewise.
14241         * soft-fp/mulsf3.c: Likewise.
14242         * soft-fp/multf3.c: Likewise.
14243         * soft-fp/negdf2.c: Likewise.
14244         * soft-fp/negsf2.c: Likewise.
14245         * soft-fp/negtf2.c: Likewise.
14246         * soft-fp/op-1.h: Likewise.
14247         * soft-fp/op-2.h: Likewise.
14248         * soft-fp/op-4.h: Likewise.
14249         * soft-fp/op-8.h: Likewise.
14250         * soft-fp/op-common.h: Likewise.
14251         * soft-fp/quad.h: Likewise.
14252         * soft-fp/single.h: Likewise.
14253         * soft-fp/soft-fp.h: Likewise.
14254         * soft-fp/sqrtdf2.c: Likewise.
14255         * soft-fp/sqrtsf2.c: Likewise.
14256         * soft-fp/sqrttf2.c: Likewise.
14257         * soft-fp/subdf3.c: Likewise.
14258         * soft-fp/subsf3.c: Likewise.
14259         * soft-fp/subtf3.c: Likewise.
14260         * soft-fp/truncdfsf2.c: Likewise.
14261         * soft-fp/trunctfdf2.c: Likewise.
14262         * soft-fp/trunctfsf2.c: Likewise.
14263         * soft-fp/trunctfxf2.c: Likewise.
14264         * soft-fp/unorddf2.c: Likewise.
14265         * soft-fp/unordsf2.c: Likewise.
14266         * soft-fp/unordtf2.c: Likewise.
14267
14268 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14269
14270         [BZ #15672]
14271         * misc/error.c (error_tail): Fix possible buffer overflow.
14272
14273 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14274
14275         [BZ #13028]
14276         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14277         address.
14278
14279 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14280
14281         [BZ #832]
14282         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14283         testing pipefail option.
14284
14285 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14286
14287         * soft-fp/double.h: Indent preprocessor directives inside #if.
14288         * soft-fp/extended.h: Likewise.
14289         * soft-fp/op-2.h: Likewise.
14290         * soft-fp/op-4.h: Likewise.
14291         * soft-fp/op-common.h: Likewise.
14292         * soft-fp/quad.h: Likewise.
14293         * soft-fp/single.h: Likewise.
14294         * soft-fp/soft-fp.h: Likewise.
14295
14296 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14297
14298         * iconv/iconv_prog.c: Fix typos.
14299         * stdio-common/psiginfo-data.h: Likewise.
14300
14301 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14302
14303         [BZ #15764]
14304         * locale/setlocale.c: Fix typo.
14305
14306 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14307
14308         [BZ #16036]
14309         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14310         signaling NaN arguments.
14311         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14312         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14313
14314         [BZ #14910]
14315         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14316         unordered operands.
14317         * soft-fp/gesf2.c (__gesf2): Likewise.
14318         * soft-fp/getf2.c (__getf2): Likewise.
14319         * soft-fp/ledf2.c (__ledf2): Likewise.
14320         * soft-fp/lesf2.c (__lesf2): Likewise.
14321         * soft-fp/letf2.c (__letf2): Likewise.
14322
14323         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14324         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14325         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14326         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14327         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14328         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14329         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14330         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14331         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14332         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14333         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14334         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14335         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14336         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14337         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14338         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14339         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14340         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14341         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14342         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14343         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14344         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14345         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14346         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14347         * soft-fp/floattidf.c (__floattidf): Likewise.
14348         * soft-fp/floattisf.c (__floattisf): Likewise.
14349         * soft-fp/floattitf.c (__floattitf): Likewise.
14350         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14351         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14352         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14353         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14354         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14355         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14356         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14357         * soft-fp/gesf2.c (__gesf2): Likewise.
14358         * soft-fp/getf2.c (__getf2): Likewise.
14359         * soft-fp/ledf2.c (__ledf2): Likewise.
14360         * soft-fp/lesf2.c (__lesf2): Likewise.
14361         * soft-fp/letf2.c (__letf2): Likewise.
14362
14363         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14364         Undefine and redefine.
14365         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14366         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14367         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14368         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14369         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14370         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14371         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14372         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14373         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14374         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14375         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14376         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14377         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14378         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14379         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14380
14381         [BZ #16032]
14382         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14383         without decrementing exponent if mantissa >= that for the
14384         denominator, not >.
14385         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14386         denominator, not >.  Decrement exponent in < case instead of
14387         incrementing in >= case.
14388         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14389         without decrementing exponent if mantissa >= that for the
14390         denominator, not >.
14391
14392         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14393         computing saturated result for unsigned overflow.
14394
14395 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14396             Jeff Law  <law@redhat.com>
14397
14398         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14399         (atan2Mp): Add systemtap probe marker.
14400         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14401         (__ieee754_log): Add systemtap probe marker.
14402         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14403         (atanMp): Add systemtap probe marker.
14404         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14405         (tanMp): Add systemtap probe marker.
14406         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14407         (__slowexp): Add systemtap probe marker.
14408         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14409         (__slowpow): Add systemtap probe marker.
14410         * manual/probes.texi: Document probes.
14411
14412 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14413
14414         [BZ #15362]
14415         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14416         written.
14417         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14418         written.
14419         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14420         written to buffer but not flushed.
14421         * libio/iofwrite_u.c:  Likewise.
14422         * libio/iopadn.c:  Return bytes returned even if EOF was
14423         encountered.
14424         * libio/iowpadn.c:  Likewise.
14425         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14426         if _IO_padn does not write the whole buffer.
14427         [!COMPILE_WPRINTF] (PAD): Likewise.
14428
14429 2013-10-10  David S. Miller  <davem@davemloft.net>
14430
14431         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14432         directory block.
14433
14434 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14435
14436         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14437         instead of FSF address.
14438         * soft-fp/fixdfti.c: Likewise.
14439         * soft-fp/fixsfti.c: Likewise.
14440         * soft-fp/fixtfti.c: Likewise.
14441         * soft-fp/fixunsdfti.c: Likewise.
14442         * soft-fp/fixunssfti.c: Likewise.
14443         * soft-fp/fixunstfti.c: Likewise.
14444         * soft-fp/floattidf.c: Likewise.
14445         * soft-fp/floattisf.c: Likewise.
14446         * soft-fp/floattitf.c: Likewise.
14447         * soft-fp/floatuntidf.c: Likewise.
14448         * soft-fp/floatuntisf.c: Likewise.
14449         * soft-fp/floatuntitf.c: Likewise.
14450         * soft-fp/trunctfxf2.c: Likewise.
14451
14452         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14453         * soft-fp/fixdfti.c: Likewise.
14454         * soft-fp/fixsfti.c: Likewise.
14455         * soft-fp/fixtfti.c: Likewise.
14456         * soft-fp/fixunsdfti.c: Likewise.
14457         * soft-fp/fixunssfti.c: Likewise.
14458         * soft-fp/fixunstfti.c: Likewise.
14459         * soft-fp/floattidf.c: Likewise.
14460         * soft-fp/floattisf.c: Likewise.
14461         * soft-fp/floattitf.c: Likewise.
14462         * soft-fp/floatuntidf.c: Likewise.
14463         * soft-fp/floatuntisf.c: Likewise.
14464         * soft-fp/floatuntitf.c: Likewise.
14465         * soft-fp/trunctfxf2.c: Likewise.
14466
14467 2013-10-10  David S. Miller  <davem@davemloft.net>
14468
14469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14470
14471 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14472
14473         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14474         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14475         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14476         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14477         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14478         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14479         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14480
14481         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14482         for NaNs before doing comparisons on argument.
14483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14484         Likewise.
14485
14486 2013-10-10  Will Newton  <will.newton@linaro.org>
14487
14488         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14489         passed to _int_memalign does not overflow.
14490
14491 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14492
14493         * scripts/bench.pl: Add include-sources directive.
14494         * benchtests/README: Update documentation.
14495
14496 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14497
14498         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14499         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14500         instead of FP_INIT_ROUNDMODE.
14501         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14502         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14503
14504         [BZ #16034]
14505         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14506         copy class of input value.
14507         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14508         not handle exceptions.
14509         * soft-fp/negsf2.c (__negsf2): Likewise.
14510         * soft-fp/negtf2.c (__negtf2): Likewise.
14511         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14512
14513 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14514
14515         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14516         semicolon.  From Linux kernel.
14517
14518 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14519
14520         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14521
14522 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14523
14524         [BZ #156]
14525         * manual/socket.texi: Added statement about buffer
14526         for gethostbyname2_r.
14527
14528 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14529
14530         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14531         Use .p2align directive instead, throughout.
14532         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14533         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14534         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14535         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14536         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14537         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14538         * sysdeps/x86_64/strchr.S: Likewise.
14539         * sysdeps/x86_64/strrchr.S: Likewise.
14540
14541 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14542
14543         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14544
14545         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14546
14547         * sysdeps/generic/math_private.h (__mpsin1): Remove
14548         declaration.
14549         (__mpcos1): Likewise.
14550         (__mpsin): New argument __range_reduce.
14551         (__mpcos): Likewise.
14552         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14553         (slow): Use __mpsin and __mpcos.
14554         (slow1): Likewise.
14555         (slow2): Likewise.
14556         (sloww): Likewise.
14557         (sloww1): Likewise.
14558         (sloww2): Likewise.
14559         (bsloww): Likewise.
14560         (bsloww1): Likewise.
14561         (bsloww2): Likewise.
14562         (cslow2): Likewise.
14563         (csloww): Likewise.
14564         (csloww1): Likewise.
14565         (csloww2): Likewise.
14566         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14567         range_reduce.  Merge in __mpsin1.
14568         (__mpcos): Likewise.
14569         (__mpsin1): Remove.
14570         (__mpcos1): Likewise.
14571
14572 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14573
14574         * locale/loadlocale.c (_nl_intern_locale_data): Use
14575         LOCFILE_ALIGNED_P.
14576         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14577         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14578         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14579         obstack data is appropriately aligned.
14580         (obstack_int32_grow_fast): Likewise.
14581         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14582         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14583         (add_locale_uint32_array): Likewise.
14584
14585 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14586
14587         * benchtests/Makefile: Remove ARGLIST and RET variables.
14588         ($(objpfx)bench-%.c): Pass only function name to the script.
14589         * benchtests/README: Update documentation.
14590         * benchtests/acos-inputs: Add new directives.
14591         * benchtests/acosh-inputs: Likewise.
14592         * benchtests/asin-inputs: Likewise.
14593         * benchtests/asinh-inputs: Likewise.
14594         * benchtests/atan-inputs: Likewise.
14595         * benchtests/atanh-inputs: Likewise.
14596         * benchtests/cos-inputs: Likewise.
14597         * benchtests/cosh-inputs: Likewise.
14598         * benchtests/exp-inputs: Likewise.
14599         * benchtests/log-inputs: Likewise.
14600         * benchtests/pow-inputs: Likewise.
14601         * benchtests/rint-inputs: Likewise.
14602         * benchtests/sin-inputs: Likewise.
14603         * benchtests/sinh-inputs: Likewise.
14604         * benchtests/tan-inputs: Likewise.
14605         * benchtests/tanh-inputs: Likewise.
14606         * scripts/bench.pl: Add support for new directives.
14607
14608 2013-10-07  Alan Modra  <amodra@gmail.com>
14609
14610         * README: Fix careless merge.
14611
14612 2013-10-05  Alan Modra  <amodra@gmail.com>
14613
14614         * NEWS: Mention powerpc64le support and bugs fixed.
14615         * README: Both big-endian and little-endian powerpc64 supported.
14616
14617 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14618
14619         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14620         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14621         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14622         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14623
14624 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14625
14626         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14627         match prototype.
14628
14629 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14630
14631         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14632         Move -mhard-float appending from
14633         ports/sysdeps/powerpc/powerpc32/Makefile.
14634         [$(with-fp) = yes] (ASFLAGS): Likewise.
14635         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14636         * sysdeps/powerpc/nofpu: Move directory from
14637         ports/sysdeps/powerpc/nofpu.
14638         * sysdeps/powerpc/soft-fp: Move directory from
14639         ports/sysdeps/powerpc/soft-fp.
14640         * sysdeps/powerpc/powerpc32/405: Move directory from
14641         ports/sysdeps/powerpc/powerpc32/405.
14642         * sysdeps/powerpc/powerpc32/440: Move directory from
14643         ports/sysdeps/powerpc/powerpc32/440.
14644         * sysdeps/powerpc/powerpc32/464: Move directory from
14645         ports/sysdeps/powerpc/powerpc32/464.
14646         * sysdeps/powerpc/powerpc32/476: Move directory from
14647         ports/sysdeps/powerpc/powerpc32/476.
14648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14649         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14651         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14653         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14655         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14657         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14658         * README: Update for powerpc-*-linux-gnu software floating point
14659         support in libc.
14660
14661         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14662         case to powerpc/powerpc32*.
14663         * sysdeps/unix/sysv/linux/configure: Regenerated.
14664
14665         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14666         (_FPU_MASK_OM): Define as 0x04.
14667         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14668         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14669         0x00c10080.
14670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14671         0x0000003c.
14672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14673
14674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14675         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14676         getcontext_e500.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14678         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14679         setcontext_e500.
14680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14681         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14682         and setcontext_e500.
14683
14684 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14685
14686         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14687
14688 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14689
14690         * manual/threads.texi (Default Thread Attributes): Fix typo.
14691
14692 2013-10-04  Will Newton  <will.newton@linaro.org>
14693
14694         * malloc/Makefile: Add tst-memalign.
14695         * malloc/tst-memalign.c: New file.
14696
14697         * malloc/tst-posix_memalign.c: Add comments.
14698         (do_test): Add comments and call free on all potentially
14699         allocated pointers. Add space after cast.
14700
14701         * malloc/tst-pvalloc.c: Add comments.
14702         (do_test): Add comments and call free on all potentially
14703         allocated pointers. Remove duplicate check for NULL pointer.
14704         Add space after cast.
14705
14706         * malloc/tst-valloc.c: Add comments.
14707         (do_test): Add comments and call free on all potentially
14708         allocated pointers. Remove duplicate check for NULL pointer.
14709         Add space after cast.
14710
14711 2013-10-04  Alan Modra  <amodra@gmail.com>
14712
14713         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14714         Use stdint types in rather than __attribute__((mode())).
14715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14716
14717 2013-10-04  Alan Modra  <amodra@gmail.com>
14718
14719         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14720         Correct handling of unaligned relocs for little-endian.
14721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14722
14723 2013-10-04  Alan Modra  <amodra@gmail.com>
14724
14725         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14726         * configure: Regenerate.
14727         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14728         * shlib-versions: Likewise.
14729
14730 2013-10-04  Alan Modra  <amodra@gmail.com>
14731
14732         * string/tester.c (test_memrchr): Increment reported test cycle.
14733
14734 2013-10-04  Alan Modra  <amodra@gmail.com>
14735
14736         * string/test-memcpy.c (do_one_test): When reporting errors, print
14737         string address and don't overrun end of string.
14738
14739 2013-10-04  Alan Modra  <amodra@gmail.com>
14740
14741         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14742         insrdi.  Make better use of reg selection to speed exit slightly.
14743         Schedule entry path a little better.  Remove useless "are we done"
14744         checks on entry to main loop.  Handle wrapping around zero address.
14745         Correct main loop count.  Handle single left-over word from main
14746         loop inline rather than by using loop_small.  Remove extra word
14747         case in loop_small caused by wrong loop count.  Add little-endian
14748         support.
14749         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14750         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14751         cache hint.
14752         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14753         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14754         support.  Avoid rlwimi.
14755         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14756
14757 2013-10-04  Alan Modra  <amodra@gmail.com>
14758
14759         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14760         insrdi.  Formatting.
14761         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14762         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14763         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14764         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14765         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14766         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14767
14768 2013-10-04  Alan Modra  <amodra@gmail.com>
14769
14770         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14771         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14772         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14773         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14774         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14775         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14776         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14777         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14778         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14779         use of regs.  Use power7 mtocrf.  Tidy function tails.
14780
14781 2013-10-04  Alan Modra  <amodra@gmail.com>
14782
14783         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14784         Formatting.  Consistently use rXXX register defines or rN defines.
14785         Use early exit labels that avoid restoring unused non-volatile regs.
14786         Make cr field use more consistent with rWORDn compares.  Rename
14787         regs used as shift registers for unaligned loop, using rN defines
14788         for short lifetime/multiple use regs.
14789         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14790         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14791         addi 1,1,64 to pop stack frame.  Simplify return value code.
14792         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14793
14794 2013-10-04  Alan Modra  <amodra@gmail.com>
14795
14796         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14797         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14798         rather than rlwimi.
14799         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14800         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14801         little-endian support.  Correct typos.
14802         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14803         rather than rlwimi.
14804         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14805         in loop and entry code to keep "and." results.
14806         (strchr): Add little-endian support.  Comment.  Move cntlzd
14807         earlier in tail.
14808         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14809
14810 2013-10-04  Alan Modra  <amodra@gmail.com>
14811
14812         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14813         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14814         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14815         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14816
14817 2013-10-04  Alan Modra  <amodra@gmail.com>
14818
14819         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14820         (rTMP): Define as r11.
14821         (strcmp): Add little-endian support.  Optimise tail.
14822         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14823         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14824         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14825         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14826         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14827         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14828         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14829
14830 2013-10-04  Alan Modra  <amodra@gmail.com>
14831
14832         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14833         little-endian support.  Remove unnecessary "are we done" tests.
14834         Handle "s" wrapping around zero and extremely large "size".
14835         Correct main loop count.  Handle single left-over word from main
14836         loop inline rather than by using small_loop.  Correct comments.
14837         Delete "zero" tail, use "end_max" instead.
14838         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14839
14840 2013-10-04  Alan Modra  <amodra@gmail.com>
14841
14842         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14843         support.  Don't branch over align.
14844         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14845         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14846         support.  Rearrange tmp reg use to suit.  Comment.
14847         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14848
14849 2013-10-04  Alan Modra  <amodra@gmail.com>
14850
14851         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14852
14853 2013-10-04  Alan Modra  <amodra@gmail.com>
14854
14855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14856         conditional form of branch and link when obtaining pc.
14857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14858
14859 2013-10-04  Alan Modra  <amodra@gmail.com>
14860
14861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14862         HIWORD/LOWORD.
14863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14865
14866 2013-10-04  Alan Modra  <amodra@gmail.com>
14867
14868         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14869         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14870         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14871         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14872         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14873         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14874         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14875         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14876         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14877         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14878
14879 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14880             Alistair Popple <alistair@ozlabs.au.ibm.com>
14881             Alan Modra <amodra@gmail.com>
14882
14883         [BZ #15723]
14884         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14885         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14886         _dl_hwcap access for little-endian.
14887         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14888         destroy vmx regs when saving unaligned.
14889         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14890         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14891         destroy vmx regs when saving unaligned.
14892
14893 2013-10-04  Alan Modra  <amodra@gmail.com>
14894
14895         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14896         Don't use a union to pack hi/low value.
14897
14898 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14899
14900         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14901         for little-endian.
14902         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14903         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14904         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14905         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14906         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14907
14908 2013-10-04  Alan Modra  <amodra@gmail.com>
14909
14910         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14911         constants to usual value for .cst8 section, and remove redundant
14912         high address load.
14913         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14914         constant for 0x1p52.  Load little-endian words of double from
14915         correct stack offsets.
14916
14917 2013-10-04  Alan Modra  <amodra@gmail.com>
14918
14919         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14920         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14921         words of double from correct stack offsets.
14922         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14923         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14924         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14925         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14926         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14927         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14928         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14929         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14930         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14931         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14932         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14933         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14934         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14935         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14936         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14937         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14938         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14939
14940 2013-10-04  Alan Modra  <amodra@gmail.com>
14941
14942         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14943         64-bit int/double union.
14944         (_FPU_SETCW): Likewise.
14945         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14946         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14947
14948 2013-10-04  Alan Modra  <amodra@gmail.com>
14949
14950         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14951         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14952
14953 2013-10-04  Alan Modra  <amodra@gmail.com>
14954
14955         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14956         use vector int constants.
14957         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14958
14959 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14960
14961         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14962         array with long long.
14963         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14964         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14965         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14966         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14967         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14968         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14969         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14970         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14971         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14972         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14973         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14974         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14975         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14976
14977 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14978
14979         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14980         (__signbit): Likewise.  Correct for little-endian.
14981         (__signbitl): Call __signbit.
14982         (lrint): Correct for little-endian.
14983         (lrintf): Call lrint.
14984
14985 2013-10-04  Alan Modra  <amodra@gmail.com>
14986
14987         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14988         union 32-bit int array member with 64-bit int array.
14989         (t515, tm256): Double rather than long double.
14990         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14991
14992 2013-10-04  Alan Modra  <amodra@gmail.com>
14993
14994         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14995         Delete.
14996         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14997         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14998         version of math_ldbl.h.
14999
15000 2013-10-04  Alan Modra  <amodra@gmail.com>
15001
15002         [BZ #15734], [BZ #15735]
15003         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15004         all uses of ieee875 long double macros and unions.  Simplify test
15005         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
15006         ldbl_extract_mantissa value for ix,iy exponents.  Properly
15007         normalize after ldbl_extract_mantissa, and don't add hidden bit
15008         already handled.  Don't treat low word of ieee854 mantissa like
15009         low word of IBM long double and mask off bit when testing for
15010         zero.
15011         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15012         all uses of ieee875 long double macros and unions.  Simplify tests
15013         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15014         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
15015         two1022, instead use their values.  Recognise that tests for large
15016         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
15017         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15018         Rewrite all uses of ieee875 long double macros and unions.  Simplify
15019         test for 0.0L and nan.  Correct negation.
15020         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15021         ieee875 long double macros and unions.  Correct output for large
15022         magnitude x.  Correct absolute value calculation.
15023         (__erfcl): Likewise.
15024         * math/libm-test.inc: Add tests for errors discovered in IBM long
15025         double versions of fmodl, remainderl, erfl and erfcl.
15026
15027 2013-10-04  Alan Modra  <amodra@gmail.com>
15028
15029         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15030         all uses of ieee854 long double macros and unions.  Simplify tests
15031         for long doubles that are fully specified by the high double.
15032         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15033         Likewise.
15034         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15035         Remove dead code too.
15036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15037         (__ieee754_ynl): Likewise.
15038         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15039         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15040         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15041         Remove dead code too.
15042         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15043         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15044         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15045         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15046         Simplify.
15047         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15048         Simplify.
15049         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15050         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15051         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15052         Comment on variable precision.
15053         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15054         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15055         Likewise.
15056         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15057         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15058         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15059         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15060         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15061
15062 2013-10-04  Alan Modra  <amodra@gmail.com>
15063
15064         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15065         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15066         all uses of ieee854 long double macros and unions.
15067         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15068         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15069         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15070         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15071         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15072         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15073         Likewise.
15074         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15075         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15076         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15077         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15078         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15079         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15080         Simplify sign and nan test too.
15081         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15082         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15083         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15084         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15085         Likewise.
15086         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15087         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15088         Likewise.
15089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15090         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15091         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15092         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15093         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15094         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15095
15096 2013-10-04  Alan Modra  <amodra@gmail.com>
15097
15098         * stdio-common/printf_size.c (__printf_size): Don't use
15099         union ieee854_long_double in fpnum union.
15100         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15101         signbit macro to retrieve sign from long double.
15102         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15103         retrieve sign from long double.
15104         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15105         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15106         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15107         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15108         * math/test-misc.c (main): Don't use union ieee854_long_double.
15109
15110 2013-10-04  Alan Modra  <amodra@gmail.com>
15111
15112         [BZ #15680]
15113         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15114         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15115         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15116         calculation.  Remove unnecessary test for denormal exponent.
15117         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15118         Correct handling of denormals.  Avoid undefined shift behaviour.
15119         Correct normalisation of low mantissa when low double is denormal.
15120         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15121         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15122         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15123         Correct normalisation of low mantissa.  Test for overflow of high
15124         mantissa and normalise.
15125         (ldbl_nearbyint): Use more readable constant for two52.
15126         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15127         (__mpn_construct_long_double): Fix test for overflow of high
15128         mantissa and correct normalisation.  Avoid undefined shift.
15129
15130 2013-10-04  Alan Modra  <amodra@gmail.com>
15131
15132         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15133         (union ibm_extended_long_double): Define as an array of ieee754_double.
15134         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15135         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15136         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15137         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15138         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15139         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15140         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15141         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15142         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15143         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15144         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15145
15146 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15147
15148         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15149         page size instead of calling getpagesize.
15150
15151         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15152         (LOCFILE_ALIGN_MASK): Likewise.
15153         (LOCFILE_ALIGN_UP): Likewise.
15154         (LOCFILE_ALIGNED_P): Likewise.
15155         * locale/programs/ld-collate.c (collate_output): Use the new
15156         macros instead of __alignof__ (int32_t).
15157         * locale/weight.h (findidx): Likewise.
15158
15159 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15160
15161         [BZ #431]
15162         * manual/string.texi: Fix strncat and wcsncat.
15163
15164 2013-10-03  Brooks Moses  <bmoses@google.com>
15165
15166         [BZ #15915]
15167         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15168         * Makerules: ...here, and adjust associated comments.
15169
15170 2013-10-02  Will Newton  <will.newton@linaro.org>
15171
15172         * malloc/Makefile: Add tst-pvalloc.
15173         * malloc/tst-pvalloc.c: New file.
15174
15175 2013-10-02  Will Newton  <will.newton@linaro.org>
15176
15177         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15178         improve test coverage.
15179
15180 2013-10-02  Will Newton  <will.newton@linaro.org>
15181
15182         * malloc/Makefile: Add tst-posix_memalign.
15183         * malloc/tst-posix_memalign.c: New file.
15184
15185 2013-10-01  Eric Blake  <eblake@redhat.com>
15186
15187         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15188         Use __THROWNL rather than __THROW on static functions.
15189
15190 2013-09-30  Petr Machata  <pmachata@redhat.com>
15191
15192         * elf/elf.h (R_AARCH64_ABS16): New macro.
15193         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15194         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15195         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15196         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15197         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15198         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15199         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15200         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15201         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15202         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15203         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15204         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15205         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15206         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15207         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15208         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15209         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15210         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15211         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15212         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15213         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15214         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15215         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15216         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15217         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15218         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15219         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15220         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15221         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15222         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15223         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15224         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15225         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15226         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15227         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15228         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15229         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15230         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15231         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15232         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15233         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15234         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15235         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15236         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15237         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15238         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15239         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15240         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15241         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15242         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15243         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15244         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15245         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15246         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15247         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15248         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15249         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15250         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15251         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15252         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15253         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15254         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15255         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15256         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15257         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15258         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15259         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15260         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15261         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15262         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15263         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15264         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15265         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15266         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15267         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15268         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15269         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15270         (R_AARCH64_TLSDESC_LDR): Likewise.
15271         (R_AARCH64_TLSDESC_ADD): Likewise.
15272         (R_AARCH64_TLSDESC_CALL): Likewise.
15273
15274 2013-09-30  Andreas Schwab  <schwab@suse.de>
15275
15276         [BZ #15048]
15277         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15278         the nss database lookup.
15279         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15281
15282 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15283
15284         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15285
15286 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15287
15288         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15289         ${Bash-specific parameter/pattern/string} parameter expansion.
15290         * sysdeps/unix/make-syscalls.sh: Likewise.
15291
15292 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15293
15294         * sysdeps/sh/stackguard-macros.h: New file.
15295
15296 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15297
15298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15299         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15300         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15301         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15302         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15303         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15304
15305 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15306
15307         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15308         Fix thread ID register.
15309
15310 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15311
15312         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15313         [POSIX || UNIX98]: Require rather than permitting all symbols from
15314         <time.h>.
15315         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15316         element of struct sched_param.
15317         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15318         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15319         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15320         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15321         constant.
15322
15323 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15324
15325         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15326         argument calculation.
15327
15328 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15329
15330         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15331         Expect macro.
15332         [POSIX] (pthread_attr_t): Do not require type.
15333         [POSIX] (pthread_cond_t): Likewise.
15334         [POSIX] (pthread_condattr_t): Likewise.
15335         [POSIX] (pthread_key_t): Likewise.
15336         [POSIX] (pthread_mutex_t): Likewise.
15337         [POSIX] (pthread_mutexattr_t): Likewise.
15338         [POSIX] (pthread_once_t): Likewise.
15339         [POSIX] (pthread_t): Likewise.
15340         [POSIX-based standards] (pthread_atfork): Expect function.
15341
15342 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15343             Richard Sandiford  <richard@codesourcery.com>
15344
15345         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15346         (swap_endianness_p): New extern variable.
15347         (set_big_endian): New inline function.
15348         (maybe_swap_uint32): Likewise.
15349         (maybe_swap_uint32_array): Likewise.
15350         (maybe_swap_uint32_obstack): Likewise.
15351         * locale/programs/locfile.c: Include <stdbool.h>.
15352         (swap_endianness_p): New variable.
15353         (add_locale_uint32): Call maybe_swap_uint32.
15354         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15355         (write_locale_data): Call maybe_swap_uint32_array.
15356         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15357         maybe_swap_uint32.
15358         (obstack_int32_grow_fast): Likewise.
15359         (output_weightwc): Call maybe_swap_uint32_obstack.
15360         (collate_output): Likewise.
15361         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15362         (OPT_LITTLE_ENDIAN): Likewise.
15363         (options): Add --little-endian and --big-endian options.
15364         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15365         * locale/programs/locarchive.c: Include "locfile.h".
15366         (GET): New macro.
15367         (SET): Likewise.
15368         (INC): Likewise.
15369         (create_archive): Use the new macros to access fields of
15370         structures directly mapped from or written to locale archives.
15371         (oldlocrecentcmp): Likewise.
15372         (enlarge_archive): Likewise.
15373         (insert_name): Likewise.
15374         (add_alias): Likewise.
15375         (add_locale): Likewise.
15376         (delete_locales_from_archive): Likewise.
15377         (show_archive_content): Likewise.
15378         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15379         locale data.
15380
15381 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15382
15383         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15384         http://www.gnu.org/doc/freemanuals.texi.
15385         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15386
15387 2013-09-24  Will Newton  <will.newton@linaro.org>
15388
15389         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15390         macro.
15391
15392 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15393
15394         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15395         unsigned char.
15396
15397 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15398
15399         * manual/threads.texi (POSIX Threads): Fix a typo.
15400
15401 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15402
15403         [BZ #14547]
15404         * string/tst-strcoll-overflow.c: New test case.
15405         * string/Makefile (xtests): Add tst-strcoll-overflow.
15406         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15407         cache if string sizes may cause integer overflow.
15408
15409         [BZ #14547]
15410         * string/strcoll_l.c (coll_seq): New members rule, idx,
15411         save_idx and back_us.
15412         (get_next_seq_nocache): New function.
15413         (do_compare_nocache): New function.
15414         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15415         when malloc fails.
15416
15417 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15418
15419         [BZ #15754]
15420         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15421         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15422         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15423
15424         [BZ #15754]
15425         * elf/Makefile (tests): Add tst-ptrguard1.
15426         (tests-static): Add tst-ptrguard1-static.
15427         (tst-ptrguard1-ARGS): Define.
15428         (tst-ptrguard1-static-ARGS): Define.
15429         * elf/tst-ptrguard1.c: New file.
15430         * elf/tst-ptrguard1-static.c: New file.
15431         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15432         * sysdeps/i386/stackguard-macros.h: Likewise.
15433         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15434         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15435         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15436         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15437         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15438         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15439
15440 2013-09-23  Hector Marco  <hecmargi@upv.es>
15441             Ismael Ripoll  <iripoll@disca.upv.es>
15442             Carlos O'Donell  <carlos@redhat.com>
15443
15444         [BZ #15754]
15445         * sysdeps/generic/stackguard-macros.h: Define
15446         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15447         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15448         Define __pointer_chk_guard_local.
15449         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15450         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15451
15452 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15453
15454         [BZ #15859]
15455         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15456
15457 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15458
15459         * include/string.h (__ffs): Declare as hidden.
15460         * string/ffs.c (__ffs): Define as hidden.
15461         * sysdeps/i386/ffs.c (__ffs): Likewise.
15462         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15463         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15464         * sysdeps/s390/ffs.c (__ffs): Likewise.
15465         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15466
15467 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15468
15469         * NEWS: Mention malloc probes.
15470
15471         * malloc/arena.c (new_heap): New memory_heap_new probe.
15472         (grow_heap): New memory_heap_more probe.
15473         (shrink_heap): New memory_heap_less probe.
15474         (heap_trim): New memory_heap_free probe.
15475         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15476         (systrim): New memory_sbrk_less probe.
15477         * manual/probes.texi: Document them.
15478
15479         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15480         * manual/probes.texi: Document it.
15481
15482         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15483         (__libc_realloc): Add memory_realloc_retry probe.
15484         (__libc_memalign): Add memory_memalign_retry probe.
15485         (__libc_valloc): Add memory_valloc_retry probe.
15486         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15487         (__libc_calloc): Add memory_calloc_retry probe.
15488         * manual/probes.texi: Document them.
15489
15490         * malloc/arena.c (get_free_list): Add probe
15491         memory_arena_reuse_free_list.
15492         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15493         and memory_arena_reuse.
15494         (arena_get2) [!PER_THREAD]: Likewise.
15495         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15496         memory_arena_reuse_realloc.
15497         * manual/probes.texi: Document them.
15498
15499         * malloc/malloc.c (__libc_free): Add
15500         memory_mallopt_free_dyn_thresholds probe.
15501         (__libc_mallopt): Add multiple memory_mallopt probes.
15502         * manual/probes.texi: Document them.
15503
15504         * malloc/malloc.c: Include stap-probe.h.
15505         (__libc_mallopt): Add memory_mallopt probe.
15506         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15507         * manual/probes.texi: New.
15508         * manual/Makefile (chapters): Add probes.
15509         * manual/threads.texi: Set next node.
15510
15511 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15512
15513         [BZ #15963, #13985]
15514         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15515         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15516         Add `Chinese' to `nan' entry name.
15517
15518 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15519
15520         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15521         (POLYNOMIAL): Likewise.
15522         (TAYLOR_SINCOS): Likewise.
15523         (TAYLOR_SLOW): Likewise.
15524         (__sin): Use TAYLOR_SINCOS.
15525         (__cos): Likewise.
15526         (slow): Use TAYLOR_SLOW.
15527         (sloww): Likewise.
15528         (bsloww): Likewise.
15529         (csloww): Likewise.
15530
15531 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15532
15533         * stdlib/strtod_l.c: Fix buffer overrun.
15534
15535 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15536
15537         * benchtests/Makefile (bench): Add sincos.
15538         * benchtests/bench-sincos.c: New file.
15539
15540         * math/libm-test.inc (cos_test_data): New test inputs.
15541         (sin_test_data): Likewise.
15542
15543         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15544         macro.
15545         (__sin): Use it.
15546         (__cos): Likewise.
15547         (slow1): Likewise.
15548         (slow2): Likewise.
15549         (sloww1): Likewise.
15550         (sloww2): Likewise.
15551         (bsloww1): Likewise.
15552         (bsloww2): Likewise.
15553         (cslow2): Likewise.
15554         (csloww1): Likewise.
15555         (csloww2): Likewise.
15556
15557         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15558         function.
15559         (__sin): Use it.
15560         (__cos): Likewise.
15561
15562         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15563         gotos.
15564         (__cos): Likewise.
15565
15566 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15567
15568         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15569         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15570         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15571         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15572         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15573         * elf/cache.c (print_entry): Handle the new cache flags.
15574
15575 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15576             Aldy Hernandez  <aldyh@redhat.com>
15577
15578         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15579         Change condition to [_SOFT_FLOAT].
15580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15592         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15595         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15596         declaration.
15597
15598 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15599
15600         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15601         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15602         (__longjmp): Use LOAD_GP to load saved GPRs.
15603         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15604         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15605         (__sigsetjmp): Use SAVE_GP to save GPRs.
15606
15607         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15608         Do not append -msoft-float.
15609         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15610
15611 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15612
15613         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15614
15615 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15616
15617         [BZ #15966]
15618         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15619         (_FPU_GETCW): Use initial "__" on variable and field names but not
15620         on macro parameter name.
15621         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15622         parentheses around reference to macro parameter.
15623
15624 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15625
15626         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15627         prototype.
15628         (ctype_startup): Use uint32_t in cast and sizeof for
15629         ctype->charnames.
15630
15631 2013-09-11  Jia Liu  <proljc@gmail.com>
15632
15633         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15634         __daddr_t_defined.
15635         [__FreeBSD__]: Likewise.
15636
15637 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15638
15639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15640         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15641         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15642         (strchr): Remove __strchr_sse42 ifunc selection.
15643         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15644         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15645
15646 2013-09-11  Will Newton  <will.newton@linaro.org>
15647
15648         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15649         parameter to RES. Remove hardcoded 1000 value.
15650         * benchtests/bench-skeleton.c (main): Pass RES parameter
15651         to TIMING_INIT and multiply result by 1000.
15652
15653 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15654
15655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15656
15657 2013-09-11  Andreas Schwab  <schwab@suse.de>
15658
15659         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15660         if not defined.
15661         (O_TMPFILE) [__USE_GNU]: Define.
15662         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15663         Define.
15664
15665 2013-09-11  Will Newton  <will.newton@linaro.org>
15666
15667         [BZ #15857]
15668         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15669         does not overflow.
15670
15671 2013-09-11  Will Newton  <will.newton@linaro.org>
15672
15673         [BZ #15856]
15674         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15675         does not overflow.
15676
15677 2013-09-11  Will Newton  <will.newton@linaro.org>
15678
15679         [BZ #15855]
15680         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15681         does not overflow.
15682
15683 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15684
15685         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15686         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15687         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15688         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15689         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15690
15691 2013-09-10  Allan McRae  <allan@archlinux.org>
15692
15693         [BZ #15748]
15694         * manual/arith.texi (Parsing of Floats): Clarify
15695         cross-reference.
15696
15697         [BZ #15849]
15698         * manual/install.texi (Running make install): Mention
15699         --enable-pt-chown.
15700         * INSTALL: Regenerated.
15701
15702 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15703
15704         * csu/init-first.c (_init): Remove the !SHARED condition around
15705         FPU control word initialization.
15706         * elf/dl-support.c (_dl_fpu_control): New variable.
15707         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15708         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15709         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15710         * math/test-fpucw-static.c: New file.
15711         * math/test-fpucw-ieee.c: New file.
15712         * math/test-fpucw-ieee-static.c: New file.
15713         * math/Makefile (tests): Add `test-fpucw-ieee' and
15714         `$(tests-static)'.
15715         (tests-static): New variable.
15716         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15717         dependency to...
15718         [($(build-shared),yes)]
15719         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15720         ... this.
15721         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15722         New dependency.
15723
15724 2013-09-09  Allan McRae  <allan@archlinux.org>
15725
15726         [BZ #15939]
15727         * manual/string.texi (Collation Functions): Fix typo in
15728         strcoll example.
15729         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15730
15731         [BZ #15893]
15732         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15733
15734         [BZ #15892]
15735         * libio/memstream.c (open_memstream): Fix memory leak.
15736         * libio/wmemstream.c (open_wmemstream): Likewise.
15737
15738         [BZ #15895]
15739         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15740
15741 2013-09-09  Will Newton  <will.newton@linaro.org>
15742
15743         * malloc/Makefile: Add tst-realloc to tests.
15744         * malloc/tst-realloc.c: New file.
15745
15746 2013-09-09  Allan McRae  <allan@archlinux.org>
15747
15748         [BZ #15844]
15749         * COPYING: Update from GNU website to fix FSF address.
15750         * COPYING.LIB: Likewise.
15751
15752 2013-09-06  David S. Miller  <davem@davemloft.net>
15753
15754         * po/zh_TW.po: Update Chinese (traditional) translation from
15755         translation project.
15756
15757 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15758             Joseph Myers  <joseph@codesourcery.com>
15759
15760         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15761         "localeinfo.h".
15762         (obstack_chunk_alloc): New macro.
15763         (obstack_chunk_free): Likewise.
15764         (record_offset): New function.
15765         (init_locale_data): Likewise.
15766         (align_locale_data): Likewise.
15767         (add_locale_empty): Likewise.
15768         (add_locale_raw_data): Likewise.
15769         (add_locale_raw_obstack): Likewise.
15770         (add_locale_string): Likewise.
15771         (add_locale_wstring): Likewise.
15772         (add_locale_uint32): Likewise.
15773         (add_locale_uint32_array): Likewise.
15774         (add_locale_char): Likewise.
15775         (start_locale_structure): Likewise.
15776         (end_locale_structure): Likewise.
15777         (start_locale_prelude): Likewise.
15778         (end_locale_prelude): Likewise.
15779         (write_locale_data): Take locale_file structure rather than an
15780         iovec.
15781         * locale/programs/locfile.h: Include "obstack.h".
15782         (struct locale_file): Change to store locale file contents instead
15783         of header.
15784         (init_locale_data): New prototype.
15785         (align_locale_data): Likewise.
15786         (add_locale_empty): Likewise.
15787         (add_locale_raw_data): Likewise.
15788         (add_locale_raw_obstack): Likewise.
15789         (add_locale_string): Likewise.
15790         (add_locale_wstring): Likewise.
15791         (add_locale_uint32): Likewise.
15792         (add_locale_uint32_array): Likewise.
15793         (add_locale_char): Likewise.
15794         (start_locale_structure): Likewise.
15795         (end_locale_structure): Likewise.
15796         (start_locale_prelude): Likewise.
15797         (end_locale_prelude): Likewise.
15798         (write_locale_data): Update prototype.
15799         * locale/programs/3level.h (struct TABLE): Remove result field.
15800         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15801         Use new locale_file interface.
15802         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15803         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15804         * locale/programs/ld-address.c (address_output): Use new
15805         locale_file interface.
15806         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15807         NO_ADD_LOCALE.
15808         (collate_finish): Don't call collseq_table_finalize.
15809         (collate_output): Use new locale_file interface.
15810         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15811         in file.
15812         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15813         (TABLE): Move defines earlier in file.
15814         (ELEMENT): Likewise.
15815         (DEFAULT): Likewise.
15816         (wctrans_table_add): Move macro and inline function earlier in
15817         file.
15818         (struct wctype_table): Move type earlier in file.
15819         (add_locale_wctype_table): New static prototype.
15820         (struct locale_ctype_t): Use logical types instead of struct iovec
15821         pointers for members.
15822         (ctype_output): Use new locale_file interface.
15823         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15824         new locale_file interface.
15825         (allocate_arrays): Update for use of new locale_file interface.
15826         * locale/programs/ld-identification.c (identification_output): Use
15827         new locale_file interface.
15828         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15829         * locale/programs/ld-messages.c (messages_output): Likewise.
15830         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15831         * locale/programs/ld-name.c (name_output): Likewise.
15832         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15833         * locale/programs/ld-paper.c (paper_output): Likewise.
15834         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15835         * locale/programs/ld-time.c (time_output): Likewise.
15836
15837 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15838
15839         * benchtests/Makefile: Add memrchr benchmark.
15840         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15841         benchmark as memrchr.
15842         * benchtests/bench-memrchr-ifunc.c: New file.
15843         * benchtests/bench-memrchr.c: New file.
15844
15845 2013-09-06   Will Newton  <will.newton@linaro.org>
15846
15847         * benchtests/Makefile (string-bench): Add memcpy.
15848
15849 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15850             Cong Wang  <amwang@redhat.com>
15851
15852         [BZ #15850]
15853         * sysdeps/unix/sysv/linux/bits/in.h
15854         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15855         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15856         before __USE_KERNEL_IPV6_DEFS uses.
15857         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15858         IPPROTO_BEETPH.
15859         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15860         sockaddr_in6, or ipv6_mreq.
15861
15862 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15863
15864         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15865         memory access for final bytes in some large inputs.
15866         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15867
15868 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15869
15870         * string/test-memrchr.c: New file.
15871         * string/test-memrchr-ifunc.c: New file.
15872         * string/Makefile: Add new memrchr testcase.
15873
15874 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15875
15876         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15877         fanotify_init returns EPERM.
15878
15879 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15880
15881         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15882         errors.
15883         (top level): Treat second token from macro or constant entries for
15884         allowed headers as allowed.
15885         * include/complex.h: Condition internal declarations on
15886         [!_ISOMAC].
15887         * include/fenv.h: Condition include of <stdbool.h> and internal
15888         declarations on [!_ISOMAC].
15889
15890 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15891
15892         [BZ #15923]
15893         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15894
15895 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15896
15897         * configure.in (--enable-versioning): Remove configure option.
15898         (libc_cv_asm_symver_directive): Remove configure test.
15899         (libc_cv_ld_version_script_option): Likewise.
15900         (VERSIONING): Remove variable and AC_SUBST.
15901         (DO_VERSIONING): Remove AC_DEFINE.
15902         * configure: Regenerated.
15903         * config.h.in (DO_VERSIONING): Remove macro.
15904         * Makerules [$(versioning) = yes]: Change conditionals to
15905         [$(build-shared) = yes].
15906         * config.make.in (versioning): Remove variable.
15907         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15908         [$(build-shared) = yes].
15909         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15910         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15911         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15912         [$(build-shared) = yes].
15913         * extra-lib.mk [$(versioning) = yes]: Likewise.
15914         * hurd/Makefile [$(versioning) = yes]: Likewise.
15915         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15916         [SHARED].
15917         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15918         [SHARED].
15919         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15920         [SHARED && !NO_HIDDEN].
15921         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15922         [SHARED].
15923         [SHARED && DO_VERSIONING]: Likewise..
15924         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15925         [$(build-shared) = yes].
15926         * manual/install.texi (--disable-versioning): Remove
15927         documentation.
15928         * INSTALL: Regenerated.
15929         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15930         to [SHARED].
15931         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15932         [$(build-shared) = yes].
15933         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15934         * sysdeps/i386/i686/multiarch/strstr-c.c
15935         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15936         [SHARED && !NO_HIDDEN].
15937         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15938         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15939         * sysdeps/powerpc/powerpc32/dl-machine.c
15940         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15941         * sysdeps/powerpc/powerpc32/sysdep.h
15942         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15943         to [SHARED && PIC && !NO_HIDDEN].
15944         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15945         conditional to [SHARED].
15946
15947 2013-09-04   Will Newton  <will.newton@linaro.org>
15948
15949         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15950         * benchtests/bench-string.h: Include bench-timing.h instead
15951         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15952         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15953         call to HP_TIMING_DIFF_INIT.
15954         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15955         instead of hp-timing.h macros.
15956         * benchtests/bench-memchr.c: Likewise.
15957         * benchtests/bench-memcmp.c: Likewise.
15958         * benchtests/bench-memcpy.c: Likewise.
15959         * benchtests/bench-memmem.c: Likewise.
15960         * benchtests/bench-memmove.c: Likewise.
15961         * benchtests/bench-memset.c: Likewise.
15962         * benchtests/bench-rawmemchr.c: Likewise.
15963         * benchtests/bench-strcasecmp.c: Likewise.
15964         * benchtests/bench-strcasestr.c: Likewise.
15965         * benchtests/bench-strcat.c: Likewise.
15966         * benchtests/bench-strchr.c: Likewise.
15967         * benchtests/bench-strcmp.c: Likewise.
15968         * benchtests/bench-strcpy.c: Likewise.
15969         * benchtests/bench-strcpy_chk.c: Likewise.
15970         * benchtests/bench-strlen.c: Likewise.
15971         * benchtests/bench-strncasecmp.c: Likewise.
15972         * benchtests/bench-strncat.c: Likewise.
15973         * benchtests/bench-strncmp.c: Likewise.
15974         * benchtests/bench-strncpy.c: Likewise.
15975         * benchtests/bench-strnlen.c: Likewise.
15976         * benchtests/bench-strpbrk.c: Likewise.
15977         * benchtests/bench-strrchr.c: Likewise.
15978         * benchtests/bench-strspn.c: Likewise.
15979         * benchtests/bench-strstr.c: Likewise.
15980
15981 2013-09-04  Will Newton  <will.newton@linaro.org>
15982
15983         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15984
15985 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15986
15987         [BZ #15427]
15988         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15989         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15990         * math/libm-test.inc (lgamma_test_data): Add more tests.
15991         * sysdeps/i386/fpu/libm-test-ulps: Update.
15992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15993
15994 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15995
15996         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15998         Add ifunc.
15999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16000         Add strcmp-sse2-unaligned
16001         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16002
16003 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16004
16005         * Versions.def (libc): Add GLIBC_2.19.
16006
16007 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
16008
16009         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16010         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16011
16012 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
16013
16014         [BZ #14155]
16015         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16016         intermediate calculations in recurrence.
16017         (__ieee754_ynf): Likewise.
16018         * math/libm-test.inc (jn_test_data): Do not allow spurious
16019         underflow exception.  Add more tests.
16020         (yn_test_data): Add more tests.
16021         * sysdeps/i386/fpu/libm-test-ulps: Update.
16022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16023
16024 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
16025
16026         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16027
16028 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16029
16030         * csu/init-first.c: Fix then/than typos.
16031         * locale/programs/ld-collate.c: Likewise.
16032         * locale/programs/linereader.h: Likewise.
16033         * manual/charset.texi: Likewise.
16034         * manual/filesys.texi: Likewise.
16035         * manual/stdio.texi: Likewise.
16036         * manual/string.texi: Likewise.
16037         * stdlib/fmtmsg.c: Likewise.
16038         * sysdeps/i386/stpncpy.S: Likewise.
16039         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16040         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16041         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16042         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16043
16044 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
16045
16046         * elf/dl-open.c: Fix typos.
16047         * iconvdata/gbbig5.c: Likewise.
16048         * iconvdata/iso-2022-jp.c: Likewise.
16049         * iconv/gconv_int.h: Likewise.
16050         * iconv/loop.c: Likewise.
16051         * nis/rpcsvc/nis.h: Likewise.
16052         * resolv/ns_name.c: Likewise.
16053         * stdio-common/vfscanf.c: Likewise.
16054         * streams/stropts.h: Likewise.
16055         * sunrpc/rpc_thread.c: Likewise.
16056         * sysdeps/i386/strpbrk.S: Likewise.
16057         * sysdeps/ieee754/k_standard.c: Likewise.
16058         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16060         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16061         * sysdeps/mach/hurd/profil.c: Likewise.
16062         * sysdeps/s390/dl-procinfo.h: Likewise.
16063         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16064         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16065         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16066         * sysdeps/x86_64/dl-trampoline.S: Likewise.
16067         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16068
16069 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
16070
16071         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16073
16074 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16075
16076         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16077         aix specific files.
16078         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16079         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16080         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16081         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16082         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16083         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16084         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16085         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16086
16087 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16088             Roland McGrath  <roland@hack.frob.com>
16089
16090         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16091         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16092
16093 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16094
16095         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16096         __executable_start symbol instead of _start.
16097
16098 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16099
16100         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16101         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16102         Move macros to...
16103         * sysdeps/gnu/ldsodefs.h: ... this new file.
16104
16105         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16106         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16107         instead of ELFOSABI_LINUX.
16108
16109         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16110         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16111         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16112         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16113         Likewise.
16114         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16115         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16116         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16117         Likewise.
16118         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16119         (ibm_extended_long_double): Add ieee_nan member.
16120         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16121         (do_test): New function.
16122
16123         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16124         TEST_TRUNC.
16125         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16126         functions, renamed from truncdfsf_test, trunctfsf_test,
16127         trunctfdf_test.
16128         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16129         functions.
16130         (do_test): Run all these.
16131
16132 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16133
16134         * argp/argp-help.c: Fix typos.
16135         * argp/argp-parse.c: Likewise.
16136         * debug/backtracesyms.c: Likewise.
16137         * elf/elf.h: Likewise.
16138         * malloc/malloc.c: Likewise.
16139         * nis/nis_print.c: Likewise.
16140         * resolv/res_comp.c: Likewise.
16141         * stdlib/stdlib.h: Likewise.
16142         * sunrpc/clnt_tcp.c: Likewise.
16143         * sunrpc/clnt_udp.c: Likewise.
16144         * sunrpc/clnt_unix.c: Likewise.
16145         * sysdeps/unix/bsd/ptsname.c: Likewise.
16146         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16147         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16149         Likewise.
16150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16151         Likewise.
16152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16153         Likewise.
16154         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16155
16156 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16157
16158         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16160
16161 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16162
16163         [BZ #15897]
16164         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16165         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16166         ($(objpfx)bug-dl-leaf): New rule.
16167         ($(objpfx)bug-dl-leaf.so): Likewise.
16168         ($(objpfx)bug-dl-leaf.out): Likewise.
16169         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16170         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16171         * dlfcn/bug-dl-leaf.c: New test.
16172         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16173         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16174         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16175         (dlclose): Likewise.
16176         (dlmopen): Likewise.
16177
16178 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16179
16180         * include/netdb.h [!_ISOMAC]:
16181         Don't include <tls.h>.
16182         (h_errno, __libc_h_errno): Move declaration and macros out of
16183         [_LIBC_REENTRANT].
16184
16185         * include/resolv.h [_RESOLV_H_]:
16186         Don't include <tls.h>.
16187         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16188         * resolv/res_libc.c: Don't include <tls.h>.
16189         (_res): Use __attribute__ ((nocommon)) in place of
16190         __attribute__ ((section (".bss"))).
16191
16192         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16193         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16194
16195         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16196
16197         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16198         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16199
16200         * resolv/res_mkquery.c: Include <sys/time.h>.
16201
16202         * inet/ifreq.c: Moved to ...
16203         * sysdeps/unix/ifreq.c: ... here.
16204         * inet/ifreq.c: New file, true stub version.
16205
16206         * socket/sa_len.c: New file.
16207         * socket/Makefile (aux): Add it.
16208         * sysdeps/unix/sysv/linux/Makefile
16209         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16210         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16211         and #include <socket/sa_len.c>.
16212         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16213         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16214
16215         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16216         * bits/socket.h: ... here.
16217
16218         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16219         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16220         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16221
16222 2013-08-27  Andreas Schwab  <schwab@suse.de>
16223
16224         [BZ #15736]
16225         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16226         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16227         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16228         * string/test-strcasecmp.c (test_main): Run tests in several
16229         locales.
16230         * string/test-strncasecmp.c (test_main): Likewise.
16231
16232         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16233         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16234         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16236         (__strncasecmp_ssse3) [PIC]: Likewise.
16237
16238 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16239
16240         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16241
16242         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16243         instead of explicitly declaring xdecrypt.
16244         * nis/nss_nis/nis-publickey.c: Likewise.
16245
16246 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16247
16248         [BZ #15890]
16249         * nscd/aicache.c: Include res_hconf.h.
16250         (addhstaiX): Initialize res_hconf.
16251
16252 2013-08-26  Andreas Schwab  <schwab@suse.de>
16253
16254         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16255         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16256
16257 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16258
16259         * nscd/aicache.c (addhstaiX): Fix indentation.
16260
16261 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16262
16263         * configure.ac: Quote $build_pt_chown test.
16264         * configure: Regenerated.
16265
16266 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16267
16268         [BZ #15532]
16269         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16270         * math/s_cexpf.c (__cexpf): Likewise.
16271         * math/s_cexpl.c (__cexpl): Likewise.
16272         * math/libm-test.inc (cexp_test_data): Correct expected return
16273         value for NaN + i0.  Add another test.
16274
16275 2013-08-22  David S. Miller  <davem@davemloft.net>
16276
16277         * po/ca.po: Update Catalan translation from translation project.
16278         * po/uk.po: Add Ukrainian translations from translation project.
16279
16280 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16281
16282         [BZ #15797]
16283         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16284         is infinite, not alongside NaN test.
16285         * math/s_fdimf.c (__fdimf): Likewise.
16286         * math/s_fdiml.c (__fdiml): Likewise.
16287         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16288         errno is unchanged.
16289
16290 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16291
16292         * argp/argp-help.c: Fix typos.
16293         * crypt/speeds.c: Likewise.
16294         * csu/check_fds.c: Likewise.
16295         * elf/dl-load.c: Likewise.
16296         * elf/dl-open.c: Likewise.
16297         * elf/reldep3.c: Likewise.
16298         * elf/reldep.c: Likewise.
16299         * elf/sprof.c: Likewise.
16300         * iconv/iconv_charmap.c: Likewise.
16301         * iconv/skeleton.c: Likewise.
16302         * iconv/strtab.c: Likewise.
16303         * io/lockf64.c: Likewise.
16304         * libio/libioP.h: Likewise.
16305         * resolv/gai_notify.c: Likewise.
16306         * resolv/ns_name.c: Likewise.
16307         * resolv/ns_samedomain.c: Likewise.
16308         * resolv/res_send.c: Likewise.
16309         * stdlib/random.c: Likewise.
16310         * sunrpc/rpc/xdr.h: Likewise.
16311         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16312         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16313         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16314         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16315         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16316         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16317         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16319         * sysdeps/mach/hurd/check_fds.c: Likewise.
16320         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16321         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16322         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16323         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16324         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16325         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16326         * sysdeps/pthread/aio_notify.c: Likewise.
16327         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16328         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16329         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16330         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16331         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16332
16333 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16334
16335         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16336         version if bit_Slow_SSE4_2 is set.
16337         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16338         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16339
16340 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16341
16342         [BZ #15867]
16343         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16344         trampoline stack frame information.
16345         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16346         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16347         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16348         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16349         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16350         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16351         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16352         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16353         sa_flags value.
16354         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16355         interrupting a syscall and set with option SA_SIGINFO.
16356
16357 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16358
16359         [BZ #15531]
16360         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16361         argument is infinite.
16362         * math/s_cprojf.c (__cprojf): Likewise.
16363         * math/s_cprojl.c (__cprojl): Likewise.
16364         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16365         * math/libm-test.inc (cproj_test_data): Add more tests.
16366
16367         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16368
16369         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16370         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16371         size.  Use __ffs to determine corresponding shift.
16372
16373 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16374             Roland McGrath  <roland@hack.frob.com>
16375
16376         * Makefile (INSTALL): Remove trailing blank lines from output of
16377         makeinfo.
16378
16379 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16380
16381         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16382         Align 32 bit compat elf_greg to 8 bytes.
16383
16384 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16385
16386         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16387
16388 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16389
16390         * string/strcoll_l.c (coll_seq): New structure.
16391         (get_next_seq_cached): New function.
16392         (get_next_seq): New function.
16393         (do_compare): New function.
16394         (STRCOLL): Use GNU style definition.  Simplify implementation
16395         by using get_next_seq, get_next_seq_cached and do_compare.
16396
16397 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16398
16399         [BZ #14699]
16400         CVE-2013-4237
16401         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16402         member.
16403         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16404         member.
16405         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16406         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16407         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16408         conditional.
16409         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16410         GETDENTS_64BIT_ALIGNED.
16411         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16412         * manual/filesys.texi (Reading/Closing Directory): Document
16413         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16414         strongly.
16415         * manual/conf.texi (Limits for Files): Add portability note to
16416         NAME_MAX, PATH_MAX.
16417         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16418
16419 2013-08-13  Andreas Schwab  <schwab@suse.de>
16420
16421         [BZ #15749]
16422         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16423         of fabs.
16424         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16425         LDBL_MAX_EXP >= 16384]: Add tests for it.
16426
16427 2013-08-12  David S. Miller  <davem@davemloft.net>
16428
16429         * version.h (RELEASE): Set to "development".
16430         (VERSION): Set to "2.18.90".
16431         * NEWS: Add 2.19 section.
16432
16433 2013-08-03  David S. Miller  <davem@davemloft.net>
16434
16435         * po/ko.po: Update Korean translation from translation project.
16436
16437 2013-08-01  David S. Miller  <davem@davemloft.net>
16438
16439         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16440         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16441         Bilka.
16442
16443 2013-07-30  David S. Miller  <davem@davemloft.net>
16444
16445         * po/fr.po: Update French translation from translation project.
16446
16447 2013-07-28  David S. Miller  <davem@davemloft.net>
16448
16449         * po/cs.po: Update Czech translation from translation project.
16450
16451         * po/sv.po: Update Swedish translation from translation project.
16452
16453 2013-07-27  David S. Miller  <davem@davemloft.net>
16454
16455         * po/eo.po: Update Esperanto translation from translation project.
16456
16457         * po/vi.po: Update Vietnamese translation from translation project.
16458
16459         * po/de.po: Update German translation from translation project.
16460
16461 2013-07-26  David S. Miller  <davem@davemloft.net>
16462
16463         * po/bg.po: Update Bulgarian translation from translation project.
16464
16465         * po/nl.po: Update Dutch translation from translation project.
16466         * po/pl.po: Update Polish translation from translation project.
16467         * po/ru.po: Update Russian translation from translation project.
16468
16469 2013-07-24  David S. Miller  <davem@davemloft.net>
16470
16471         * po/libc.pot: Update.
16472
16473 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16474
16475         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16476         variable page size.
16477         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16478         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16479         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16480
16481 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16482
16483         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16484
16485 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16486             Andreas Schwab  <schwab@suse.de>
16487             Roland McGrath  <roland@hack.frob.com>
16488             Joseph Myers  <joseph@codesourcery.com>
16489             Carlos O'Donell  <carlos@redhat.com>
16490
16491         [BZ #15755]
16492         * config.h.in: Define HAVE_PT_CHOWN.
16493         * config.make.in (build-pt-chown): New variable.
16494         * configure.in (--enable-pt_chown): New configure option.
16495         * configure: Regenerate.
16496         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16497         build-pt-chown is enabled.
16498         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16499         pt_chown to fix pty ownership.
16500         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16501         CLOSE_ALL_FDS.
16502         * manual/install.texi (Configuring and compiling): Mention
16503         --enable-pt_chown. Add @findex for grantpt.
16504         * INSTALL: Regenerate.
16505
16506 2013-07-20  David S. Miller  <davem@davemloft.net>
16507
16508         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16509         difference between 32-bit and 64-bit.
16510
16511 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16512
16513         [BZ #15711]
16514         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16515         Avoid system header dependency with -ffreestanding.
16516         ($(objpfx)bits/syscall%d): Likewise.
16517
16518 2013-07-13  David S. Miller  <davem@davemloft.net>
16519
16520         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16521         underflows from atanl/atan2l due to bug 15319.
16522         (casinh_test_data): Likewise.
16523
16524 2013-07-07  David S. Miller  <davem@davemloft.net>
16525
16526         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16527
16528 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16529
16530         * sysdeps/i386/fpu/libm-test-ulps: Update.
16531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16532
16533 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16534
16535         * configure.in (--enable-lock-elision): Fix message text.
16536         * INSTALL: Regenerate.
16537         * configure: Regenerate.
16538
16539 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16540
16541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16542
16543 2013-07-03  Andreas Jaeger  <aj@suse.de>
16544
16545         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16546         define.
16547         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16548         (ptrace_peeksiginfo_args): Add.
16549         (__ptrace_peeksiginfo_flags): Add.
16550         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16551         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16552         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16553
16554 2013-07-03  Allan McRae  <allan@archlinux.org>
16555
16556         * sysdeps/i386/fpu/libm-test-ulps: Update.
16557
16558 2013-07-02  David S. Miller  <davem@davemloft.net>
16559
16560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16561
16562 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16563
16564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16565
16566 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16567
16568         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16570
16571 2013-07-02  Andi Kleen <ak@linux.intel.com>
16572
16573         * config.h.in (ENABLE_LOCK_ELISION): Add.
16574         * configure.in (--enable-lock-elision): Add option.
16575         * manual/install.texi: Document --enable lock elision.
16576         * configure: Regenerate
16577         * INSTALL: Regenerate.
16578
16579 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16580
16581         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16582         SSE4.2 strcasecmp for libc.a.
16583         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16584
16585 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16586
16587         [BZ #13304]
16588         * soft-fp/op-common.h (_FP_FMA): New macro.
16589         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16590         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16591         (_FP_MUL_MEAT_1_imm): ... here.
16592         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16593         (_FP_MUL_MEAT_1_wide): ... here.
16594         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16595         (_FP_MUL_MEAT_1_hard): ... here.
16596         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16597         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16598         (_FP_MUL_MEAT_2_wide): ... here.
16599         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16600         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16601         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16602         (_FP_MUL_MEAT_2_gmp): ... here.
16603         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16604         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16605         (_FP_MUL_MEAT_4_wide): ... here.
16606         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16607         (_FP_MUL_MEAT_4_gmp): ... here.
16608         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16609         (_FP_WFRACBITS_DW_S): Likewise.
16610         (_FP_WFRACXBITS_DW_S): Likewise.
16611         (_FP_HIGHBIT_DW_S): Likewise.
16612         (FP_FMA_S): Likewise.
16613         (_FP_FRAC_HIGH_DW_S): Likewise.
16614         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16615         (_FP_WFRACBITS_DW_D): Likewise.
16616         (_FP_WFRACXBITS_DW_D): Likewise.
16617         (_FP_HIGHBIT_DW_D): Likewise.
16618         (FP_FMA_D): Likewise.
16619         (_FP_FRAC_HIGH_DW_D): Likewise.
16620         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16621         (_FP_WFRACBITS_DW_E): Likewise.
16622         (_FP_WFRACXBITS_DW_E): Likewise.
16623         (_FP_HIGHBIT_DW_E): Likewise.
16624         (FP_FMA_E): Likewise.
16625         (_FP_FRAC_HIGH_DW_E): Likewise.
16626         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16627         (_FP_WFRACBITS_DW_Q): Likewise.
16628         (_FP_WFRACXBITS_DW_Q): Likewise.
16629         (_FP_HIGHBIT_DW_Q): Likewise.
16630         (FP_FMA_Q): Likewise.
16631         (_FP_FRAC_HIGH_DW_Q): Likewise.
16632         * soft-fp/fmasf4.c: New file.
16633         * soft-fp/fmadf4.c: Likewise.
16634         * soft-fp/fmatf4.c: Likewise.
16635
16636 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16637
16638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16639         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16640         Silvermont.
16641         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16642         macro.
16643         (index_Slow_SSE4_2): Likewise.
16644         (index_Prefer_PMINUB_for_stringop): Likewise.
16645         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16646         bit_Slow_SSE4_2 is set.
16647         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16648         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16649
16650 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16651
16652         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16653         rtld_global._dl_hwcap2.
16654         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16655         POWER8.
16656         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16657         POWER8 feature descriptions defined in _dl_hwcap2.
16658         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16659         string handling for POWER8 feature bits.
16660         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16661         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16662         _dl_powerpc_cap_flags.
16663         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16664         * sysdeps/powerpc/rtld-global-offsets.sym
16665         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16666         _dl_hwcap2 in the rtld_global_ro structure.
16667
16668 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16669
16670         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16671         hardware capabilities in support of AT_HWCAP2.
16672         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16673         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16674         GLRO(dl_hwcap2).
16675         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16676         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16677         explicitly the unknown a_type display mechanism is used.
16678         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16679         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16680         struct member.
16681         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16682         to macro prototype for AT_HWCAP2 support.
16683         * sysdeps/i386/dl-procinfo.h: Likewise.
16684         * sysdeps/s390/dl-procinfo.h: Likewise.
16685         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16686         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16687         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16688         return -1 for unknown a_type display fallback.
16689         * sysdeps/sparc/dl-procinfo.h: Likewise.
16690         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16691         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16692
16693 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16694
16695         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16696         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16697
16698 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16699
16700         [BZ #12492]
16701         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16702         mprotect making __stack_prot writable.
16703
16704 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16705             Joseph Myers  <joseph@codesourcery.com>
16706
16707         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16708         as being properly aligned.
16709
16710 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16711
16712         * dlfcn/modstatic5.c: New file.
16713         * dlfcn/tststatic5.c: New file.
16714         * dlfcn/Makefile (tests): Add tststatic5.
16715         (tests-static): Likewise.
16716         (modules-names): Add modstatic5.
16717         (tststatic5-ENV): New variable.
16718         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16719
16720         [BZ #15022]
16721         * elf/dl-support.c (_dl_main_map): New variable.
16722         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16723         (_dl_nns, _dl_load_adds): Set to 1.
16724         (_dl_initial_searchlist): Refer to _dl_main_map.
16725         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16726         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16727         call to _dl_get_origin.
16728         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16729         around call_map.
16730         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16731         * dlfcn/modstatic3.c: New file.
16732         * dlfcn/tststatic3.c: New file.
16733         * dlfcn/tststatic4.c: New file.
16734         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16735         (tests-static): Likewise.
16736         (modules-names): Add modstatic3.
16737         (tststatic3-ENV, tststatic4-ENV): New variables.
16738         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16739         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16740
16741 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16742
16743         * configure.in (CC): Require GCC version 4.4 or later.
16744         * configure: Regenerated.
16745         * manual/install.texi (Tools for Compilation): Update GCC version
16746         requirement.
16747         * INSTALL: Regenerated.
16748
16749 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16750
16751         [BZ #15674]
16752         * string/test-memcmp.c (check2): New.
16753         (main): Call check2.
16754
16755         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16756
16757 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16758
16759         [BZ #15022]
16760         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16761         over to...
16762         (dl_open_worker) [!SHARED]: ... here.
16763
16764 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16765
16766         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16767
16768 2013-06-25  Richard Henderson  <rth@redhat.com>
16769
16770         * locale/programs/locarchive.c: Include <libc-internal.h>
16771
16772 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16773
16774         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16775         trailing whitespace removed.
16776
16777 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16778
16779         [BZ #10283]
16780         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16781         * locale/programs/locarchive.c: Include libc-mmap.h.
16782         (prepare_address_space): Take two new outputs (the mmap base and len).
16783         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16784         values.
16785         (create_archive): Declare new mmap base and len values for
16786         prepare_address_space, and store the result in ah.
16787         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16788         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16789         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16790         Declare new mmap base and len values for
16791         prepare_address_space, and store the result in new_ah.
16792         (open_archive): Declare new mmap base and len values for
16793         prepare_address_space, and store the result in ah.
16794         (close_archive): If ah->mmap_base is not NULL, use that and
16795         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16796         * sysdeps/generic/libc-mmap.h: New file.
16797
16798 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16799
16800         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16801         (ALIGN_UP): Likewise.
16802         (PTR_ALIGN_DOWN): Likewise.
16803         (PTR_ALIGN_UP): Likewise.
16804
16805 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16806
16807         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16808         entry mapped to PPC_PLATFORM_POWER8.
16809         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16810         POWER8.
16811         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16812         (_dl_string_platform): Add case for exporting platform position for
16813         POWER8.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16815         search path to sysdeps/powerpc/powerpc32/power8 directory.
16816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16817         search path to sysdeps/powerpc/powerpc64/power8 directory.
16818         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16819         power7 directories.
16820         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16821         power7 directories.
16822
16823 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16824
16825         * INSTALL: Regenerate.
16826
16827         * nscd/connections.c (nscd_init): Fix comment.
16828
16829 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16830
16831         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16832
16833         [BZ #15667]
16834         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16835         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16836
16837 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16838
16839         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16840         DL_DST_REQ_STATIC.
16841         (DL_DST_REQ_STATIC): Remove macro.
16842
16843 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16844
16845         [BZ #7006]
16846         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16847         with a shift of 0 bits.
16848
16849 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16850
16851         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16852         $(tststatic-ENV).
16853
16854 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16855
16856         [BZ #15655]
16857         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16858
16859 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16860
16861         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16862         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16863         accepts -fno-tree-loop-distribute-patterns.
16864         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16865         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16866         recursive call.
16867         * string/memset.c (memset): Likewise.
16868         * string/test-memmove.c (simple_memmove): Disable loop transformation
16869         to library calls.
16870         * string/test-memset.c (simple_memset): Likewise.
16871         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16872         * benchtests/bench-memset.c (simple_memset): Likewise.
16873         * configure: Regenerated.
16874
16875 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16876
16877         * math/test-misc.c (main): Ignore fesetround failure when failures
16878         of subsequent rounding tests would be ignored.
16879
16880         [BZ #15654]
16881         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16882         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16883         * math/fegetenv.c (__fegetenv): Return 0.
16884         * math/fegetexcept.c (fegetexcept): Return 0.
16885         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16886         FE_TONEAREST.
16887         * math/feholdexcpt.c (feholdexcept): Return 0.
16888         * math/fesetenv.c (__fesetenv): Return 0.
16889         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16890         argument FE_TONEAREST.
16891         * math/feupdateenv.c (__feupdateenv): Return 0.
16892         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16893
16894 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16895
16896         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16897         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16898         ($(objpfx)rtld-%.os rules): Use them.
16899
16900 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16901
16902         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16903         fields.
16904
16905 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16906
16907         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16908         length of target pattern, then descending length of dependency pattern.
16909         * configure.in (AWK): Require gawk 3.1.2 or newer.
16910         * manual/install.texi (Tools for Compilation): Say that we do.
16911         * configure: Regenerated.
16912
16913         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16914         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16915         * scripts/sysd-rules.awk: ... this new script.
16916         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16917         than a glob-style pattern.
16918
16919 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16920
16921         * math/test-misc.c (main): Do not treat incorrectly rounded
16922         conversions as failure unless ROUNDING_TESTS passes.
16923
16924 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16925
16926         [BZ #15631]
16927         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16928         restore exception state around main square root computation, then
16929         check for inexactness explicitly.
16930
16931         * math/libm-test.inc (fma_test_data): Add another test.
16932
16933 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16934
16935         * manual/threads.texi (Non-POSIX Extensions): New document
16936         node.  Document pthread_getattr_default_np and
16937         pthread_setattr_default_np.
16938
16939         * Versions.def (libpthread): Add GLIBC_2.18.
16940         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16942         Likewise.
16943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16944         Likewise.
16945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16946         Likewise.
16947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16948         Likewise.
16949         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16950         Likewise.
16951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16952         Likewise.
16953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16954         Likewise.
16955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16956         Likewise.
16957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16958         Likewise.
16959
16960 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16961
16962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16963         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16964
16965 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16966             H.J. Lu  <hjl.tools@gmail.com>
16967
16968         [BZ #15627]
16969         * sysdeps/x86_64/rtld-memset.c: Remove file.
16970         * sysdeps/x86_64/rtld-memset.S: New file.
16971
16972 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16973
16974         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16975         (test_in_one_mode): Take arguments for whether the rounding mode
16976         is supported for each floating-point type.
16977         (do_test): Pass new arguments to test_in_one_mode using
16978         ROUNDING_TESTS.
16979
16980 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16981
16982         * posix/tst-waitid.c (do_test): Distinguish different instances of
16983         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16984         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16985         before entering the kernel for waitpid.
16986
16987 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16988
16989         * NEWS: Fix note on clock function precision.  Text by Roland
16990         McGrath.
16991
16992 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16993
16994         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16995         it into place only when and if the sanity check passes.
16996
16997 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16998
16999         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17000         output for whether conversion result is exact.  Take argument
17001         indicating whether type is IBM long double.
17002         (round_for_all): Change need_exact field to ibm_ld.
17003         * stdlib/tst-strtod-round.c (struct exactness): New type.
17004         (struct test): Change bool ld_ok field to struct exactness exact.
17005         (TEST): Update all definitions for change to field.
17006         (tests): Regenerate array contents.
17007         (test_in_one_mode): Take pointer to new field instead of old ld_ok
17008         field value.  Check for IBM long double here.
17009         (do_test): Update calls to test_in_one_mode.
17010
17011 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17012
17013         [BZ #12515]
17014         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17015         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17016
17017 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17018
17019         [BZ #15605]
17020         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17021         generated by the compiler on loop optimizations.
17022         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17023         general definitions.
17024
17025 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
17026
17027         * math/bug-nextafter.c: Include <math-tests.h>.
17028         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17029         the relevant type.
17030         * math/bug-nexttoward.c: Include <math-tests.h>.
17031         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17032         the relevant type.
17033         * math/test-misc.c: Include <math-tests.h>.
17034         (main): Only test for exceptions if EXCEPTION_TESTS is true for
17035         the relevant type.
17036
17037 2013-06-12  Andreas Jaeger  <aj@suse.de>
17038
17039         * po/ia.po: Update Interlingua translation from translation
17040         project.
17041
17042 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17043
17044         * include/fenv.h: Include stdbool.h.
17045         (struct rm_ctx): New structure.
17046         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17047         Define macro.
17048         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17049         (SET_RESTORE_ROUNDF): Likewise.
17050         (SET_RESTORE_ROUNDL): Likewise.
17051         (SET_RESTORE_ROUND_NOEX): Likewise.
17052         (SET_RESTORE_ROUND_NOEXF): Likewise.
17053         (SET_RESTORE_ROUND_NOEXL): Likewise.
17054         (SET_RESTORE_ROUND_53BIT): Likewise.
17055         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17056         (libc_feresetround_noexf_ctx): Likewise.
17057         (libc_feresetround_noexl_ctx): Likewise.
17058         (libc_feholdsetround_53bit_ctx): Likewise.
17059         (libc_feresetround_53bit_ctx): Likewise.
17060         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17061         (libc_feholdexcept_setround_sse_ctx): New function.
17062         (libc_fesetenv_sse_ctx): Likewise.
17063         (libc_feupdateenv_sse_ctx): Likewise.
17064         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17065         (libc_feholdexcept_setround_387_ctx): Likewise.
17066         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17067         (libc_feholdsetround_387_prec_ctx): Likewise.
17068         (libc_feholdsetround_387_ctx): Likewise.
17069         (libc_feholdsetround_387_53bit_ctx): Likewise.
17070         (libc_feholdsetround_sse_ctx): Likewise.
17071         (libc_feresetround_sse_ctx): Likewise.
17072         (libc_feresetround_387_ctx): Likewise.
17073         (libc_feupdateenv_387_ctx): Likewise.
17074         (libc_feholdexcept_setroundf_ctx): Define macro.
17075         (libc_fesetenvf_ctx): Likewise.
17076         (libc_feupdateenvf_ctx): Likewise.
17077         (libc_feholdsetroundf_ctx): Likewise.
17078         (libc_feresetroundf_ctx): Likewise.
17079         (libc_feholdexcept_setround_ctx): Likewise.
17080         (libc_fesetenv_ctx): Likewise.
17081         (libc_feupdateenv_ctx): Likewise.
17082         (libc_feholdsetround_ctx): Likewise.
17083         (libc_feresetround_ctx): Likewise.
17084         (libc_feholdexcept_setroundl_ctx): Likewise.
17085         (libc_feupdateenvl_ctx): Likewise.
17086         (libc_feholdsetroundl_ctx): Likewise.
17087         (libc_feresetroundl_ctx): Likewise.
17088         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17089         (libc_feresetround_53bit_ctx): Likewise.
17090
17091 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17092
17093         * locale/iso-639.def: Convert to UTF-8.
17094
17095 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17096
17097         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17098         (EXCEPTION_TESTS_double): Likewise.
17099         (EXCEPTION_TESTS_long_double): Likewise.
17100         (EXCEPTION_TESTS): Likewise.
17101         * math/libm-test.inc (test_exceptions): Only test exceptions if
17102         EXCEPTION_TESTS (FLOAT).
17103
17104 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17105
17106         * benchtests/Makefile (string-bench): Add strcpy_chk and
17107         stpcpy_chk.
17108         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17109         * benchtests/bench-stpcpy_chk.c: New file.
17110         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17111         * benchtests/bench-strcpy_chk.c: New file.
17112         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17113         code.
17114         (do_test): Likewise.
17115
17116 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17117
17118         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17119         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17120         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17121         with tabs where appropriate.
17122         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17123         dl-procinfo.h.
17124         [PPC_PLATFORM_PPC440]: Likewise.
17125         [PPC_PLATFORM_PPC464]: Likewise.
17126         [PPC_PLATFORM_PPC476]: Likewise.
17127         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17128         ppc464, and ppc476 platform strings merging from ports/
17129         dl-procinfo.h.
17130
17131 2013-06-11  Andreas Schwab  <schwab@suse.de>
17132
17133         [BZ #14991]
17134         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17135         (from_ucs4_idx): Regenerate.
17136         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17137         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17138         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17139         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17140         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17141         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17142         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17143         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17144         from FROM_LOOP and TO_LOOP specific macros.
17145         (BODY): Handle combining characters.
17146         * iconvdata/BIG5HKSCS.irreversible: Update.
17147         * iconvdata/BIG5HKSCS.precomposed: New file.
17148         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17149         characters.
17150         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17151
17152 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17153
17154         * include/sys/time.h: Fix indentation and add copyright header.
17155
17156         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17157         (do_test): Likewise.
17158         * string/test-memchr.c (do_one_test): Likewise.
17159         (do_test): Likewise.
17160         * string/test-memcmp.c (do_one_test): Likewise.
17161         (do_test): Likewise.
17162         * string/test-memcpy.c (do_one_test): Likewise.
17163         (do_test): Likewise.
17164         * string/test-memmem.c (do_one_test): Likewise.
17165         (do_test): Likewise.
17166         (do_random_tests): Likewise.
17167         * string/test-memmove.c (do_one_test): Likewise.
17168         (do_test): Likewise.
17169         * string/test-memset.c (do_one_test): Likewise.
17170         (do_test): Likewise.
17171         * string/test-rawmemchr.c (do_one_test): Likewise.
17172         (do_test): Likewise.
17173         * string/test-strcasecmp.c (do_one_test): Likewise.
17174         (do_test): Likewise.
17175         * string/test-strcasestr.c (do_one_test): Likewise.
17176         (do_test): Likewise.
17177         * string/test-strcat.c (do_one_test): Likewise.
17178         (do_test): Likewise.
17179         * string/test-strchr.c (do_one_test): Likewise.
17180         (do_test): Likewise.
17181         * string/test-strcmp.c (do_one_test): Likewise.
17182         (do_test): Likewise.
17183         * string/test-strcpy.c (do_one_test): Likewise.
17184         (do_test): Likewise.
17185         * string/test-string.h: Likewise.
17186         (test_init): Likewise.
17187         * string/test-strlen.c (do_one_test): Likewise.
17188         (do_test): Likewise.
17189         * string/test-strncasecmp.c (do_one_test): Likewise.
17190         (do_test): Likewise.
17191         * string/test-strncat.c (do_one_test): Likewise.
17192         (do_test): Likewise.
17193         * string/test-strncmp.c (do_one_test): Likewise.
17194         (do_test_limit): Likewise.
17195         (do_test): Likewise.
17196         * string/test-strncpy.c (do_one_test): Likewise.
17197         (do_test): Likewise.
17198         * string/test-strnlen.c (do_one_test): Likewise.
17199         (do_test): Likewise.
17200         * string/test-strpbrk.c (do_one_test): Likewise.
17201         (do_test): Likewise.
17202         * string/test-strrchr.c (do_one_test): Likewise.
17203         (do_test): Likewise.
17204         * string/test-strspn.c (do_one_test): Likewise.
17205         (do_test): Likewise.
17206         * string/test-strstr.c (do_one_test): Likewise.
17207         (do_test): Likewise.
17208
17209         * benchtests/Makefile (string-bench): Add string benchmarks.
17210         * benchtests/bench-bcopy-ifunc.c: New file.
17211         * benchtests/bench-bcopy.c: New file.
17212         * benchtests/bench-bzero-ifunc.c: New file.
17213         * benchtests/bench-bzero.c: New file.
17214         * benchtests/bench-memccpy-ifunc.c: New file.
17215         * benchtests/bench-memccpy.c: New file.
17216         * benchtests/bench-memchr-ifunc.c: New file.
17217         * benchtests/bench-memchr.c: New file.
17218         * benchtests/bench-memcmp-ifunc.c: New file.
17219         * benchtests/bench-memcmp.c: New file.
17220         * benchtests/bench-memmem-ifunc.c: New file.
17221         * benchtests/bench-memmem.c: New file.
17222         * benchtests/bench-memmove-ifunc.c: New file.
17223         * benchtests/bench-memmove.c: New file.
17224         * benchtests/bench-mempcpy-ifunc.c: New file.
17225         * benchtests/bench-mempcpy.c: New file.
17226         * benchtests/bench-memset-ifunc.c: New file.
17227         * benchtests/bench-memset.c: New file.
17228         * benchtests/bench-rawmemchr-ifunc.c: New file.
17229         * benchtests/bench-rawmemchr.c: New file.
17230         * benchtests/bench-stpcpy-ifunc.c: New file.
17231         * benchtests/bench-stpcpy.c: New file.
17232         * benchtests/bench-stpncpy-ifunc.c: New file.
17233         * benchtests/bench-stpncpy.c: New file.
17234         * benchtests/bench-strcasecmp-ifunc.c: New file.
17235         * benchtests/bench-strcasecmp.c: New file.
17236         * benchtests/bench-strcasestr-ifunc.c: New file.
17237         * benchtests/bench-strcasestr.c: New file.
17238         * benchtests/bench-strcat-ifunc.c: New file.
17239         * benchtests/bench-strcat.c: New file.
17240         * benchtests/bench-strchr-ifunc.c: New file.
17241         * benchtests/bench-strchr.c: New file.
17242         * benchtests/bench-strchrnul-ifunc.c: New file.
17243         * benchtests/bench-strchrnul.c: New file.
17244         * benchtests/bench-strcmp-ifunc.c: New file.
17245         * benchtests/bench-strcmp.c: New file.
17246         * benchtests/bench-strcpy-ifunc.c: New file.
17247         * benchtests/bench-strcpy.c: New file.
17248         * benchtests/bench-strcspn-ifunc.c: New file.
17249         * benchtests/bench-strcspn.c: New file.
17250         * benchtests/bench-strlen-ifunc.c: New file.
17251         * benchtests/bench-strlen.c: New file.
17252         * benchtests/bench-strncasecmp-ifunc.c: New file.
17253         * benchtests/bench-strncasecmp.c: New file.
17254         * benchtests/bench-strncat-ifunc.c: New file.
17255         * benchtests/bench-strncat.c: New file.
17256         * benchtests/bench-strncmp-ifunc.c: New file.
17257         * benchtests/bench-strncmp.c: New file.
17258         * benchtests/bench-strncpy-ifunc.c: New file.
17259         * benchtests/bench-strncpy.c: New file.
17260         * benchtests/bench-strnlen-ifunc.c: New file.
17261         * benchtests/bench-strnlen.c: New file.
17262         * benchtests/bench-strpbrk-ifunc.c: New file.
17263         * benchtests/bench-strpbrk.c: New file.
17264         * benchtests/bench-strrchr-ifunc.c: New file.
17265         * benchtests/bench-strrchr.c: New file.
17266         * benchtests/bench-strspn-ifunc.c: New file.
17267         * benchtests/bench-strspn.c: New file.
17268         * benchtests/bench-strstr-ifunc.c: New file.
17269         * benchtests/bench-strstr.c: New file.
17270
17271         * benchtests/Makefile: Disable parallel execution of targets.
17272         (string-bench): Add memcpy.
17273         (benchset): New variable to store a list of benchmark sets.
17274         (bench-func): Renamed from bench.
17275         (bench-set): New target.
17276         (bench): Depend on bench-func and bench-set.
17277         * benchtests/README: Add section on benchmark sets.
17278         * benchtests/bench-memcpy-ifunc.c: New file.
17279         * benchtests/bench-memcpy.c: New file.
17280         * benchtests/bench-string.h: New file.
17281
17282 2013-06-11  Andreas Schwab  <schwab@suse.de>
17283
17284         [BZ #15577]
17285         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17286         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17287         values in the triple.
17288         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17289         terminator in the group key.
17290
17291 2013-06-11  Andreas Jaeger  <aj@suse.de>
17292
17293         * po/zh_TW.po: Update Chinese (traditional) translation from
17294         translation project.
17295
17296 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17297
17298         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17299         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17300         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17301         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17302         (clock_getcpuclockid): Likewise.
17303         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17304         Add weak_alias and libc_hidden_def.
17305         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17306         * rt/clock_gettime.c (clock_gettime): Rename to
17307         __clock_gettime.  Add weak_alias and libc_hidden_def.
17308         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17309         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17310         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17311         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17312         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17313         Likewise.
17314         * rt/clock_settime.c (clock_settime): Rename to
17315         __clock_settime.  Add weak_alias and libc_hidden_def.
17316         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17317
17318 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17319
17320         * mach/err_boot.sub: Remove trailing whitespace.
17321         * mach/err_ipc.sub: Likewise.
17322         * mach/err_mach.sub: Likewise.
17323
17324         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17325         (ROUNDING_TESTS_double): Likewise.
17326         (ROUNDING_TESTS_long_double): Likewise.
17327         (ROUNDING_TESTS): Likewise.
17328         * math/libm-test.inc: Include <math-tests.h>.
17329         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17330         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17331         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17332         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17333
17334 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17335
17336         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17337         of assigning.
17338
17339 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17340
17341         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17342         otherwise empty TRANS lines.
17343         * sysdeps/gnu/errlist.c: Regenerated.
17344
17345         * catgets/gencat.c (error_print): Use (void) in function
17346         definition.
17347         * crypt/crypt_util.c (__init_des): Likewise.
17348         * crypt/speeds.c (Stop): Likewise.
17349         (main): Likewise.
17350         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17351         * inet/ruserpass.c (token): Likewise.
17352         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17353         * intl/localealias.c (extend_alias_table): Likewise.
17354         * intl/plural-exp.c (init_germanic_plural): Likewise.
17355         * libio/fcloseall.c (__fcloseall): Likewise.
17356         * libio/genops.c (_IO_flush_all): Likewise.
17357         (_IO_flush_all_linebuffered): Likewise.
17358         (_IO_cleanup): Likewise.
17359         (_IO_iter_begin): Likewise.
17360         (_IO_iter_end): Likewise.
17361         (_IO_list_lock): Likewise.
17362         (_IO_list_unlock): Likewise.
17363         (_IO_list_resetlock): Likewise.
17364         * libio/getchar.c (getchar): Likewise.
17365         * libio/getchar_u.c (getchar_unlocked): Likewise.
17366         * libio/getwchar.c (getwchar): Likewise.
17367         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17368         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17369         * login/getpt.c (__getpt): Likewise.
17370         * login/tst-utmp.c (main): Likewise.
17371         * malloc/hooks.c (__malloc_check_init): Likewise.
17372         * malloc/malloc.c (__malloc_stats): Likewise.
17373         * malloc/mtrace.c (tr_break): Likewise.
17374         (mtrace): Likewise.
17375         (muntrace): Likewise.
17376         * misc/fstab.c (endfsent): Likewise.
17377         * misc/getclktck.c (__getclktck): Likewise.
17378         * misc/getdtsz.c (__getdtablesize): Likewise.
17379         * misc/gethostid.c (gethostid): Likewise.
17380         * misc/getpagesize.c (__getpagesize): Likewise.
17381         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17382         (__get_nprocs): Likewise.
17383         (__get_phys_pages): Likewise.
17384         (__get_avphys_pages): Likewise.
17385         * misc/getttyent.c (getttyent): Likewise.
17386         (setttyent): Likewise.
17387         (endttyent): Likewise.
17388         * misc/getusershell.c (getusershell): Likewise.
17389         (endusershell): Likewise.
17390         (setusershell): Likewise.
17391         (initshells): Likewise.
17392         * misc/hsearch.c (__hdestroy): Likewise.
17393         * misc/sync.c (sync): Likewise.
17394         * misc/syslog.c (closelog_internal): Likewise.
17395         (closelog): Likewise.
17396         * misc/ttyslot.c (ttyslot): Likewise.
17397         * misc/vhangup.c (vhangup): Likewise.
17398         * posix/fork.c (__fork): Likewise.
17399         * posix/getegid.c (__getegid): Likewise.
17400         * posix/geteuid.c (__geteuid): Likewise.
17401         * posix/getgid.c (__getgid): Likewise.
17402         * posix/getpid.c (__getpid): Likewise.
17403         * posix/getppid.c (__getppid): Likewise.
17404         * posix/getuid.c (__getuid): Likewise.
17405         * posix/pause.c (pause): Likewise.
17406         * posix/setpgrp.c (setpgrp): Likewise.
17407         * posix/setsid.c (__setsid): Likewise.
17408         * posix/test-vfork.c (noop): Likewise.
17409         * resolv/gethnamaddr.c (_endhtent): Likewise.
17410         (_gethtent): Likewise.
17411         (ht_endhostent): Likewise.
17412         (gethostent): Likewise.
17413         (dns_service): Likewise.
17414         * stdlib/drand48.c (drand48): Likewise.
17415         * stdlib/lrand48.c (lrand48): Likewise.
17416         * stdlib/mrand48.c (mrand48): Likewise.
17417         * stdlib/rand.c (rand): Likewise.
17418         * stdlib/random.c (__random): Likewise.
17419         * stdlib/setenv.c (clearenv): Likewise.
17420         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17421         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17422         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17423         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17424         (__get_nprocs): Likewise.
17425         (__get_phys_pages): Likewise.
17426         (__get_avphys_pages): Likewise.
17427         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17428         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17429         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17430         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17431         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17432         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17433         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17434         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17435         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17436         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17437         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17438         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17439         * sysdeps/posix/clock.c (clock): Likewise.
17440         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17441         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17442         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17443         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17444         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17445         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17446         (__get_nprocs_conf): Likewise.
17447         (__get_phys_pages): Likewise.
17448         (__get_avphys_pages): Likewise.
17449         * time/clock.c (clock): Likewise.
17450         * time/tzset.c (__tzname_max): Likewise.
17451
17452 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17453
17454         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17455         (__bswap_32): Do not use "register".
17456         * crypt/crypt.c (_ufc_doit_r): Likewise.
17457         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17458         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17459         * gmon/gmon.c (__monstartup): Likewise.
17460         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17461         * hurd/hurdmalloc.c (more_memory): Likewise.
17462         (malloc): Likewise.
17463         (free): Likewise.
17464         (realloc): Likewise.
17465         (malloc_fork_prepare): Likewise.
17466         (malloc_fork_parent): Likewise.
17467         (malloc_fork_child): Likewise.
17468         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17469         (_svcauth_des): Likewise.
17470         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17471         * inet/inet_net.c (inet_network): Likewise.
17472         * inet/inet_netof.c (inet_netof): Likewise.
17473         * inet/rcmd.c (__validuser2_sa): Likewise.
17474         * io/fts.c (fts_open): Likewise.
17475         (fts_load): Likewise.
17476         (fts_close): Likewise.
17477         (fts_read): Likewise.
17478         (fts_children): Likewise.
17479         (fts_build): Likewise.
17480         (fts_stat): Likewise.
17481         (fts_sort): Likewise.
17482         (fts_alloc): Likewise.
17483         (fts_lfree): Likewise.
17484         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17485         (_IO_file_xsgetn): Likewise.
17486         (_IO_file_xsgetn_mmap): Likewise.
17487         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17488         (_IO_cookie_write): Likewise.
17489         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17490         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17491         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17492         * malloc/obstack.c (_obstack_begin): Likewise.
17493         (_obstack_begin_1): Likewise.
17494         (_obstack_newchunk): Likewise.
17495         (_obstack_allocated_p): Likewise.
17496         (obstack_free): Likewise.
17497         (_obstack_memory_used): Likewise.
17498         * misc/getttyent.c (getttynam): Likewise.
17499         (getttyent): Likewise.
17500         (skip): Likewise.
17501         (value): Likewise.
17502         * misc/getusershell.c (initshells): Likewise.
17503         * misc/syslog.c (__vsyslog_chk): Likewise.
17504         * misc/ttyslot.c (ttyslot): Likewise.
17505         * nis/nis_hash.c (__nis_hash): Likewise.
17506         * posix/fnmatch_loop.c (FCT): Likewise.
17507         * posix/getconf.c (print_all): Likewise.
17508         (main): Likewise.
17509         * posix/getopt.c (exchange): Likewise.
17510         * posix/glob.c (globfree): Likewise.
17511         (prefix_array): Likewise.
17512         (__glob_pattern_type): Likewise.
17513         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17514         (NS_GET32): Likewise.
17515         (NS_PUT16): Likewise.
17516         (NS_PUT32): Likewise.
17517         * resolv/gethnamaddr.c (getanswer): Likewise.
17518         (gethostbyname2): Likewise.
17519         (gethostbyaddr): Likewise.
17520         (_gethtent): Likewise.
17521         (_gethtbyname2): Likewise.
17522         (_gethtbyaddr): Likewise.
17523         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17524         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17525         * resolv/res_init.c (__res_vinit): Likewise.
17526         (net_mask): Likewise.
17527         * resolv/res_mkquery.c (outchar): Likewise.
17528         (PRINT): Likewise.
17529         * stdio-common/printf_fp.c (outchar): Likewise.
17530         (PRINT): Likewise.
17531         * stdio-common/printf_fphex.c (outchar): Likewise.
17532         (PRINT): Likewise.
17533         * stdio-common/printf_size.c (outchar): Likewise.
17534         (PRINT): Likewise.
17535         * stdio-common/test_rdwr.c (main): Likewise.
17536         * stdio-common/tfformat.c (matches): Likewise.
17537         * stdio-common/vfprintf.c (outchar): Likewise.
17538         (printf_unknown): Likewise.
17539         (buffered_vfprintf): Likewise.
17540         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17541         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17542         (ReadFile): Likewise.
17543         * stdlib/qsort.c (SWAP): Likewise.
17544         (_quicksort): Likewise.
17545         * stdlib/setenv.c (__add_to_environ): Likewise.
17546         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17547         * stdlib/strtol_l.c (__strtol_l): Likewise.
17548         * stdlib/tst-strtod.c (main): Likewise.
17549         * stdlib/tst-strtol.c (main): Likewise.
17550         * stdlib/tst-strtoll.c (main): Likewise.
17551         * string/bits/string2.h (__strcmp_cc): Likewise.
17552         (__strcmp_cg): Likewise.
17553         (__strcspn_c1): Likewise.
17554         (__strcspn_c2): Likewise.
17555         (__strcspn_c3): Likewise.
17556         (__strspn_c1): Likewise.
17557         (__strspn_c2): Likewise.
17558         (__strspn_c3): Likewise.
17559         (__strsep_1c): Likewise.
17560         (__strsep_2c): Likewise.
17561         (__strsep_3c): Likewise.
17562         * string/memccpy.c (__memccpy): Likewise.
17563         * string/stpcpy.c (__stpcpy): Likewise.
17564         * string/strcmp.c (strcmp): Likewise.
17565         * string/strrchr.c (strrchr): Likewise.
17566         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17567         Likewise.
17568         * sysdeps/mach/hurd/getcwd.c
17569         (_hurd_canonicalize_directory_name_internal): Likewise.
17570         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17571         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17572         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17573         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17574         Likewise, in both definitions.
17575         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17576         definitions.
17577         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17578         64] (__bswap_64): Likewise.
17579         * time/test_time.c (main): Likewise.
17580         * time/tzfile.c (__tzfile_read): Likewise.
17581         (__tzfile_compute): Likewise.
17582         * time/tzset.c (__tzset_parse_tz): Likewise.
17583         (tzset_internal): Likewise.
17584         (compute_change): Likewise.
17585         * wcsmbs/wcscat.c (__wcscat): Likewise.
17586         * wcsmbs/wcschr.c (wcschr): Likewise.
17587         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17588         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17589         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17590         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17591         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17592         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17593         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17594         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17595         * wcsmbs/wmemset.c (wmemset): Likewise.
17596
17597 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17598
17599         * scripts/config.guess: Update to version 2013-05-16.
17600         * scripts/config.sub: Update to version 2013-04-24.
17601         * scripts/install-sh: Update to version 2011-11-20.07.
17602         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17603         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17604
17605 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17606
17607         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17608         * elf/sln.c: Likewise.
17609         * hurd/hurd/ioctl.h: Likewise.
17610         * hurd/hurdmalloc.c: Likewise.
17611         * hurd/xattr.c: Likewise.
17612         * include/shlib-compat.h: Likewise.
17613         * inet/ruserpass.c: Likewise.
17614         * libio/iofgets_u.c: Likewise.
17615         * libio/iofgetws_u.c: Likewise.
17616         * locale/programs/ld-identification.c: Likewise.
17617         * locale/programs/ld-time.c: Likewise.
17618         * mach/msg-destroy.c: Likewise.
17619         * nss/nss_files/files-netgrp.c: Likewise.
17620         * resolv/res_data.c: Likewise.
17621         * soft-fp/op-1.h: Likewise.
17622         * soft-fp/op-2.h: Likewise.
17623         * soft-fp/op-4.h: Likewise.
17624         * soft-fp/op-common.h: Likewise.
17625         * stdio-common/printf_fphex.c: Likewise.
17626         * stdlib/strtod_l.c: Likewise.
17627         * sunrpc/rpc/clnt.h: Likewise.
17628         * sysdeps/generic/framestate.c: Likewise.
17629         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17630         * sysdeps/i386/bsd-setjmp.S: Likewise.
17631         * sysdeps/i386/__longjmp.S: Likewise.
17632         * sysdeps/i386/setjmp.S: Likewise.
17633         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17634         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17635         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17636         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17639         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17640         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17641         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17642         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17643         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17644         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17645         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17646         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17649         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17650         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17651         * sysdeps/ieee754/support.c: Likewise.
17652         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17653         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17654         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17655         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17656         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17657         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17658         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17659         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17660         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17661         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17662         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17663         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17664         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17665         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17666         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17667         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17668         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17670
17671 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17672
17673         * posix/transbug.c: Remove executable mode.
17674
17675 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17676
17677         * crypt/speeds.c: Remove trailing whitespace.
17678         * dlfcn/default.c: Likewise.
17679         * elf/ifuncdep2.c: Likewise.
17680         * elf/ifuncmain1.c: Likewise.
17681         * elf/ifuncmain1vis.c: Likewise.
17682         * elf/testobj.h: Likewise.
17683         * elf/tst-stackguard1.c: Likewise.
17684         * gmon/sys/gmon.h: Likewise.
17685         * hurd/hurdmsg.c: Likewise.
17686         * hurd/new-fd.c: Likewise.
17687         * hurd/ports-get.c: Likewise.
17688         * iconvdata/ibm1008_420.c: Likewise.
17689         * inet/tst-getni1.c: Likewise.
17690         * inet/tst-getni2.c: Likewise.
17691         * libio/ioungetc.c: Likewise.
17692         * libio/wfiledoalloc.c: Likewise.
17693         * manual/libm-err-tab.pl: Likewise.
17694         * math/w_dremf.c: Likewise.
17695         * misc/ftruncate.c: Likewise.
17696         * posix/bug-glob2.c: Likewise.
17697         * posix/tst-pcre.c: Likewise.
17698         * posix/wait4.c: Likewise.
17699         * resolv/README: Likewise.
17700         * resolv/res_debug.h: Likewise.
17701         * resolv/tst-inet_ntop.c: Likewise.
17702         * setjmp/bug269-setjmp.c: Likewise.
17703         * soft-fp/extended.h: Likewise.
17704         * soft-fp/op-1.h: Likewise.
17705         * soft-fp/op-2.h: Likewise.
17706         * soft-fp/op-4.h: Likewise.
17707         * soft-fp/op-8.h: Likewise.
17708         * soft-fp/testit.c: Likewise.
17709         * stdio-common/bug16.c: Likewise.
17710         * stdlib/random.c: Likewise.
17711         * sunrpc/rpcsvc/rquota.x: Likewise.
17712         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17713         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17714         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17715         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17716         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17717         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17718         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17719         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17720         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17721         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17722         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17723         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17724         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17725         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17726         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17727         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17728         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17729         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17730         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17731         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17733         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17734         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17739         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17740         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17741         * sysdeps/ieee754/s_lib_version.c: Likewise.
17742         * sysdeps/mach/hurd/check_fds.c: Likewise.
17743         * sysdeps/mach/hurd/getsockname.c: Likewise.
17744         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17745         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17746         * sysdeps/powerpc/bits/link.h: Likewise.
17747         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17748         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17749         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17750         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17751         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17752         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17753         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17754         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17755         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17756         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17757         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17758         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17759         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17760         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17761         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17762         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17763         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17764         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17765         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17766         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17767         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17768         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17769         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17770         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17771         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17772         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17773         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17774         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17775         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17776         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17777         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17778         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17780         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17781         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17782         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17783         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17784         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17785         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17786         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17787         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17788         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17789         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17790         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17791         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17792         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17793         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17794         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17795         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17796         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17797         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17798         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17799         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17800         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17801         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17802         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17803         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17804         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17805         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17806         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17807         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17808         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17809         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17810         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17811         * sysdeps/powerpc/sysdep.h: Likewise.
17812         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17813         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17814         * sysdeps/sh/dl-trampoline.S: Likewise.
17815         * sysdeps/sh/memset.S: Likewise.
17816         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17817         * sysdeps/sh/strlen.S: Likewise.
17818         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17819         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17820         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17821         * sysdeps/sparc/sparc32/rem.S: Likewise.
17822         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17823         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17824         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17825         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17826         * sysdeps/sparc/sparc32/urem.S: Likewise.
17827         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17828         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17829         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17830         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17831         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17832         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17833         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17834         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17835         * sysdeps/unix/bsd/times.c: Likewise.
17836         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17837         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17841         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17842         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17843         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17844         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17845         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17846         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17847         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17848         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17849         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17850         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17851         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17852         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17853         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17854         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17855         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17856         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17857         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17858         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17859         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17860         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17861         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17862         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17863         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17864         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17865         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17866         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17867         * sysdeps/x86_64/strcspn.S: Likewise.
17868
17869 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17870
17871         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17872         generated file.  Regenerate properly from gen-translit.pl.
17873         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17874         locale/C-translit.h.
17875
17876 2013-06-05  Andreas Schwab  <schwab@suse.de>
17877
17878         [BZ #15100]
17879         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17880         week as 6 instead of -1.
17881         * time/tst-strptime.c (day_tests): Add test case.
17882
17883 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17884
17885         * sysdeps/generic/math_private.h
17886         (libc_feholdexcept_setround_53bit): Replace with
17887         libc_feholdsetround_53bit.
17888         (libc_feupdateenv_53bit): Replace with
17889         libc_feresetround_53bit.
17890         (SET_RESTORE_ROUND_53BIT): Adjust.
17891
17892 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17893
17894         * string/test-strchrnul.c: Add copyright header.
17895
17896         * posix/tst-getaddrinfo4.c: Increase test timeout.
17897
17898 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17899
17900         [BZ #15536]
17901         * math/libm-test.inc (MAX_EXP): Remove
17902         (MIN_EXP): Define.
17903         (ulp): Use MIN_EXP - MANT_DIG.
17904         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17905
17906 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17907
17908         * po/be.po: Revert last change.
17909         * po/zh_CN.po: Likewise.
17910         * po/header.pot: Likewise.
17911
17912 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17913
17914         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17915         link-libc-deps to empty as target-specific variable.
17916         * Makerules (link-libc-args): New variable.
17917         (libc-for-link): Likewise.
17918         (link-libc-deps): Likewise.
17919         (lib%.so): Depend on $(link-libc-deps).  Link with
17920         $(link-libc-args).
17921         (build-module): Link with $(link-libc-args).
17922         (build-module-asneeded): Likewise.
17923         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17924         list of objects.
17925         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17926         target-specific variable.
17927         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17928         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17929         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17930         libc.
17931         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17932         libc and ld.so.
17933         ($(objpfx)libpcprofile.so): Likewise.
17934         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17935         libc_nonshared.a.
17936         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17937         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17938         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17939         $(link-libc-deps).
17940         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17941         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17942         * login/Makefile ($(objpfx)libutil.so): Likewise.
17943         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17944         * math/Makefile ($(objpfx)libm.so): Likewise.
17945         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17946         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17947         variable instead of depending directly on libc.
17948         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17949         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17950         $(link-libc-deps).
17951         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17952         libc.
17953         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17954         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17955         ($(objpfx)libanl.so): Likewise.
17956         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17957         ld.so.
17958         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17959         $(link-libc-deps).
17960         * sysdeps/i386/fpu/Makefile: Remove file.
17961         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17962         ($(objpfx)libm.so): Remove dependency on ld.so.
17963
17964 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17965
17966         [BZ # 15553]
17967         * nis/yp_xdr.c (XDRMAXNAME): Define.
17968         (XDRMAXRECORD): Define.
17969         (xdr_domainname): Use XDRMAXNAME.
17970         (xdr_mapname): Likewise.
17971         (xdr_peername): Likewise.
17972         (xdr_keydat): Use XDRMAXRECORD.
17973         (xdr_valdat): Likewise.
17974
17975 2013-05-30  Jeff Law  <law@redhat.com>
17976
17977         [BZ #14256]
17978         * manual/errno.texi (ESTALE): Update to account for more than
17979         just NFS file systems.
17980         * sysdeps/gnu/errlist.c: Regenerated.
17981
17982 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17983
17984         [BZ #15465]
17985         * elf/Makefile (tests): Add tst-null-argv.
17986         (modules-names):  Add tst-null-argv-lib.
17987         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17988         (tst-null-argv-ENV): Set environment for tst-null-argv.
17989         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17990         (RTLD_PROGNAME): New macro.
17991         * elf/tst-null-argv.c: New test case.
17992         * elf/tst-null-argv-lib.c: Library for test case.
17993         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17994         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17995         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17996         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17997         * elf/dl-init.c (call_init): Likewise.
17998         (_dl_init): Likewise.
17999         * elf/dl-load.c (print_search_path): Likewise.
18000         (_dl_map_object): Likewise.
18001         * elf/dl-lookup.c (do_lookup_x): Likewise.
18002         (add_dependency): Likewise.
18003         (_dl_lookup_symbol_x): Likewise.
18004         (_dl_debug_bindings): Likewise.
18005         * elf/dl-open.c (_dl_show_scope): Likewise.
18006         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18007         * elf/dl-version.c (match_symbol): Likewise.
18008         (_dl_check_map_versions): Likewise.
18009         * elf/rtld.c (dl_main): Likewise.
18010         (print_unresolved): Use RTLD_PROGNAME.
18011         (print_missing_version): Likewise.
18012         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18013         (elf_machine_rela): Likewise.
18014         * sysdeps/powerpc/powerpc32/dl-machine.c
18015         (__process_machine_rela): Likewise.
18016         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18017         Likewise.
18018         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18019         Likewise.
18020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18021         Likewise.
18022         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18023         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18024         Likewise.
18025         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18026         Likewise.
18027         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18028
18029 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
18030
18031         * po/be.po: Add descriptive title.
18032         * po/zh_CN.po: Likewise.
18033         * po/header.pot: Likewise.
18034
18035 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
18036
18037         * locale/programs/locarchive.c (create_archive): Inlucde fname in
18038         error message.
18039         (enlarge_archive): Likewise.
18040
18041 2013-05-28  Ben North  <ben@redfrontdoor.org>
18042
18043         * manual/arith.texi (frexp): It is the magnitude of the return
18044         value which lies in [0.5, 1), not the return value itself.
18045
18046 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18047
18048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18049
18050 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
18051
18052         * stdio-common/bug26.c (main): Correct fscanf template.
18053
18054         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18055         declare _dl_skip_args.
18056
18057         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18058         Don't declare.
18059
18060         * manual/platform.texi: Add missing @end deftypefun.
18061
18062 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18063
18064         [BZ #15529]
18065         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18066         bit of mantissa of 2^16382.
18067         * math/libm-test.inc (hypot_test_data): Add more tests.
18068
18069         * math/libm-test.inc: Add drem and pow10 to list of tested
18070         functions.
18071         (pow10_test): New function.
18072         (drem_test): Likewise.
18073         (drem_test_tonearest): Likewise.
18074         (drem_test_towardzero): Likewise.
18075         (drem_test_downward): Likewise.
18076         (drem_test_upward): Likewise.
18077         (main): Call the new functions.
18078
18079         * math/libm-test.inc (finite_test_data): Remove.
18080         (finite_test): Run tests from isfinite_test_data.
18081         (gamma_test_data): Remove.
18082         (gamma_test): Run tests from lgamma_test_data.
18083         * sysdeps/i386/fpu/libm-test-ulps: Update.
18084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18085
18086 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18087
18088         * manual/platform.texi: Add PowerPC PPR function set documentation.
18089         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18090         implementation.
18091
18092 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18093
18094         * math/libm-test.inc (MAX_EXP): Define.
18095         (ULPDIFF): Define.
18096         (ulp): New function.
18097         (check_float_internal): Use ULPDIFF.
18098         (cpow_test): Disable failing test.
18099         (check_ulp): Test ulp() implemetnation.
18100         (main): Call check_ulp before starting tests.
18101
18102 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18103
18104         * math/gen-libm-test.pl (generate_testfile): Do not handle
18105         START_DATA and END_DATA.
18106         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18107         END_DATA.
18108         (acos_tonearest_test_data): Likewise.
18109         (acos_towardzero_test_data): Likewise.
18110         (acos_downward_test_data): Likewise.
18111         (acos_upward_test_data): Likewise.
18112         (acosh_test_data): Likewise.
18113         (asin_test_data): Likewise.
18114         (asin_tonearest_test_data): Likewise.
18115         (asin_towardzero_test_data): Likewise.
18116         (asin_downward_test_data): Likewise.
18117         (asin_upward_test_data): Likewise.
18118         (asinh_test_data): Likewise.
18119         (atan_test_data): Likewise.
18120         (atanh_test_data): Likewise.
18121         (atan2_test_data): Likewise.
18122         (cabs_test_data): Likewise.
18123         (cacos_test_data): Likewise.
18124         (cacosh_test_data): Likewise.
18125         (carg_test_data): Likewise.
18126         (casin_test_data): Likewise.
18127         (casinh_test_data): Likewise.
18128         (catan_test_data): Likewise.
18129         (catanh_test_data): Likewise.
18130         (cbrt_test_data): Likewise.
18131         (ccos_test_data): Likewise.
18132         (ccosh_test_data): Likewise.
18133         (ceil_test_data): Likewise.
18134         (cexp_test_data): Likewise.
18135         (cimag_test_data): Likewise.
18136         (clog_test_data): Likewise.
18137         (clog10_test_data): Likewise.
18138         (conj_test_data): Likewise.
18139         (copysign_test_data): Likewise.
18140         (cos_test_data): Likewise.
18141         (cos_tonearest_test_data): Likewise.
18142         (cos_towardzero_test_data): Likewise.
18143         (cos_downward_test_data): Likewise.
18144         (cos_upward_test_data): Likewise.
18145         (cosh_test_data): Likewise.
18146         (cosh_tonearest_test_data): Likewise.
18147         (cosh_towardzero_test_data): Likewise.
18148         (cosh_downward_test_data): Likewise.
18149         (cosh_upward_test_data): Likewise.
18150         (cpow_test_data): Likewise.
18151         (cproj_test_data): Likewise.
18152         (creal_test_data): Likewise.
18153         (csin_test_data): Likewise.
18154         (csinh_test_data): Likewise.
18155         (csqrt_test_data): Likewise.
18156         (ctan_test_data): Likewise.
18157         (ctan_tonearest_test_data): Likewise.
18158         (ctan_towardzero_test_data): Likewise.
18159         (ctan_downward_test_data): Likewise.
18160         (ctan_upward_test_data): Likewise.
18161         (ctanh_test_data): Likewise.
18162         (ctanh_tonearest_test_data): Likewise.
18163         (ctanh_towardzero_test_data): Likewise.
18164         (ctanh_downward_test_data): Likewise.
18165         (ctanh_upward_test_data): Likewise.
18166         (erf_test_data): Likewise.
18167         (erfc_test_data): Likewise.
18168         (exp_test_data): Likewise.
18169         (exp_tonearest_test_data): Likewise.
18170         (exp_towardzero_test_data): Likewise.
18171         (exp_downward_test_data): Likewise.
18172         (exp_upward_test_data): Likewise.
18173         (exp10_test_data): Likewise.
18174         (exp2_test_data): Likewise.
18175         (expm1_test_data): Likewise.
18176         (fabs_test_data): Likewise.
18177         (fdim_test_data): Likewise.
18178         (finite_test_data): Likewise.
18179         (floor_test_data): Likewise.
18180         (fma_test_data): Likewise.
18181         (fma_towardzero_test_data): Likewise.
18182         (fma_downward_test_data): Likewise.
18183         (fma_upward_test_data): Likewise.
18184         (fmax_test_data): Likewise.
18185         (fmin_test_data): Likewise.
18186         (fmod_test_data): Likewise.
18187         (fpclassify_test_data): Likewise.
18188         (frexp_test_data): Likewise.
18189         (gamma_test_data): Likewise.
18190         (hypot_test_data): Likewise.
18191         (ilogb_test_data): Likewise.
18192         (isfinite_test_data): Likewise.
18193         (isgreater_test_data): Likewise.
18194         (isgreaterequal_test_data): Likewise.
18195         (isinf_test_data): Likewise.
18196         (isless_test_data): Likewise.
18197         (islessequal_test_data): Likewise.
18198         (islessgreater_test_data): Likewise.
18199         (isnan_test_data): Likewise.
18200         (isnormal_test_data): Likewise.
18201         (issignaling_test_data): Likewise.
18202         (isunordered_test_data): Likewise.
18203         (j0_test_data): Likewise.
18204         (j1_test_data): Likewise.
18205         (jn_test_data): Likewise.
18206         (ldexp_test_data): Likewise.
18207         (lgamma_test_data): Likewise.
18208         (lrint_test_data): Likewise.
18209         (lrint_tonearest_test_data): Likewise.
18210         (lrint_towardzero_test_data): Likewise.
18211         (lrint_downward_test_data): Likewise.
18212         (lrint_upward_test_data): Likewise.
18213         (llrint_test_data): Likewise.
18214         (llrint_tonearest_test_data): Likewise.
18215         (llrint_towardzero_test_data): Likewise.
18216         (llrint_downward_test_data): Likewise.
18217         (llrint_upward_test_data): Likewise.
18218         (log_test_data): Likewise.
18219         (log10_test_data): Likewise.
18220         (log1p_test_data): Likewise.
18221         (log2_test_data): Likewise.
18222         (logb_test_data): Likewise.
18223         (logb_downward_test_data): Likewise.
18224         (lround_test_data): Likewise.
18225         (llround_test_data): Likewise.
18226         (modf_test_data): Likewise.
18227         (nearbyint_test_data): Likewise.
18228         (nextafter_test_data): Likewise.
18229         (nexttoward_test_data): Likewise.
18230         (pow_test_data): Likewise.
18231         (pow_tonearest_test_data): Likewise.
18232         (pow_towardzero_test_data): Likewise.
18233         (pow_downward_test_data): Likewise.
18234         (pow_upward_test_data): Likewise.
18235         (remainder_test_data): Likewise.
18236         (remainder_tonearest_test_data): Likewise.
18237         (remainder_towardzero_test_data): Likewise.
18238         (remainder_downward_test_data): Likewise.
18239         (remainder_upward_test_data): Likewise.
18240         (remquo_test_data): Likewise.
18241         (rint_test_data): Likewise.
18242         (rint_tonearest_test_data): Likewise.
18243         (rint_towardzero_test_data): Likewise.
18244         (rint_downward_test_data): Likewise.
18245         (rint_upward_test_data): Likewise.
18246         (round_test_data): Likewise.
18247         (scalb_test_data): Likewise.
18248         (scalbn_test_data): Likewise.
18249         (scalbln_test_data): Likewise.
18250         (signbit_test_data): Likewise.
18251         (sin_test_data): Likewise.
18252         (sin_tonearest_test_data): Likewise.
18253         (sin_towardzero_test_data): Likewise.
18254         (sin_downward_test_data): Likewise.
18255         (sin_upward_test_data): Likewise.
18256         (sincos_test_data): Likewise.
18257         (sinh_test_data): Likewise.
18258         (sinh_tonearest_test_data): Likewise.
18259         (sinh_towardzero_test_data): Likewise.
18260         (sinh_downward_test_data): Likewise.
18261         (sinh_upward_test_data): Likewise.
18262         (sqrt_test_data): Likewise.
18263         (tan_test_data): Likewise.
18264         (tan_tonearest_test_data): Likewise.
18265         (tan_towardzero_test_data): Likewise.
18266         (tan_downward_test_data): Likewise.
18267         (tan_upward_test_data): Likewise.
18268         (tanh_test_data): Likewise.
18269         (tgamma_test_data): Likewise.
18270         (trunc_test_data): Likewise.
18271         (y0_test_data): Likewise.
18272         (y1_test_data): Likewise.
18273         (yn_test_data): Likewise.
18274         (significand_test_data): Likewise.
18275
18276         * math/gen-libm-test.pl (@functions): Remove variable.
18277         (generate_testfile): Don't handle START and END lines.
18278         * math/libm-test.inc (START): New macro.
18279         (END): Likewise.
18280         (END_COMPLEX): Likewise.
18281         (acos_test): Use END macro without arguments.
18282         (acos_test_tonearest): Likewise.
18283         (acos_test_towardzero): Likewise.
18284         (acos_test_downward): Likewise.
18285         (acos_test_upward): Likewise.
18286         (acosh_test): Likewise.
18287         (asin_test): Likewise.
18288         (asin_test_tonearest): Likewise.
18289         (asin_test_towardzero): Likewise.
18290         (asin_test_downward): Likewise.
18291         (asin_test_upward): Likewise.
18292         (asinh_test): Likewise.
18293         (atan_test): Likewise.
18294         (atanh_test): Likewise.
18295         (atan2_test): Likewise.
18296         (cabs_test): Likewise.
18297         (cacos_test): Use END_COMPLEX macro without arguments.
18298         (cacosh_test): Likewise.
18299         (carg_test): Use END macro without arguments.
18300         (casin_test): Use END_COMPLEX macro without arguments.
18301         (casinh_test): Likewise.
18302         (catan_test): Likewise.
18303         (catanh_test): Likewise.
18304         (cbrt_test): Use END macro without arguments.
18305         (ccos_test): Use END_COMPLEX macro without arguments.
18306         (ccosh_test): Likewise.
18307         (ceil_test): Use END macro without arguments.
18308         (cexp_test): Use END_COMPLEX macro without arguments.
18309         (cimag_test): Use END macro without arguments.
18310         (clog_test): Use END_COMPLEX macro without arguments.
18311         (clog10_test): Likewise.
18312         (conj_test): Likewise.
18313         (copysign_test): Use END macro without arguments.
18314         (cos_test): Likewise.
18315         (cos_test_tonearest): Likewise.
18316         (cos_test_towardzero): Likewise.
18317         (cos_test_downward): Likewise.
18318         (cos_test_upward): Likewise.
18319         (cosh_test): Likewise.
18320         (cosh_test_tonearest): Likewise.
18321         (cosh_test_towardzero): Likewise.
18322         (cosh_test_downward): Likewise.
18323         (cosh_test_upward): Likewise.
18324         (cpow_test): Use END_COMPLEX macro without arguments.
18325         (cproj_test): Likewise.
18326         (creal_test): Use END macro without arguments.
18327         (csin_test): Use END_COMPLEX macro without arguments.
18328         (csinh_test): Likewise.
18329         (csqrt_test): Likewise.
18330         (ctan_test): Likewise.
18331         (ctan_test_tonearest): Likewise.
18332         (ctan_test_towardzero): Likewise.
18333         (ctan_test_downward): Likewise.
18334         (ctan_test_upward): Likewise.
18335         (ctanh_test): Likewise.
18336         (ctanh_test_tonearest): Likewise.
18337         (ctanh_test_towardzero): Likewise.
18338         (ctanh_test_downward): Likewise.
18339         (ctanh_test_upward): Likewise.
18340         (erf_test): Use END macro without arguments.
18341         (erfc_test): Likewise.
18342         (exp_test): Likewise.
18343         (exp_test_tonearest): Likewise.
18344         (exp_test_towardzero): Likewise.
18345         (exp_test_downward): Likewise.
18346         (exp_test_upward): Likewise.
18347         (exp10_test): Likewise.
18348         (exp2_test): Likewise.
18349         (expm1_test): Likewise.
18350         (fabs_test): Likewise.
18351         (fdim_test): Likewise.
18352         (finite_test): Likewise.
18353         (floor_test): Likewise.
18354         (fma_test): Likewise.
18355         (fma_test_towardzero): Likewise.
18356         (fma_test_downward): Likewise.
18357         (fma_test_upward): Likewise.
18358         (fmax_test): Likewise.
18359         (fmin_test): Likewise.
18360         (fmod_test): Likewise.
18361         (fpclassify_test): Likewise.
18362         (frexp_test): Likewise.
18363         (gamma_test): Likewise.
18364         (hypot_test): Likewise.
18365         (ilogb_test): Likewise.
18366         (isfinite_test): Likewise.
18367         (isgreater_test): Likewise.
18368         (isgreaterequal_test): Likewise.
18369         (isinf_test): Likewise.
18370         (isless_test): Likewise.
18371         (islessequal_test): Likewise.
18372         (islessgreater_test): Likewise.
18373         (isnan_test): Likewise.
18374         (isnormal_test): Likewise.
18375         (issignaling_test): Likewise.
18376         (isunordered_test): Likewise.
18377         (j0_test): Likewise.
18378         (j1_test): Likewise.
18379         (jn_test): Likewise.
18380         (ldexp_test): Likewise.
18381         (lgamma_test): Likewise.
18382         (lrint_test): Likewise.
18383         (lrint_test_tonearest): Likewise.
18384         (lrint_test_towardzero): Likewise.
18385         (lrint_test_downward): Likewise.
18386         (lrint_test_upward): Likewise.
18387         (llrint_test): Likewise.
18388         (llrint_test_tonearest): Likewise.
18389         (llrint_test_towardzero): Likewise.
18390         (llrint_test_downward): Likewise.
18391         (llrint_test_upward): Likewise.
18392         (log_test): Likewise.
18393         (log10_test): Likewise.
18394         (log1p_test): Likewise.
18395         (log2_test): Likewise.
18396         (logb_test): Likewise.
18397         (logb_test_downward): Likewise.
18398         (lround_test): Likewise.
18399         (llround_test): Likewise.
18400         (modf_test): Likewise.
18401         (nearbyint_test): Likewise.
18402         (nextafter_test): Likewise.
18403         (nexttoward_test): Likewise.
18404         (pow_test): Likewise.
18405         (pow_test_tonearest): Likewise.
18406         (pow_test_towardzero): Likewise.
18407         (pow_test_downward): Likewise.
18408         (pow_test_upward): Likewise.
18409         (remainder_test): Likewise.
18410         (remainder_test_tonearest): Likewise.
18411         (remainder_test_towardzero): Likewise.
18412         (remainder_test_downward): Likewise.
18413         (remainder_test_upward): Likewise.
18414         (remquo_test): Likewise.
18415         (rint_test): Likewise.
18416         (rint_test_tonearest): Likewise.
18417         (rint_test_towardzero): Likewise.
18418         (rint_test_downward): Likewise.
18419         (rint_test_upward): Likewise.
18420         (round_test): Likewise.
18421         (scalb_test): Likewise.
18422         (scalbn_test): Likewise.
18423         (scalbln_test): Likewise.
18424         (signbit_test): Likewise.
18425         (sin_test): Likewise.
18426         (sin_test_tonearest): Likewise.
18427         (sin_test_towardzero): Likewise.
18428         (sin_test_downward): Likewise.
18429         (sin_test_upward): Likewise.
18430         (sincos_test): Likewise.
18431         (sinh_test): Likewise.
18432         (sinh_test_tonearest): Likewise.
18433         (sinh_test_towardzero): Likewise.
18434         (sinh_test_downward): Likewise.
18435         (sinh_test_upward): Likewise.
18436         (sqrt_test): Likewise.
18437         (tan_test): Likewise.
18438         (tan_test_tonearest): Likewise.
18439         (tan_test_towardzero): Likewise.
18440         (tan_test_downward): Likewise.
18441         (tan_test_upward): Likewise.
18442         (tanh_test): Likewise.
18443         (tgamma_test): Likewise.
18444         (trunc_test): Likewise.
18445         (y0_test): Likewise.
18446         (y1_test): Likewise.
18447         (yn_test): Likewise.
18448         (significand_test): Likewise.
18449
18450 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18451
18452         [BZ #15381]
18453         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18454
18455 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18456
18457         [BZ #14894]
18458         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18459         __ppc_mdoio and __ppc_mdoom.
18460         * manual/platform.texi: Document new functions __ppc_yield,
18461         __ppc_mdoio and __ppc_mdoom.
18462
18463 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18464
18465         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18466         (main): Mention "tls" pseudo-hwcap is legacy.
18467         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18468
18469 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18470
18471         * math/gen-libm-test.pl (parse_args): Output only string of
18472         arguments as text for test name, not full call or descriptions of
18473         tests for extra outputs.
18474         (generate_testfile): Do not pass function name to parse_args.
18475         Generate this_func variable from START.
18476         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18477         field to arg_str.
18478         (struct test_ff_f_data): Likewise.
18479         (test_ff_f_data_nexttoward): Likewise.
18480         (struct test_fi_f_data): Likewise.
18481         (struct test_fl_f_data): Likewise.
18482         (struct test_if_f_data): Likewise.
18483         (struct test_fff_f_data): Likewise.
18484         (struct test_c_f_data): Likewise.
18485         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18486         (struct test_fF_f1_data): Likewise.
18487         (struct test_ffI_f1_data): Likewise.
18488         (struct test_c_c_data): Rename test_name field to arg_str.
18489         (struct test_cc_c_data): Likewise.
18490         (struct test_f_i_data): Likewise.
18491         (struct test_ff_i_data): Likewise.
18492         (struct test_f_l_data): Likewise.
18493         (struct test_f_L_data): Likewise.
18494         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18495         and extra2_name.
18496         (COMMON_TEST_SETUP): New macro.
18497         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18498         (COMMON_TEST_CLEANUP): Likewise.
18499         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18500         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18501         macros.
18502         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18503         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18504         macros.
18505         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18506         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18507         cleanup macros.
18508         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18509         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18510         macros.
18511         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18512         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18513         macros.
18514         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18515         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18516         cleanup macros.
18517         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18518         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18519         cleanup macros.
18520         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18521         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18522         cleanup macros.
18523         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18524         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18525         macros.
18526         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18527         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18528         macros.
18529         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18530         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18531         macros.
18532         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18533         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18534         cleanup macros.
18535         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18536         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18537         cleanup macros.
18538         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18539         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18540         macros.
18541         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18542         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18543         cleanup macros.
18544         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18545         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18546         macros.
18547         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18548         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18549         macros.
18550         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18551         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18552         cleanup macros.
18553         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18554
18555 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18556
18557         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18558         to _sifields.sigfault.
18559         (si_addr_lsb): Define new macro.
18560         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18561         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18562         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18563
18564 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18565
18566         [BZ #15441]
18567         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18568         returns -1.
18569         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18570         null return -1.
18571         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18572         loading the domain.
18573
18574 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18575
18576         * math/gen-libm-test.pl (parse_args): Do not include expected
18577         result in test name.
18578         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18580         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18581         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18582         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18584
18585 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18586
18587         * benchtests/Makefile: Sort function entries.
18588
18589         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18590         tanh, asinh, acosh, atanh.
18591         * benchtests/acos-inputs: New file.
18592         * benchtests/acosh-inputs: New file.
18593         * benchtests/asin-inputs: New file.
18594         * benchtests/asinh-inputs: New file.
18595         * benchtests/atanh-inputs: New file.
18596         * benchtests/cosh-inputs: New file.
18597         * benchtests/log-inputs: New file.
18598         * benchtests/sinh-inputs: New file.
18599         * benchtests/tanh-inputs: New file.
18600
18601 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18602
18603         [BZ #15339]
18604         * posix/tst-getaddrinfo4.c: New test.
18605         * posix/Makefile (tests): Add it.
18606
18607 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18608
18609         [BZ #15339]
18610         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18611         when no services were used.
18612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18613         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18614
18615 2013-05-21  Andreas Schwab  <schwab@suse.de>
18616
18617         [BZ #15014]
18618         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18619         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18620         successful.
18621         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18622         redundant variable declarations and reallocation of buffer when
18623         parsing as IPv6 address.  Always set NSS status when called from
18624         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18625         buffer too small.  Correct computation of needed size.
18626         * nss/Makefile (tests): Add test-digits-dots.
18627         * nss/test-digits-dots.c: New test.
18628
18629 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18630
18631         * benchtests/Makefile: Remove instructions for adding
18632         benchmark tests.
18633         * benchtests/README: New file to explain how to execute and
18634         enhance the benchmark tests.
18635
18636 2013-05-21  Andreas Schwab  <schwab@suse.de>
18637
18638         [BZ #15493]
18639         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18640         * setjmp/tst-sigsetjmp.c: New test.
18641
18642 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18643
18644         * sysdeps/x86_64/memset.S (memset): New implementation.
18645         (__bzero): Likewise.
18646         (__memset_tail): New function.
18647
18648 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18649
18650         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18651         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18652         __memcpy_sse2_unaligned ifunc selection.
18653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18654         Add memcpy-sse2-unaligned.S.
18655         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18656         Add: __memcpy_sse2_unaligned.
18657
18658 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18659
18660         [BZ #15490]
18661         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18662         math_force_eval before restoring floating-point envrionment.
18663         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18664         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18665         Likewise.
18666         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18667         <math_private.h>.
18668         (__nearbyintl): Use math_force_eval before restoring
18669         floating-point environment.
18670         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18671
18672         * math/gen-libm-test.pl (special_functions): Remove.
18673         (parse_args): Don't handle TEST_extra.  Handle functions with no
18674         return value.
18675         * math/libm-test.inc (struct test_sincos_data): Replace with
18676         struct test_fFF_11_data.
18677         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18678         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18679         (sincos_test_data): Change element type to struct
18680         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18681         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18682         RUN_TEST_LOOP_sincos.
18683         * math/README.libm-test: Don't mention special handling of
18684         individual functions.
18685         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18686         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18687         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18688         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18689         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18691
18692         * math/gen-libm-test.pl (get_variable): Remove function.
18693         (parse_args): Don't show pointer parameters to call in test
18694         names.  Use "extra output N" in test names for extra outputs
18695         rather than naming variables.
18696
18697 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18698
18699         [BZ #15488]
18700         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18701         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18702         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18703         double tests.
18704         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18705         disable.
18706         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18707         check_long_double.
18708
18709         * math/gen-libm-test.pl (@tests): Remove variable.
18710         ($count): Likewise.
18711         (new_test): Remove function.
18712         (show_exceptions): New function.
18713         (special_functions): Use show_exceptions instead of new_test.
18714         (parse_args): Likewise.
18715         (generate_testfile): Pass only function name in generated call to
18716         print_max_error or print_complex_max_error.
18717         (get_ulps): Do not handle complex tests specially.
18718         (output_test): Rename to ...
18719         (get_all_ulps_for_test): ... this.  Return a string rather than
18720         printing to a file.  Require ulps to be present.
18721         (output_ulps): Generate arrays rather than #defines.
18722         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18723         (struct ulp_data): New type.
18724         (BUILD_COMPLEX_ULP): Remove macro.
18725         (compare_ulp_data): New function.
18726         (find_ulps): Likewise.
18727         (find_test_ulps): Likewise.
18728         (find_function_ulps): Likewise.
18729         (find_complex_function_ulps): Likewise.
18730         (print_max_error): Determine allowed ulps using
18731         find_function_ulps.
18732         (print_complex_max_error): Determine allowed ulps using
18733         find_complex_function_ulps.
18734         (check_float_internal): Determine max ulps using find_test_ulps.
18735         (check_float): Do not take max_ulp parameter.  Update call to
18736         check_float_internal.
18737         (check_complex): Likewise.
18738         (check_int): Do not take max_ulp parameter.
18739         (check_long): Likewise.
18740         (check_bool): Likewise.
18741         (check_longlong): Likewise.
18742         (struct test_f_f_data): Remove max_ulp field.
18743         (struct test_ff_f_data): Likewise.
18744         (struct test_ff_f_data_nexttoward): Likewise.
18745         (struct test_fi_f_data): Likewise.
18746         (struct test_fl_f_data): Likewise.
18747         (struct test_if_f_data): Likewise.
18748         (struct test_fff_f_data): Likewise.
18749         (struct test_c_f_data): Likewise.
18750         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18751         (struct test_fF_f1_data): Likewise.
18752         (struct test_ffI_f1_data): Likewise.
18753         (struct test_c_c_data): Remove max_ulp field.
18754         (struct test_cc_c_data): Likewise.
18755         (struct test_f_i_data): Likewise.
18756         (struct test_ff_i_data): Likewise.
18757         (struct test_f_l_data): Likewise.
18758         (struct test_f_L_data): Likewise.
18759         (struct test_sincos_data): Likewise.
18760         (RUN_TEST_f_f): Do not handle ulps.
18761         (RUN_TEST_LOOP_f_f): Likewise.
18762         (RUN_TEST_2_f): Likewise.
18763         (RUN_TEST_LOOP_2_f): Likewise.
18764         (RUN_TEST_fff_f): Likewise.
18765         (RUN_TEST_LOOP_fff_f): Likewise.
18766         (RUN_TEST_c_f): Likewise.
18767         (RUN_TEST_LOOP_c_f): Likewise.
18768         (RUN_TEST_f_f1): Likewise.
18769         (RUN_TEST_LOOP_f_f1): Likewise.
18770         (RUN_TEST_fF_f1): Likewise.
18771         (RUN_TEST_LOOP_fF_f1): Likewise.
18772         (RUN_TEST_fI_f1): Likewise.
18773         (RUN_TEST_LOOP_fI_f1): Likewise.
18774         (RUN_TEST_ffI_f1): Likewise.
18775         (RUN_TEST_LOOP_ffI_f1): Likewise.
18776         (RUN_TEST_c_c): Likewise.
18777         (RUN_TEST_LOOP_c_c): Likewise.
18778         (RUN_TEST_cc_c): Likewise.
18779         (RUN_TEST_LOOP_cc_c): Likewise.
18780         (RUN_TEST_f_i): Likewise.
18781         (RUN_TEST_LOOP_f_i): Likewise.
18782         (RUN_TEST_f_i_tg): Likewise.
18783         (RUN_TEST_LOOP_f_i_tg): Likewise.
18784         (RUN_TEST_ff_i_tg): Likewise.
18785         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18786         (RUN_TEST_f_b): Likewise.
18787         (RUN_TEST_LOOP_f_b): Likewise.
18788         (RUN_TEST_f_b_tg): Likewise.
18789         (RUN_TEST_LOOP_f_b_tg): Likewise.
18790         (RUN_TEST_f_l): Likewise.
18791         (RUN_TEST_LOOP_f_l): Likewise.
18792         (RUN_TEST_f_L): Likewise.
18793         (RUN_TEST_LOOP_f_L): Likewise.
18794         (RUN_TEST_sincos): Likewise.
18795         (RUN_TEST_LOOP_sincos): Likewise.
18796
18797 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18798
18799         [BZ #15480]
18800         [BZ #15485]
18801         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18802         main case of finite arguments, set rounding mode to FE_TONEAREST
18803         and discard exceptions.
18804         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18805         exceptions.
18806         (remainder_tonearest_test_data): New variable.
18807         (remainder_test_tonearest): New function.
18808         (remainder_towardzero_test_data): New variable.
18809         (remainder_test_towardzero): New function.
18810         (remainder_downward_test_data): New variable.
18811         (remainder_test_downward): New function.
18812         (remainder_upward_test_data): New variable.
18813         (remainder_test_upward): New function.
18814         (main): Call the new test functions.
18815
18816         * math/libm-test.inc (struct test_f_f1_data): Remove field
18817         extra_init.
18818         (struct test_fF_f1_data): Likewise.
18819         (struct test_ffI_f1_data): Likewise.
18820         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18821         based on value of EXTRA_EXPECTED.
18822         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18823         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18824         EXTRA_VAR based on value of EXTRA_EXPECTED.
18825         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18826         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18827         EXTRA_VAR based on value of EXTRA_EXPECTED.
18828         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18829         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18830         EXTRA_VAR based on value of EXTRA_EXPECTED.
18831         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18832         * math/gen-libm-test.pl (parse_args): Don't output initializers
18833         for extra output values.
18834
18835         * math/libm-test.inc (check_int): Expect result to be exactly
18836         equal to expected value and do not handle ulps.
18837         (check_long): Likewise.
18838         (check_longlong): Likewise.
18839
18840         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18841         exceptions.
18842         (cimag_test_data): Likewise.
18843         (conj_test_data): Likewise.
18844         (copysign_test_data): Likewise.
18845         (cproj_test_data): Likewise.
18846         (creal_test_data): Likewise.
18847         (fabs_test_data): Likewise.
18848         (fdim_test_data): Likewise.
18849         (finite_test_data): Likewise.
18850         (floor_test_data): Likewise.
18851         (fmax_test_data): Likewise.
18852         (fmin_test_data): Likewise.
18853         (fmod_test_data): Likewise.
18854         (fpclassify_test_data): Likewise.
18855         (frexp_test_data): Likewise.
18856         (ilogb_test_data): Likewise.
18857         (isfinite_test_data): Likewise.
18858         (isgreater_test_data): Likewise.
18859         (isgreaterequal_test_data): Likewise.
18860         (isinf_test_data): Likewise.
18861         (isless_test_data): Likewise.
18862         (islessequal_test_data): Likewise.
18863         (islessgreater_test_data): Likewise.
18864         (isnan_test_data): Likewise.
18865         (isnormal_test_data): Likewise.
18866         (issignaling_test_data): Likewise.
18867         (isunordered_test_data): Likewise.
18868         (ldexp_test_data): Likewise.
18869         (lrint_test_data): Likewise.
18870         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18871         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18872         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18873         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18874         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18875         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18876         test input.
18877         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18878         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18879         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18880         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18881         that test input.
18882         (lrint_downward_test_data): Test for "inexact" exceptions.
18883         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18884         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18885         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18886         test input.
18887         (lrint_upward_test_data): Test for "inexact" exceptions.
18888         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18889         test input.
18890         (llrint_test_data): Test for "inexact" exceptions.
18891         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18892         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18893         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18894         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18895         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18896         (llrint_downward_test_data): Test for "inexact" exceptions.
18897         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18898         (llrint_upward_test_data): Test for "inexact" exceptions.
18899         (logb_test_data): Likewise.
18900         (logb_downward_test_data): Likewise.
18901         (nextafter_test_data): Likewise.
18902         (nexttoward_test_data): Likewise.
18903         (remainder_test_data): Likewise.
18904         (remquo_test_data): Likewise.
18905         (scalbn_test_data): Likewise.
18906         (scalbln_test_data): Likewise.
18907         (signbit_test_data): Likewise.
18908         (sqrt_test_data): Likewise.
18909         (significand_test_data): Likewise.
18910
18911 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18912
18913         [BZ #15424]
18914         * benchtests/bench-modf.c (struct args): Mark arg0 as
18915         volatile.
18916         * scripts/bench.pl: Mark members of struct args as volatile.
18917
18918 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18919
18920         [BZ # 15497]
18921         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18922         negative infinity on POWER6 or lower.
18923         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18924
18925 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18926
18927         [BZ #15442]
18928         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18929         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18930         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18931         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18932         (_FP_SETQNAN): New macro.
18933         (_FP_SETQNAN_SEMIRAW): Likewise.
18934         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18935         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18936         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18937         (FP_EXTEND): Use _FP_FRAC_SNANP.
18938         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18939         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18940         into account.
18941         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18942         New macro.
18943         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18944         Likewise.
18945
18946 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18947
18948         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18949         with DIVIDE_BY_ZERO_EXCEPTION.
18950         (gamma_test_data): Likewise.
18951         (lgamma_test_data): Likewise.
18952         (log_test_data): Likewise.
18953         (log10_test_data): Likewise.
18954         (log2_test_data): Likewise.
18955         (tgamma_test_data): Likewise.
18956
18957         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18958         (acos_test_tonearest): Likewise.
18959         (acos_test_towardzero): Likewise.
18960         (acos_test_downward): Likewise.
18961         (acos_test_upward): Likewise.
18962         (acosh_test): Likewise.
18963         (asin_test): Likewise.
18964         (asin_test_tonearest): Likewise.
18965         (asin_test_towardzero): Likewise.
18966         (asin_test_downward): Likewise.
18967         (asin_test_upward): Likewise.
18968         (asinh_test): Likewise.
18969         (atan_test): Likewise.
18970         (atanh_test): Likewise.
18971         (atan2_test): Likewise.
18972         (cabs_test): Likewise.
18973         (cacos_test): Likewise.
18974         (cacosh_test): Likewise.
18975         (casin_test): Likewise.
18976         (casinh_test): Likewise.
18977         (catan_test): Likewise.
18978         (catanh_test): Likewise.
18979         (cbrt_test): Likewise.
18980         (ccos_test): Likewise.
18981         (ccosh_test): Likewise.
18982         (cexp_test): Likewise.
18983         (clog_test): Likewise.
18984         (clog10_test): Likewise.
18985         (cos_test): Likewise.
18986         (cos_test_tonearest): Likewise.
18987         (cos_test_towardzero): Likewise.
18988         (cos_test_downward): Likewise.
18989         (cos_test_upward): Likewise.
18990         (cosh_test): Likewise.
18991         (cosh_test_tonearest): Likewise.
18992         (cosh_test_towardzero): Likewise.
18993         (cosh_test_downward): Likewise.
18994         (cosh_test_upward): Likewise.
18995         (cpow_test): Likewise.
18996         (csin_test): Likewise.
18997         (csinh_test): Likewise.
18998         (csqrt_test): Likewise.
18999         (ctan_test): Likewise.
19000         (ctan_test_tonearest): Likewise.
19001         (ctan_test_towardzero): Likewise.
19002         (ctan_test_downward): Likewise.
19003         (ctan_test_upward): Likewise.
19004         (ctanh_test): Likewise.
19005         (ctanh_test_tonearest): Likewise.
19006         (ctanh_test_towardzero): Likewise.
19007         (ctanh_test_downward): Likewise.
19008         (ctanh_test_upward): Likewise.
19009         (erf_test): Likewise.
19010         (erfc_test): Likewise.
19011         (exp_test): Likewise.
19012         (exp_test_tonearest): Likewise.
19013         (exp_test_towardzero): Likewise.
19014         (exp_test_downward): Likewise.
19015         (exp_test_upward): Likewise.
19016         (exp10_test): Likewise.
19017         (exp2_test): Likewise.
19018         (expm1_test): Likewise.
19019         (fmod_test): Likewise.
19020         (gamma_test): Likewise.
19021         (hypot_test): Likewise.
19022         (j0_test): Likewise.
19023         (j1_test): Likewise.
19024         (jn_test): Likewise.
19025         (lgamma_test): Likewise.
19026         (log_test): Likewise.
19027         (log10_test): Likewise.
19028         (log1p_test): Likewise.
19029         (log2_test): Likewise.
19030         (logb_test_downward): Likewise.
19031         (pow_test): Likewise.
19032         (pow_test_tonearest): Likewise.
19033         (pow_test_towardzero): Likewise.
19034         (pow_test_downward): Likewise.
19035         (pow_test_upward): Likewise.
19036         (remainder_test): Likewise.
19037         (remquo_test): Likewise.
19038         (sin_test): Likewise.
19039         (sin_test_tonearest): Likewise.
19040         (sin_test_towardzero): Likewise.
19041         (sin_test_downward): Likewise.
19042         (sin_test_upward): Likewise.
19043         (sincos_test): Likewise.
19044         (sinh_test): Likewise.
19045         (sinh_test_tonearest): Likewise.
19046         (sinh_test_towardzero): Likewise.
19047         (sinh_test_downward): Likewise.
19048         (sinh_test_upward): Likewise.
19049         (sqrt_test): Likewise.
19050         (tan_test): Likewise.
19051         (tan_test_tonearest): Likewise.
19052         (tan_test_towardzero): Likewise.
19053         (tan_test_downward): Likewise.
19054         (tan_test_upward): Likewise.
19055         (tanh_test): Likewise.
19056         (tgamma_test): Likewise.
19057         (y0_test): Likewise.
19058         (y1_test): Likewise.
19059         (yn_test): Likewise.
19060
19061         * math/gen-libm-test.pl (adjust_arg): Remove function.
19062         (special_function): Remove argument $in_func.  Only handle
19063         generating output for tables of tests, not inside functions.
19064         (parse_args): Likewise.
19065         (generate_testfile): Remove variable $in_func.  Update call to
19066         parse_args.
19067         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19068         (MINUS_ZERO_INIT): Rename macro to minus_zero.
19069         (PLUS_INFTY_INIT): Rename macro to plus_infty.
19070         (MINUS_INFTY_INIT): Rename macro to minus_infty.
19071         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19072         (MAX_VALUE_INIT): Rename macro to max_value.
19073         (MIN_VALUE_INIT): Rename macro to min_value.
19074         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19075         (plus_zero): Remove variable.
19076         (minus_zero): Likewise.
19077         (plus_infty): Likewise.
19078         (minus_infty): Likewise.
19079         (qnan_value): Likewise.
19080         (max_value): Likewise.
19081         (min_value): Likewise.
19082         (min_subnorm_value): Likewise.
19083
19084 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19085
19086         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19087         uint64_t or uint32_t usage.
19088         * crypt/sha256-block.c: Likewise.
19089         * crypt/sha256-crypt.c: Likewise.
19090         * crypt/sha256.c: Likewise.
19091         * crypt/sha512-block.c: Likewise.
19092         * crypt/sha512-crypt.c: Likewise.
19093         * crypt/sha512.c: Likewise.
19094         * debug/backtrace-tst.c: Likewise.
19095         * debug/pcprofiledump.c: Likewise.
19096         * elf/cache.c: Likewise.
19097         * elf/dl-cache.c: Likewise.
19098         * elf/dl-misc.c: Likewise.
19099         * elf/dl-profile.c: Likewise.
19100         * elf/dl-support.c: Likewise.
19101         * elf/ldconfig.c: Likewise.
19102         * elf/sprof.c: Likewise.
19103         * iconv/dummy-repertoire.c: Likewise.
19104         * iconv/iconv_charmap.c: Likewise.
19105         * iconv/skeleton.c: Likewise.
19106         * iconvdata/8bit-generic.c: Likewise.
19107         * iconvdata/cp737.h: Likewise.
19108         * iconvdata/cp775.h: Likewise.
19109         * iconvdata/ibm1008.h: Likewise.
19110         * iconvdata/ibm1025.h: Likewise.
19111         * iconvdata/ibm1046.h: Likewise.
19112         * iconvdata/ibm1097.h: Likewise.
19113         * iconvdata/ibm1112.h: Likewise.
19114         * iconvdata/ibm1122.h: Likewise.
19115         * iconvdata/ibm1123.h: Likewise.
19116         * iconvdata/ibm1124.h: Likewise.
19117         * iconvdata/ibm1129.h: Likewise.
19118         * iconvdata/ibm1130.h: Likewise.
19119         * iconvdata/ibm1132.h: Likewise.
19120         * iconvdata/ibm1133.h: Likewise.
19121         * iconvdata/ibm1137.h: Likewise.
19122         * iconvdata/ibm1140.h: Likewise.
19123         * iconvdata/ibm1141.h: Likewise.
19124         * iconvdata/ibm1142.h: Likewise.
19125         * iconvdata/ibm1143.h: Likewise.
19126         * iconvdata/ibm1144.h: Likewise.
19127         * iconvdata/ibm1145.h: Likewise.
19128         * iconvdata/ibm1146.h: Likewise.
19129         * iconvdata/ibm1147.h: Likewise.
19130         * iconvdata/ibm1148.h: Likewise.
19131         * iconvdata/ibm1149.h: Likewise.
19132         * iconvdata/ibm1153.h: Likewise.
19133         * iconvdata/ibm1154.h: Likewise.
19134         * iconvdata/ibm1155.h: Likewise.
19135         * iconvdata/ibm1156.h: Likewise.
19136         * iconvdata/ibm1157.h: Likewise.
19137         * iconvdata/ibm1158.h: Likewise.
19138         * iconvdata/ibm1160.h: Likewise.
19139         * iconvdata/ibm1161.h: Likewise.
19140         * iconvdata/ibm1162.h: Likewise.
19141         * iconvdata/ibm1163.h: Likewise.
19142         * iconvdata/ibm1164.h: Likewise.
19143         * iconvdata/ibm1166.h: Likewise.
19144         * iconvdata/ibm1167.h: Likewise.
19145         * iconvdata/ibm12712.h: Likewise.
19146         * iconvdata/ibm1390.h: Likewise.
19147         * iconvdata/ibm1399.h: Likewise.
19148         * iconvdata/ibm16804.h: Likewise.
19149         * iconvdata/ibm4517.h: Likewise.
19150         * iconvdata/ibm4899.h: Likewise.
19151         * iconvdata/ibm4909.h: Likewise.
19152         * iconvdata/ibm4971.h: Likewise.
19153         * iconvdata/ibm5347.h: Likewise.
19154         * iconvdata/ibm803.h: Likewise.
19155         * iconvdata/ibm856.h: Likewise.
19156         * iconvdata/ibm901.h: Likewise.
19157         * iconvdata/ibm902.h: Likewise.
19158         * iconvdata/ibm9030.h: Likewise.
19159         * iconvdata/ibm9066.h: Likewise.
19160         * iconvdata/ibm921.h: Likewise.
19161         * iconvdata/ibm922.h: Likewise.
19162         * iconvdata/ibm9448.h: Likewise.
19163         * iconvdata/isiri-3342.h: Likewise.
19164         * iconvdata/jis0201.h: Likewise.
19165         * include/link.h: Likewise.
19166         * include/netdb.h: Likewise.
19167         * inet/check_native.c: Likewise.
19168         * inet/check_pf.c: Likewise.
19169         * inet/getipv4sourcefilter.c: Likewise.
19170         * inet/getnameinfo.c: Likewise.
19171         * inet/getsourcefilter.c: Likewise.
19172         * inet/htonl.c: Likewise.
19173         * inet/setipv4sourcefilter.c: Likewise.
19174         * inet/setsourcefilter.c: Likewise.
19175         * inet/test-inet6_opt.c: Likewise.
19176         * inet/tst-network.c: Likewise.
19177         * locale/C-collate.c: Likewise.
19178         * locale/C-ctype.c: Likewise.
19179         * locale/C-time.c: Likewise.
19180         * locale/C-translit.h: Likewise.
19181         * locale/loadarchive.c: Likewise.
19182         * locale/programs/3level.h: Likewise.
19183         * locale/programs/charmap.c: Likewise.
19184         * locale/programs/charmap.h: Likewise.
19185         * locale/programs/ld-address.c: Likewise.
19186         * locale/programs/ld-collate.c: Likewise.
19187         * locale/programs/ld-ctype.c: Likewise.
19188         * locale/programs/ld-identification.c: Likewise.
19189         * locale/programs/ld-measurement.c: Likewise.
19190         * locale/programs/ld-messages.c: Likewise.
19191         * locale/programs/ld-monetary.c: Likewise.
19192         * locale/programs/ld-name.c: Likewise.
19193         * locale/programs/ld-numeric.c: Likewise.
19194         * locale/programs/ld-paper.c: Likewise.
19195         * locale/programs/ld-telephone.c: Likewise.
19196         * locale/programs/ld-time.c: Likewise.
19197         * locale/programs/linereader.c: Likewise.
19198         * locale/programs/locale.c: Likewise.
19199         * locale/programs/locarchive.c: Likewise.
19200         * locale/programs/locfile.h: Likewise.
19201         * locale/programs/repertoire.c: Likewise.
19202         * locale/programs/simple-hash.c: Likewise.
19203         * locale/programs/simple-hash.h: Likewise.
19204         * malloc/memusage.c: Likewise.
19205         * malloc/memusagestat.c: Likewise.
19206         * nis/nis_defaults.c: Likewise.
19207         * nis/nis_hash.c: Likewise.
19208         * nis/nis_print.c: Likewise.
19209         * nis/nis_xdr.c: Likewise.
19210         * nscd/connections.c: Likewise.
19211         * nscd/hstcache.c: Likewise.
19212         * nscd/nscd_gethst_r.c: Likewise.
19213         * nscd/nscd_getserv_r.c: Likewise.
19214         * nscd/nscd_helper.c: Likewise.
19215         * nscd/servicescache.c: Likewise.
19216         * nss/makedb.c: Likewise.
19217         * nss/nss_db/db-XXX.c: Likewise.
19218         * nss/nss_db/db-initgroups.c: Likewise.
19219         * nss/nss_db/db-netgrp.c: Likewise.
19220         * nss/nss_files/files-network.c: Likewise.
19221         * nss/nss_files/files-parse.c: Likewise.
19222         * posix/bug-regex5.c: Likewise.
19223         * posix/fnmatch_loop.c: Likewise.
19224         * posix/regcomp.c: Likewise.
19225         * posix/regexec.c: Likewise.
19226         * posix/tst-rfc3484-2.c: Likewise.
19227         * posix/tst-rfc3484-3.c: Likewise.
19228         * posix/tst-rfc3484.c: Likewise.
19229         * resolv/nss_dns/dns-canon.c: Likewise.
19230         * resolv/nss_dns/dns-network.c: Likewise.
19231         * resolv/res_init.c: Likewise.
19232         * resolv/res_mkquery.c: Likewise.
19233         * resolv/tst-aton.c: Likewise.
19234         * stdlib/cxa_atexit.c: Likewise.
19235         * stdlib/cxa_finalize.c: Likewise.
19236         * stdlib/gen-fpioconst.c: Likewise.
19237         * stdlib/strtol_l.c: Likewise.
19238         * string/tst-endian.c: Likewise.
19239         * sunrpc/auth_des.c: Likewise.
19240         * sunrpc/clnt_udp.c: Likewise.
19241         * sunrpc/rtime.c: Likewise.
19242         * sunrpc/svcauth_des.c: Likewise.
19243         * sunrpc/xdr.c: Likewise.
19244         * sunrpc/xdr_intXX_t.c: Likewise.
19245         * sunrpc/xdr_rec.c: Likewise.
19246         * sysdeps/generic/ldconfig.h: Likewise.
19247         * sysdeps/generic/ldsodefs.h: Likewise.
19248         * sysdeps/generic/memusage.h: Likewise.
19249         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19250         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19251         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19252         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19253         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19254         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19255         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19256         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19257         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19258         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19259         * sysdeps/posix/getaddrinfo.c: Likewise.
19260         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19261         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19262         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19263         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19264         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19265         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19266         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19267         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19268         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19269         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19270         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19271         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19272         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19273         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19274         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19275         * sysdeps/x86_64/dl-tls.h: Likewise.
19276         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19277         * time/alt_digit.c: Likewise.
19278         * time/era.c: Likewise.
19279         * wcsmbs/tst-c16c32-1.c: Likewise.
19280
19281 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19282
19283         * math/libm-test.inc (struct test_sincos_data): New type.
19284         (RUN_TEST_LOOP_sincos): New macro.
19285         (sincos_test_data): New variable.
19286         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19287
19288 2013-05-16  Richard Henderson  <rth@redhat.com>
19289
19290         * math/atest-exp2.c (LIMB64): New macro.
19291         (CONSTSZ): New macro.
19292         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19293         (hexdig): Move ...
19294         (print_mpn_fp): ... to function scope.
19295         (read_mpn_hex): Remove.
19296         (get_log2): Remove.
19297         (exp2_mpn): Use mp_log2.
19298         (main): Use mp_exp1.
19299
19300 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19301
19302         * math/libm-test.inc: Remove comment about not testing "inexact"
19303         exceptions.
19304         (INEXACT_EXCEPTION): New macro.
19305         (NO_INEXACT_EXCEPTION): Likewise.
19306         (INVALID_EXCEPTION_OK): Update value.
19307         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19308         (OVERFLOW_EXCEPTION_OK): Likewise.
19309         (UNDERFLOW_EXCEPTION_OK): Likewise.
19310         (IGNORE_ZERO_INF_SIGN): Likewise.
19311         (ERRNO_UNCHANGED): Likewise.
19312         (ERRNO_EDOM): Likewise.
19313         (ERRNO_ERANGE): Likewise.
19314         (test_exceptions): Handle testing "inexact" exceptions.
19315         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19316         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19317         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19318         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19319         INEXACT_EXCEPTION.
19320         (rint_towardzero_test_data): Likewise.
19321         (rint_downward_test_data): Likewise.
19322         (rint_upward_test_data): Likewise.
19323
19324         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19325         with OVERFLOW_EXCEPTION.
19326         (exp10_test_data): Likewise.
19327         (exp2_test_data): Likewise.
19328         (expm1_test_data): Likewise.
19329         (lgamma_test_data): Likewise.
19330         (pow_test_data): Likewise.
19331         (tgamma_test_data): Likewise.
19332         (yn_test_data): Remove duplicate test of overflow.
19333
19334         * math/libm-test.inc (struct test_cc_c_data): New type.
19335         (RUN_TEST_LOOP_cc_c): New macro.
19336         (cpow_test_data): New variable.
19337         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19338
19339         * math/libm-test.inc (struct test_f_L_data): New type.
19340         (RUN_TEST_LOOP_f_L): New macro.
19341         (llrint_test_data): New variable.
19342         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19343         (llrint_tonearest_test_data): New variable.
19344         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19345         (llrint_towardzero_test_data): New variable.
19346         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19347         (llrint_downward_test_data): New variable.
19348         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19349         (llrint_upward_test_data): New variable.
19350         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19351         (llround_test_data): New variable.
19352         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19353
19354 2013-05-13  Peter Collingbourne  <pcc@google.com>
19355
19356         * math/atest-exp2.c (get_log2): Remove const attribute.
19357
19358 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19359
19360         * math/libm-test.inc (struct test_f_l_data): New type.
19361         (RUN_TEST_LOOP_f_l): New macro.
19362         (lrint_test_data): New variable.
19363         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19364         (lrint_tonearest_test_data): New variable.
19365         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19366         (lrint_towardzero_test_data): New variable.
19367         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19368         (lrint_downward_test_data): New variable.
19369         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19370         (lrint_upward_test_data): New variable.
19371         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19372         (lround_test_data): New variable.
19373         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19374
19375 2013-05-15  Peter Collingbourne  <pcc@google.com>
19376
19377         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19378         (EXTRACT_WORDS64) Use where appropriate.
19379         (INSERT_WORDS64) Likewise.
19380
19381         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19382         constraints with x constraints.
19383         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19384
19385         * malloc/obstack.c (_obstack_compat): Add initializer.
19386
19387 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19388
19389         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19390         si_trapno and add si_addr_lsb to _sifields.sigfault.
19391         (si_trapno): Remove macro.
19392         (si_addr_lsb): Define new macro.
19393         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19394
19395 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19396
19397         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19398         instead of TEST_f_l.
19399         (llrint_test_tonearest): Likewise.
19400         (llrint_test_towardzero): Likewise.
19401         (llrint_test_downward): Likewise.
19402         (llrint_test_upward): Likewise.
19403         (llround_test): Likewise.
19404
19405         * math/libm-test.inc (struct test_f_i_data): Add comment.
19406         (RUN_TEST_LOOP_f_b): New macro.
19407         (RUN_TEST_LOOP_f_b_tg): Likewise.
19408         (finite_test_data): New variable.
19409         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19410         (isfinite_test_data): New variable.
19411         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19412         (isinf_test_data): New variable.
19413         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19414         (isnan_test_data): New variable.
19415         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19416         (isnormal_test_data): New variable.
19417         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19418         (issignaling_test_data): New variable.
19419         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19420         (signbit_test_data): New variable.
19421         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19422
19423         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19424         with INVALID_EXCEPTION.
19425         (acosh_test_data): Likewise.
19426         (asin_test_data): Likewise.
19427         (atanh_test_data): Likewise.
19428         (fmod_test_data): Likewise.
19429         (log_test_data): Likewise.
19430         (log10_test_data): Likewise.
19431         (log2_test_data): Likewise.
19432         (pow_test_data): Likewise.
19433         (sqrt_test_data): Likewise.
19434         (y0_test_data): Likewise.
19435         (y1_test_data): Likewise.
19436         (yn_test_data): Likewise.
19437
19438         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19439         function contents.
19440
19441         * math/libm-test.inc (struct test_ff_i_data): New type.
19442         (RUN_TEST_LOOP_ff_i_tg): New macro.
19443         (isgreater_test_data): New variable.
19444         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19445         (isgreaterequal_test_data): New variable.
19446         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19447         (isless_test_data): New variable.
19448         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19449         (islessequal_test_data): New variable.
19450         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19451         (islessgreater_test_data): New variable.
19452         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19453         (isunordered_test_data): New variable.
19454         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19455
19456 2013-05-14  David S. Miller  <davem@davemloft.net>
19457
19458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19459
19460 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19461
19462         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19463
19464         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19465         extra_test to int.
19466         (struct test_f_i_data): Change type of max_ulp to int.
19467
19468         * math/libm-test.inc (test_ffI_f1_data): New type.
19469         (RUN_TEST_LOOP_ffI_f1): New macro.
19470         (remquo_test_data): New variable.
19471         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19472
19473         * setjmp/tst-setjmp-fp.c: New file.
19474         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19475         (link-libm): New variable.
19476         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19477
19478         * math/libm-test.inc (struct test_f_i_data): New type.
19479         (RUN_TEST_LOOP_f_i): New macro.
19480         (RUN_TEST_LOOP_f_i_tg): Likewise.
19481         (fpclassify_test_data): New variable.
19482         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19483         (ilogb_test_data): New variable.
19484         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19485
19486         * math/libm-test.inc (scalbln_test): Correct function name in END
19487         call.
19488
19489         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19490         (RUN_TEST_LOOP_fI_f1): New macro.
19491         (frexp_test_data): New variable.
19492         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19493
19494         * math/libm-test.inc (struct test_fF_f1_data): New type.
19495         (RUN_TEST_LOOP_fF_f1): New macro.
19496         (modf_test_data): New variable.
19497         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19498
19499         * math/libm-test.inc (struct test_f_f1_data): New type.
19500         (RUN_TEST_LOOP_f_f1): New macro.
19501         (gamma_test_data): New variable.
19502         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19503         (lgamma_test_data): New variable.
19504         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19505
19506 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19507
19508         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19509         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19510         (main): Comment "tls" pseudo-hwcap.
19511
19512 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19513
19514         * math/libm-test.inc (struct test_fl_f_data): New type.
19515         (RUN_TEST_LOOP_fl_f): New variable.
19516         (scalbln_test_data): New variable.
19517         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19518
19519         * math/libm-test.inc (struct test_fi_f_data): New type.
19520         (RUN_TEST_LOOP_fi_f): New macro.
19521         (ldexp_test_data): New variable.
19522         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19523         (scalbn_test_data): New variable.
19524         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19525
19526         * math/libm-test.inc (struct test_c_f_data): New type.
19527         (RUN_TEST_LOOP_c_f): New macro.
19528         (cabs_test_data): New variable.
19529         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19530         (carg_test_data): New variable.
19531         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19532         (cimag_test_data): New variable.
19533         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19534         (creal_test_data): New variable.
19535         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19536
19537         * math/libm-test.inc (struct test_if_f_data): New type.
19538         (RUN_TEST_LOOP_if_f): New macro.
19539         (jn_test_data): New variable.
19540         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19541         (yn_test_data): New variable.
19542         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19543
19544         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19545
19546 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19547
19548         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19549         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19550
19551 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19552
19553         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19554         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19555         (bench-deps): Add bench-timing.h.
19556         * benchtests-bench-skeleton.c: Include bench-timing.h.
19557         (main): Use TIMING_* macros instead of clock_gettime.
19558         * benchtests/bench-timing.h: New file.
19559
19560         [BZ #14582]
19561         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19562         Renamed from _LIB_VERSION.
19563         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19564
19565 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19566
19567         * math/libm-test.inc (struct test_fff_f_data): New type.
19568         (RUN_TEST_LOOP_fff_f): New macro.
19569         (fma_test_data): New variable.
19570         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19571         (fma_towardzero_test_data): New variable.
19572         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19573         (fma_downward_test_data): New variable.
19574         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19575         (fma_upward_test_data): New variable.
19576         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19577
19578         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19579         (struct test_c_c_data): New type.
19580         (RUN_TEST_LOOP_c_c): New macro.
19581         (cacos_test_data): New variable.
19582         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19583         (cacosh_test_data): New variable.
19584         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19585         (casin_test_data): New variable.
19586         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19587         (casinh_test_data): New variable.
19588         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19589         (catan_test_data): New variable.
19590         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19591         (catanh_test_data): New variable.
19592         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19593         (ccos_test_data): New variable.
19594         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19595         (ccosh_test_data): New variable.
19596         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19597         (cexp_test_data): New variable.
19598         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19599         (clog_test_data): New variable.
19600         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19601         (clog10_test_data): New variable.
19602         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19603         (conj_test_data): New variable.
19604         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19605         (cproj_test_data): New variable.
19606         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19607         (csin_test_data): New variable.
19608         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19609         (csinh_test_data): New variable.
19610         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19611         (csqrt_test_data): New variable.
19612         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19613         (ctan_test_data): New variable.
19614         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19615         (ctan_tonearest_test_data): New variable.
19616         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19617         (ctan_towardzero_test_data): New variable.
19618         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19619         (ctan_downward_test_data): New variable.
19620         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19621         (ctan_upward_test_data): New variable.
19622         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19623         (ctanh_test_data): New variable.
19624         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19625         (ctanh_tonearest_test_data): New variable.
19626         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19627         (ctanh_towardzero_test_data): New variable.
19628         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19629         (ctanh_downward_test_data): New variable.
19630         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19631         (ctanh_upward_test_data): New variable.
19632         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19633         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19634         of BUILD_COMPLEX.
19635
19636         * math/libm-test.inc (struct test_ff_f_data): New type.
19637         (struct test_ff_f_data_nexttoward): Likewise.
19638         (RUN_TEST_LOOP_2_f): New macro.
19639         (RUN_TEST_LOOP_ff_f): Likewise.
19640         (atan2_test_data): New variable.
19641         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19642         (copysign_test_data): New variable.
19643         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19644         (fdim_test_data): New variable.
19645         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19646         (fmax_test_data): New variable.
19647         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19648         (fmin_test_data): New variable.
19649         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19650         (fmod_test_data): New variable.
19651         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19652         (hypot_test_data): New variable.
19653         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19654         (nextafter_test_data): New variable.
19655         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19656         (nexttoward_test_data): New variable.
19657         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19658         (pow_test_data): New variable.
19659         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19660         (pow_tonearest_test_data): New variable.
19661         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19662         (pow_towardzero_test_data): New variable.
19663         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19664         (pow_downward_test_data): New variable.
19665         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19666         (pow_upward_test_data): New variable.
19667         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19668         (remainder_test_data): New variable.
19669         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19670         (scalb_test_data): New variable.
19671         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19672         * sysdeps/i386/fpu/libm-test-ulps: Update.
19673
19674 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19675
19676         * math/libm-test.inc (fma_test): Use max_value instead of local
19677         variable fltmax.
19678         (nextafter_test): Likewise.
19679
19680         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19681         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19682         (acos_downward_test_data): New variable.
19683         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19684         (acos_upward_test_data): New variable.
19685         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19686         (acosh_test_data): New variable.
19687         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19688         (asin_test_data): New variable.
19689         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19690         (asin_tonearest_test_data): New variable.
19691         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19692         (asin_towardzero_test_data): New variable.
19693         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19694         (asin_downward_test_data): New variable.
19695         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19696         (asin_upward_test_data): New variable.
19697         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19698         (asinh_test_data): New variable.
19699         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19700         (atan_test_data): New variable.
19701         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19702         (atanh_test_data): New variable.
19703         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19704         (cbrt_test_data): New variable.
19705         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19706         (ceil_test_data): New variable.
19707         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19708         (cos_test_data): New variable.
19709         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19710         (cos_tonearest_test_data): New variable.
19711         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19712         (cos_towardzero_test_data): New variable.
19713         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19714         (cos_downward_test_data): New variable.
19715         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19716         (cos_upward_test_data): New variable.
19717         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19718         (cosh_test_data): New variable.
19719         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19720         (cosh_tonearest_test_data): New variable.
19721         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19722         (cosh_towardzero_test_data): New variable.
19723         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19724         (cosh_downward_test_data): New variable.
19725         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19726         (cosh_upward_test_data): New variable.
19727         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19728         (erf_test_data): New variable.
19729         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19730         (erfc_test_data): New variable.
19731         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19732         (exp_test_data): New variable.
19733         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19734         (exp_tonearest_test_data): New variable.
19735         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19736         (exp_towardzero_test_data): New variable.
19737         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19738         (exp_downward_test_data): New variable.
19739         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19740         (exp_upward_test_data): New variable.
19741         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19742         (exp10_test_data): New variable.
19743         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19744         (exp2_test_data): New variable.
19745         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19746         (expm1_test_data): New variable.
19747         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19748         (fabs_test_data): New variable.
19749         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19750         (floor_test_data): New variable.
19751         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19752         (j0_test_data): New variable.
19753         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19754         (j1_test_data): New variable.
19755         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19756         (log_test_data): New variable.
19757         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19758         (log10_test_data): New variable.
19759         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19760         (log1p_test_data): New variable.
19761         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19762         (log2_test_data): New variable.
19763         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19764         (logb_test_data): New variable.
19765         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19766         (logb_downward_test_data): New variable.
19767         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19768         (nearbyint_test_data): New variable.
19769         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19770         (rint_test_data): New variable.
19771         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19772         (rint_tonearest_test_data): New variable.
19773         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19774         (rint_towardzero_test_data): New variable.
19775         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19776         (rint_downward_test_data): New variable.
19777         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19778         (rint_upward_test_data): New variable.
19779         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19780         (round_test_data): New variable.
19781         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19782         (sin_test_data): New variable.
19783         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19784         (sin_tonearest_test_data): New variable.
19785         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19786         (sin_towardzero_test_data): New variable.
19787         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19788         (sin_downward_test_data): New variable.
19789         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19790         (sin_upward_test_data): New variable.
19791         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19792         (sinh_test_data): New variable.
19793         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19794         (sinh_tonearest_test_data): New variable.
19795         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19796         (sinh_towardzero_test_data): New variable.
19797         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19798         (sinh_downward_test_data): New variable.
19799         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19800         (sinh_upward_test_data): New variable.
19801         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19802         (sqrt_test_data): New variable.
19803         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19804         (tan_test_data): New variable.
19805         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19806         (tan_tonearest_test_data): New variable.
19807         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19808         (tan_towardzero_test_data): New variable.
19809         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19810         (tan_downward_test_data): New variable.
19811         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19812         (tan_upward_test_data): New variable.
19813         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19814         (tanh_test_data): New variable.
19815         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19816         (tgamma_test_data): New variable.
19817         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19818         (trunc_test_data): New variable.
19819         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19820         (y0_test_data): New variable.
19821         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19822         (y1_test_data): New variable.
19823         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19824         (significand_test_data): New variable.
19825         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19826
19827 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19828
19829         [BZ #12387]
19830         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19831
19832 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19833
19834         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19835
19836 2013-05-10  Andreas Jaeger  <aj@suse.de>
19837
19838         [BZ #15448]
19839         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19840         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19841
19842 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19843
19844         * math/gen-libm-test.pl (adjust_arg): New function.
19845         (special_functions): Handle generating output in both functions
19846         and arrays.
19847         (parse_args): Likewise.
19848         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19849         $in_func argument to parse_args.
19850         * math/libm-test.inc (struct test_f_f_data): New type.
19851         (IF_ROUND_INIT_): New macro.
19852         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19853         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19854         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19855         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19856         (ROUND_RESTORE_): Likewise.
19857         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19858         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19859         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19860         (ROUND_RESTORE_FE_UPWARD): Likewise.
19861         (RUN_TEST_LOOP_f_f): New macro.
19862         (acos_test_data): New variable.
19863         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19864         (acos_tonearest_test_data): New variable.
19865         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19866
19867 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19868
19869         * benchtests/bench-skeleton.c (startup): Fix coding style.
19870
19871 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19872
19873         [BZ #6809]
19874         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19875         negative infinity argument.
19876         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19877         negative infinity argument.
19878         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19879         negative infinity argument.
19880         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19881         domain errors.
19882
19883 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19884
19885         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19886         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19887         * iconv/iconv_prog.c (main): Likewise.
19888         * locale/programs/charmap-dir.c (charmap_readdir)
19889         (fopen_uncompressed): Likewise.
19890         * locale/programs/locfile.c (siblings_uncached)
19891         (write_locale_data): Use lstat64 instead of lstat.
19892         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19893         stat.
19894
19895 2013-05-10  Andreas Jaeger  <aj@suse.de>
19896
19897         [BZ #15395]
19898         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19899         localization.
19900         Include <locale.h>.
19901
19902 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19903
19904         * elf/dl-close.c (_dl_close_worker): Add comments.
19905
19906 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19907
19908         [BZ #15359]
19909         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19910         high part of pi/2.
19911         (__ieee754_rem_pio2l): Update comments.
19912
19913         [BZ #15429]
19914         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19915         high part of pi/2.
19916         (__ieee754_rem_pio2l): Update comments.
19917
19918         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19919         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19920
19921         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19922         M_PI_4l.
19923
19924         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19925         (M_PI_34_LOG10El): Likewise.
19926         (M_PI2_LOG10El): Likewise.
19927         (M_PI4_LOG10El): Likewise.
19928         (M_PI_LOG10El): Likewise.
19929
19930 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19931
19932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19933
19934 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19935
19936         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19937         (MINUS_ZERO_INIT): Likewise.
19938         (PLUS_INFTY_INIT): Likewise.
19939         (MINUS_INFTY_INIT): Likewise.
19940         (QNAN_VALUE_INIT): Likewise.
19941         (MAX_VALUE_INIT): Likewise.
19942         (MIN_VALUE_INIT): Likewise.
19943         (MIN_SUBNORM_VALUE_INIT): Likewise.
19944         (plus_zero): Initialize with PLUS_ZERO_INIT.
19945         (minus_zero): Initialize with MINUS_ZERO_INIT.
19946         (plus_infty): Initialize with PLUS_INFTY_INIT.
19947         (minus_infty): Initialize with MINUS_INFTY_INIT.
19948         (qnan_value): Initialize with QNAN_VALUE_INIT.
19949         (max_value): Initialize with MAX_VALUE_INIT.
19950         (min_value): Initialize with MIN_VALUE_INIT.
19951         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19952
19953         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19954         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19955         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19956         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19957
19958         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19959         (RUN_TEST_2_f): Likewise.
19960         (RUN_TEST_ff_f): Likewise.
19961         (RUN_TEST_fi_f): Likewise.
19962         (RUN_TEST_fl_f): Likewise.
19963         (RUN_TEST_fff_f): Likewise.
19964         (RUN_TEST_c_f): Likewise.
19965         (RUN_TEST_f_f1): Likewise.
19966         (RUN_TEST_fF_f1): Likewise.
19967         (RUN_TEST_fI_f1): Likewise.
19968         (RUN_TEST_ffI_f1): Likewise.
19969         (RUN_TEST_c_c): Likewise.
19970         (RUN_TEST_cc_c): Likewise.
19971         (RUN_TEST_f_i): Likewise.
19972         (RUN_TEST_f_i_tg): Likewise.
19973         (RUN_TEST_ff_i_tg): Likewise.
19974         (RUN_TEST_f_b): Likewise.
19975         (RUN_TEST_f_b_tg): Likewise.
19976         (RUN_TEST_f_l): Likewise.
19977         (RUN_TEST_f_L): Likewise.
19978         (RUN_TEST_sincos): Likewise.
19979         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19980         whether to show exceptions.  Do not include ");\n" in return
19981         value.
19982         (special_functions): Output call to RUN_TEST_sincos instead of
19983         check_float calls.  Update calls to new_test.
19984         (parse_args): Output call to single RUN_TEST_* macro instead of
19985         check_* calls and other assignments.  Update calls to new_test.
19986
19987         [BZ #2546]
19988         [BZ #2560]
19989         [BZ #5159]
19990         [BZ #15426]
19991         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19992         input to result for tgamma overflow.
19993         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19994         (gamma_coeff): New variable.
19995         (NCOEFF): New macro.
19996         (gamma_positive): New function.
19997         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19998         underflow here.  Use gamma_positive instead of exp (lgamma) for
19999         other arguments.
20000         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20001         (gamma_coeff): New variable.
20002         (NCOEFF): New macro.
20003         (gammaf_positive): New function.
20004         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20005         underflow here.  Use gamma_positive instead of exp (lgamma) for
20006         other arguments.
20007         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20008         (gamma_coeff): New variable.
20009         (NCOEFF): New macro.
20010         (gammal_positive): New function.
20011         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20012         underflow here.  Use gamma_positive instead of exp (lgamma) for
20013         other arguments.
20014         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20015         (gamma_coeff): New variable.
20016         (NCOEFF): New macro.
20017         (gammal_positive): New function.
20018         (__ieee754_gammal_r): Handle positive infinity, overflow and
20019         underflow here.  Handle NaN the same as positive infinity.  Remove
20020         check x < 0xffffffff for negative integers.  Use gamma_positive
20021         instead of exp (lgamma) for other arguments.
20022         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20023         (gamma_coeff): New variable.
20024         (NCOEFF): New macro.
20025         (gammal_positive): New function.
20026         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20027         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20028         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20029         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20030         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20031         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20032         * sysdeps/generic/math_private.h (__gamma_productf): New
20033         prototype.
20034         (__gamma_product): Likewise.
20035         (__gamma_productl): Likewise.
20036         * math/Makefile (libm-calls): Add gamma_product.
20037         * math/libm-test.inc (tgamma_test): Add more tests.
20038         * sysdeps/i386/fpu/libm-test-ulps: Update.
20039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20040
20041 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
20042
20043         * benchtests/bench-skeleton.c (main): Preheat CPU.
20044
20045 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
20046
20047         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20048
20049 2013-05-07  Roland McGrath  <roland@hack.frob.com>
20050
20051         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20052         and _dl_skip_args_internal.
20053
20054 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
20055
20056         * manual/message.texi (Message Translation): Talk about users.
20057         Message to key mapping impacts design.
20058
20059 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20060
20061         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20062
20063         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20064
20065         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20066         * sysdeps/wordsize-64/glob64.c: ... here.
20067
20068         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20069         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20070         New macros.
20071
20072         * debug/getlogin_r_chk.c: Moved to ...
20073         * login/getlogin_r_chk.c: ... here.
20074         * debug/Makefile (routines): Move getlogin_r_chk to ...
20075         * login/Makefile (routines): ... here.
20076         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20077         * login/Versions (libc: GLIBC_2.4): ... here.
20078
20079         * io/poll.c (__poll): Renamed from poll.
20080         Add libc_hidden_def.
20081         (poll): Define as weak alias.
20082
20083         * debug/ptsname_r_chk.c: Moved to ...
20084         * login/ptsname_r_chk.c: ... here.
20085         * debug/Makefile (routines): Move ptsname_r_chk to ...
20086         * login/Makefile (routines): ... here.
20087         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20088         * login/Versions (libc: GLIBC_2.4): ... here.
20089
20090         * posix/getlogin.c: Moved to ...
20091         * login/getlogin.c: ... here.
20092         * posix/getlogin_r.c: Moved to ...
20093         * login/getlogin_r.c: ... here.
20094         * posix/getlogin_r.c: Moved to ...
20095         * login/getlogin_r.c: ... here.
20096         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20097         * login/Makefile (routines): ... here.
20098         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20099         * login/Versions (libc: GLIBC_2.0): ... here.
20100
20101         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20102         (setrlimit): Define as weak alias.
20103
20104         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20105         Call __ names for open, ftruncate, and close.
20106         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20107         (truncate): Define as weak alias.
20108
20109 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20110
20111         * math/gen-libm-test.pl (parse_args): Initialize x before each
20112         test of frexp, modf and remquo.
20113
20114         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20115         test signgam value.
20116
20117 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20118
20119         [BZ #15418]
20120         [BZ #15419]
20121         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20122         internal tests.
20123         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20124
20125 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20126
20127         * elf/dl-writev.h: New file.
20128         * elf/dl-misc.c: Include it.
20129         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20130         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20131
20132 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20133
20134         * math/libm-test.inc (noXFails): Remove variable.
20135         (noXPasses): Likewise.
20136         (BUILD_COMPLEX_INT): Remove macro.
20137         (print_screen): Remove xfail argument.
20138         (print_screen_max_error): Likewise.
20139         (update_stats): Likewise.
20140         (print_max_error): Likewise.  Update calls to other affected
20141         functions.
20142         (print_complex_max_error): Likewise.
20143         (test_single_exception): Update calls to print_screen.
20144         (test_single_errno): Likewise.
20145         (check_float_internal): Remove xfail argument.  Update calls to
20146         other affected functions.
20147         (check_float): Likewise.
20148         (check_complex): Likewise.
20149         (check_int): Likewise.
20150         (check_long): Likewise.
20151         (check_bool): Likewise.
20152         (check_longlong): Likewise.
20153         (main): Don't print noXFails and noXPasses.
20154         * math/gen-libm-test.pl (top level): Don't mention expected
20155         failure handling in comment.
20156         (new_test): Don't handle expected failures.
20157         (parse_args): Don't mention expected failure handling in comment.
20158         (generate_testfile): Don't handle expected failures.
20159         (parse_ulps): Likewise.
20160         (print_ulps_file): Likewise.
20161         (get_failure): Remove function.
20162         (output_test): Don't handle expected failures.
20163         * make/README.libm-test: Don't mention expected failure handling.
20164
20165         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20166         (minus_zero): Likewise.
20167         (plus_infty): Likewise.
20168         (minus_infty): Likewise.
20169         (qnan_value): Likewise.
20170         (max_value): Likewise.
20171         (min_value): Likewise.
20172         (min_subnorm_value): Likewise.
20173         (initialize): Do not initialize those variables dynamically.
20174
20175 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20176
20177         * io/open.c (__open_2): Moved to ...
20178         * io/open_2.c: ... this new file.
20179         * io/open64.c (__open64_2): Moved to ...
20180         * io/open64_2.c: ... this new file.
20181         * io/openat.c (__openat_2): Moved to ...
20182         * io/openat_2.c: ... this new file.
20183         * io/openat64.c (__openat64_2): Moved to ...
20184         * io/openat64_2.c: ... this new file.
20185         * io/Makefile (routines): Add them.
20186         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20187         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20188         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20189         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20190         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20191         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20192         (__openat64): Add hidden_ver.
20193         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20194         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20195
20196         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20197         Separately conditionalize setting of GLRO(dl_sysinfo) so
20198         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20199         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20200
20201 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20202
20203         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20204         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20205         definition.
20206         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20207         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20208         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20209         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20210         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20211
20212 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20213
20214         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20215         test signgam value.
20216
20217         * math/libm-test.inc (hypot_test): Do not use
20218         IGNORE_ZERO_INF_SIGN.
20219
20220 2013-05-03  Andreas Jaeger  <aj@suse.de>
20221
20222         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20223         Linux 3.9.
20224         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20225         (PF_MAX): Adjust for VSOCK change.
20226
20227 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20228
20229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20230
20231 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20232
20233         [BZ #15264]
20234         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20235         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20236         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20237
20238 2013-05-02  David S. Miller  <davem@davemloft.net>
20239
20240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20241
20242 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20243
20244         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20245
20246 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20247
20248         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20249
20250 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20251
20252         [BZ #14952]
20253         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20254         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20255         Use __attribute__ ((__gnu_inline__)).
20256         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20257         Don't use __attribute__ ((__gnu_inline__)).
20258
20259 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20260
20261         [BZ #15423]
20262         * math/s_catan.c (__catan): Handle small real or imaginary part of
20263         input specially to avoid spurious underflow.
20264         * math/s_catanf.c (__catanf): Likewise.
20265         * math/s_catanh.c (__catanh): Likewise.
20266         * math/s_catanhf.c (__catanhf): Likewise.
20267         * math/s_catanhl.c (__catanhl): Likewise.
20268         * math/s_catanl.c (__catanl): Likewise.
20269         * math/libm-test.inc (catan_test): Add more tests.
20270         (catanh_test): Likewise.
20271         * sysdeps/i386/fpu/libm-test-ulps: Update.
20272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20273
20274 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20275
20276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20277
20278 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20279
20280         [BZ #15416]
20281         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20282         accurately for denominator in atan2.
20283         * math/s_catanf.c (__catanf): Likewise.
20284         * math/s_catanh.c (__catanh): Likewise.
20285         * math/s_catanhf.c (__catanhf): Likewise.
20286         * math/s_catanhl.c (__catanhl): Likewise.
20287         * math/s_catanl.c (__catanl): Likewise.
20288         * math/libm-test.inc (catan_test): Add more tests.
20289         (catanh_test): Likewise.
20290         * sysdeps/i386/fpu/libm-test-ulps: Update.
20291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20292
20293 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20294
20295         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20296
20297         * benchtests/Makefile (bench): Remove slow benchmarks.
20298         * benchtests/atan-inputs: Add slow benchmark inputs.
20299         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20300         (BENCH_FUNC): Accept variant offset.
20301         (VARIANT): Define.
20302         * benchtests/bench-skeleton.c (main): Run benchmark for each
20303         variant.
20304         * benchtests/cos-inputs: Add slow benchmark inputs.
20305         * benchtests/exp-inputs: Likewise.
20306         * benchtests/pow-inputs: Likewise.
20307         * benchtests/sin-inputs: Likewise.
20308         * benchtests/slowatan-inputs: Remove.
20309         * benchtests/slowatan.c: Remove.
20310         * benchtests/slowcos-inputs: Remove.
20311         * benchtests/slowcos.c: Remove.
20312         * benchtests/slowexp-inputs: Remove.
20313         * benchtests/slowexp.c: Remove.
20314         * benchtests/slowpow-inputs: Remove.
20315         * benchtests/slowpow.c: Remove.
20316         * benchtests/slowsin-inputs: Remove.
20317         * benchtests/slowsin.c: Remove.
20318         * benchtests/slowtan-inputs: Remove.
20319         * benchtests/slowtan.c: Remove.
20320         * benchtests/tan-inputs: Add slow benchmark inputs.
20321         * scripts/bench.pl: Parse comments and directives.
20322
20323         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20324         in CPPFLAGS.
20325         ($(objpfx)bench-%.c): Remove *-ITER.
20326         * benchtests/bench-modf.c: Remove definition of ITER.
20327         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20328         (main): Loop for DURATION seconds instead of fixed number of
20329         iterations.
20330         * scripts/bench.pl: Don't expect iterations in parameters.
20331
20332 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20333
20334         * io/fchdir.c (__fchdir): Renamed from fchdir.
20335         (fchdir): Define as weak alias.
20336
20337 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20338
20339         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20340         (ERRNO_EDOM): Likewise.
20341         (ERRNO_ERANGE): Likewise.
20342         (noErrnoTests): New variable.
20343         (init_max_error): Set errno to 0.
20344         (test_single_errno): New function.
20345         (test_errno): Likewise.
20346         (check_float_internal): Call test_errno.  Set errno to 0.
20347         (check_complex): Refer to errno tests in comment.
20348         (check_int): Call test_errno.  Set errno to 0.
20349         (check_long): Likewise.
20350         (check_bool): Likewise.
20351         (check_longlong): Likewise.
20352         (cos_test): Use ERRNO_* flags for errno tests instead of
20353         check_int.
20354         (expm1_test): Likewise.
20355         (fmod_test): Likewise.
20356         (ilogb_test): Likewise.
20357         (lgamma_test): Likewise.
20358         (pow_test): Likewise.
20359         (remainder_test): Likewise.
20360         (sin_test): Likewise.
20361         (tan_test): Likewise.
20362         (yn_test): Likewise.
20363         (initialize): Set errno to 0.
20364         (main): Print number of errno tests.
20365         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20366
20367 2013-04-29  Andreas Jaeger  <aj@suse.de>
20368
20369         [BZ #15084]
20370         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20371         and RES_USEVC.
20372
20373         [BZ #15085]
20374         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20375         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20376         unimplemented.
20377
20378         [BZ #15380]
20379         * stdlib/random.c (__initstate): Return NULL if
20380         __initstate fails.
20381
20382         [BZ #15086]
20383         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20384         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20385         RES_SNGLKUPREOP.
20386
20387 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20388
20389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20390
20391 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20392
20393         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20394         of individual tests.
20395         (casin_test): Likewise.
20396         (casinh_test): Likewise.
20397
20398 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20399
20400         [BZ #15409]
20401         * math/s_catan.c (__catan): Handle arguments with large real or
20402         imaginary part separately without squaring.
20403         * math/s_catanf.c (__catanf): Likewise.
20404         * math/s_catanh.c (__catanh): Likewise.
20405         * math/s_catanhf.c (__catanhf): Likewise.
20406         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20407         and redefine.
20408         (__catanhl): Handle arguments with large real or imaginary part
20409         separately without squaring.
20410         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20411         and redefine.
20412         (__catanl): Handle arguments with large real or imaginary part
20413         separately without squaring.
20414         * math/libm-test.inc (catan_test): Add more tests.
20415         (catanh_test): Likewise.
20416         * sysdeps/i386/fpu/libm-test-ulps: Update.
20417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20418
20419 2013-04-27  Andreas Jaeger  <aj@suse.de>
20420
20421         [BZ #15007]
20422         * stdlib/stdlib.h: Update guards for qecvt.
20423         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20424         <stdlib.h>.
20425
20426 2013-04-27  Allan McRae  <allan@archlinux.org>
20427
20428         * sysdeps/i386/fpu/libm-test-ulps: Update.
20429
20430 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20431
20432         [BZ #15406]
20433         * math/s_catan.c: Include <float.h>.
20434         (__catan): Ensure underflow exception occurs for underflowed
20435         result.
20436         * math/s_catanf.c: Include <float.h>.
20437         (__catanf): Ensure underflow exception occurs for underflowed
20438         result.
20439         * math/s_catanh.c: Include <float.h>.
20440         (__catanh): Ensure underflow exception occurs for underflowed
20441         result.
20442         * math/s_catanhf.c: Include <float.h>.
20443         (__catanhf): Ensure underflow exception occurs for underflowed
20444         result.
20445         * math/s_catanhl.c: Include <float.h>.
20446         (__catanhl): Ensure underflow exception occurs for underflowed
20447         result.
20448         * math/s_catanl.c: Include <float.h>.
20449         (__catanl): Ensure underflow exception occurs for underflowed
20450         result.
20451         * math/libm-test.inc (catan_test): Add more tests.
20452         (catanh_test): Likewise.
20453
20454         [BZ #15405]
20455         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20456         underflowed result.
20457         * math/s_ccoshf.c (__ccoshf): Likewise.
20458         * math/s_ccoshl.c (__ccoshl): Likewise.
20459         * math/s_csin.c (__csin): Likewise.
20460         * math/s_csinf.c (__csinf): Likewise.
20461         * math/s_csinh.c (__csinh): Likewise.
20462         * math/s_csinhf.c (__csinhf): Likewise.
20463         * math/s_csinhl.c (__csinhl): Likewise.
20464         * math/s_csinl.c (__csinl): Likewise.
20465         * math/libm-test.inc (ccos_test): Add more tests.
20466         (ccosh_test): Likewise.
20467         (csin_test): Likewise.
20468         (csinh_test): Likewise.
20469
20470 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20471
20472         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20473         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20474         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20475         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20476         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20477         powerpc/power5+/fpu folders.
20478         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20479
20480
20481 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20482
20483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20484
20485 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20486
20487         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20488         additions to variable.
20489         [$(config-machine) = x86_64] (modules-names): Likewise.
20490         ($(objpfx)tst-audit3): Remove dependency.
20491         ($(objpfx)tst-audit3.out): Likewise.
20492         ($(objpfx)tst-audit4): Likewise.
20493         ($(objpfx)tst-audit4.out): Likewise.
20494         ($(objpfx)tst-audit5): Likewise.
20495         ($(objpfx)tst-audit5.out): Likewise.
20496         ($(objpfx)tst-audit6): Likewise.
20497         ($(objpfx)tst-audit6.out): Likewise.
20498         ($(objpfx)tst-audit7): Likewise.
20499         ($(objpfx)tst-audit7.out): Likewise.
20500         (tst-audit3-ENV): Remove variable.
20501         (tst-audit4-ENV): Likewise.
20502         (tst-audit5-ENV): Likewise.
20503         (tst-audit6-ENV): Likewise.
20504         (tst-audit7-ENV): Likewise.
20505         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20506         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20507         addition to variable.
20508         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20509         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20510         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20511         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20512         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20513         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20514         tst-audit3, tst-audit4 and tst-audit5.
20515         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20516         tst-audit6 and tst-audit7.
20517         [$(subdir) = elf] (modules-names): Add audit modules for those
20518         tests.
20519         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20520         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20521         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20522         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20523         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20524         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20525         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20526         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20527         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20528         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20529         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20530         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20531         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20532         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20533         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20534         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20535         Likewise.
20536         [$(subdir) = elf && $(config-cflags-avx) = yes]
20537         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20538         [$(subdir) = elf && $(config-cflags-avx) = yes]
20539         (CFLAGS-tst-auditmod4a.c): Likewise.
20540         [$(subdir) = elf && $(config-cflags-avx) = yes]
20541         (CFLAGS-tst-auditmod4b.c): Likewise.
20542         [$(subdir) = elf && $(config-cflags-avx) = yes]
20543         (CFLAGS-tst-auditmod6b.c): Likewise.
20544         [$(subdir) = elf && $(config-cflags-avx) = yes]
20545         (CFLAGS-tst-auditmod6c.c): Likewise.
20546         [$(subdir) = elf && $(config-cflags-avx) = yes]
20547         (CFLAGS-tst-auditmod7b.c): Likewise.
20548         * elf/tst-audit3.c: Move to ...
20549         * sysdeps/x86_64/tst-audit3.c: ... here.
20550         * elf/tst-audit4.c: Move to ...
20551         * sysdeps/x86_64/tst-audit4.c: ... here.
20552         * elf/tst-audit5.c: Move to ...
20553         * sysdeps/x86_64/tst-audit5.c: ... here.
20554         * elf/tst-audit6.c: Move to ...
20555         * sysdeps/x86_64/tst-audit6.c: ... here.
20556         * elf/tst-audit7.c: Move to ...
20557         * sysdeps/x86_64/tst-audit7.c: ... here.
20558         * elf/tst-auditmod3a.c: Move to ...
20559         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20560         * elf/tst-auditmod3b.c: Move to ...
20561         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20562         * elf/tst-auditmod4a.c: Move to ...
20563         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20564         * elf/tst-auditmod4b.c: Move to ...
20565         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20566         * elf/tst-auditmod5a.c: Move to ...
20567         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20568         * elf/tst-auditmod5b.c: Move to ...
20569         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20570         * elf/tst-auditmod6a.c: Move to ...
20571         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20572         * elf/tst-auditmod6b.c: Move to ...
20573         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20574         * elf/tst-auditmod6c.c: Move to ...
20575         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20576         * elf/tst-auditmod7a.c: Move to ...
20577         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20578         * elf/tst-auditmod7b.c: Move to ...
20579         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20580
20581 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20582
20583         [BZ #15366]
20584         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20585         define unconditionally.
20586         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20587         define unconditionally.
20588         (INT8_C, INT16_C, etc.): Likewise.
20589
20590 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20591
20592         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20593         __ehdr_start with hidden visibility.
20594
20595         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20596
20597 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20598
20599         * math/libm-test.inc (cos_test): Use accurate hex constants.
20600         (sincost_test): Likewise.
20601
20602 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20603
20604         * math/libm-test.inc (catan_test): Add more tests.
20605         (catanh_test): Likewise.
20606
20607         * math/s_catanf.c (__catanf): Use suffixed floating-point
20608         constants.
20609         * math/s_catanhf.c (__catanhf): Likewise.
20610         * math/s_catanhl.c (__catanhl): Likewise.
20611         * math/s_catanl.c (__catanl): Likewise.
20612
20613         [BZ #15394]
20614         * math/s_catan.c (__catan): Calculate imaginary part of result
20615         with log1p not log unless computing log of number close to 0.
20616         * math/s_catanf.c (__catanf): Likewise.
20617         * math/s_catanl.c (__catanl): Likewise.
20618         * math/s_catanh.c (__catanh): Calculate real part of result with
20619         log1p not log unless computing log of number close to 0.
20620         * math/s_catanhf.c (__catanhf): Likewise.
20621         * math/s_catanhl.c (__catanhl): Likewise.
20622         * math/libm-test.inc (catan_test): Add more tests.
20623         (catanh_test): Likewise.
20624         * sysdeps/i386/fpu/libm-test-ulps: Update.
20625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20626
20627 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20628
20629         * benchtests/Makefile: Mention files in which fast and slow
20630         paths of math functions are implemented.
20631
20632 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20633
20634         * sysdeps/posix/timespec_get.c: New file.
20635
20636 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20637
20638         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20639         POWER.
20640         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20641         for POWER.
20642         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20643         powerpc/power5/fpu folders.
20644         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20645         * benchtests/Makefile: Add modf testcase.
20646         * benchtests/bench-modf.c: New file: Benchmark test for mo
20647
20648 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20649
20650         [BZ #14888]
20651         * time/Makefile (tests): Add tst-strptime-whitespace.
20652         * time/strptime_l.c (get_number): Use ISSPACE.
20653         (__strptime_internal): Likewise.
20654         * time/tst-strptime-whitespace.c: New test case.
20655
20656 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20657
20658         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20659         member.
20660         (_nss_files_init): Set it here.
20661
20662 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20663
20664         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20665         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20666         unsigned.
20667
20668 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20669
20670         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20671
20672 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20673
20674         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20675         size just once.
20676
20677 2013-04-21  David S. Miller  <davem@davemloft.net>
20678
20679         * po/ru.po: Update Russion translation from translation project.
20680
20681 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20682
20683         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20684         and setfsgid.
20685
20686 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20687
20688         * configure.in: Remove i386 configure warning. Remove i386 case.
20689         * configure: Regenerate.
20690         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20691         Add example to error message.
20692         * sysdeps/i386/configure: Regenerate.
20693
20694 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20695
20696         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20697         slowtan.
20698         * benchtests/cos-inputs: New file.
20699         * benchtests/slowcos-inputs: New file.
20700         * benchtests/slowcos.c: New file.
20701         * benchtests/slowtan-inputs: New file.
20702         * benchtests/slowtan.c: New file.
20703         * benchtests/tan-inputs: New file.
20704
20705 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20706
20707         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20708         considered kosher.
20709
20710 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20711
20712         * benchtests/Makefile: Include cppflags-iterator.mk to add
20713         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20714
20715         * Makefile.in (bench-clean): New target.
20716         * benchtests/Makefile (bench-clean): Likewise.
20717
20718 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20719
20720         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20721
20722 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20723
20724         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20725
20726 2013-04-15  Andreas Schwab  <schwab@suse.de>
20727
20728         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20729         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20730         * nscd/pwdcache.c (cache_addpw): Likewise.
20731         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20732         more than recsize.
20733
20734 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20735
20736         * benchtests/Makefile (bench): Write all output to
20737         bench-out.tmp together.
20738
20739 2013-04-15  Andreas Schwab  <schwab@suse.de>
20740
20741         * nscd/nscd.c (main): Don't fork again after closing files.
20742
20743 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20744
20745         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20746
20747         * benchtests/Rules (bench-deps): Collect dependencies into a
20748         single variable.  Add Makefile to dependencies.
20749         ($(objpfx)bench-%.c): Depend on bench-deps.
20750
20751 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20752             Xavier Roche  <roche+kml2@exalead.com>
20753
20754         [BZ #15361]
20755         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20756         just that it's a file descriptor.
20757         * manual/llio.texi (Synchronizing AIO Operations): Update description
20758         for EBADF error from aio_fsync.
20759
20760 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20761
20762         * Rules (bench): Move target definition...
20763         * benchtests/Makefile: ... here.
20764
20765 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20766
20767         * math/libm-test.inc (cos_test): Fix PI/2 test.
20768         (sincos_test): Likewise.
20769         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20770         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20771
20772 2013-04-11  Andreas Schwab  <schwab@suse.de>
20773
20774         [BZ #13988]
20775         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20776         accept exponent character only when digits were seen.
20777         * stdio-common/Makefile (tests): Add bug26.
20778         * stdio-common/bug26.c: New file.
20779
20780         [BZ #14293]
20781         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20782         non-freeable.
20783
20784 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20785
20786         * Makeconfig (rtld-prefix): Define built linker prefix.
20787         * Rules (run-bench): Use it.
20788         * math/Makefile (run-regen-ulps): Likewise.
20789
20790         * Rules (bench): Remove eval.
20791
20792 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20793             Roland McGrath  <roland@hack.frob.com>
20794             Ondrej Bilka  <neleai@seznam.cz>
20795
20796         [BZ #15346]
20797         * time/getdate.c: Include ctype.h and alloca.h.
20798         (__getdate_r): Trim leading and trailing spaces of input.
20799         * time/tst-getdate.c (tests): Add tests with leading and
20800         trailing spaces.
20801
20802 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20803
20804         [BZ #14280]
20805         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20806         when computing value.
20807
20808 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20809
20810         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20811         Use testrun.sh to run libm tests.
20812
20813         [BZ #15309]
20814         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20815
20816 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20817
20818         [BZ #15264]
20819         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20820
20821 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20822
20823         * Makefile.in (regen-ulps): New target.
20824         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20825         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20826         [ifneq (no,$(PERL)] (regen-ulps): New target.
20827         [ifeq (no,$(PERL)] (regen-ulps): New target.
20828         * math/libm-test.inc (ulps_file_name): Define.
20829         (output_dir): New variable.
20830         (options): Add "output-dir" option.
20831         (parse_opt): Handle 'o' case.
20832         (main): If output_dir is non-NULL use it as a prefix
20833         otherwise use "".
20834         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20835
20836 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20837
20838         [BZ #10060, #10062]
20839         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20840         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20841         fail configure if __sync_val_compare_and_swap is not inlined.
20842         * sysdeps/i386/configure: Regenerate.
20843         * configure.in: Build for i686 when configured for i386.
20844         * configure: Regenerate.
20845         * README: Remove i386 reference.
20846
20847 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20848
20849         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20850         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20851
20852 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20853
20854         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20855         (lmsnanval): New variables.
20856         (F): Add conversion tests.
20857         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20858         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20859
20860         * stdio-common/tstdiomisc.c (F): Properly collect individual
20861         tests' results.
20862
20863         [BZ #14686, #15336]
20864         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20865         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20866         Instead, use input NaN values or generate a qNaN by arithmetic
20867         operation.  Also fix bugs to comply with the standard.
20868         * math/libm-test.inc (remainder_test): Add more tests.
20869
20870         [BZ #15335, #15342]
20871         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20873         input NaN values or generate a qNaN by arithmetic operation.
20874
20875         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20876         unreachable code.
20877
20878         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20879         definitions.
20880
20881 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20882
20883         [BZ #14478]
20884         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20885         underflowed result.
20886         * math/s_cexpf.c (__cexpf): Likewise.
20887         * math/s_cexpl.c (__cexpl): Likewise.
20888         * math/libm-test.inc (cexp_test): Add more tests.
20889
20890 2013-04-03  Andreas Schwab  <schwab@suse.de>
20891
20892         [BZ #15330]
20893         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20894         order arrays from heap if bigger than alloca cutoff.
20895
20896 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20897
20898         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20899         (SNAN_TESTS_double): Refer to GCC PR56831.
20900         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20901         GCC PR56828.
20902
20903 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20904
20905         * Rules (bench): Move bench.out after the run is complete.
20906
20907         * Rules (bench): Echo currently running benchmark.
20908
20909         * benchtests/Makefile (bench): Add atan and slowatan.
20910         * benchtests/atan-inputs: New file.
20911         * benchtests/slowatan-inputs: New file.
20912         * benchtests/slowatan.c: New file.
20913
20914         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20915         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20916         its value.
20917
20918         [BZ #15305]
20919         * sysdeps/unix/sysv/linux/kernel-features.h
20920         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20921         __ASSUME_XFS_RESTRICTED_CHOWN.
20922         * sysdeps/unix/sysv/linux/pathconf.c
20923         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20924         Save and restore errno.
20925
20926 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20927
20928         [BZ #15327]
20929         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20930         arguments using __kernel_casinh.
20931         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20932         arguments using __kernel_casinhf.
20933         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20934         arguments using __kernel_casinhl.
20935         * math/libm-test.inc (cacosh_test): Add more tests.
20936         * sysdeps/i386/fpu/libm-test-ulps: Update.
20937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20938
20939 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20940
20941         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20943
20944         * bench/Makefile (bench): Add sin and slowsin.
20945         * benchtests/sin-inputs: New file.
20946         * benchtests/slowsin-inputs: New file.
20947         * benchtests/slowsin.c: New file.
20948
20949         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20950         (bench): Add slowexp and slowpow.
20951         (exp-ITER): Increase iterations.
20952         (pow-ITER): Likewise.
20953         * benchtests/exp-inputs: Change input.
20954         * benchtests/pow-inputs: Likewise.
20955         * benchtests/slowexp-inputs: New file.
20956         * benchtests/slowexp.c: New file.
20957         * benchtests/slowpow-inputs: New file.
20958         * benchtests/slowpow.c: New file.
20959
20960 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20961
20962         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20963         instructions.
20964         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20965         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20966         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20967         * benchtests/Makefile: Add rint benchtest.
20968         * benchtests/rint-inputs: Input for rint benchtest.
20969
20970 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20971
20972         * Versions.def (libm): Add GLIBC_2.18.
20973         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20974         hidden libm prototypes.
20975         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20976         * math/Makefile (libm-calls): Add s_issignaling.
20977         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20978         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20979         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20980         declaration.
20981         * math/math.h [__USE_GNU] (issignaling): New macro.
20982         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20983         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20984         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20985         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20986         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20987         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20988         * manual/arith.texi (issignaling): New section.
20989         * manual/libm-err-tab.pl (@all_functions): Update comment.
20990         * math/gen-libm-test.pl (parse_args): Apply special handling for
20991         issignaling.
20992         * math/libm-test.inc (print_float, issignaling_test): New
20993         functions.
20994         (check_float_internal): Add issignaling checks.
20995         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20996         default definition.
20997         * sysdeps/powerpc/math-tests.h: New file.
20998         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20999         tests.
21000         * math/test-snan.c (TEST_FUNC): Likewise.
21001
21002 2013-03-30  David S. Miller  <davem@davemloft.net>
21003
21004         * po/de.po: Update from translation team.
21005
21006 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
21007
21008         [BZ #10357]
21009         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21010         imaginary part less than 1.0 and real part less than 0.5
21011         specially.
21012         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21013         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21014         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21015         (cacos_test): Add more tests.
21016         (casin_test): Likewise.
21017         (casinh_test): Likewise.
21018         * sysdeps/i386/fpu/libm-test-ulps: Update.
21019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21020
21021 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21022
21023         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21024         ONE with its value.
21025
21026         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21027         (__pow_mp): Replace ONE and MONE with their values.
21028         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21029         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21030         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21031         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21032         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21033         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21034
21035         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21036
21037         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21038         (__pow_mp): Replace ZERO and MZERO with their values.
21039         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21040         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21041         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21043         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21044         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21045         (__sqr): Likewise.
21046
21047         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21048
21049         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21050
21051 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21052
21053         * include/stdlib.h [!SHARED] (__call_tls_dtors):
21054         Declare with __attribute__ ((weak)).
21055         * stdlib/exit.c (__libc_atexit) [!SHARED]:
21056         Call __call_tls_dtors only if it's not NULL.
21057
21058 2013-03-28  Roland McGrath  <roland@hack.frob.com>
21059
21060         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21061         didn't do it already, then set _dl_phdr and _dl_phnum based on the
21062         magic __ehdr_start linker symbol if it's defined.
21063         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21064         them up here if it was already done.
21065
21066         * elf/dl-support.c (_dl_phdr): Make pointer to const.
21067         (_dl_aux_init): Use const in cast when setting it.
21068         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21069         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21070         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21071
21072         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21073         Declare them here.
21074         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21075         * csu/libc-tls.c: Nor here.
21076         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21077
21078         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21079         (__libc_message): Never call vsyslog.
21080
21081 2013-03-28  Alan Modra  <amodra@gmail.com>
21082
21083         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21084         Define as empty.
21085         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21086         Likewise.
21087
21088 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21089
21090         [BZ #15214]
21091         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21092         underflow.
21093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21094
21095 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21096
21097         [BZ #15304]
21098         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21099         Don't add gid passed as argument.
21100
21101         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21102
21103 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21104
21105         [BZ #15307]
21106         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21107         imaginary part between 1.0 and 1.5 and real part less than 0.5
21108         specially.
21109         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21110         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21111         * math/libm-test.inc (cacos_test): Add more tests.
21112         (casin_test): Likewise.
21113         (casinh_test): Likewise.
21114         * sysdeps/i386/fpu/libm-test-ulps: Update.
21115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21116
21117 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21118
21119         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21120         constants.
21121         (norm): Likewise.
21122         (denorm): Likewise.
21123         (__dbl_mp): Likewise.
21124         (add_magnitudes): Likewise.
21125         (sub_magnitudes): Likewise.
21126         (__add): Likewise.
21127         (__sub): Likewise.
21128         (__mul): Likewise.
21129         (__sqr): Likewise.
21130         (__inv): Likewise.
21131         (__dvd): Likewise.
21132
21133         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21134         commented code.
21135         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21136         (__dubcos): Likewise.
21137         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21138         (__ieee754_acos): Likewise.
21139         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21140         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21141         (__exp1): Likewise.
21142         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21143         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21144         (log1): Likewise.
21145         (my_log2): Likewise.
21146         (checkint): Likewise.
21147         * sysdeps/ieee754/dbl-64/e_remainder.c
21148         (__ieee754_remainder): Likewise.
21149         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21150         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21151         (bsloww): Likewise.
21152         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21153
21154         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21155         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21156         MANTISSA_STORE_T to store computations on mantissa.  Use
21157         macros for rounding and division.
21158         (denorm): Likewise.
21159         (__dbl_mp): Likewise.
21160         (add_magnitudes): Likewise.
21161         (sub_magnitudes): Likewise.
21162         (__mul): Likewise.
21163         (__sqr): Likewise.
21164         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21165         powers of two in terms of TWOPOW macro.
21166         (mp_no): Make type of mantissa as MANTISSA_T.
21167         [!RADIXI]: Define RADIXI.
21168         [!TWO52]: Define TWO52.
21169         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21170
21171 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21172
21173         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21174         llroundl symbol when building for PPC32.
21175
21176 2013-03-24  Mark H Weaver  <mhw@netris.org>
21177
21178         * manual/arith.texi (Normalization Functions): Fix prototypes for
21179         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21180
21181 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21182
21183         [BZ #13889]
21184         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21185         high value to check if expl overflow.
21186         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21187         to check for underflow and overflow.
21188         * math/libm-test.inc: Add exp test.
21189
21190 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21191
21192         [BZ #11120]
21193         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21194         with NOT_IN_libc.
21195
21196 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21197
21198         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21199         symbol.
21200
21201 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21202
21203         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21204         wrap blocks consisting of several statements.
21205
21206         * sysdeps/generic/math-tests.h: New file.
21207         * sysdeps/i386/fpu/math-tests.h: Likewise.
21208         * math/test-snan.c: Include it.
21209         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21210
21211 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21212
21213         [BZ #15285]
21214         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21215         (__ieee754_j0l): Do not improve calculations using cos of twice
21216         input for inputs above LDBL_MAX / 2.0L.
21217         (__ieee754_y0l): Likewise.
21218         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21219         (__ieee754_j1l): Do not improve calculations using cos of twice
21220         input for inputs above LDBL_MAX / 2.0L.
21221         (__ieee754_y1l): Likewise.
21222         * math/libm-test.inc (j0_test): Add another test.
21223         (j1_test): Likewise.
21224         (y0_test): Likewise.
21225         (y1_test): Likewise.
21226         * sysdeps/i386/fpu/libm-test-ulps: Update.
21227
21228 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21229
21230         * Rules ($(objpfx)bench-%.c): Include code from a C source
21231         file.
21232
21233 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21234
21235         [BZ #15287]
21236         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21237         imaginary part 1.0 and real part less than 0.5 specially.
21238         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21239         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21240         * math/libm-test.inc (cacos_test): Add more tests.
21241         (casin_test): Likewise.
21242         (casinh_test): Likewise.
21243         * sysdeps/i386/fpu/libm-test-ulps: Update.
21244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21245
21246 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21247
21248         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21249         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21250
21251 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21252
21253         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21254         * config.make.in (config-cflags-sse4): Remove variable.
21255         (config-cflags-avx): Likewise.
21256         (config-cflags-sse2avx): Likewise.
21257         (config-cflags-novzeroupper): Likewise.
21258         (config-asflags-i686): Likewise.
21259         (have-mfma4): Likewise.
21260         (have-as-vis3): Likewise.
21261         (MIG): Likewise.
21262         * configure.in (MIG): Do not AC_SUBST.
21263         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21264         (libc_cv_cc_sse4): Do not AC_SUBST.
21265         (libc_cv_cc_avx): Likewise.
21266         (libc_cv_cc_sse2avx): Likewise.
21267         (libc_cv_cc_novzeroupper): Likewise.
21268         (libc_cv_cc_fma4): Likewise.
21269         (libc_cv_as_i686): Likewise.
21270         (libc_cv_sparc_as_vis3): Likewise.
21271         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21272         LIBC_CONFIG_VAR.
21273         (config-asflags-i686): Likewise.
21274         (config-cflags-avx): Likewise.
21275         (config-cflags-sse2avx): Likewise.
21276         (have-mfma4): Likewise.
21277         (config-cflags-novzeroupper): Likewise.
21278         * sysdeps/mach/configure.in (MIG): Likewise.
21279         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21280         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21281         LIBC_CONFIG_VAR.
21282         (config-cflags-avx): Likewise.
21283         (config-cflags-sse2avx): Likewise.
21284         (have-mfma4): Likewise.
21285         (config-cflags-novzeroupper): Likewise.
21286         * configure: Regenerated.
21287         * sysdeps/i386/configure: Likewise.
21288         * sysdeps/mach/configure: Likewise.
21289         * sysdeps/sparc/configure: Likewise.
21290         * sysdeps/x86_64/configure: Likewise.
21291
21292 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21293
21294         [BZ #14812]
21295         * locale/programs/localedef.c (options): Put N_ translation marker
21296         on argument names, not just descriptions.
21297
21298 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21299
21300         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21301
21302 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21303
21304         [BZ #14176]
21305         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21306
21307 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21308
21309         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21310         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21311         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21312         [!BEFORE_ABORT] (before_abort): New function.
21313         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21314         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21315         (writev_for_fatal): New function.
21316         (WRITEV_FOR_FATAL): New macro; call that.
21317         (backtrace_and_maps): New function.
21318         (BEFORE_ABORT): New macro; call that.
21319         (struct str_list): Type removed.
21320         (__libc_message, __libc_fatal): Functions removed.
21321         Include <sysdeps/posix/libc_fatal.c> instead.
21322
21323 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21324
21325         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21326         constants.
21327         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21328         double constants.
21329
21330 2013-03-19  Andreas Schwab  <schwab@suse.de>
21331
21332         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21333         * sysdeps/gnu/configure: Regenerate.
21334
21335         * configure.in: Substitute libc_cv_rtlddir.
21336         * configure: Regenerate.
21337         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21338         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21339         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21340         * elf/Makefile (install-others, CFLAGS-interp.c)
21341         (ldso_install, common-ldd-rewrite): Likewise.
21342         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21343         $(inst_slibdir)/$(rtld-installed-name).
21344         * scripts/rellns-sh: Add -p option.
21345         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21346         for source.
21347
21348 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21349
21350         * manual/nptl.texi: Renamed to ...
21351         * manual/threads.texi: ... this.
21352         * manual/Makefile (chapters): Update.
21353
21354 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21355
21356         [BZ #14812]
21357         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21358         on argument names, not just descriptions.
21359         * malloc/memusagestat.c (options): Likewise.
21360         * nss/getent.c (options): Likewise.
21361
21362 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21363
21364         [BZ #14812]
21365         * iconv/iconv_prog.c (options): Put N_ translation marker
21366         on argument names, not just descriptions.
21367         * iconv/iconvconfig.c (options): Likewise.
21368
21369 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21370
21371         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21372         implementation which is faster on all x86_64 architectures.
21373         Tested on AMD, Intel Nehalem, SNB, IVB.
21374         * sysdeps/x86_64/strnlen.S: Likewise.
21375
21376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21377         Remove all multiarch strlen and strnlen versions.
21378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21379         Remove strlen and strnlen related parts.
21380
21381         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21382         Inline strlen part.
21383         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21384
21385         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21386         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21387         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21388         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21389         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21390         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21391
21392 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21393
21394         * manual/memory.texi (Malloc Tunable Parameters):
21395         Sort parameters alphabetically. Add comments for missing entries.
21396
21397 2013-03-17  David S. Miller  <davem@davemloft.net>
21398
21399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21400
21401 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21402
21403         [BZ #15283]
21404         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21405         for arguments at most half maximum finite value.
21406         * math/libm-test.inc (j0_test): Add more tests.
21407         (j1_test): Likewise.
21408         (y0_test): Likewise.
21409         (y1_test): Likewise.
21410         * sysdeps/i386/fpu/libm-test-ulps: Update.
21411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21412
21413         [BZ #14155]
21414         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21415         1 / x and functions P and Q for arguments above 0x1p256L.
21416         (__ieee754_y0l): Likewise.
21417         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21418         (__ieee754_y1l): Likewise.
21419         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21420         (j1_test): Likewise.
21421         (y0_test): Likewise.
21422         (y1_test): Likewise.
21423
21424 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21425
21426         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21427         variable.
21428
21429 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21430
21431         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21432         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21433         zero since it's initialized to EXEC_PAGESIZE.
21434
21435         * sysdeps/unix/sysv/linux/ldsodefs.h
21436         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21437         * sysdeps/generic/ldsodefs.h: ... here.
21438
21439 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21440
21441         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21442
21443         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21444         math/test-snan.c.
21445         * math/test-snan.c: Renamed from
21446         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21447         * math/Makefile (tests): Add test-snan.
21448         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21449         test-powerpc-snan.
21450
21451         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21452         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21453         functions.
21454         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21455         __builtin_nan family of functions.
21456         * math/libm-test.inc (initialize): Initialize qnan_value with
21457         __builtin_nan family of functions.
21458         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21459         Remove variables.
21460         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21461         Remove functions.
21462         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21463         storage class.  Initialize qNaN_var and sNaN_var with
21464         __builtin_nan and __builtin_nans families of functions,
21465         respectively.
21466
21467         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21468         (sqrt_test): Remove duplicate test with qNaN input.
21469         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21470         (round_test, signbit_test, significand_test): Note missing +/-Inf
21471         as well as qNaN tests.
21472
21473         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21474         qNaN_var.  Fix a few strings, too.
21475         * math/libm-test.inc (nan_value): Rename to qnan_value.
21476         * math/gen-libm-test.pl (%beautify): Adjust to that.
21477         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21478         * math/test-misc.c (main): Likewise.
21479         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21480         to __qnan_bytes, and __qnan_union, respectively.
21481         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21482         Likewise.
21483         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21484         and lqnanval, respectively.
21485         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21486         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21487         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21488         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21489
21490         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21491         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21492         doubles.
21493
21494         * math/test-misc.c (main): Fix copy'n'pastos.
21495         * misc/tst-efgcvt.c (special): Likewise.
21496
21497         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21498         Remove declarations.
21499
21500 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21501
21502         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21503         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21504         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21505         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21506
21507 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21508
21509         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21510         macro to return vdso values correctly in IFUNC implementations.
21511         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21512         Optimization by using IFUNC.
21513
21514 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21515             Richard Henderson  <rth@redhat.com>
21516             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21517
21518         * Makefile.in (bench): New target.
21519         * NEWS: Mention the benchmark framework.
21520         * Rules (bench): Likewise.
21521         (binaries-bench): Generate binaries for functions to
21522         benchmark.
21523         * benchtests/Makefile: New makefile for benchmark tests.
21524         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21525         programs.
21526         * benchtests/exp-inputs: New input file for EXP function.
21527         * benchtests/pow-inputs: New input file for POW function.
21528         * scripts/bench.pl: New script to generate source files for
21529         benchmark programs.
21530
21531 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21532
21533         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21534         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21535         computations on mantissa.  Use macros for rounding and
21536         division.
21537         (denorm): Likewise.
21538         (__dbl_mp): Likewise.
21539         (add_magnitudes): Likewise.
21540         (sub_magnitudes): Likewise.
21541         (__mul): Likewise.
21542         (__sqr): Likewise.
21543         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21544         powers of two in terms of TWOPOW macro.
21545         (mp_no): Make type of mantissa as MANTISSA_T.
21546         [!RADIXI]: Define RADIXI.
21547         [!TWO52]: Define TWO52.
21548         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21549
21550         * manual/nptl.texi (cindex): Modify threads to pthreads.
21551
21552 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21553
21554         * sysdeps/x86_64/preconfigure: Regenerated.
21555
21556 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21557
21558         [BZ #14155]
21559         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21560         0x1p28 and above.
21561         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21562         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21563         0x1p28 and above.
21564         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21565         * math/libm-test.inc (j0_test): Do not allow one spurious
21566         underflow exception.
21567         (y1_test): Likewise.
21568
21569 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21570
21571         * manual/Makefile (chapters): Add nptl.
21572         * manual/debug.texi (Debugging Support): Add link to Threads
21573         chapter.
21574         * manual/nptl.texi: New file.
21575
21576         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21577
21578 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21579
21580         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21581         for non-NULL pointer before the memory validity test. Pointed
21582         out by Holger Brunck <holger.brunck@keymile.com>.
21583
21584 2013-03-13  Andreas Schwab  <schwab@suse.de>
21585
21586         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21587         instead of .os.
21588
21589 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21590
21591         * timezone/zic.c: Update from tzcode 2013b.
21592
21593 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21594
21595         * manual/install.texi (Configuring and compiling):
21596         Mention i686 and i586.
21597         * INSTALL: Regenerate.
21598
21599 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21600
21601         * sysdeps/init_array/elf-init.c: New file.
21602         * csu/elf-init.c
21603         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21604         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21605
21606         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21607         __gmon_start__ as global, but as static with a .preinit_array pointer.
21608         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21609         * sysdeps/init_array/crti.S: New file, empty except for comments.
21610         * sysdeps/init_array/crtn.S: Likewise.
21611
21612 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21613
21614         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21615         definining bcopy.
21616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21617         Remove Prefer_SSE_for_memop.
21618         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21619         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21620         HAS_PREFER_SSE_FOR_MEMOP.
21621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21622         memset-x86-64.
21623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21624         Remove bzero, memset ifunc support.
21625         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21626         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21627         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21628         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21629
21630 2013-03-11  Andreas Schwab  <schwab@suse.de>
21631
21632         [BZ #15234]
21633         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21634         by SHLIB_COMPAT.
21635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21636         (GLIBC_2.16): Remove pthread_atfork.
21637
21638 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21639
21640         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21641         (ptestcases.h): Likewise.
21642
21643 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21644
21645         * Makeconfig ($(common-objpfx)config.status): Depend on
21646         sysdeps/*/preconfigure{,.in} too.
21647
21648 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21649
21650         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21651         (__free_hook): Use void * instead of __malloc_ptr_t.
21652         (__malloc_hook): Likewise.
21653         (__realloc_hook): Likewise.
21654         (__memalign_hook): Likewise.
21655         (__after_morecore_hook): Likewise.
21656         * malloc/arena.c (save_malloc_hook): Likewise.
21657         (save_free_hook): Likewise.
21658         * malloc/hooks.c (malloc_hook_ini): Likewise.
21659         (realloc_hook_ini): Likewise.
21660         (memalign_hook_ini): Likewise.
21661         * malloc/malloc.c (malloc_hook_ini): Likewise.
21662         (realloc_hook_ini): Likewise.
21663         (memalign_hook_ini): Likewise.
21664         (__free_hook): Likewise.
21665         (__malloc_hook): Likewise.
21666         (__realloc_hook): Likewise.
21667         (__memalign_hook): Likewise.
21668         (__libc_malloc): Likewise.
21669         (__libc_free): Likewise.
21670         (__libc_realloc): Likewise.
21671         (__libc_memalign): Likewise.
21672         (__libc_valloc): Likewise.
21673         (__libc_pvalloc): Likewise.
21674         (__libc_calloc): Likewise.
21675         (__posix_memalign): Likewise.
21676         * malloc/morecore.c (__sbrk): Likewise.
21677         (__default_morecore): Likewise.
21678
21679         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21680
21681         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21682         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21683         __malloc_ptrdiff_t.
21684
21685         * malloc/malloc.h (__malloc_size_t): Remove macro.
21686         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21687         __malloc_size_t.
21688         (old_memalign_hook): Likewise.
21689         (old_realloc_hook): Likewise.
21690         (struct hdr): Likewise.
21691         (flood): Likewise.
21692         (mallochook): Likewise.
21693         (memalignhook): Likewise.
21694         (reallochook): Likewise.
21695         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21696         (tr_old_realloc_hook): Likewise.
21697         (tr_old_memalign_hook): Likewise.
21698         (tr_mallochook): Likewise.
21699         (tr_reallochook): Likewise.
21700         (tr_memalignhook): Likewise.
21701
21702 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21703
21704         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21705         default_ldbl_pack and using as default implementation.
21706         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21707         implementation.
21708         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21709         redundant definition.
21710         (ldbl_insert_mantissa): Likewise.
21711         (ldbl_canonicalize): Likewise.
21712         (ldbl_nearbyint): Likewise.
21713         (ldbl_pack): Rename to ldbl_pack_ppc.
21714         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21715         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21716         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21717
21718 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21719
21720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21721         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21722         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21723         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21725         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21726         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21727         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21728
21729 2013-03-07  Andreas Jaeger  <aj@suse.de>
21730
21731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21732         bits/mman-linux.h.
21733
21734 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21735
21736         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21737         Include mpa.h and declare __MPEXP.
21738         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21739         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21740         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21741         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21742         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21743         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21744         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21745
21746         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21747         (__slowpow): Use long double EXPL and LOGL functions to
21748         compute POW.
21749         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21750         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21751         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21752         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21753         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21754         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21755
21756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21757         intermediate variable to calculate exponent.
21758         (__sqr): Likewise.
21759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21760         Likewise.
21761         (__sqr): Likewise.
21762
21763         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21764         [!NO__SQR]: Define __sqr.
21765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21766         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21767         sysdeps/ieee754/dbl-64/mpa.c.
21768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21769
21770         [BZ #12723]
21771         * posix/Makefile (tests): Add tst-pathconf.
21772         * posix/tst-pathconf.c: New test case.
21773         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21774         _PC_PIPE_BUF.
21775         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21776
21777 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21778
21779         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21780
21781 2013-03-06  Andreas Jaeger  <aj@suse.de>
21782
21783         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21784         definition via __MAP_ANONYMOUS.
21785
21786         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21787         it's not part of Linux headers.
21788
21789         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21790         (MAP_HUGE_MASK): Define.
21791
21792         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21793         Define.
21794         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21795         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21796         Define.
21797         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21798         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21799         Define.
21800         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21801         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21802         Define.
21803         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21804
21805         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21806         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21807         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21808         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21809         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21810         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21811
21812         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21813         Handle f2fs.
21814
21815         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21816         Handle f2fs and efivarfs.
21817
21818         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21819         f2fs.
21820
21821         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21822         (EFIVARFS_MAGIC): Add.
21823         (F2FS_LINK_MAX): Add.
21824
21825 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21826
21827         * stdio-common/vfprintf.c: Replace __builtin_expect with
21828         __glibc_unlikely.
21829
21830 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21831
21832         [BZ #13550]
21833         * sysdeps/generic/bp-sym.h: Remove file.
21834         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21835         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21836         <bp-sym.h> and <bp-asm.h>.
21837         (__longjmp): Don't use BP_SYM.
21838         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21839         and <bp-asm.h>.
21840         (memcpy): Don't use BP_SYM.
21841         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21842         <bp-sym.h> and <bp-asm.h>.
21843         (memcpy): Don't use BP_SYM.
21844         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21845         <bp-asm.h>.
21846         (memcpy): Don't use BP_SYM.
21847         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21848         <bp-asm.h>.
21849         (memset): Don't use BP_SYM.
21850         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21851         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21852         (__bzero): Don't use BP_SYM.
21853         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21854         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21855         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21856         <bp-sym.h> and <bp-asm.h>.
21857         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21858         pointers.
21859         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21860         <bp-sym.h> and <bp-asm.h>.
21861         (memcpy): Don't use BP_SYM.
21862         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21863         <bp-sym.h> and <bp-asm.h>.
21864         (memset): Don't use BP_SYM.
21865         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21866         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21867         (__bzero): Don't use BP_SYM.
21868         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21869         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21870         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21871         <bp-sym.h> and <bp-asm.h>.
21872         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21873         pointers.
21874         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21875         <bp-sym.h> and <bp-asm.h>.
21876         (memcpy): Don't use BP_SYM.
21877         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21878         <bp-sym.h> and <bp-asm.h>.
21879         (memset): Don't use BP_SYM.
21880         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21881         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21882         (__bzero): Don't use BP_SYM.
21883         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21884         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21885         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21886         <bp-sym.h> and <bp-asm.h>.
21887         (__memchr): Don't use BP_SYM.
21888         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21889         <bp-sym.h> and <bp-asm.h>.
21890         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21891         pointers.
21892         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21893         <bp-sym.h> and <bp-asm.h>.
21894         (memcpy): Don't use BP_SYM.
21895         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21896         <bp-sym.h> and <bp-asm.h>.
21897         (__mempcpy): Don't use BP_SYM.
21898         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21899         <bp-sym.h> and <bp-asm.h>.
21900         (__memrchr): Don't use BP_SYM.
21901         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21902         <bp-sym.h> and <bp-asm.h>.
21903         (memset): Don't use BP_SYM.
21904         (__bzero): Likewise.
21905         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21906         <bp-sym.h> and <bp-asm.h>.
21907         (__rawmemchr): Don't use BP_SYM.
21908         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21909         <bp-sym.h> and <bp-asm.h>.
21910         (__STRCMP): Don't use BP_SYM.
21911         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21912         <bp-sym.h> and <bp-asm.h>.
21913         (strchr): Don't use BP_SYM.
21914         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21915         <bp-sym.h> and <bp-asm.h>.
21916         (__strchrnul): Don't use BP_SYM.
21917         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21918         <bp-sym.h> and <bp-asm.h>.
21919         (strlen): Don't use BP_SYM.
21920         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21921         <bp-sym.h> and <bp-asm.h>.
21922         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21923         pointers.
21924         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21925         <bp-sym.h> and <bp-asm.h>.
21926         (__strnlen): Don't use BP_SYM.
21927         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21928         <bp-sym.h> and <bp-asm.h>.
21929         (__GI__setjmp): Don't use BP_SYM.
21930         (_setjmp): Likewise.
21931         (__sigsetjmp): Likewise.
21932         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21933         (L(start_addresses)): Don't use BP_SYM.
21934         (_start): Likewise.
21935         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21936         <bp-asm.h>.
21937         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21938         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21939         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21940         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21941         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21942         <bp-asm.h>.
21943         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21944         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21945         about bounded pointers.
21946         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21947         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21948         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21949         <bp-asm.h>.
21950         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21951         about bounded pointers.  Remove GKM FIXME comments.
21952         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21953         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21954         <bp-asm.h>.
21955         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21956         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21957         Remove GKM FIXME comments.
21958         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21959         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21960         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21961         <bp-asm.h>.
21962         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21963         about bounded pointers.  Remove GKM FIXME comment.
21964         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21965         and <bp-asm.h>.
21966         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21967         pointers.
21968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21969         <bp-sym.h> and <bp-asm.h>.
21970         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21972         <bp-sym.h> and <bp-asm.h>.
21973         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21974         comment.
21975
21976 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21977
21978         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21979         call free(NULL).
21980
21981 2013-03-05  David S. Miller  <davem@davemloft.net>
21982
21983         * po/es.po: Update from translation team.
21984
21985 2013-03-05  Andreas Jaeger  <aj@suse.de>
21986
21987         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21988         <bits/mman-linux.h>.
21989         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21990         is fine.
21991         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21992         <bits/mman-linux.h> to end of file.
21993         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21994         is fine.
21995         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21996         <bits/mman-linux.h> to end of file.
21997         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21998         is fine.
21999         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22000         <bits/mman-linux.h> to end of file.
22001
22002         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22003         (MCL_CURRENT, MCL_FUTURE): Define here.
22004
22005 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22006
22007         [BZ #15232]
22008         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22009         attribute_hidden.
22010         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22011
22012 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22013
22014         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22015         fourth parameter needed for rt_sigprocmask syscall.
22016         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22017         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22018         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22019         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22020         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22021         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22022
22023 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
22024
22025         [BZ #13550]
22026         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22027         comment about bounded pointers.
22028         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22029         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22030
22031 2013-03-04  Andreas Jaeger  <aj@suse.de>
22032
22033         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22034         common definitions.
22035
22036         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22037         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22038         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22039         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22040         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22041         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22042
22043 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22044
22045         [BZ #15055]
22046         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22047         __ieee754_sqrl instead of __sqrl.
22048
22049 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
22050
22051         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22052         * sysdeps/powerpc/fpu_control.h: ... here.
22053         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22054         * sysdeps/powerpc/bits/fenvinline.h: ... here.
22055         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22056         * sysdeps/powerpc/bits/mathinline.h: ... here.
22057
22058 2013-03-01  Roland McGrath  <roland@hack.frob.com>
22059
22060         * elf/dl-hwcaps.c (_dl_important_hwcaps):
22061         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22062         to just [NEED_DL_SYSINFO_DSO].
22063         * elf/dl-support.c: Likewise.
22064         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22065         * elf/rtld.c (dl_main): Likewise.
22066         * elf/setup-vdso.h (setup_vdso): Likewise.
22067         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22068         * sysdeps/unix/sysv/linux/dl-sysdep.c
22069         (_dl_discover_osversion): Likewise.
22070
22071 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22072
22073         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22074         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22075
22076 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22077
22078         * NEWS: Mention libm performance improvements and non-x86 PI
22079         futex support.
22080
22081         * csu/libc-start.c (__pthread_initialize_minimal): Change
22082         function arguments.
22083         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22084
22085 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22086
22087         [BZ #13550]
22088         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22089         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22090         <bp-sym.h> and <bp-asm.h>.
22091         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22092         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22093         and <bp-asm.h>.
22094         (memcpy): Don't use BP_SYM.
22095         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22096         <bp-asm.h>.
22097         (__mpn_add_n): Don't use BP_SYM.
22098         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22099         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22100         and <bp-asm.h>.
22101         (__mpn_addmul_1): Don't use BP_SYM.
22102         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22103         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22104         <bp-sym.h>.
22105         (_setjmp): Don't use BP_SYM.
22106         (__novmx_setjmp): Likewise.
22107         (__GI__setjmp): Likewise.
22108         (__vmx_setjmp): Likewise.
22109         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22110         <bp-sym.h>.
22111         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22112         (__bzero): Don't use BP_SYM.
22113         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22114         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22115         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22116         <bp-sym.h> and <bp-asm.h>.
22117         (memcpy): Don't use BP_SYM.
22118         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22119         <bp-sym.h> and <bp-asm.h>.
22120         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22121         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22122         <bp-sym.h> and <bp-asm.h>.
22123         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22124         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22125         <bp-asm.h>.
22126         (__mpn_lshift): Don't use BP_SYM.
22127         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22128         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22129         <bp-asm.h>.
22130         (memset): Don't use BP_SYM.
22131         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22132         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22133         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22134         <bp-asm.h>.
22135         (__mpn_mul_1): Don't use BP_SYM.
22136         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22137         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22138         <bp-sym.h> and <bp-asm.h>.
22139         (memcmp): Don't use BP_SYM.
22140         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22141         <bp-sym.h> and <bp-asm.h>.
22142         (memcpy): Don't use BP_SYM.
22143         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22144         <bp-sym.h> and <bp-asm.h>.
22145         (memset): Don't use BP_SYM.
22146         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22147         <bp-sym.h> and <bp-asm.h>.
22148         (strncmp): Don't use BP_SYM.
22149         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22150         <bp-sym.h> and <bp-asm.h>.
22151         (memcpy): Don't use BP_SYM.
22152         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22153         <bp-sym.h> and <bp-asm.h>.
22154         (memset): Don't use BP_SYM.
22155         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22156         <bp-sym.h> and <bp-asm.h>.
22157         (__memchr): Don't use BP_SYM.
22158         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22159         <bp-sym.h> and <bp-asm.h>.
22160         (memcmp): Don't use BP_SYM.
22161         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22162         <bp-sym.h> and <bp-asm.h>.
22163         (memcpy): Don't use BP_SYM.
22164         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22165         <bp-sym.h> and <bp-asm.h>.
22166         (__mempcpy): Don't use BP_SYM.
22167         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22168         <bp-sym.h> and <bp-asm.h>.
22169         (__memrchr): Don't use BP_SYM.
22170         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22171         <bp-sym.h> and <bp-asm.h>.
22172         (memset): Don't use BP_SYM.
22173         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22174         <bp-sym.h> and <bp-asm.h>.
22175         (__rawmemchr): Don't use BP_SYM.
22176         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22177         <bp-sym.h> and <bp-asm.h>.
22178         (__STRCMP): Don't use BP_SYM.
22179         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22180         <bp-sym.h> and <bp-asm.h>.
22181         (strchr): Don't use BP_SYM.
22182         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22183         <bp-sym.h> and <bp-asm.h>.
22184         (__strchrnul): Don't use BP_SYM.
22185         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22186         <bp-sym.h> and <bp-asm.h>.
22187         (strlen): Don't use BP_SYM.
22188         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22189         <bp-sym.h> and <bp-asm.h>.
22190         (strncmp): Don't use BP_SYM.
22191         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22192         <bp-sym.h> and <bp-asm.h>.
22193         (__strnlen): Don't use BP_SYM.
22194         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22195         <bp-asm.h>.
22196         (__mpn_rshift): Don't use BP_SYM.
22197         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22198         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22199         <bp-sym.h> and <bp-asm.h>.
22200         (__sigsetjmp): Don't use BP_SYM.
22201         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22202         (L(start_addresses)): Don't use BP_SYM.
22203         (_start): Likewise.
22204         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22205         <bp-asm.h>.
22206         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22207         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22208         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22209         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22210         <bp-asm.h>.
22211         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22212         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22213         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22214         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22215         <bp-asm.h>.
22216         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22217         comments.
22218         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22219         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22220         <bp-asm.h>.
22221         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22222         FIXME comments.
22223         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22224         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22225         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22226         <bp-asm.h>.
22227         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22228         comment.
22229         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22230         and <bp-asm.h>.
22231         (strncmp): Don't use BP_SYM,
22232         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22233         <bp-asm.h>.
22234         (__mpn_sub_n): Don't use BP_SYM.
22235         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22236         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22237         and <bp-asm.h>.
22238         (__mpn_submul_1): Don't use BP_SYM.
22239         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22241         <bp-sym.h> and <bp-asm.h>.
22242         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22244         <bp-sym.h> and <bp-asm.h>.
22245         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22246         comment.
22247
22248 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22249
22250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22251         Use ZK to minimize writes to Z.
22252         (sub_magnitudes): Simplify code a bit.
22253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22254         Use ZK to minimize writes to Z.
22255         (sub_magnitudes): Simplify code a bit.
22256
22257 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22258
22259         * csu/gmon-start.c: Add special exception to license text.
22260
22261 2013-02-27  Richard Henderson  <rth@redhat.com>
22262
22263         * scripts/config.guess: Update from config.git.
22264         * scripts/config.sub: Likewise.
22265
22266 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22267
22268         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22269
22270         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22271
22272         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22273
22274         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22275
22276         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22277
22278 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22279
22280         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22281         [$(build-shared = yes].
22282
22283 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22284
22285         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22286         (__mul): Reduce iterations for calculating mantissa.
22287
22288         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22289         MPTWO.
22290         (__mpranred): Likewise.
22291
22292         [BZ #15160]
22293         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22294         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22295
22296 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22297
22298         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22299         Define __attribute__.
22300
22301 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22302
22303         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22304         unused.
22305         * posix/regex_internal.h (__attribute): Remove.
22306         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22307         (re_string_context_at): Likewise.
22308         (bitset_not): Use __attribute__ and mark function as possibly
22309         unused.
22310         (bitset_merge): Likewise.
22311         (bitset_mask): Likewise.
22312         (re_string_char_size_at): Likewise.
22313         (re_string_wchar_at): Likewise.
22314         (re_string_elem_size_at): Likewise.
22315
22316 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22317
22318         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22319         code.
22320         (cc32): Likewise.
22321
22322         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22323         (__acr): Likewise.
22324         (__cpy): Likewise.
22325         (norm): Likewise.
22326         (denorm): Likewise.
22327         (__dbl_mp): Likewise.
22328         (add_magnitudes): Likewise.
22329         (sub_magnitudes): Likewise.
22330         (__mul): Likewise.
22331         (__inv): Likewise.
22332
22333         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22334         style.
22335
22336         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22337         style.
22338
22339         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22340         code.
22341
22342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22343         up changes with default code.
22344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22345         Likewise.
22346
22347 2013-02-24  Allan McRae  <allan@archlinux.org>
22348
22349         * manual/socket.texi (The Internet Namespace): Order menu items
22350         to match that in the file.
22351
22352         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22353         node listing of the info page menu.
22354
22355 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22356
22357         [BZ #13550]
22358         * sysdeps/i386/bp-asm.h: Remove file.
22359         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22360         (PARMS): Do not use macros from bp-asm.h.
22361         (S1): Likewise.
22362         (S2): Likewise.
22363         (SIZE): Likewise.
22364         (__mpn_add_n): Do not use BP_SYM
22365         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22366         "bp-asm.h".
22367         (PARMS): Do not use macros from bp-asm.h.
22368         (S1): Likewise.
22369         (SIZE): Likewise.
22370         (__mpn_addmul_1): Do not use BP_SYM
22371         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22372         "bp-asm.h".
22373         (PARMS): Do not use macros from bp-asm.h.
22374         (SIGMSK): Likewise.
22375         (_setjmp): Likewise.  Do not use BP_SYM.
22376         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22377         "bp-asm.h".
22378         (PARMS): Do not use macros from bp-asm.h.
22379         (SIGMSK): Likewise.
22380         (setjmp): Likewise.  Do not use BP_SYM.
22381         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22382         "bp-asm.h".
22383         (PARMS): Do not use macros from bp-asm.h.
22384         (__frexp): Do not use BP_SYM.
22385         (frexp): Likewise.
22386         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22387         "bp-asm.h".
22388         (PARMS): Do not use macros from bp-asm.h.
22389         (__frexpf): Do not use BP_SYM.
22390         (frexpf): Likewise.
22391         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22392         "bp-asm.h".
22393         (PARMS): Do not use macros from bp-asm.h.
22394         (__frexpl): Do not use BP_SYM.
22395         (frexpl): Likewise.
22396         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22397         "bp-asm.h".
22398         (PARMS): Do not use macros from bp-asm.h.
22399         (__remquo): Do not use BP_SYM.
22400         (remquo): Likewise.
22401         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22402         "bp-asm.h".
22403         (PARMS): Do not use macros from bp-asm.h.
22404         (__remquof): Do not use BP_SYM.
22405         (remquof): Likewise.
22406         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22407         "bp-asm.h".
22408         (PARMS): Do not use macros from bp-asm.h.
22409         (__remquol): Do not use BP_SYM.
22410         (remquol): Likewise.
22411         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22412         "bp-asm.h".
22413         (PARMS): Do not use macros from bp-asm.h.
22414         (DEST): Likewise.
22415         (SRC): Likewise.
22416         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22417         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22418         "bp-asm.h".
22419         (PARMS): Do not use macros from bp-asm.h.
22420         (strlen): Do not use BP_SYM.
22421         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22422         "bp-asm.h".
22423         (PARMS): Do not use macros from bp-asm.h.
22424         (S1): Likewise.
22425         (S2): Likewise.
22426         (SIZE): Likewise.
22427         (__mpn_add_n): Do not use BP_SYM.
22428         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22429         "bp-asm.h".
22430         (PARMS): Do not use macros from bp-asm.h.
22431         (S1): Likewise.
22432         (SIZE): Likewise.
22433         (__mpn_addmul_1): Do not use BP_SYM.
22434         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22435         weak_alias.
22436         (bzero): Likewise.
22437         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22438         "bp-asm.h".
22439         (PARMS): Do not use macros from bp-asm.h.
22440         (S): Likewise.
22441         (SIZE): Likewise.
22442         (__mpn_lshift): Do not use BP_SYM.
22443         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22444         "bp-asm.h".
22445         (PARMS): Do not use macros from bp-asm.h.
22446         (DEST): Likewise.
22447         (SRC): Likewise.
22448         (LEN): Likewise.
22449         (memcpy): Likewise.  Do not use BP_SYM.
22450         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22451         libc_hidden_def and weak_alias.
22452         (mempcpy): Do not use BP_SYM in weak_alias.
22453         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22454         "bp-asm.h".
22455         (PARMS): Do not use macros from bp-asm.h.
22456         (DEST): Likewise.
22457         (LEN): Likewise.
22458         [!BZERO_P] (CHR): Likewise.
22459         (memset): Likewise.  Do not use BP_SYM.
22460         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
22466         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22467         "bp-asm.h".
22468         (PARMS): Do not use macros from bp-asm.h.
22469         (S): Likewise.
22470         (SIZE): Likewise.
22471         (__mpn_rshift): Do not use BP_SYM.
22472         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22473         "bp-asm.h".
22474         (PARMS): Do not use macros from bp-asm.h.
22475         (STR): Likewise.
22476         (CHR): Likewise.
22477         (strchr): Likewise.  Do not use BP_SYM.
22478         (index): Do not use BP_SYM in weak_alias.
22479         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22480         "bp-asm.h".
22481         (PARMS): Do not use macros from bp-asm.h.
22482         (DEST): Likewise.
22483         (SRC): Likewise.
22484         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22485         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22486         "bp-asm.h".
22487         (PARMS): Do not use macros from bp-asm.h.
22488         (strlen): Do not use BP_SYM.
22489         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22490         "bp-asm.h".
22491         (PARMS): Do not use macros from bp-asm.h.
22492         (S1): Likewise.
22493         (S2): Likewise.
22494         (SIZE): Likewise.
22495         (__mpn_sub_n): Do not use BP_SYM.
22496         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22497         "bp-asm.h".
22498         (PARMS): Do not use macros from bp-asm.h.
22499         (S1): Likewise.
22500         (SIZE): Likewise.
22501         (__mpn_submul_1): Do not use BP_SYM.
22502         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22503         "bp-asm.h".
22504         (PARMS): Do not use macros from bp-asm.h.
22505         (S1): Likewise.
22506         (S2): Likewise.
22507         (SIZE): Likewise.
22508         (__mpn_add_n): Do not use BP_SYM.
22509         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22510         weak_alias.
22511         (bzero): Likewise.
22512         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22513         "bp-asm.h".
22514         (PARMS): Do not use macros from bp-asm.h.
22515         (BLK2): Likewise.
22516         (LEN): Likewise.
22517         (memcmp): Do not use BP_SYM.
22518         (bcmp): Do not use BP_SYM in weak_alias.
22519         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22520         "bp-asm.h".
22521         (PARMS): Do not use macros from bp-asm.h.
22522         (DEST): Likewise.
22523         (SRC): Likewise.
22524         (LEN): Likewise.
22525         (memcpy): Likewise.  Do not use BP_SYM.
22526         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22527         "bp-asm.h".
22528         (PARMS): Do not use macros from bp-asm.h.
22529         (DEST): Likewise.
22530         (SRC): Likewise.
22531         (LEN): Likewise.
22532         (memmove): Likewise.  Do not use BP_SYM.
22533         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22534         "bp-asm.h".
22535         (PARMS): Do not use macros from bp-asm.h.
22536         (DEST): Likewise.
22537         (SRC): Likewise.
22538         (LEN): Likewise.
22539         (__mempcpy): Likewise.  Do not use BP_SYM.
22540         (mempcpy): Do not use BP_SYM in weak_alias.
22541         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22542         "bp-asm.h".
22543         (PARMS): Do not use macros from bp-asm.h.
22544         (DEST): Likewise.
22545         (LEN): Likewise.
22546         [!BZERO_P] (CHR): Likewise.
22547         (memset): Likewise.  Do not use BP_SYM.
22548         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22549         "bp-asm.h".
22550         (PARMS): Do not use macros from bp-asm.h.
22551         (STR2): Likewise.
22552         (strcmp): Do not use BP_SYM.
22553         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22554         "bp-asm.h".
22555         (PARMS): Do not use macros from bp-asm.h.
22556         (STR): Likewise.
22557         (DELIM): Likewise.
22558         [USE_AS_STRTOK_R] (SAVE): Likewise.
22559         (FUNCTION): Likewise.  Do not use BP_SYM.
22560         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22561         aliases.
22562         (strtok_r): Likewise.
22563         (__GI___strtok_r): Likewise.
22564         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22565         (PARMS): Do not use macros from bp-asm.h.
22566         (S): Likewise.
22567         (SIZE): Likewise.
22568         (__mpn_lshift): Do not use BP_SYM.
22569         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22570         (PARMS): Do not use macros from bp-asm.h.
22571         (STR): Likewise.
22572         (CHR): Likewise.
22573         (__memchr): Do not use BP_SYM.
22574         (memchr): Do not use BP_SYM in weak_alias.
22575         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22576         (PARMS): Do not use macros from bp-asm.h.
22577         (BLK2): Likewise.
22578         (LEN): Likewise.
22579         (memcmp): Do not use BP_SYM.
22580         (bcmp): Do not use BP_SYM in weak_alias.
22581         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22582         (PARMS): Do not use macros from bp-asm.h.
22583         (S1): Likewise.
22584         (SIZE): Likewise.
22585         (__mpn_mul_1): Do not use BP_SYM.
22586         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22587         "bp-asm.h".
22588         (PARMS): Do not use macros from bp-asm.h.
22589         (STR): Likewise.
22590         (CHR): Likewise.
22591         (__rawmemchr): Do not use BP_SYM.
22592         (rawmemchr): Do not use BP_SYM in weak_alias.
22593         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22594         (PARMS): Do not use macros from bp-asm.h.
22595         (S): Likewise.
22596         (SIZE): Likewise.
22597         (__mpn_rshift): Do not use BP_SYM.
22598         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22599         (PARMS): Do not use macros from bp-asm.h.
22600         (SIGMSK): Likewise.
22601         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22602         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22603         (_start): Do not use BP_SYM.
22604         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22605         (PARMS): Do not use macros from bp-asm.h.
22606         (DEST): Likewise.
22607         (SRC): Likewise.
22608         (__stpcpy): Likewise.  Do not use BP_SYM.
22609         (stpcpy): Do not use BP_SYM in weak_alias.
22610         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22611         "bp-asm.h".
22612         (PARMS): Do not use macros from bp-asm.h.
22613         (DEST): Likewise.
22614         (SRC): Likewise.
22615         (LEN): Likewise.
22616         (__stpncpy): Likewise.  Do not use BP_SYM.
22617         (stpncpy): Do not use BP_SYM in weak_alias.
22618         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22619         (PARMS): Do not use macros from bp-asm.h.
22620         (STR): Likewise.
22621         (CHR): Likewise.
22622         (strchr): Likewise.  Do not use BP_SYM.
22623         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22624         "bp-asm.h".
22625         (PARMS): Do not use macros from bp-asm.h.
22626         (STR): Likewise.
22627         (CHR): Likewise.
22628         (__strchrnul): Likewise.  Do not use BP_SYM.
22629         (strchrnul): Do not use BP_SYM in weak_alias.
22630         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22631         "bp-asm.h".
22632         (PARMS): Do not use macros from bp-asm.h.
22633         (STOP): Likewise.
22634         (strcspn): Do not use BP_SYM.
22635         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22636         "bp-asm.h".
22637         (PARMS): Do not use macros from bp-asm.h.
22638         (STR): Likewise.
22639         (STOP): Likewise.
22640         (strpbrk): Likewise.  Do not use BP_SYM.
22641         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22642         "bp-asm.h".
22643         (PARMS): Do not use macros from bp-asm.h.
22644         (STR): Likewise.
22645         (CHR): Likewise.
22646         (strrchr): Likewise.  Do not use BP_SYM.
22647         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22648         (PARMS): Do not use macros from bp-asm.h.
22649         (SKIP): Likewise.
22650         (strspn): Do not use BP_SYM.
22651         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22652         (PARMS): Do not use macros from bp-asm.h.
22653         (STR): Likewise.
22654         (DELIM): Likewise.
22655         (SAVE): Likewise.
22656         (FUNCTION): Likewise.  Do not use BP_SYM.
22657         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22658         aliases.
22659         (strtok_r): Likewise.
22660         (__GI___strtok_r): Likewise.
22661         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22662         (PARMS): Do not use macros from bp-asm.h.
22663         (S1): Likewise.
22664         (S2): Likewise.
22665         (SIZE): Likewise.
22666         (__mpn_sub_n): Do not use BP_SYM.
22667         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22668         "bp-asm.h".
22669         (PARMS): Do not use macros from bp-asm.h.
22670         (S1): Likewise.
22671         (SIZE): Likewise.
22672         (__mpn_submul_1): Do not use BP_SYM.
22673         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22674         <bp-sym.h>.
22675         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22676         and <bp-asm.h>.
22677         (PARMS): Do not use macros from bp-asm.h.
22678         (FLAGS): Likewise.
22679         (PTID): Likewise.
22680         (TLS): Likewise.
22681         (CTID): Likewise.
22682         (__clone): Do not use BP_SYM.
22683         (clone): Do not use BP_SYM in weak_alias.
22684         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22685         and <bp-asm.h>.
22686         (PARMS): Do not use macros from bp-asm.h.
22687         (LEN): Likewise.
22688         (__mmap64): Do not use BP_SYM.
22689         (mmap64): Do not use BP_SYM in weak_alias.
22690         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22691         <bp-sym.h> and <bp-asm.h>.
22692         (PARMS): Do not use macros from bp-asm.h.
22693         (__posix_fadvise64_l64): Do not use BP_SYM.
22694         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22695         (PARMS): Do not use macros from bp-asm.h.
22696         (NSOPS): Likewise.
22697         (semtimedop): Do not use BP_SYM.
22698         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22699         and <bp-asm.h>.
22700
22701 2013-02-21  Allan McRae  <allan@archlinux.org>
22702
22703         * manual/message.texi (Charset conversion in gettext):
22704         Move @end statement to beginning of line.
22705
22706 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22707
22708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22709         static.
22710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22711         Likewise.
22712
22713         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22714         (denorm): Likewise.
22715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22717
22718 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22719
22720         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22721         tail-call to the resolved function if pltexit isn't needed.
22722
22723 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22724
22725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22726         or Y being zero as being unlikely.
22727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22728         Likewise.
22729
22730 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22731
22732         * manual/nss.texi (System Databases and Name Service Switch):
22733         Remove frobnicate @pxref.
22734
22735 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22736
22737         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22738         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22739
22740 2013-02-20  Petr Machata  <pmachata@redhat.com>
22741
22742         * elf/elf.h (R_ARM_TARGET1): New macro.
22743         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22744         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22745         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22746         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22747         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22748         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22749         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22750         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22751         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22752         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22753         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22754         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22755         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22756         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22757         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22758         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22759         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22760         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22761         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22762         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22763         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22764         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22765         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22766         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22767         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22768         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22769         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22770         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22771         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22772         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22773         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22774         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22775         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22776         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22777         (R_ARM_THM_GOT_BREL12): Likewise.
22778         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22779         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22780         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22781         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22782         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22783         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22784         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22785         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22786         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22787
22788 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22789
22790         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22791         __attribute_used__ to __attribute__ ((unused)).
22792
22793 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22794
22795         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22796         powerpc mpa.c.
22797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22798         comment formatting.
22799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22800
22801 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22802
22803         [BZ #13550]
22804         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22805         Remove macro.
22806         (ENTER): Remove both macro definitions.
22807         (LEAVE): Likewise.
22808         (CHECK_BOUNDS_LOW): Likewise.
22809         (CHECK_BOUNDS_HIGH): Likewise.
22810         (CHECK_BOUNDS_BOTH): Likewise.
22811         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22812         (RETURN_BOUNDED_POINTER): Likewise.
22813         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22814         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22815         (POP_ERRNO_LOCATION_RETURN): Likewise.
22816         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22817         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22818         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22819         macros.
22820         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22821         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22822         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22823         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22824         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22825         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22826         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22827         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22828         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22829         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22830         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22831         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22832         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22833         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22834         removed macros.
22835         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22836         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22837         macros.
22838         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22839         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22840         * sysdeps/i386/i586/memset.S (memset): Likewise.
22841         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22842         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22843         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22844         macros.
22845         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22846         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22847         Change uses of L(2) to L(out).
22848         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22849         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22850         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22851         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22852         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22853         removed macros.
22854         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22855         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22856         macros.
22857         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22858         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22859         (RETURN): Do not use macro LEAVE.
22860         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22861         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22862         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22863         * sysdeps/i386/i686/memset.S (memset): Likewise.
22864         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22865         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22866         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22867         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22868         Likewise.
22869         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22870         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22871         L(1_2) and L(1_3) into L(1).
22872         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22873         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22874         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22875         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22876         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22877         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22878         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22879         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22880         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22881         macros.
22882         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22883         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22884         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22885         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22886         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22887         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22888         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22889         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22890         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22891         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22892         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22893         * sysdeps/i386/strspn.S (strspn): Likewise.
22894         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22895         conditional code.
22896         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22897         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22898         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22899         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22900         L(1_3) into L(1_1).
22901         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22902         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22903         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22904         macros.
22905         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22906
22907 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22908
22909         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22910         macro.
22911
22912 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22913
22914         * math/atest-exp.c (exp_mpn): Remove ROUND.
22915         * math/atest-exp2.c (exp_mpn): Likewise.
22916         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22917
22918         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22919         * stdlib/tst-tls-atexit-lib.c: Likewise.
22920         * stdlib/tst-tls-atexit.c: Likewise.
22921
22922 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22923
22924         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22925         and __attribute_alloc_size__.
22926
22927 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22928
22929         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22930         __attribute_alloc_size__.
22931         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22932         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22933
22934 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22935
22936         * include/programs/xmalloc.h: New file.
22937         * catgets/gencat.c: Include it.
22938         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22939         * elf/pldd.c: Likewise.
22940         * iconv/iconv_charmap.c: Likewise.
22941         * iconv/iconvconfig.c: Likewise.
22942         * iconv/strtab.c: Likewise.
22943         * locale/programs/locale.c: Likewise.
22944         * locale/programs/localedef.h: Likewise.
22945         * locale/programs/simple-hash.c: Likewise.
22946         * nscd/nscd.h: Likewise.
22947         * nss/makedb.c: Likewise.
22948         * sysdeps/generic/ldconfig.h: Likewise.
22949
22950 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22951
22952         * Versions.def: Add GLIBC_2.18.
22953         * include/link.h (struct link_map): New member l_tls_dtor_count.
22954         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22955         (__call_tls_dtors): Likewise.
22956         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22957         __cxa_thread_atexit_impl.
22958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22959         Likewise.
22960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22961         Likewise.
22962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22963         Likewise.
22964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22965         Likewise.
22966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22968         Likewise.
22969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22970         Likewise.
22971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22973         Likewise.
22974         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22975         (tests): Add test case tst-tls-atexit.
22976         (modules-names): Add shared library for tst-tls-atexit.
22977         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22978         (GLIBC_PRIVATE): Add __call_tls_dtors.
22979         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22980         for libstdc++.
22981         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22982         * stdlib/tst-tls-atexit.c: New test case.
22983         * stdlib/tst-tls-atexit-lib.c: New test case.
22984
22985         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22986
22987         * elf/Versions (ld): Add _dl_find_dso_for_object.
22988         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22989         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22990         (dl_open_worker): Use _dl_find_dso_for_object.
22991         * elf/dl-sym.c (do_sym): Likewise.
22992         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22993
22994 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22995
22996         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22997         Syntactic changes only.
22998         (_dl_runtime_profile): Do a tail-call to the resolved function.
22999
23000 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
23001
23002         [BZ #13550]
23003         * sysdeps/x86_64/bp-asm.h: Remove file.
23004         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23005         <bp-sym.h> and <bp-asm.h>.
23006         (__clone): Do not use BP_SYM.
23007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23008         <bp-sym.h> and <bp-asm.h>.
23009         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23010         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23011         "bp-asm.h".
23012         (_setjmp): Do not use BP_SYM.
23013         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23014         "bp-asm.h".
23015         (setjmp): Do not use BP_SYM.
23016         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23017         libc_hidden_def.
23018         (mempcpy): Do not use BP_SYM in weak_alias.
23019         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23020         "bp-asm.h".
23021         (strchr): Do not use BP_SYM.
23022         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23023         "bp-asm.h".
23024         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23025         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23026         (_start): Do not use BP_SYM.
23027         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23028         "bp-asm.h".
23029         (strcat): Do not use BP_SYM.
23030         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23031         "bp-asm.h".
23032         (STRCMP): Do not use BP_SYM.
23033         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23034         "bp-asm.h".
23035         (STRCPY): Do not use BP_SYM.
23036         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23037         "bp-asm.h".
23038         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23039         "bp-asm.h".
23040         (FUNCTION): Do not use BP_SYM.
23041         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23042         weak_alias.
23043         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23044
23045 2013-02-17  Andreas Jaeger  <aj@suse.de>
23046
23047         * time/Versions: Sort entries.
23048         * string/Versions: Likewise.
23049         * resolv/Versions: Likewise.
23050         * posix/Versions: Likewise.
23051         * iconv/Versions: Likewise.
23052         * elf/Versions: Likewise.
23053         * wcsmbs/Versions: Likewise.
23054
23055 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23056
23057         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23058         loop termination condition.
23059
23060         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23061         variable to calculate EZ.
23062         (__sqr): Likewise.
23063
23064         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23065         the lower precision input.
23066
23067 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
23068
23069         [BZ #13550]
23070         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23071         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23072         (run-via-rtld-prefix): Do not handle %-bp tests.
23073         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23074         (all-object-suffixes): Remove .ob.
23075         (bppfx): Remove variable.
23076         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23077         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23078         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23079         [$(build-bounded) = yes] (libtype.ob): Likewise.
23080         * Makerules (elide-routines.ob): Remove variable.
23081         (do-tests-clean): Do not handle *-bp.out.
23082         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23083         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23084         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23085         (tests): Do not include $(tests-bp.out).
23086         (xtests): Do not include $(xtests-bp.out).
23087         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23088         [$(build-bounded) = yes] ($(addprefix
23089         $(objpfx),$(binaries-bounded))): Remove rule.
23090         ($(objpfx)%-bp.out): Remove rule.
23091         * config.make.in (build-bounded): Remove variable.
23092         * crypt/Makefile [$(build-bounded) = yes]
23093         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23094         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23095         append to variable.
23096         [$(build-bounded) = yes] (install-lib): Likewise.
23097         [$(build-bounded) = yes] (generated): Likewise.
23098         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23099         Remove rule.
23100         * intl/Makefile [$(build-bounded) = yes]
23101         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23102         * math/Makefile [$(build-bounded) = yes]
23103         ($(tests:%=$(objpfx)%-bp): Likewise.
23104         * misc/Makefile [$(build-bounded) = yes]
23105         ($(objpfx)tst-tsearch-bp): Likewise.
23106         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23107         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23108         Remove dependency.
23109         * string/Makefile (o-objects.ob): Remove variable.
23110         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23111         (CFLAGS-.ob): Remove variable.
23112         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23113         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23114         both definitions of variable.
23115         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23116         (ASFLAGS-.ob): Remove variable.
23117
23118 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23119
23120         [BZ #13550]
23121         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23122         Remove __BOUNDED_POINTERS__ from condition.
23123         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23124         * string/bits/string2.h [!__NO_STRING_INLINES &&
23125         !__BOUNDED_POINTERS__]: Likewise.
23126         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23127         Likewise.
23128         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23129         Remove conditional code.
23130         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23131         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23132         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23133         condition.
23134
23135         [BZ #13550]
23136         * csu/libc-start.c: Do not include <bp-sym.h>.
23137         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23138         * elf/dl-open.c: Do not include <bp-sym.h>.
23139         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23140         * math/fegetenv.c: Do not include <bp-sym.h>.
23141         (fegetenv): Do not use BP_SYM in versioned symbols.
23142         * nptl/sysdeps/pthread/bits/libc-lockP.h
23143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23144         <bp-sym.h>.
23145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23146         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23148         (__pthread_mutex_destroy): Likewise.
23149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23150         (__pthread_mutex_lock): Likewise.
23151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23152         (__pthread_mutex_trylock): Likewise.
23153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23154         (__pthread_mutex_unlock): Likewise.
23155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23156         (__pthread_mutexattr_init): Likewise.
23157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23158         (__pthread_mutexattr_destroy): Likewise.
23159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23160         (__pthread_mutexattr_settype): Likewise.
23161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23162         (__pthread_rwlock_init): Likewise.
23163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23164         (__pthread_rwlock_destroy): Likewise.
23165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23166         (__pthread_rwlock_rdlock): Likewise.
23167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23168         (__pthread_rwlock_tryrdlock): Likewise.
23169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23170         (__pthread_rwlock_wrlock): Likewise.
23171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23172         (__pthread_rwlock_trywrlock): Likewise.
23173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23174         (__pthread_rwlock_unlock): Likewise.
23175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23176         (__pthread_key_create): Likewise.
23177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23178         (__pthread_setspecific): Likewise.
23179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23180         (__pthread_getspecific): Likewise.
23181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23182         Likewise.
23183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23184         (_pthread_cleanup_push_defer): Likewise.
23185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23186         (_pthread_cleanup_pop_restore): Likewise.
23187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23188         (pthread_setcancelstate): Likewise.
23189         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23190         <bp-sym.h>.
23191         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23192         (memchr): Do not use BP_SYM in weak_alias.
23193         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23194         (fegetenv): Do not use BP_SYM in versioned symbols.
23195         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23196         (fesetenv): Do not use BP_SYM in versioned symbols.
23197         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23198         (feupdateenv): Do not use BP_SYM in versioned symbols.
23199         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23200         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23201         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23202         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23203         (open64): Do not use BP_SYM in weak_alias.
23204         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23205         (fegetenv): Do not use BP_SYM in versioned symbols.
23206         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23207         (fesetenv): Do not use BP_SYM in versioned symbols.
23208         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23209         (feupdateenv): Do not use BP_SYM in versioned symbols.
23210         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23211         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23212         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23213         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23214         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23215         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23216         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23217         <bp-sym.h>.
23218         (__libc_start_main): Do not use BP_SYM.
23219
23220 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23221
23222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23223         redundant return line.
23224         (norm): Likewise.
23225         (denorm): Likewise.
23226         (dbl_mp): Likewise.
23227         (sub_magnitudes): Likewise.
23228         (__add): Likewise.
23229         (__sub): Likewise.
23230         (__mul): Likewise.
23231         (__inv): Likewise.
23232         (__dvd): Likewise.
23233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23234         (norm): Likewise.
23235         (denorm): Likewise.
23236         (dbl_mp): Likewise.
23237         (sub_magnitudes): Likewise.
23238         (__add): Likewise.
23239         (__sub): Likewise.
23240         (__mul): Likewise.
23241         (__inv): Likewise.
23242         (__dvd): Likewise.
23243
23244         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23245         instead of __mul.
23246         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23247         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23248         (cc32): Likewise.
23249
23250         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23251         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23253         of __mul for squares.
23254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23255         function
23256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23257         Likewise.
23258         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23259         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23260
23261 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23262
23263         [BZ #13550]
23264         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23265         code.
23266         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23267         prototype or function definition.  Rename ubp_* variables and
23268         parameters.  Remove argv definitions conditional on
23269         [__BOUNDED_POINTERS__].
23270         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23271         * elf/dl-runtime.c (_dl_fixup): Likewise.
23272         * include/set-hooks.h (RUN_HOOK): Likewise.
23273         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23274         definition.
23275         * string/strcpy.c (strcpy): Do not use __unbounded.
23276         * sysdeps/generic/frame.h (struct layout): Likewise.
23277         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23278         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23279         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23280         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23281         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23282         (__backtrace): Likewise.
23283         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23284         use __ptrvalue.
23285         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23286         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23287         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23288         Likewise.
23289         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23290         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23291         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23292         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23293         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23294         Do not use __unbounded.
23295         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23296         Rename __unboundedrlimits parameter to rlimits in prototype.
23297         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23298         Do not use __unbounded.
23299         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23300         not use __ptrvalue.
23301         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23302         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23303         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23304         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23305         __ptrvalue or __unbounded.
23306         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23307         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23308         use __unbounded.
23309         (__new_msgctl): Do not use __ptrvalue.
23310         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23311         __unbounded.
23312         (__libc_msgrcv): Do not use __ptrvalue.
23313         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23314         startup_info): Do not use __unbounded.
23315         (__libc_start_main): Likewise.  Rename ubp_* variables and
23316         parameters.  Remove argv definitions conditional on
23317         [__BOUNDED_POINTERS__].
23318         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23319         __ptrvalue.
23320         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23321         use __unbounded.
23322         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23323         or __ptrvalue.
23324         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23325         use __unbounded.
23326         (__new_shmctl): Do not use __ptrvalue.
23327         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23328         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23329         Likewise.
23330         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23331         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23332         (__libc_sigaction): Likewise.
23333         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23334         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23335         Likewise.
23336         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23337
23338 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23339
23340         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23341
23342         * string/mempcpy.c: Implement by calling memcpy.
23343
23344 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23345
23346         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23347
23348         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23349         evaluation.
23350
23351         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23352         values in the mantissa.
23353
23354         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23355         minimize writes to Z.
23356         (sub_magnitudes): Simplify code a bit.
23357
23358 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23359
23360         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23361         from the message.  The linker prefixes all warnings with that already.
23362
23363 2013-02-12  Andreas Schwab  <schwab@suse.de>
23364
23365         [BZ #15078]
23366         * posix/regexec.c (extend_buffers): Add parameter min_len.
23367         (check_matching): Pass minimum needed length.
23368         (clean_state_log_if_needed): Likewise.
23369         (get_subexp): Likewise.
23370         * posix/Makefile (tests): Add bug-regex34.
23371         (bug-regex34-ENV): Define.
23372         * posix/bug-regex34.c: New file.
23373
23374         [BZ #11561]
23375         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23376         elements compare against the byte sequence of it, not its name.
23377         * posix/Makefile (tests): Add bug-regex35.
23378         (bug-regex35-ENV): Define.
23379         * posix/bug-regex35.c: New file.
23380
23381 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23382
23383         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23384         comment.
23385         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23386         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23387         (CHECK_EOL): Add undef.
23388
23389 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23390
23391         * bits/stdlib-bsearch.h: New file.
23392         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23393         * stdlib/stdlib.h: Likewise.
23394
23395 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23396
23397         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23398         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23399         declaration.
23400         * manual/search.texi (Array Search Function): Add missing const in
23401         lfind prototype.
23402         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23403         declaration to use rlim_t.
23404         (Basic Scheduling Functions): Remove erroneous const from
23405         sched_getparam prototype.  Remove erroneous * from
23406         sched_get_priority_max and sched_get_priority_min prototypes.
23407         (Resource Usage): Fix summary @comment on vtimes to refer to
23408         sys/vtimes.h rather than vtimes.h.
23409         Add missing *s in vtimes prototype.
23410         (Limits on Resources): Fix ulimit prototype to return long int.
23411         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23412         prototypes to use long int rather than double.
23413         (BSD Random): Fix initstate and setstate to use char *, not void *.
23414         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23415         prototype to make second argument 'struct aiocb64 *const[]'.
23416         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23417         (Status of AIO Operations): Remove erroneous const in aio_return and
23418         aio_return64 prototypes.
23419         (Synchronizing I/O): Fix sync prototype to return void.
23420         * manual/startup.texi (Suboptions): Remove an erroneous const in
23421         getsubopt prototype.
23422         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23423         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23424         use size_t rather than int.
23425         (Scanning All Users): Likewise for getpwent_r.
23426         (Setting Groups): Add missing const to setgroups prototype.
23427         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23428         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23429         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23430         'const void *' rather than 'const char *'.
23431         (Host Address Functions): Likewise for inet_ntop.
23432         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23433         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23434         ssize_t for return value.
23435         (Sending Data): Likewise for send, sendto, sendmsg.
23436         (Socket Option Functions): Add a missing const in setsockopt prototype.
23437         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23438         use wchar_t for the argument.
23439         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23440         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23441         take no arguments.
23442         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23443         double/float/long double for second argument.
23444         Fix return types of significand, significandf, significandl.
23445         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23446         argument in fchmod prototype.
23447         (File Owner): Use uid_t and gid_t in fchown prototype.
23448         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23449         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23450         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23451         use 'const struct dirent **' as argument types to CMP function pointer
23452         argument.
23453         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23454         (File Times): Fix summary magic @comment for struct utimbuf and utime
23455         to refer to utime.h, not time.h.
23456         * manual/string.texi (Argz Functions): Add missing const in
23457         argz_extract and argz_next prototypes.
23458         (Finding Tokens in a String): Likewise for basename.
23459         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23460         (Copying and Concatenation): Fix typo in wmemmove prototype.
23461         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23462         (Signal Stack): Remove erroneous const in sigstack prototype.
23463         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23464         prototype.
23465         (Simple Calendar Time): Likewise for stime.
23466         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23467         prototype.
23468         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23469         say sys/sysctl.h instead.
23470         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23471         and vsyslog prototypes.
23472
23473 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23474
23475         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23476         Remove.
23477
23478 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23479
23480         * misc/sys/mman.h: Fix typo in mremap comment.
23481
23482 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23483
23484         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23485         the '\0' terminator.
23486
23487 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23488
23489         [BZ #13550]
23490         * debug/segfault.c: Don't include <bp-checks.h>.
23491         * sysdeps/generic/bp-checks.h: Remove file.
23492         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23493         (__GETDENTS): Don't use CHECK_N.
23494         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23495         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23496         (__getgroups): Don't use CHECK_N.
23497         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23498         (setgroups): Don't use CHECK_N.
23499         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23500         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23501         (__libc_msgrcv): Don't use CHECK_N.
23502         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23503         (__libc_msgsnd): Don't use CHECK_N.
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23505         <bp-checks.h>.
23506         (__libc_pread): Don't use CHECK_N.
23507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23508         include <bp-checks.h>.
23509         (__libc_pread64): Don't use CHECK_N.
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23511         include <bp-checks.h>.
23512         (__libc_pwrite): Don't use CHECK_N.
23513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23514         include <bp-checks.h>.
23515         (__libc_pwrite64): Don't use CHECK_N.
23516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23517         <bp-checks.h>.
23518         (__libc_pread): Don't use CHECK_N.
23519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23520         include <bp-checks.h>.
23521         (__libc_pread64): Don't use CHECK_N.
23522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23523         include <bp-checks.h>.
23524         (__libc_pwrite): Don't use CHECK_N.
23525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23526         include <bp-checks.h>.
23527         (__libc_pwrite64): Don't use CHECK_N.
23528         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23529         (do_pread): Don't use CHECK_N.
23530         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23531         (do_pread64): Don't use CHECK_N.
23532         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23533         (do_pwrite): Don't use CHECK_N.
23534         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23535         (do_pwrite64): Don't use CHECK_N.
23536         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23537         (__libc_readv): Don't use CHECK_N.
23538         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23539         (semop): Don't use CHECK_N.
23540         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23541         <bp-checks.h>.
23542         (semtimedop): Don't use CHECK_N.
23543         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23544         (__libc_pread): Don't use CHECK_N.
23545         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23546         <bp-checks.h>.
23547         (__libc_pread64): Don't use CHECK_N.
23548         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23549         <bp-checks.h>.
23550         (__libc_pwrite): Don't use CHECK_N.
23551         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23552         <bp-checks.h>.
23553         (__libc_pwrite64): Don't use CHECK_N.
23554         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23555         <bp-checks.h>.
23556         (__libc_msgrcv): Don't use CHECK_N.
23557         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23558         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23559         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23560         (__libc_writev): Don't use CHECK_N.
23561
23562 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23563
23564         * string/strcpy.c: Removed unused variable.
23565
23566         * Makeconfig (+sysdep-includes): Define with := rather than =.
23567         Use an existing include/ subdir of each sysdeps dir before it.
23568
23569 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23570
23571         * nscd/connection.c (register_traced_file): Comment function.
23572         [HAVE_INOTIFY] (union __inev): Define.
23573         [HAVE_INOTIFY] (inotify_check_files): New function.
23574         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23575         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23576         clear_db_cache.
23577         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23578
23579 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23580
23581         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23582         loaded if not already and that a failure is permanent.
23583
23584 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23585
23586         [BZ #15006]
23587         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23588         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23589
23590 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23591
23592         [BZ #13550]
23593         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23594         (CHECK_1_NULL_OK): Likewise.
23595         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23596         (__fxstat): Do not use CHECK_1.
23597         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23598         <bp-checks.h>.
23599         (___fxstat64): Do not use CHECK_1.
23600         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23601         <bp-checks.h>.
23602         (__fxstatat): Do not use CHECK_1.
23603         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23604         <bp-checks.h>.
23605         (__fxstatat64): Do not use CHECK_1.
23606         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23607         <bp-checks.h>.
23608         (__fxstat): Do not use CHECK_1.
23609         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23610         <bp-checks.h>.
23611         (__fxstatat): Do not use CHECK_1.
23612         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23613         <bp-checks.h>.
23614         (__getresgid): Do not use CHECK_1.
23615         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23616         <bp-checks.h>.
23617         (__getresuid): Do not use CHECK_1.
23618         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23619         <bp-checks.h>.
23620         (__lxstat): Do not use CHECK_1.
23621         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23622         <bp-checks.h>.
23623         (__old_msgctl): Do not use CHECK_1.
23624         (__new_msgctl): Likewise.
23625         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23626         <bp-checks.h>.
23627         (__new_setrlimit): Do not use CHECK_1.
23628         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23629         <bp-checks.h>.
23630         (__old_shmctl): Do not use CHECK_1.
23631         (__new_shmctl): Likewise.
23632         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23633         <bp-checks.h>.
23634         (__xstat): Do not use CHECK_1.
23635         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23636         (__lxstat): Do not use CHECK_1.
23637         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23638         <bp-checks.h>.
23639         (___lxstat64): Do not use CHECK_1.
23640         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23641         (__old_msgctl): Do not use CHECK_1.
23642         (__new_msgctl): Likewise.
23643         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23644         <bp-checks.h>.
23645         (__gettimeofday): Do not use CHECK_1.
23646         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23647         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23648         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23649         <bp-checks.h>.
23650         (__gettimeofday): Do not use CHECK_1.
23651         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23652         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23653         (__new_shmctl): Do not use CHECK_1.
23654         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23655         <bp-checks.h>.
23656         (do_sigtimedwait): Do not use CHECK_1.
23657         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23658         <bp-checks.h>.
23659         (do_sigwaitinfo): Do not use CHECK_1.
23660         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23661         <bp-checks.h>.
23662         (msgctl): Do not use CHECK_1.
23663         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23664         <bp-checks.h>.
23665         (shmctl): Do not use CHECK_1.
23666         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23667         (ustat): Do not use CHECK_1.
23668         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23669         <bp-checks.h>.
23670         (__fxstat): Do not use CHECK_1.
23671         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23672         <bp-checks.h>.
23673         (__fxstatat): Do not use CHECK_1.
23674         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23675         <bp-checks.h>.
23676         (__lxstat): Do not use CHECK_1.
23677         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23678         <bp-checks.h>.
23679         (__xstat): Do not use CHECK_1.
23680         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23681         (__xstat): Do not use CHECK_1.
23682         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23683         (___xstat64): Do not use CHECK_1.
23684
23685         [BZ #13550]
23686         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23687         definitions.
23688         (CHECK_BOUNDS_HIGH): Likewise.
23689         * string/strcpy.c: Do not include <bp-checks.h>.
23690         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23691
23692 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23693
23694         * nscd/nscd-client.h (__nscd_drop_map_ref):
23695         Add __attribute__ ((unused)).
23696         * nis/nss-nisplus.h (niserr2nss): Likewise.
23697
23698         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23699         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23700
23701         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23702         Remove inline keyword.
23703         * include/rounding-mode.h (round_away): Likewise.
23704         * libio/wfileops.c (adjust_wide_data): Likewise.
23705         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23706         (__m128i_strloadu_tolower): Likewise.
23707         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23708         (__m128i_strloadu_tolower): Likewise.
23709         * time/mktime.c (ydhms_diff): Likewise.
23710         * locale/elem-hash.h (elem_hash): Likewise.
23711         * locale/setlocale.c (setdata): Likewise.
23712         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23713         (re_string_wchar_at): Likewise.
23714         (bitset_not, bitset_merge, bitset_mask): Likewise.
23715         [!(__GNUC__ > 3)] (inline): Remove macro.
23716         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23717         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23718         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23719         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23720         * string/memcmp.c (memcmp_bytes): Likewise.
23721         * locale/programs/locarchive.c (compute_hashval): Likewise.
23722         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23723         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23724         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23725         * nss/getent.c (print_rpc, print_protocols): Likewise.
23726         (print_passwd, print_group, print_aliases): Likewise.
23727         * nis/nss-nisplus.h (niserr2nss): Likewise.
23728         * nscd/connections.c (restart_p): Likewise.
23729         Change return type to bool.
23730
23731 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23732
23733         * Makeconfig (all-Depend-files): Add existing
23734         $(sorted-subdirs:=/Depend) files.
23735         (all-subdirs): Remove nss.
23736         * sysdeps/unix/inet/Subdirs: Add it here instead.
23737         * hesiod/Depend: New file.
23738
23739         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23740         instead of calling alloca.
23741
23742         * io/lseek.c (__lseek): Rename to __libc_lseek.
23743         Define __lseek as an alias.
23744
23745         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23746
23747 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23748
23749         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23750         else clause and remove check for non-standard endianness.
23751
23752 2013-02-04  David S. Miller  <davem@davemloft.net>
23753
23754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23755
23756 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23757
23758         [BZ #13550]
23759         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23760         (__ubp_memchr): Remove prototype.
23761         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23762         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23763         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23764         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23765         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23766         Remove alias.
23767         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23768         (__ubp_memchr): Likewise.
23769         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23770         (__ubp_memchr): Likewise.
23771         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23772         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23773         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23774         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23775         CHECK_STRING.
23776         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23777         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23778         (__getcwd): Do not use CHECK_STRING.
23779         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23780         <bp-checks.h>.
23781         (__real_chown): Do not use CHECK_STRING.
23782         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23783         <bp-checks.h>.
23784         (fchownat): Do not use CHECK_STRING.
23785         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23786         CHECK_STRING.
23787         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23788         <bp-checks.h>.
23789         (__lchown): Do not use CHECK_STRING.
23790         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23791         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23792         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23793         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23795         include <bp-checks.h>.
23796         (truncate64): Do not use CHECK_STRING.
23797         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23798         <bp-checks.h>.
23799         (__real_chown): Do not use CHECK_STRING.
23800         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23801         <bp-checks.h>.
23802         (__lchown): Do not use CHECK_STRING.
23803         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23804         <bp-checks.h>.
23805         (__chown): Do not use CHECK_STRING.
23806         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23807         <bp-checks.h>.
23808         (truncate64): Do not use CHECK_STRING.
23809         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23810         Likewise.
23811         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23812         (__xmknod): Do not use CHECK_STRING.
23813         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23814         <bp-checks.h>.
23815         (__xmknodat): Do not use CHECK_STRING.
23816         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23817         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23818
23819 2013-02-04  Andreas Schwab  <schwab@suse.de>
23820
23821         [BZ #14142]
23822         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23823         * include/netdb.h: Likewise for h_errno.
23824         * elf/tst-stackguard1.c: Include <tls.h>.
23825
23826 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23827
23828         * elf/link.h (struct link_map): Extend the l_addr comment.
23829         * include/link.h (struct link_map): Likewise.
23830
23831 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23832
23833         [BZ #13550]
23834         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23835         (BOUNDED_1): Remove macro.
23836         * debug/backtrace.c: Don't include <bp-checks.h>.
23837         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23838         (__backtrace): Likewise.
23839         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23840         <bp-checks.h>.
23841         (__backtrace): Don't use BOUNDED_1.
23842         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23843         <bp-checks.h>.
23844         (__backtrace): Don't use BOUNDED_1.
23845         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23846         (__backtrace): Don't use BOUNDED_1.
23847         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23848         (shmat): Don't use BOUNDED_N.
23849
23850 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23851
23852         [BZ #13550]
23853         * sysdeps/generic/bp-start.h: Remove file.
23854         * csu/libc-start.c: Don't include <bp-start.h>.
23855         (LIBC_START_MAIN): Set up __environ directly instead of using
23856         INIT_ARGV_and_ENVIRON.
23857         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23858         <bp-start.h>.
23859
23860         [BZ #13550]
23861         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23862         definitions.
23863         (CHECK_FCNTL): Likewise.
23864         (CHECK_N_PAGES): Likewise.
23865
23866         [BZ #13550]
23867         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23868         definitions.
23869         (CHECK_SIGSET_NULL_OK): Likewise.
23870         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23871         <bp-checks.h>.
23872         (sigpending): Don't use CHECK_SIGSET.
23873         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23874         <bp-checks.h>.
23875         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23876         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23877         <bp-checks.h>.
23878         (do_sigsuspend): Don't use CHECK_SIGSET.
23879         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23880         use CHECK_SIGSET.
23881         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23882         (do_sigwait): Don't use CHECK_SIGSET.
23883         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23884         use CHECK_SIGSET.
23885         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23886         include <bp-checks.h>.
23887         (sigpending): Don't use CHECK_SIGSET.
23888         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23889         include <bp-checks.h>.
23890         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23891         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23892         <bp-checks.h>.
23893         (sigpending): Don't use CHECK_SIGSET.
23894         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23895         <bp-checks.h>.
23896         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23897
23898         [BZ #13550]
23899         * sysdeps/generic/bp-semctl.h: Remove file.
23900         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23901         <bp-checks.h> and <bp-semctl.h>.
23902         (__old_semctl): Don't use CHECK_SEMCTL.
23903         (__new_semctl): Likewise.
23904         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23905         and <bp-semctl.h>.
23906         (__old_semctl): Don't use CHECK_SEMCTL.
23907         (__new_semctl): Likewise.
23908         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23909         <bp-checks.h> and <bp-semctl.h>.
23910         (__old_semctl): Don't use CHECK_SEMCTL.
23911         (__new_semctl): Likewise.
23912         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23913         <bp-checks.h> and <bp-semctl.h>.
23914         (semctl): Don't use CHECK_SEMCTL.
23915
23916         [BZ #13550]
23917         * Makerules (elide-bp-thunks): Remove variable.
23918         (elide-routines.oS): Don't use $(elide-bp-thunks).
23919         (elide-routines.os): Likewise.
23920         (elide-routines.o): Likewise.
23921         (elide-routines.op): Likewise.
23922         (elide-routines.og): Likewise.
23923         (objects): Don't use $(bp-thunks).
23924         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23925         include.
23926         (common-generated): Do not add s-proto-bp.d.
23927         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23928         (int): Likewise.
23929         (typ): Likewise.
23930         Do not generate makefile rules for bounded-pointer thunks.
23931         * sysdeps/generic/bp-thunks.h: Remove file.
23932         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23933         * sysdeps/unix/s-proto-bp.S: Likewise.
23934
23935         [BZ #15062]
23936         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23937         parts of result separately when argument is not close to line from
23938         -i to i and one part of argument is small.
23939         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23940         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23941         * math/libm-test.inc (cacos_test): Add more tests.
23942         (casin_test): Likewise.
23943         (casinh_test): Likewise.
23944         * sysdeps/i386/fpu/libm-test-ulps: Update.
23945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23946
23947 2013-01-31  David S. Miller  <davem@davemloft.net>
23948
23949         * po/de.po: Update from translation team.
23950
23951 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23952
23953         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23954
23955 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23956
23957         * configure.in (_AC_PROG_CC_C89): New definition.
23958         * configure: Regenerate.
23959
23960         * configure.in (AC_PROG_CPP): New definition.
23961         * configure: Regenerate.
23962
23963 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23964
23965         * debug/tst-backtrace.h: New file.
23966         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23967         (ret): Remove variable.
23968         (x): Likewise.
23969         (FAIL): Remove macro.
23970         (NO_INLINE): Likewise.
23971         (fn1): Use match function instead of strstr.
23972         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23973         (ret): Remove variable.
23974         (x): Likewise.
23975         (FAIL): Remove macro.
23976         (NO_INLINE): Likewise.
23977         (fn): Use match function instead of strstr.
23978         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23979         (ret): Remove variable.
23980         (x): Likewise.
23981         (FAIL): Remove macro.
23982         (NO_INLINE): Likewise.
23983         (handle_signal): Use match function instead of strstr.
23984         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23985         (ret): Remove variable.
23986         (x): Likewise.
23987         (FAIL): Remove macro.
23988         (NO_INLINE): Likewise.
23989         (handle_signal): Use match function instead of strstr.
23990
23991 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23992
23993         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23994
23995 2013-01-23  David S. Miller  <davem@davemloft.net>
23996
23997         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23998         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23999         argument of CAS if possible.
24000         * sysdeps/sparc/sparc64/bits/atomic.h
24001         (__arch_compare_and_exchange_val_32_acq): Likewise.
24002         (__arch_compare_and_exchange_val_64_acq): Likewise.
24003
24004 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
24005
24006         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24007         * sysdeps/posix/ulimit.c: ... this.
24008         Include <limits.h>.
24009         * sysdeps/unix/bsd/ulimit.c: Remove file.
24010
24011 2013-01-23  Adam Conrad  <adconrad@0c3.net>
24012
24013         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24014         (LDFLAGS-tst-array5): Likewise.
24015
24016 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
24017
24018         [BZ #15036]
24019         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24020         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24021         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24022         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24023
24024 2013-01-21  David S. Miller  <davem@davemloft.net>
24025
24026         * sysdeps/sparc/backtrace.c: New file.
24027         * sysdeps/sparc/sparc32/backtrace.h: New file.
24028         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24029         * sysdeps/sparc/sparc64/backtrace.h: New file.
24030         * sysdeps/sparc/sparc64/backtrace.c: Delete.
24031         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24032         -funwind-tables.
24033
24034 2013-01-21  Andreas Schwab  <schwab@suse.de>
24035
24036         [BZ #15020]
24037         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24038         closed its stdout.
24039
24040 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
24041
24042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24043         "mpa2.h".
24044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24045
24046 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
24047             Mark Mitchell  <mark@codesourcery.com>
24048             Tom de Vries  <tom@codesourcery.com>
24049             Paul Pluzhnikov  <ppluzhnikov@google.com>
24050
24051         * debug/tst-backtrace2.c: New file.
24052         * debug/tst-backtrace3.c: Likewise.
24053         * debug/tst-backtrace4.c: Likewise.
24054         * debug/tst-backtrace5.c: Likewise.
24055         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24056         (CFLAGS-tst-backtrace3.c): Likewise.
24057         (CFLAGS-tst-backtrace4.c): Likewise.
24058         (CFLAGS-tst-backtrace5.c): Likewise.
24059         (LDFLAGS-tst-backtrace2): Likewise.
24060         (LDFLAGS-tst-backtrace3): Likewise.
24061         (LDFLAGS-tst-backtrace4): Likewise.
24062         (LDFLAGS-tst-backtrace5): Likewise.
24063         (tests): Add new tests tst-backtrace2, tst-backtrace3,
24064         tst-backtrace4 and tst-backtrace5.
24065
24066 2013-01-18  Anton Blanchard  <anton@samba.org>
24067             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24068
24069         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24070         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24071         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24072         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24074         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24075         "+r" and remove output regs list as redundant.  Add explicit inline
24076         asm to specify register of return val to work around compiler codegen
24077         bug.  Remove (int) cast on return value.  Add return type parameter to
24078         use in macro so that this macro does not truncate return value for
24079         64-bit values.
24080         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24081         pass to INTERNAL_VSYSCALL_NCS.
24082         (INLINE_VSYSCALL): Add 'long int' as return type to
24083         INTERNAL_VSYSCALL_NCS macro invocation.
24084         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24085         INTERNAL_VSYSCALL_NCS macro invocation.
24086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24087
24088 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24089
24090         [BZ #14496]
24091         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24092         Fix application of SIMD FP exception mask.
24093
24094         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24095         mp_no from a power of two.
24096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24097         __mpexp_twomm1.  Use __pow_mp.
24098
24099         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24100         multiplication.
24101
24102 2013-01-17  David S. Miller  <davem@davemloft.net>
24103
24104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24105
24106 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24107
24108         [BZ #15023]
24109         * include/complex.h: Condition contents on [!_COMPLEX_H].
24110         (__kernel_casinhf): New prototype.
24111         (__kernel_casinh): Likewise.
24112         (__kernel_casinhl): Likewise.
24113         * math/Makefile (libm_calls): Add k_casinh.
24114         * math/k_casinh.c: New file.
24115         * math/k_casinhf.c: Likewise.
24116         * math/k_casinhl.c: Likewise.
24117         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24118         finite nonzero arguments.
24119         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24120         finite nonzero arguments.
24121         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24122         finite nonzero arguments.
24123         * math/s_casinh.c: Do not include <float.h>.
24124         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24125         * math/s_casinhf.c: Do not include <float.h>.
24126         (__casinhf): Move code for finite nonzero arguments to
24127         k_casinhf.c.
24128         * math/s_casinhl.c: Do not include <float.h>.
24129         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24130         redefine.
24131         (__casinhl): Move code for finite nonzero arguments to
24132         k_casinhl.c.
24133         * math/libm-test.inc (cacos_test): Add more tests.
24134         * sysdeps/i386/fpu/libm-test-ulps: Update.
24135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24136
24137 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24138
24139         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24140         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24141         [!HAVE_MREMAP]: Remove [defined linux] case.
24142         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24143
24144 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24145
24146         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24147
24148 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24149
24150         * elf/elf.h (R_386_SIZE32): New relocation.
24151         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24152         R_386_SIZE32.
24153         (elf_machine_rela): Likewise.
24154         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24155         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24156
24157 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24158
24159         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24160         (FP_FAST_FMA): Do not define.
24161         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24162         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24163         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24164         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24165         !_SOFT_FLOAT]: Likewise.
24166         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24167         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24168         value.
24169         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24170         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24171         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24172         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24173         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24174         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24175         file.
24176
24177 2013-01-16  Andreas Schwab  <schwab@suse.de>
24178
24179         [BZ #14327]
24180         * include/stdlib.h (__mktemp): Add declaration.
24181         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24182         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24183
24184 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24185
24186         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24187         definitions.
24188         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24189         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24190         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24191         definitions here.
24192         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24193         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24194         definitions.
24195         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24196         and ONE.
24197         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24198         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24199         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24200         definitions.
24201         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24202         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24203         definitions.
24204         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24205
24206         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24207
24208 2013-01-15  David S. Miller  <davem@davemloft.net>
24209
24210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24211         trunc{,f} to libm-sysdep_routes.
24212         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24214         file.
24215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24217         file.
24218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24219         file.
24220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24222         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24223         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24224         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24225         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24226         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24227         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24228
24229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24230         nearbyint{,f} to libm-sysdep_routes.
24231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24233         New file.
24234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24235         file.
24236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24237         New file.
24238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24239         file.
24240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24242         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24243         file.
24244         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24245         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24246         file.
24247         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24248         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24249         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24250
24251         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24252         libc_feholdexcept and libc_fesetenv.
24253
24254 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24255
24256         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24257
24258 2013-01-14  David S. Miller  <davem@davemloft.net>
24259
24260         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24261         (SPARC_ASM_VIS2_IFUNC): Likewise.
24262         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24264         use of 'siam' instruction.
24265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24266         Likewise.
24267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24268         Likewise.
24269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24270         Likewise.
24271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24276         file.
24277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24278         file.
24279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24280         file.
24281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24282         file.
24283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24288         new VIS2 routines.
24289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24292         Likewise.
24293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24298         routines to libm-sysdep_routines.
24299         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24300
24301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24302         fdim/fdimf to libm-sysdep_routines.
24303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24304         file.
24305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24307         file.
24308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24311         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24312         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24313         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24314         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24315
24316 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24317
24318         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24319         to optimize copies.
24320
24321         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24324
24325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24326         local variable MPTWO.
24327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24328         Likewise.
24329
24330 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24331
24332         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24333         GLOB_NOESCAPE.
24334
24335 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24336
24337         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24338
24339 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24340
24341         * manual/pattern.texi (glob_t): Document gl_flags.
24342         (glob64_t): Likewise.
24343
24344 2013-01-11  David S. Miller  <davem@davemloft.net>
24345
24346         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24347         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24348         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24349         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24350         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24351         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24352         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24353         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24354         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24355         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24356         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24357         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24358         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24359
24360         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24361         sparc V9 rather than using V8 code.
24362         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24363         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24364
24365         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24366         Move to...
24367         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24368         Here.
24369
24370 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24371
24372         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24373         not in the main loop.
24374         * configure: Regenerated.
24375
24376 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24377
24378         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24379         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24380         to just #else.
24381         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24382         [!__GLIBC_HAVE_LONG_LONG] case.
24383         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24384         condition to just #else.
24385         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24386         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24387         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24388         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24389         unconditional.
24390         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24391         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24392         #elif condition to just #else.
24393         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24394         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24395         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24396         #elif condition to just #else.
24397
24398 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24399
24400         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24401         (EF_MIPS_ARCH_64): Fix value.
24402         (EF_MIPS_ARCH_32R2): New.
24403         (EF_MIPS_ARCH_64R2): New.
24404
24405 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24406
24407         * Makeconfig (+link-pie-before-libc): New.
24408         (+link-pie-after-libc): Likewise.
24409         (+link-pie-tests): Likewise.
24410         (+link-pie): Rewritten.
24411         (link-before-libc): Remove $(config-LDFLAGS).
24412         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24413         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24414         (config-LDFLAGS): Renamed to ...
24415         (rtld-LDFLAGS): This.
24416         (rtld-tests-LDFLAGS): New macro.
24417         (link-libc-rpath-link): Likewise.
24418         (link-libc-tests-rpath-link): Likewise.
24419         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24420         (link-libc): Prepand $(link-libc-rpath-link).
24421         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24422         (test-program-prefix): New macro.
24423         (test-via-rtld-prefix): Likewise.
24424         (test-program-cmd): Likewise.
24425         (host-test-program-cmd): Likewise.
24426         * Makefile ($(common-objpfx)testrun.sh): Replace
24427         $(run-program-prefix) with $(test-program-prefix).
24428         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24429         $(rtld-LDFLAGS).
24430         ($(common-objpfx)shlib.lds): Likewise.
24431         (build-module-helper): Likewise.
24432         ($(common-objpfx)format.lds): Likewise.
24433         * Rules (binaries-pie-tests): New.
24434         (binaries-pie-notests): Likewise.
24435         (binaries-pie): Rewritten.
24436         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24437         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24438         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24439         (make-test-out): Replace $(host-built-program-cmd) with
24440         $(host-test-program-cmd).
24441         * config.make.in (build-hardcoded-path-in-tests): New variable.
24442         * configure.in (--enable-hardcoded-path-in-tests): New configure
24443         option.
24444         (hardcoded_path_in_tests): New AC_SUBST.
24445         * configure: Regenerated.
24446         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24447         $(built-program-cmd) with $(test-program-cmd).
24448         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24449         (test_program_cmd): This.
24450         * elf/Makefile ($(objpfx)order.out): Run test with
24451         $(test-program-prefix).
24452         ($(objpfx)order2.out): Likewise.
24453         ($(objpfx)tst-initorder.out): Likewise.
24454         ($(objpfx)tst-initorder2.out): Likewise.
24455         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24456         $(test-program-cmd).
24457         ($(objpfx)tst-array1-static.out): Likewise.
24458         ($(objpfx)tst-array2.out): Likewise.
24459         ($(objpfx)tst-array3.out): Likewise.
24460         ($(objpfx)tst-array4.out): Likewise.
24461         ($(objpfx)tst-array5.out): Likewise.
24462         ($(objpfx)tst-array5-static.out): Likewise.
24463         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24464         $(test-program-cmd).
24465         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24466         $(run-program-prefix) with $(test-program-prefix).
24467         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24468         (test_program_prefix): This.
24469         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24470         $(run-program-prefix) with $(test-program-prefix).
24471         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24472         (test_program_prefix): This.
24473         * iconvdata/tst-tables.sh: Likewise.
24474         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24475         $(run-program-prefix) with $(test-program-prefix).
24476         ($(objpfx)tst-translit.out): Likewise.
24477         ($(objpfx)tst-gettext2.out): Likewise.
24478         ($(objpfx)tst-gettext4.out): Likewise.
24479         ($(objpfx)tst-gettext6.out): Likewise.
24480         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24481         (test_program_prefix): This.
24482         * intl/tst-gettext2.sh: Likewise.
24483         * intl/tst-gettext4.sh  Likewise.
24484         * intl/tst-gettext6.sh: Likewise.
24485         * intl/tst-translit.sh: Likewise.
24486         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24487         with $(test-program-cmd).
24488         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24489         $(run-program-prefix) with $(test-program-prefix).
24490         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24491         (test_program_prefix): This.
24492         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24493         $(run-program-prefix) with $(test-program-prefix).
24494         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24495         (test_program_prefix): This.
24496         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24497         * posix/Makefile ($(objpfx)globtest.out): Replace
24498         $(run-via-rtld-prefix) and $(test-wrapper) with
24499         $(test-program-prefix) and $(test-via-rtld-prefix).
24500         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24501         $(test-program-prefix).
24502         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24503         $(host-test-program-cmd).
24504         (tst-spawn-ARGS): Likewise.
24505         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24506         $(test-program-prefix).
24507         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24508         (test_via_rtld_prefix): This.
24509         (test_wrapper): Renamed to ...
24510         (test_program_prefix): This.
24511         (run_program_prefix): Replaced by test_program_prefix.
24512         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24513         (test_program_prefix): This.
24514         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24515         with $(host-test-program-cmd).
24516         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24517         $(run-program-prefix) with $(test-program-prefix).
24518         ($(objpfx)tst-printf.out): Likewise.
24519         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24520         $(test-program-cmd).
24521         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24522         (test_program_prefix): This.
24523         * stdio-common/tst-unbputc.sh: Likewise.
24524         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24525         $(run-program-prefix) with $(test-program-prefix).
24526         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24527         (test_program_prefix): This.
24528         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24529         $(built-program-cmd) with $(test-program-cmd).
24530
24531 2013-01-11  Andreas Jaeger  <aj@suse.de>
24532
24533         [BZ #15003]
24534         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24535         value. Sync with Linux 3.7.
24536
24537 2013-01-10  David S. Miller  <davem@davemloft.net>
24538
24539         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24540         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24541         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24542
24543 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24544
24545         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24546         never set.
24547         * configure: Regenerated.
24548
24549 2013-01-10  David S. Miller  <davem@davemloft.net>
24550
24551         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24552         sparc V9 rather than using V8 code.
24553         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24554         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24555
24556 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24557
24558         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24559         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24560         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24561         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24562         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24563         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24564         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24565         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24566         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24567         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24568         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24569         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24570         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24571         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24572         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24573         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24574         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24575         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24576         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24577         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24578         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24579         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24580         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24581         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24582         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24583         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24584         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24585
24586 2013-01-10  David S. Miller  <davem@davemloft.net>
24587
24588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24589
24590 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24591
24592         * posix/Makefile (tests-static): New variable.
24593         (tests): Add $(tests-static).
24594         (tst-exec-static-ARGS): New variable.
24595         (tst-spawn-static-ARGS): Likewise.
24596         * posix/tst-exec-static.c: New file.
24597         * posix/tst-spawn-static.c: Likewise.
24598         * posix/tst-exec.c: Support run directly.
24599         * posix/tst-spawn.c: Likewise.
24600
24601 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24602
24603         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24604         long.
24605         * math/bits/mathcalls.h (llrint): Likewise.
24606         (llround): Likewise.
24607         * stdlib/stdlib.h (struct drand48_data): Likewise.
24608         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24609         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24610         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24611         Likewise.
24612         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24613         Likewise.
24614         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24615         (elf_greg_t): Likewise.
24616         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24617         (__jmp_buf): Likewise.
24618         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24619         definitions.
24620         (llrint): Likewise, for all definitions.
24621         (llrintl): Likewise.
24622
24623         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24624         Remove [__GNUC__] condition.
24625         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24626         condition to just [__USE_ISOC99].
24627         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24628
24629 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24630
24631         [BZ #14200]
24632         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24633         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24634         defined.
24635         (_POSIX_V6_ILP32_OFF32): Likewise.
24636         (_XBS5_ILP32_OFF32): Likewise.
24637         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24638         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24639
24640 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24641
24642         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24643
24644         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24645         doubles __mpexp_twomm1.  Adjust usage.
24646         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24647         Remove.
24648
24649 2013-01-10  Andreas Schwab  <schwab@suse.de>
24650
24651         [BZ #14964]
24652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24653         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24654
24655 2013-01-09  David S. Miller  <davem@davemloft.net>
24656
24657         [BZ #15003]
24658         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24659         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24660         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24661         (TCP_FASTOPEN): Define.
24662         (tcp_repair_opt): New structure.
24663         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24664         enum values.
24665         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24666         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24667         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24668         (tcp_cookie_transactions): New structure.
24669
24670 2013-01-09  Anton Blanchard  <anton@samba.org>
24671
24672         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24673         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24674         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24675         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24676
24677 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24678
24679         * include/features.h (__USE_ANSI): Remove.
24680
24681 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24682
24683         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24684
24685         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24686
24687 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24688
24689         * sysdeps/s390/fpu/libm-test-ulps: Update.
24690
24691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24692
24693         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24694         (__acr): Likewise.
24695         (__cpy): Likewise.
24696         (norm): Likewise.
24697         (denorm): Likewise.
24698         (__mp_dbl): Likewise.
24699         (__dbl_mp): Likewise.
24700         (add_magnitudes): Likewise.
24701         (sub_magnitudes): Likewise.
24702         (__add): Likewise.
24703         (__sub): Likewise.
24704         (__mul): Likewise.
24705         (__inv): Likewise.
24706         (__dvd): Likewise.
24707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24708         (__acr): Likewise.
24709         (__cpy): Likewise.
24710         (norm): Likewise.
24711         (denorm): Likewise.
24712         (__mp_dbl): Likewise.
24713         (__dbl_mp): Likewise.
24714         (add_magnitudes): Likewise.
24715         (sub_magnitudes): Likewise.
24716         (__add): Likewise.
24717         (__sub): Likewise.
24718         (__mul): Likewise.
24719         (__inv): Likewise.
24720         (__dvd): Likewise.
24721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24722         (__acr): Likewise.
24723         (__cpy): Likewise.
24724         (norm): Likewise.
24725         (denorm): Likewise.
24726         (__mp_dbl): Likewise.
24727         (__dbl_mp): Likewise.
24728         (add_magnitudes): Likewise.
24729         (sub_magnitudes): Likewise.
24730         (__add): Likewise.
24731         (__sub): Likewise.
24732         (__mul): Likewise.
24733         (__inv): Likewise.
24734         (__dvd): Likewise.
24735
24736 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24737
24738         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24739         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24740         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24741         2 && __USE_EXTERN_INLINES]: Likewise.
24742
24743 2013-01-08  Andreas Jaeger  <aj@suse.de>
24744
24745         [BZ# 14985]
24746         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24747         Remove.
24748         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24749         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24750
24751 2013-01-07  Anton Blanchard  <anton@samba.org>
24752
24753         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24754         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24755         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24756         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24757         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24758         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24759         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24760         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24762         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24763         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24764         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24765         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24766         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24767         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24768         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24769         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24770         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24771         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24772         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24773         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24774         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24775         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24776         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24777         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24778         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24779         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24780         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24781         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24782         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24783         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24785         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24786         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24787         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24788         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24789         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24790         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24791         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24792         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24793         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24794         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24795         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24796
24797 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24798
24799         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24800         (__MALLOC_PMT): Likewise.
24801         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24802         [__GNUC__], only on [_LIBC].
24803         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24804         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24805         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24806         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24807         forward declaration.
24808         (realloc_hook_ini): Likewise.
24809         (memalign_hook_ini): Likewise.
24810         (__libc_memalign): Do not use __MALLOC_PMT in variable
24811         declaration.
24812         (__libc_valloc): Likewise.
24813         (__libc_pvalloc): Likewise.
24814         (__libc_calloc): Likewise.
24815         (__posix_memalign): Likewise.
24816
24817         [BZ #14996]
24818         * math/s_casinh.c: Include <float.h>.
24819         (__casinh): Do not do computation with squaring and square root
24820         for large arguments.
24821         * math/s_casinhf.c: Include <float.h>.
24822         (__casinhf): Do not do computation with squaring and square root
24823         for large arguments.
24824         * math/s_casinhl.c: Include <float.h>.
24825         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24826         (__casinhl): Do not do computation with squaring and square root
24827         for large arguments.
24828         * math/libm-test.inc (casin_test): Add more tests.
24829         (casinh_test): Likewise.
24830         * sysdeps/i386/fpu/libm-test-ulps: Update.
24831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24832
24833 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24834
24835         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24836         (__x86_64_raw_data_cache_size): Likewise.
24837         (__x86_64_data_cache_size_half): Likewise.
24838         (__x86_64_raw_data_cache_size_half): Likewise.
24839         (__x86_64_shared_cache_size): Likewise.
24840         (__x86_64_raw_shared_cache_size): Likewise.
24841         (__x86_64_shared_cache_size_half): Likewise.
24842         (__x86_64_raw_shared_cache_size_half): Likewise.
24843         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24844         to ...
24845         (__x86_data_cache_size): This.
24846         (__x86_64_raw_data_cache_size): Renamed to ...
24847         (__x86_raw_data_cache_size): This.
24848         (__x86_64_data_cache_size_half): Renamed to ...
24849         (__x86_data_cache_size_half): This.
24850         (__x86_64_raw_data_cache_size_half): Renamed to ...
24851         (__x86_raw_data_cache_size_half): This.
24852         (__x86_64_shared_cache_size): Renamed to ...
24853         (__x86_shared_cache_size): This.
24854         (__x86_64_raw_shared_cache_size): Renamed to ...
24855         (__x86_raw_shared_cache_size): This.
24856         (__x86_64_shared_cache_size_half): Renamed to ...
24857         (__x86_shared_cache_size_half): This.
24858         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24859         (__x86_raw_shared_cache_size_half): This.
24860         * sysdeps/x86_64/memcpy.S: Updated.
24861         * sysdeps/x86_64/memset.S: Likewise.
24862         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24863         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24864         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24865
24866 2013-01-04  David S. Miller  <davem@davemloft.net>
24867
24868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24869
24870 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24871
24872         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24873         1 to avoid redefinition warning.
24874         (__USE_GNU): Don't define.
24875         (init_signaling_nan): Protoize.
24876
24877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24878
24879 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24880
24881         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24883         (__cpymn): Likewise.
24884         (norm): Remove commented code.
24885         (denorm): Likewise.
24886         (__mp_dbl): Likewise.
24887         (__inv): Likewise.
24888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24889         (__cpymn): Likewise.
24890         (norm): Remove commented code.
24891         (denorm): Likewise.
24892         (__mp_dbl): Likewise.
24893         (__inv): Likewise.
24894
24895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24896         mp_no value for 1.0 and 2.0.
24897         (norm): Use RADIXI instead of radixi.d.
24898         (denorm): Likewise.
24899         (__mul): Use 0.0 instead of zero.d.
24900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24901         mp_no value for 1.0 and 2.0.
24902         (norm): Use RADIXI instead of radixi.d.
24903         (denorm): Likewise.
24904         (__mul): Use 0.0 instead of zero.d.
24905
24906 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24907
24908         [BZ #14994]
24909         * math/s_casinh.c (__casinh): Reduce finite argument to first
24910         quadrant then set signs of results at the end.
24911         * math/s_casinhf.c (__casinhf): Likewise.
24912         * math/s_casinhl.c (__casinhl): Likewise.
24913         * math/libm-test.inc (casin_test): Add more tests.
24914         (casinh_test): Likewise.
24915         * sysdeps/i386/fpu/libm-test-ulps: Update.
24916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24917
24918 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24919
24920         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24921
24922         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24923
24924         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24925         declarations.
24926         (denorm): Likewise.
24927         (__mp_dbl): Likewise.
24928         (__inv): Likewise.
24929
24930         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24931         and adjust the header comment.
24932
24933         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24934         variable name from declaration.
24935
24936 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24937
24938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24939         Initialize COMMON_CPUID_INDEX_7 element.
24940         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24941         (CPUID_RTM): Likewise.
24942         (HAS_RTM): Likewise.
24943         (COMMON_CPUID_INDEX_7): New enum.
24944
24945 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24946
24947         [BZ #14981]
24948         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24949         size is zero, record memory as freed.
24950
24951 2013-01-03  Andreas Jaeger  <aj@suse.de>
24952
24953         * po/ia.po: Add new Interlingua translation.
24954
24955 2012-01-03  Allan McRae  <allan@archlinux.org>
24956
24957         * locale/programs/localedef.c: Fix description of '--posix' flag.
24958
24959 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24960
24961         * NEWS: Update dates in second copyright notice.
24962         * README: Update copyright dates in example.
24963         * manual/libc.texinfo: Update copyright dates.
24964         * scripts/test-installation.pl: Update copyright date in --version
24965         output.
24966
24967         * hurd/ctty-input.c: Fix copyright notice formatting.
24968         * hurd/ctty-output.c: Likewise.
24969         * hurd/dtable.c: Likewise.
24970         * hurd/hurd-raise.c: Likewise.
24971         * hurd/hurdprio.c: Likewise.
24972         * hurd/msgportdemux.c: Likewise.
24973         * misc/sys/file.h: Likewise.
24974         * misc/sys/ioctl.h: Likewise.
24975         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24976         * sysdeps/mach/hurd/chdir.c: Likewise.
24977         * sysdeps/mach/hurd/fchdir.c: Likewise.
24978         * sysdeps/mach/hurd/rename.c: Likewise.
24979         * sysdeps/mach/hurd/rmdir.c: Likewise.
24980         * sysdeps/mach/hurd/seekdir.c: Likewise.
24981         * sysdeps/mach/hurd/setsid.c: Likewise.
24982         * sysdeps/posix/wait3.c: Likewise.
24983
24984         * All files with FSF copyright notices: Update copyright dates
24985         using scripts/update-copyrights.
24986         * intl/plural.c: Regenerated.
24987         * locale/programs/charmap-kw.h: Likewise.
24988         * locale/programs/locfile-kw.h: Likewise.
24989
24990 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24991
24992         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24993         four values.
24994
24995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24996         calculation loop and add branch prediction.
24997
24998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24999         check access beyond bounds of m1np.
25000
25001         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25002         MPTWO.
25003         (__inv): Remove local variable MPTWO to use the global
25004         constant.
25005         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25006         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25007         variable MPTWO.
25008         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25009         MP3HALFS static const.
25010
25011 2013-01-01  David S. Miller  <davem@davemloft.net>
25012
25013         * po/ca.po: Update from translation team.
25014
25015 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
25016
25017         * scripts/update-copyrights: New file.
25018         * Makeconfig: Reformat copyright notice.
25019         * ctype/ctype.h: Likewise.
25020         * debug/swprintf_chk.c: Likewise.
25021         * elf/dl-cache.c: Likewise.
25022         * elf/dl-debug.c: Likewise.
25023         * elf/dl-object.c: Likewise.
25024         * grp/initgroups.c: Likewise.
25025         * hurd/Makefile: Likewise.
25026         * hurd/hurd/signal.h: Likewise.
25027         * hurd/hurdfault.c: Likewise.
25028         * hurd/hurdioctl.c: Likewise.
25029         * hurd/hurdlookup.c: Likewise.
25030         * hurd/intr-msg.c: Likewise.
25031         * iconv/gconv_open.c: Likewise.
25032         * libio/swprintf.c: Likewise.
25033         * locale/lc-ctype.c: Likewise.
25034         * locale/nl_langinfo.c: Likewise.
25035         * mach/Machrules: Likewise.
25036         * mach/Makefile: Likewise.
25037         * malloc/obstack.h: Likewise.
25038         * manual/Makefile: Likewise.
25039         * manual/tsort.awk: Likewise.
25040         * misc/bits/stab.def: Likewise.
25041         * nis/nis_print_group_entry.c: Likewise.
25042         * nis/nis_table.c: Likewise.
25043         * nis/nss_compat/compat-pwd.c: Likewise.
25044         * nis/nss_compat/compat-spwd.c: Likewise.
25045         * po/Makefile: Likewise.
25046         * posix/fnmatch.c: Likewise.
25047         * posix/regex.h: Likewise.
25048         * resolv/Makefile: Likewise.
25049         * resolv/nss_dns/dns-network.c: Likewise.
25050         * resolv/res_hconf.c: Likewise.
25051         * scripts/gen-sorted.awk: Likewise.
25052         * soft-fp/soft-fp.h: Likewise.
25053         * stdio-common/printf.h: Likewise.
25054         * stdlib/monetary.h: Likewise.
25055         * stdlib/random.c: Likewise.
25056         * stdlib/random_r.c: Likewise.
25057         * sysdeps/generic/Makefile: Likewise.
25058         * sysdeps/gnu/Makefile: Likewise.
25059         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25060         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25061         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25063         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25064         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25065         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25066         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25067         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25068         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25069         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25070         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25071         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25072         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25073         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25074         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25075         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25076         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25077         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25078         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25079         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25080         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25081         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25082         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25083         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25084         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25085         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25086         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25087         * sysdeps/mach/hurd/errnos.awk: Likewise.
25088         * sysdeps/mach/hurd/fork.c: Likewise.
25089         * sysdeps/mach/hurd/getcwd.c: Likewise.
25090         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25091         * sysdeps/mach/hurd/mmap.c: Likewise.
25092         * sysdeps/mach/hurd/utimes.c: Likewise.
25093         * sysdeps/mach/hurd/xmknod.c: Likewise.
25094         * sysdeps/posix/profil.c: Likewise.
25095         * sysdeps/posix/readdir_r.c: Likewise.
25096         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25097         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25098         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25099         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25101         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25102         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25103         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25104         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25105         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25106         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25107         * sysdeps/pthread/lio_listio.c: Likewise.
25108         * sysdeps/sparc/dl-procinfo.h: Likewise.
25109         * sysdeps/unix/i386/sysdep.S: Likewise.
25110         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25111         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25112         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25113         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25115         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25116         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25117         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25118         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25119         * sysdeps/wordsize-32/divdi3.c: Likewise.
25120         * time/sys/time.h: Likewise.
25121         * wcsmbs/Makefile: Likewise.
25122
25123 2013-01-01  David S. Miller  <davem@davemloft.net>
25124
25125         * po/fr.po: Update from translation team.
25126
25127         * catgets/gencat.c: Update copyright year.
25128         * csu/version.c: Likewise.
25129         * debug/catchsegv.sh: Likewise.
25130         * debug/pcprofiledump.c: Likewise.
25131         * debug/xtrace.sh: Likewise.
25132         * elf/ldconfig.c: Likewise.
25133         * elf/ldd.bash.in: Likewise.
25134         * elf/pldd.c: Likewise.
25135         * elf/sotruss.ksh: Likewise.
25136         * elf/sprof.c: Likewise.
25137         * iconv/iconv_prog.c: Likewise.
25138         * iconv/iconvconfig.c: Likewise.
25139         * locale/programs/locale.c: Likewise.
25140         * locale/programs/localedef.c: Likewise.
25141         * login/programs/pt_chown.c: Likewise.
25142         * malloc/memusage.sh: Likewise.
25143         * malloc/memusagestat.c: Likewise.
25144         * malloc/mtrace.pl: Likewise.
25145         * nscd/nscd.c: Likewise.
25146         * nss/getent.c: Likewise.
25147         * nss/makedb.c: Likewise.
25148         * posix/getconf.c: Likewise.
25149
25150 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25151
25152         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25153         numbers.
25154
25155 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25156
25157         * math/bits/mathcalls.h (modf): Use __nonnull.
25158
25159 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25160
25161         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25162         (split): Use macro CN instead of the bare value.
25163         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25164         could be used.
25165         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25166         instead of the bare value.
25167         (power1): Likewise.
25168
25169 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25170
25171         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25172         __ATAN_TWOM.
25173         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25174
25175         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25176         their values.
25177         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25178         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25179         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25180         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25181
25182 2012-12-28  Andreas Jaeger  <aj@suse.de>
25183
25184         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25185         values are from Linux 3.7.
25186
25187         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25188         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25189
25190 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25191
25192         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25193         TRUE case.
25194
25195         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25196         (norm): Likewise.
25197         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25198         variables with preprocessor constants.
25199         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25200         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25201         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25202
25203 2012-12-27  Bruno Haible  <bruno@clisp.org>
25204
25205         [BZ #14317]
25206         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25207         only if needed.
25208
25209 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25210
25211         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25212         and use variable directly.
25213         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25214
25215         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25216         MPONE.
25217         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25218         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25219         variable MPONE.
25220         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25221         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25222         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25223         include directive.  Remove local variable MPONE.
25224         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25225         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25226         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25227
25228 2012-12-25  David S. Miller  <davem@davemloft.net>
25229
25230         * version.h (RELEASE): Set to "development".
25231         (VERSION): Set to "2.17.90".
25232         * NEWS: Add 2.18 section.
25233
25234 2012-12-21  David S. Miller  <davem@davemloft.net>
25235
25236         * po/hr.po: Update from translation team.
25237
25238 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25239
25240         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25241
25242 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25243
25244         * NEWS:  Mention new memcpy for MIPS.
25245
25246 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25247
25248         * manual/contrib.texi (Contributors): Spelling correction.
25249
25250 2012-12-15  David S. Miller  <davem@davemloft.net>
25251
25252         * po/ru.po: Update from translation team.
25253
25254 2012-12-13  David S. Miller  <davem@davemloft.net>
25255
25256         * NEWS: Mention IFUNC testsuite enhancements.
25257
25258         * po/pl.po: Update from translation team.
25259         * po/bg.po: Likewise.
25260
25261         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25262         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25263
25264 2012-12-11  David S. Miller  <davem@davemloft.net>
25265
25266         * po/sv.po: Update from translation team.
25267
25268         * po/vi.po: Update from translation team.
25269
25270         * po/cs.po: Update from translation team.
25271
25272         * po/de.po: Update from translation team.
25273         * po/eo.po: Likewise.
25274         * po/nl.po: Likewise.
25275
25276 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25277
25278         [BZ #14246]
25279         * manual/argp.texi (Argp Helper Functions): Move node to follow
25280         Argp Parsing State.
25281
25282         [BZ #14872]
25283         * manual/conf.texi (Limits on File System Capacity): Mention if
25284         terminating null is included in the max size.
25285
25286 2012-12-10  Andreas Jaeger  <aj@suse.de>
25287
25288         * po/cs.po: Update from translation team.
25289
25290 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25291
25292         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25293         void pointer and cast to uintptr_t.
25294         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25295         path.
25296         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25297         * sysdeps/s390/s390-64/memset.S: Likewise.
25298
25299 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25300
25301         [BZ #14833]
25302         * menual/message.texi (Message Translation): Fix typos.
25303         (Helper programs for gettext): Likewise.
25304
25305 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25306
25307         [BZ #14898]
25308         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25309         Change to -1.
25310
25311 2012-12-07  David S. Miller  <davem@davemloft.net>
25312
25313         * po/libc.pot: Update.
25314
25315 2012-12-07  Richard Henderson  <rth@redhat.com>
25316
25317         [BZ #10114]
25318         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25319         normal/normal case to before the switch.
25320         (_FP_DIV): Likewise.
25321
25322 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25323             Mike Frysinger  <vapier@gentoo.org>
25324
25325         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25326         check for __NR_fadvise64_64.
25327
25328 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25329
25330         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25331         0, not just to plain "0" as a statement.
25332         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25333         with cw.
25334
25335 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25336
25337         * NEWS: Use sourceware.org in Bugzilla URL.
25338
25339 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25340
25341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25342         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25343
25344         * stdio-common/tst-put-error.c (do_test): Add newline to the
25345         padded test to ensure flush.
25346
25347 2012-12-05  Jeff Law  <law@redhat.com>
25348
25349         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25350
25351 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25352
25353         * README: Don't refer to ports add-on as distributed separately.
25354         Mention AArch64 in list of systems supported in the ports add-on.
25355
25356         * LICENSES: Add more non-FSF copyright and license notices.
25357
25358         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25359         ((unused)).
25360
25361         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25362
25363         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25364         10000 as width of padded output.
25365
25366 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25367
25368         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25369
25370         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25371         variable LX with __attribute__ ((unused)).
25372         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25373         Likewise.
25374         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25375         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25376         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25377         with __attribute__ ((unused)).
25378
25379 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25380
25381         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25382
25383 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25384
25385         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25386         (CFLAGS-nldbl-acos.c): New variable.
25387         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25388         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25389         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25390         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25391         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25392         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25393         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25394         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25395         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25396         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25397         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25398         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25399         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25400         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25401         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25402         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25403         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25404         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25405         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25406         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25407         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25408         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25409         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25410         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25411         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25412         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25413         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25414         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25415         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25416         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25417         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25418         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25419         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25420         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25421         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25422         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25423         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25424         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25425         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25426         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25427         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25428         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25429         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25430         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25431         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25432         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25433         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25434         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25435         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25436         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25437         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25438         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25439         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25440         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25441         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25442         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25443         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25444         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25445         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25446         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25447         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25448         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25449         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25450         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25451         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25452         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25453         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25454         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25455         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25456         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25457         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25458         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25459         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25460         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25461         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25462         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25463         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25464         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25465         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25466         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25467         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25468         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25469         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25470         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25471         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25472         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25473         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25474         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25475         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25476         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25477         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25478         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25479         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25480         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25481         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25482         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25483         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25484
25485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25486         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25487
25488         [BZ #14914]
25489         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25490         whole low double instead of just low 47 bits when splitting values
25491         into two parts.
25492
25493 2012-12-03  Allan McRae  <allan@archlinux.org>
25494
25495         * manual/stdio.texi (Predefined Printf Handlers): Remove
25496         @hsep and @vsep usage.
25497
25498 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25499
25500         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25501         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25502
25503 2012-12-03  Jeff Law  <law@redhat.com>
25504
25505         * time/sys/time.h (settimeofday): Do not mark TV argument
25506         as __nonnull.
25507
25508 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25509
25510         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25511         when currently writing and seek to current position when not.
25512         * libio/Makefile (tests): Remove bug-fclose1.
25513         * libio/bug-fclose1.c: Delete.
25514
25515 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25516
25517         * manual/arith.texi (feenableexcept): Fix typo.
25518         (fedisableexcept): Likewise.
25519
25520 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25521
25522         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25523         second, differently-typed declaration, rather than a cast.
25524
25525 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25526
25527         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25528         * include/rpc/svc.h: ... here.
25529
25530 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25531
25532         [BZ #13013]
25533         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25534         depending n and resplen2 to catch cases where answer
25535         equals answerp2.
25536
25537 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25538
25539         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25540         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25541
25542 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25543
25544         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25545
25546 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25547
25548         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25549
25550 2012-11-28  Jeff Law  <law@redhat.com>
25551
25552         [BZ #13761]
25553         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25554         dataset_temporary.  Track alloca usage into alloca_used.
25555         If dataset is large allocate and release it via malloc/free.
25556
25557 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25558
25559         [BZ #14197]
25560         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25561
25562 2012-11-28  David S. Miller  <davem@davemloft.net>
25563
25564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25565
25566 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25567
25568         [BZ #14803]
25569         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25570         of pi/2 rounded to nearest to 64 bits.
25571         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25572         nearest to 64 bits.
25573         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25574         bits.
25575
25576 2012-11-28  Jeff Law <law@redhat.com>
25577             Martin Osvald <mosvald@redhat.com>
25578
25579         [BZ #14889]
25580         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25581         * sunrpc/svc.c: Include time.h.
25582         (__svc_accept_failed): New function.
25583         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25584         any reason other than EINTR, call __svc_accept_failed.
25585         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25586         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25587
25588 2012-11-28  Andreas Schwab  <schwab@suse.de>
25589
25590         * scripts/abilist.awk: Also handle indirect functions in .opd
25591         section.
25592
25593 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25594
25595         [BZ #13881]
25596         * sysdeps/x86/fpu/powl_helper.c: New file.
25597         * sysdeps/x86/fpu/Makefile: Likewise.
25598         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25599         (p3): New object.
25600         (__ieee754_powl): Use __powl_helper for finite arguments except
25601         integer exponents below 8.
25602         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25603         (p3): New object.
25604         (__ieee754_powl): Use __powl_helper for finite arguments except
25605         integer exponents below 8.
25606         * math/libm-test.inc (pow_test): Add more tests and enable some
25607         previously disabled tests.
25608         * sysdeps/i386/fpu/libm-test-ulps: Update.
25609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25610
25611 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25612             Carlos O'Donell  <carlos_odonell@mentor.com>
25613
25614         * nss/makedb.c (is_prime): Assert that input is odd and greater
25615         than 4.  Note that fact in a comment too.
25616         (next_prime): Add 4 to input.
25617
25618 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25619
25620         [BZ #11741]
25621         * libio/Makefile (tests): Add test case tst-fwrite-error.
25622         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25623         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25624         * libio/tst-fwrite-error.c: New test case.
25625
25626 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25627
25628         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25629         before casting to void *.
25630         * include/libc-internal.h (__pointer_type): New macro.
25631         (__integer_if_pointer_type_sub): Likewise.
25632         (__integer_if_pointer_type): Likewise.
25633         (cast_to_integer): Likewise.
25634         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25635         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25636         before casting to atomic64_t.
25637         (atomic_exchange_acq): Likewise.
25638         (__arch_exchange_and_add_body): Likewise.
25639         (__arch_add_body): Likewise.
25640         (atomic_add_negative): Likewise.
25641         (atomic_add_zero): Likewise.
25642
25643 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25644
25645         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25646         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25647         (add_fdes): Likewise.
25648         (linear_search_fdes): Likewise.
25649         (binary_search_unencoded_fdes): Likewise.
25650
25651 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25652
25653         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25654
25655 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25656
25657         * configure.in: Autodetect C++ header directories.
25658         * configure: Regenerated.
25659
25660 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25661
25662         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25663
25664 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25665
25666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25667
25668 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25669
25670         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25671         LDBL_MANT_DIG == 106]: Disable some tests.
25672         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25673         Likewise.
25674         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25675         Likewise.
25676
25677         [BZ #14871]
25678         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25679         input for small inputs.  Return +/- pi/2 for large inputs.
25680         * math/libm-test.inc (atan_test): Add more tests.
25681
25682         * sysdeps/generic/unwind-dw2-fde-glibc.c
25683         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25684         __attribute__ ((unused)).
25685
25686         [BZ #14645]
25687         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25688         x * y if x and y are nonzero and z is zero.
25689
25690         [BZ #14811]
25691         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25692         nonzero exponents with absolute value below 0x1p-117 to +/-
25693         0x1p-117.
25694
25695         [BZ #14869]
25696         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25697         up arguments below 2**-450, not just those below 2**-500.
25698         * math/libm-test.inc (hypot_test): Add another test.
25699
25700         [BZ #14868]
25701         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25702         Return a+b for ratio over 2**120, not 2**60.
25703         * math/libm-test.inc (hypot_test): Add another test.
25704
25705         * math/libm-test.inc (clog_test): Use
25706         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25707         (clog10_test): Likewise.
25708
25709         [BZ #6778]
25710         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25711
25712 2012-11-22  Andreas Schwab  <schwab@suse.de>
25713
25714         * sysdeps/i386/fpu/libm-test-ulps: Update.
25715
25716 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25717
25718         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25719         printf output with newline.
25720
25721 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25722
25723         [BZ #14865]
25724         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25725         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25726         -z nodlopen, -z initfirst and -z execstack support.
25727         * configure: Regenerated.
25728
25729         * elf/elf.h (DF_1_NODIRECT): New macro.
25730         (DF_1_IGNMULDEF): Likewise.
25731         (DF_1_NOKSYMS): Likewise.
25732         (DF_1_NOHDR): Likewise.
25733         (DF_1_EDITED): Likewise.
25734         (DF_1_NORELOC): Likewise.
25735         (DF_1_SYMINTPOSE): Likewise.
25736         (DF_1_GLOBAUDIT): Likewise.
25737         (DF_1_SINGLETON): Likewise.
25738         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25739         DT_1_SUPPORTED_MASK bits.
25740         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25741
25742 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25743
25744         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25745
25746 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25747
25748         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25749         macro.
25750
25751         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25752         (sendmmsg): Move declarations...
25753         * socket/sys/socket.h: ... here.
25754         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25755         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25756         include it from...
25757         * socket/recvmmsg.c: ... this new file.
25758         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25759         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25760         definition of __sendmmsg hidden.
25761         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25762         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25763         Move ENOSYS stub into and include it from...
25764         * socket/sendmmsg.c: ... this new file.
25765         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25766         (sysdep_routines): Move recvmmsg and sendmmsg...
25767         * socket/Makefile (routines): ... here.
25768         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25769         (GLIBC_PRIVATE): Add __sendmmsg.
25770         * include/sys/socket.h (__sendmmsg): Add declarations.
25771         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25772         sendmmsg.
25773
25774 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25775
25776         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25777         variable I1 with __attribute__ ((unused)).
25778         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25779
25780 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25781
25782         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25783         DUMMY variables with __attribute__ ((unused)).
25784
25785         * bits/byteswap.h: Include <bits/types.h>.
25786         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25787
25788 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25789
25790         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25791         string_t.  Do not manually set errno.
25792         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25793         length with __strnlen.  Make sure to both set errno and return it on
25794         failure.
25795
25796 2012-11-19  David S. Miller  <davem@davemloft.net>
25797
25798         With help from Joseph Myers.
25799         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25800         very large arguments properly.
25801         * math/libm-test.inc (atan_test): New tests.
25802         (atan2_test): New tests.
25803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25805
25806 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25807
25808         [BZ #14856]
25809         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25810         Define to 3.
25811
25812         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25813         [POSIX] (EADDRNOTAVAIL): Likewise.
25814         [POSIX] (EAFNOSUPPORT): Likewise.
25815         [POSIX] (EALREADY): Likewise.
25816         [POSIX] (ECONNABORTED): Likewise.
25817         [POSIX] (ECONNREFUSED): Likewise.
25818         [POSIX] (ECONNRESET): Likewise.
25819         [POSIX] (EDESTADDRREQ): Likewise.
25820         [POSIX] (EDQUOT): Likewise.
25821         [POSIX] (EHOSTUNREACH): Likewise.
25822         [POSIX] (EIDRM): Likewise.
25823         [POSIX] (EISCONN): Likewise.
25824         [POSIX] (ELOOP): Likewise.
25825         [POSIX] (EMULTIHOP): Likewise.
25826         [POSIX] (ENETDOWN): Likewise.
25827         [POSIX] (ENETUNREACH): Likewise.
25828         [POSIX] (ENOBUFS): Likewise.
25829         [POSIX] (ENODATA): Likewise.
25830         [POSIX] (ENOLINK): Likewise.
25831         [POSIX] (ENOMSG): Likewise.
25832         [POSIX] (ENOPROTOOPT): Likewise.
25833         [POSIX] (ENOSR): Likewise.
25834         [POSIX] (ENOSTR): Likewise.
25835         [POSIX] (ENOTCONN): Likewise.
25836         [POSIX] (ENOTSOCK): Likewise.
25837         [POSIX] (EOPNOTSUPP): Likewise.
25838         [POSIX] (EOVERFLOW): Likewise.
25839         [POSIX] (EPROTO): Likewise.
25840         [POSIX] (EPROTONOSUPPORT): Likewise.
25841         [POSIX] (EPROTOTYPE): Likewise.
25842         [POSIX] (ESTALE): Likewise.
25843         [POSIX] (ETIME): Likewise.
25844         [POSIX] (ETXTBSY): Likewise.
25845         [POSIX] (EWOULDBLOCK): Likewise.
25846         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25847         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25848         [POSIX] (SEEK_CUR): Likewise.
25849         [POSIX] (SEEK_END): Likewise.
25850         [POSIX || UNIX98] (mode_t): Do not require.
25851         [POSIX] (off_t): Likewise.
25852         [POSIX] (pid_t): Likewise.
25853         [POSIX] (sys/stat.h): Do not allow header.
25854         [POSIX] (unistd.h): Likewise.
25855         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25856         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25857         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25858         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25859         require.
25860         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25861         sigevent): Specify elements.
25862         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25863         entry.
25864         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25865         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25866
25867         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25868         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25869         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25870         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25871         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25872         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25873         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25874         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25875         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25876         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25877         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25878         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25879         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25880         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25881         Likewise.
25882         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25883         Likewise.
25884         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25885         Likewise.
25886         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25887         Likewise.
25888         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25889         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25890         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25891         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25892         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25893         Specify lower bound on value.
25894         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25895         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25896         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25897         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25898         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25899         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25900         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25901         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25902         value.
25903         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25904         as optional.
25905         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25906         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25907         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25908         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25909         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25910         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25911         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25912         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25913         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25914         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25915         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25916         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25917         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25918         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25919         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25920         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25921         entry.
25922         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25923         optional.
25924         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25925         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25926         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25927         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25928         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25929         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25930         Likewise.
25931         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25932         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25933         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25934         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25935         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25936         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25937         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25938         as optional.
25939         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25940         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25941         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25942         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25943         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25944         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25945         specify as optional.
25946         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25947         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25948         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25949         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25950         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25951         [XPG3] (NL_LANGMAX): Likewise.
25952         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25953         [POSIX || XPG3] (NL_NMAX): Likewise.
25954         [POSIX || XPG3] (NL_SETMAX): Likewise.
25955         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25956         [XPG3] (NZERO): Likewise.
25957         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25958         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25959         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25960         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25961         (REG_ERANGE): Expect.
25962         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25963         optional-constant.
25964         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25965         Use (void) in prototype.
25966         [POSIX] (*_t): Allow.
25967         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25968         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25969         (WRDE_BADVAL): Expect.
25970
25971         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25972         expect.
25973         [XPG3 || XPG4] (O_RSYNC): Likewise.
25974         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25975         Likewise.
25976         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25977         [XPG3 || XPG4] (sigqueue): Likewise.
25978         [XPG3 || XPG4] (sigtimedwait): Likewise.
25979         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25980         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25981         [XPG3 || XPG4] (vsnprintf): Likewise.
25982         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25983         Likewise.
25984         [XPG3 || XPG4] (blksize_t): Likewise.
25985         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25986         Likewise.
25987         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25988         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25989         [XPG3 || XPG4] (struct itimerspec): Likewise.
25990         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25991         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25992         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25993         [XPG3 || XPG4] (clockid_t): Likewise.
25994         [XPG3 || XPG4] (timer_t): Likewise.
25995         [XPG3 || XPG4] (clock_getres): Likewise.
25996         [XPG3 || XPG4] (clock_gettime): Likewise.
25997         [XPG3 || XPG4] (clock_settime): Likewise.
25998         [XPG3 || XPG4] (nanosleep): Likewise.
25999         [XPG3 || XPG4] (timer_create): Likewise.
26000         [XPG3 || XPG4] (timer_delete): Likewise.
26001         [XPG3 || XPG4] (timer_gettime): Likewise.
26002         [XPG3 || XPG4] (timer_getoverrun): Likewise.
26003         [XPG3 || XPG4] (timer_settime): Likewise.
26004         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26005         [XPG3 || XPG4] (getlogin_r): Likewise.
26006         [XPG3 || XPG4] (pread): Likewise.
26007         [XPG3 || XPG4] (pthread_atfork): Likewise.
26008         [XPG3 || XPG4] (pwrite): Likewise.
26009
26010         [BZ #14835]
26011         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26012         <bits/siginfo.h>.
26013
26014 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
26015
26016         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26017         finalizing MALLSTREAM.
26018
26019         * sysdeps/mach/hurd/syncfs.c: New file.
26020
26021 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26022
26023         [BZ #14719]
26024         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26025         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26026         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26027         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26028         (_nss_dns_gethostbyname4_r): Likewise.
26029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26030         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26031
26032 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
26033
26034         [BZ #13763]
26035         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26036
26037 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
26038
26039         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26040         * elf/cache.c (print_entry): Print ",AArch64" for
26041         FLAG_AARCH64_LIB64
26042
26043         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26044         * elf/cache.c (print_entry): Print ",hard-float" for
26045         FLAG_ARM_LIBHF.
26046
26047 2012-11-18  David S. Miller  <davem@davemloft.net>
26048
26049         With help from Joseph Myers.
26050         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26051         cutoff to 2**-13.
26052         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26053         cutoff to 2**-25.
26054         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26055         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26056         small.
26057         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26058         * math/libm-test.inc (y0_test): New tests.
26059         (y1_test): New tests.
26060         * sysdeps/i386/fpu/libm-test-ulps: Update.
26061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26063
26064 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
26065
26066         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26067         64-bit targets.
26068         * configure: Regenerated.
26069
26070 2012-11-17  David S. Miller  <davem@davemloft.net>
26071
26072         [BZ #14811]
26073         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26074         nonzero exponents with absolute value below 0x1p-128 to +/-
26075         0x1p-128.
26076
26077 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26078
26079         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26080
26081         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26082
26083         * posix/getconf-speclist.c: New file.
26084         * posix/posix-envs.def: Likewise.
26085         * posix/confstr.c (START_ENV_GROUP): New macro.
26086         (END_ENV_GROUP): Likewise.
26087         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26088         (KNOWN_PRESENT_ENV_STRING): Likewise.
26089         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26090         (UNKNOWN_ENVIRONMENT): Likewise.
26091         (confstr): Include posix-envs.def instead of handling
26092         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26093         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26094         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26095         (END_ENV_GROUP): Likewise.
26096         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26097         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26098         (UNKNOWN_ENVIRONMENT): Likewise.
26099         (__sysconf): Include posix-envs.def instead of handling associated
26100         cases directly here.
26101         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26102         preprocessing getconf-speclist.c rather than running getconf or
26103         generating empty file.
26104
26105 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26106
26107         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26108
26109 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26110
26111         [BZ #14672]
26112         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26113
26114 2012-11-16  David S. Miller  <davem@davemloft.net>
26115
26116         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26117         smaller than LDBL_EPSILON/2.0L, just return xm1.
26118
26119 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26120
26121         * elf/tst-array1.c (init): Set constructor priority to 1000.
26122         (fini): Set destructor priority to 1000.
26123         * elf/tst-array2dep.c: Likewise.
26124
26125 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26126
26127         [BZ #11741]
26128         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26129         (_IO_new_file_xsputn): Also return EOF if none of the input
26130         data was written when overflow failed.
26131         * libio/iopadn.c (_IO_padn): Likewise.
26132         * libio/iowpadn.c (_IO_wpadn): Likewise.
26133         * stdio-common/tst-put-error.c: Add copyright notice.
26134         (do_test): Add case for printing padded string.
26135         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26136         _IO_padn returned error.
26137         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26138         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26139         return EOF.
26140
26141 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26142
26143         * libio/libioP.h: Add comment note that the references to C++
26144         bits are now obsolete.
26145
26146 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26147
26148         * math/libm-test.inc (check_complex): Use asprintf.
26149
26150 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26151
26152         * debug/pcprofiledump.c (print_version): Update copyright year.
26153         * malloc/memusagestat.c (print_version): Likewise.
26154
26155 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26156
26157         [BZ #14831]
26158         * elf/Makefile (tests): Add tst-audit8.
26159         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26160         ($(objpfx)tst-audit8.out): New target.
26161         (tst-audit8-ENV): New variable.
26162         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26163         audit if l_reloc_result is NULL.
26164         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26165         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26166         * elf/tst-audit8.c: New file.
26167
26168 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26169
26170         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26171         * misc/Makefile (CFLAGS-select.c): Define.
26172         * posix/Makefile (CFLAGS-pause.c): Define.
26173
26174 2012-11-13  David S. Miller  <davem@davemloft.net>
26175
26176         * crypt/Makefile: Move test targets after toplevel Rules
26177         inclusion.  Grab any necessary sysdep routines when linking.
26178         * crypt/md5.c (md5_process_block): Remove define, we will always
26179         name it __md5_process_block.
26180         (md5_finish_ctx): Update md5_process_block call.
26181         (md5_stream): Likewise.
26182         (md5_process_bytes): Likewise.
26183         (md5_process_block): Rename to __md5_process_block and move to ...
26184         * crypt/md5-block.c: ... here.
26185         * crypt/sha256.c (sha256_process_block): Move to ...
26186         * crypt/sha256-block.c: ... here.
26187         * crypt/sha512.c (sha512_process_block): Move to ...
26188         * crypt/sha512-block.c: ... here.
26189         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26190         path.
26191         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26192         * sysdeps/sparc/sparc64/multiarch/Makefile
26193         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26194         crypt subdir.
26195         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26196         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26197         multiarch changes.
26198         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26199         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26200         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26201         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26202         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26203         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26204         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26205         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26206         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26207         file.
26208         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26209         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26210         file.
26211         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26212
26213 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26214
26215         * timezone/tzselect.ksh: Update from tzcode git revision
26216         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26217         * timezone/zdump.c: Likewise.
26218         * timezone/zic.c: Likewise.
26219         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26220         in TZVERSION setting, not $(PKGVERSION).
26221         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26222         REPORT_BUGS_TO settings.
26223
26224         [BZ #14838]
26225         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26226         macro.
26227
26228 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26229
26230         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26231         detection to immediately after _FP_ROUND().
26232         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26233         bits are 0.
26234
26235 2012-11-11  David S. Miller  <davem@davemloft.net>
26236
26237         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26238         inttypes.h
26239         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26240         __close rather than their public counterparts.
26241
26242 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26243
26244         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26245         file.
26246         [UNIX98] (sem_timedwait): Do not expect.
26247         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26248         [XPG4 || UNIX98] (sockatmark): Do not expect.
26249         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26250         (clock_getcpuclockid): Do not expect.
26251         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26252         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26253         Do not expect.
26254         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26255         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26256         [UNIX98] (vwscanf): Likewise.
26257         [UNIX98] (vswscanf): Likewise.
26258
26259 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26260
26261         * timezone/version.h: Remove file.
26262         * timezone/README: Do not refer to version.h.
26263         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26264         $(objpfx)version.h.
26265         ($(objpfx)zdump.o): Likewise.
26266         ($(objpfx)version.h): New target.
26267
26268         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26269         2012i.
26270         * timezone/README: Don't mention modification to tzselect.ksh.
26271         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26272         work on unmodified tzselect.ksh.  Substitute version numbers in
26273         tzselect.ksh.
26274
26275         * Makefile (format-me): Remove.
26276         (INSTALL): Adjust indentation.  Use commands directly instead of
26277         using $(format-me).
26278
26279         * aclocal.m4 (ACX_PKGVERSION): New macro.
26280         (ACX_BUGURL): Likewise.
26281         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26282         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26283         (REPORT_BUGS_TO): Likewise.
26284         * configure: Regenerated.
26285         * config.h.in (PKGVERSION): New macro.
26286         (REPORT_BUGS_TO): Likewise.
26287         * config.make.in (PKGVERSION): New variable.
26288         (PKGVERSION_TEXI): Likewise.
26289         (REPORT_BUGS_TO): Likewise.
26290         (REPORT_BUGS_TEXI): Likewise.
26291         * Makefile (format-me): Use -I$(common-objpfx)manual.
26292         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26293         ($(common-objpfx)manual/%): New target.
26294         (manual/%): Remove target.
26295         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26296         (print_version): Use PKGVERSION.
26297         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26298         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26299         and REPORT_BUGS_TO.
26300         ($(objpfx)xtrace): Likewise.
26301         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26302         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26303         (print_version): Use PKGVERSION.
26304         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26305         (do_version): Use PKGVERSION.
26306         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26307         REPORT_BUGS_TO.
26308         (common-ldd-rewrite): Likewise.
26309         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26310         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26311         (print_version): Use PKGVERSION.
26312         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26313         * elf/pldd.c (argp_program_bug_address): Remove variable.
26314         (more_help): New function.
26315         (argp): Use more_help.
26316         (print_version): Use PKGVERSION.
26317         * elf/sln.c (main): Use PKGVERSION.
26318         (usage): Use REPORT_BUGS_TO.
26319         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26320         (top level): Use PKGVERSION.
26321         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26322         (print_version): Use PKGVERSION.
26323         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26324         (print_version): Use PKGVERSION.
26325         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26326         (print_version): Use PKGVERSION.
26327         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26328         (print_version): Use PKGVERSION.
26329         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26330         (print_version): Use PKGVERSION.
26331         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26332         (print_version): Use PKGVERSION.
26333         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26334         and BUGURL.
26335         ($(objpfx)memusage): Likewise.
26336         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26337         (do_version): Use PKGVERSION.
26338         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26339         (print_version): Use PKGVERSION.
26340         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26341         ($PKGVERSION): New variable.
26342         ($REPORT_BUGS_TO): Likewise.
26343         (usage): Use $REPORT_BUGS_TO.
26344         (top level): Use $PKGVERSION.
26345         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26346         ($(objpfx)pkgvers.texi): New rule.
26347         ($(objpfx)stamp-pkgvers): Likewise.
26348         * manual/install.texi: Include pkgvers.texi.
26349         (--with-pkgversion): Document new configure option.
26350         (--with-bugurl): Likewise.
26351         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26352         than necessarily for this particular distribution.  Use
26353         REPORT_BUGS_TO for where to report bugs.
26354         * INSTALL: Regenerated.
26355         * manual/libc.texinfo: Include pkgvers.texi.
26356         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26357         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26358         (print_version): Use PKGVERSION.
26359         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26360         (print_version): Use PKGVERSION.
26361         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26362         (print_version): Use PKGVERSION.
26363         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26364         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26365         macro.
26366         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26367         (print_version): Use PKGVERSION.
26368         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26369         (print_version): Use PKGVERSION.
26370         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26371         and PKGVERSION.
26372
26373         * timezone/checktab.awk: Update from tzcode 2012i.
26374         * timezone/ialloc.c: Likewise.
26375         * timezone/private.h: Likewise.
26376         * timezone/scheck.c: Likewise.
26377         * timezone/tzfile.h: Likewise.
26378         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26379         (TZVERSION): Hardcode tzcode version number.
26380         * timezone/zdump.c: Update from tzcode 2012i.
26381         * timezone/zic.c: Likewise.
26382         * timezone/version.h: New file.
26383         * timezone/README: Describe version.h.  Update upstream location.
26384
26385         [BZ #14824]
26386         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26387         (mktemp): Enable declaration.
26388         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26390         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26392         Likewise.
26393         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26394         Likewise.
26395         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26396         Likewise.
26397         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26398         Likewise.
26399         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26400         Likewise.
26401         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26402         Likewise.
26403
26404         [BZ #14821]
26405         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26406         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26407         for copies of such integer values.
26408         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26409         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26410
26411 2012-11-09  Andreas Jaeger  <aj@suse.de>
26412
26413         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26414         definitions and declarations that are provided by
26415         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26416
26417 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26418
26419         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26420         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26421         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26422         definition.
26423
26424 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26425
26426         * elf/elf.h: Update comment before AArch64 relocations.
26427
26428 2012-11-07  David S. Miller  <davem@davemloft.net>
26429
26430         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26431         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26432         (__start_context): Declare.
26433         (__makecontext_ret): Delete.
26434         (__makecontext): Hook up __start_context instead of
26435         __makecontext_ret.
26436         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26437         (sysdep_routines): Add __start_context when in stdlib.
26438
26439 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26440
26441         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26442         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26443         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26444         hardcoded "nm".
26445         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26446         (READELF): New variable.  Use it instead of hardcoded "readelf".
26447
26448 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26449
26450         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26451         * sysdeps/x86/Makefile: Here.
26452         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26453         * sysdeps/x86/tst-xmmymm.sh: This.
26454
26455 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26456
26457         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26458         expectations.
26459         [UNIX98] (pthread_barrier_t): Do not expect.
26460         [UNIX98] (pthread_barrierattr_t): Likewise.
26461         [UNIX98] (pthread_spinlock_t): Likewise.
26462         [UNIX98] (pthread_barrier_destroy): Likewise.
26463         [UNIX98] (pthread_barrier_init): Likewise.
26464         [UNIX98] (pthread_barrier_wait): Likewise.
26465         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26466         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26467         [UNIX98] (pthread_barrierattr_init): Likewise.
26468         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26469         [UNIX98] (pthread_getcpuclockid): Likewise.
26470         [UNIX98] (pthread_mutex_timedlock): Likewise.
26471         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26472         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26473         [UNIX98] (pthread_sigmask): Likewise.
26474         [UNIX98] (pthread_spin_destroy): Likewise.
26475         [UNIX98] (pthread_spin_init): Likewise.
26476         [UNIX98] (pthread_spin_lock): Likewise.
26477         [UNIX98] (pthread_spin_trylock): Likewise.
26478         [UNIX98] (pthread_spin_unlock): Likewise.
26479         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26480         Do not expect.
26481         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26482         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26483         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26484         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26485         [XPG3 || XPG4] (pthread_key_t): Likewise.
26486         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26487         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26488         [XPG3 || XPG4] (pthread_once_t): Likewise.
26489         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26490         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26491         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26492         [XPG3 || XPG4] (pthread_t): Likewise.
26493
26494         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26495         not expect.
26496         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26497
26498         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26499         Change function return type to int.
26500
26501         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26502         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26503         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26504         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26505         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26506         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26507         [!POSIX] (posix_madvise): Likewise.
26508         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26509         && !UNIX98].
26510         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26511         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26512         (mode_t): Likewise.
26513         (posix_mem_offset): Likewise.
26514         (posix_typed_mem_get_info): Likewise.
26515         (posix_typed_mem_open): Likewise.
26516
26517         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26518         Change condition to [XOPEN2K8].
26519
26520         * conform/conformtest.pl: Preprocess allow-header data with -x c
26521         instead of from stdin.
26522         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26523         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26524         [C99-based standards] (cerfc): Likewise.
26525         [C99-based standards] (cexp2): Likewise.
26526         [C99-based standards] (cexpm1): Likewise.
26527         [C99-based standards] (clog10): Likewise.
26528         [C99-based standards] (clog1p): Likewise.
26529         [C99-based standards] (clog2): Likewise.
26530         [C99-based standards] (clgamma): Likewise.
26531         [C99-based standards] (ctgamma): Likewise.
26532         [C99-based standards] (cerff): Likewise.
26533         [C99-based standards] (cerfcf): Likewise.
26534         [C99-based standards] (cexp2f): Likewise.
26535         [C99-based standards] (cexpm1f): Likewise.
26536         [C99-based standards] (clog10f): Likewise.
26537         [C99-based standards] (clog1pf): Likewise.
26538         [C99-based standards] (clog2f): Likewise.
26539         [C99-based standards] (clgammaf): Likewise.
26540         [C99-based standards] (ctgammaf): Likewise.
26541         [C99-based standards] (cerfl): Likewise.
26542         [C99-based standards] (cerfcl): Likewise.
26543         [C99-based standards] (cexp2l): Likewise.
26544         [C99-based standards] (cexpm1l): Likewise.
26545         [C99-based standards] (clog10l): Likewise.
26546         [C99-based standards] (clog1pl): Likewise.
26547         [C99-based standards] (clog2l): Likewise.
26548         [C99-based standards] (clgammal): Likewise.
26549         [C99-based standards] (ctgammal): Likewise.
26550         * conform/data/inttypes.h-data [C99-based standards]: Include
26551         stdint.h-data.  Remove all expectations for stdint.h contents.
26552         [C99-based standards] (PRI*): Do not allow.
26553         [C99-based standards] (SCN*): Likewise.
26554         [C99-based standards] (*_t): Likewise.
26555         [C99-based-standards] (PRId8): Expect macro.
26556         [C99-based-standards] (PRIi8): Likewise.
26557         [C99-based-standards] (PRIo8): Likewise.
26558         [C99-based-standards] (PRIu8): Likewise.
26559         [C99-based-standards] (PRIx8): Likewise.
26560         [C99-based-standards] (PRIX8): Likewise.
26561         [C99-based-standards] (SCNd8): Likewise.
26562         [C99-based-standards] (SCNi8): Likewise.
26563         [C99-based-standards] (SCNo8): Likewise.
26564         [C99-based-standards] (SCNu8): Likewise.
26565         [C99-based-standards] (SCNx8): Likewise.
26566         [C99-based-standards] (PRIdLEAST8): Likewise.
26567         [C99-based-standards] (PRIiLEAST8): Likewise.
26568         [C99-based-standards] (PRIoLEAST8): Likewise.
26569         [C99-based-standards] (PRIuLEAST8): Likewise.
26570         [C99-based-standards] (PRIxLEAST8): Likewise.
26571         [C99-based-standards] (PRIXLEAST8): Likewise.
26572         [C99-based-standards] (SCNdLEAST8): Likewise.
26573         [C99-based-standards] (SCNiLEAST8): Likewise.
26574         [C99-based-standards] (SCNoLEAST8): Likewise.
26575         [C99-based-standards] (SCNuLEAST8): Likewise.
26576         [C99-based-standards] (SCNxLEAST8): Likewise.
26577         [C99-based-standards] (PRIdFAST8): Likewise.
26578         [C99-based-standards] (PRIiFAST8): Likewise.
26579         [C99-based-standards] (PRIoFAST8): Likewise.
26580         [C99-based-standards] (PRIuFAST8): Likewise.
26581         [C99-based-standards] (PRIxFAST8): Likewise.
26582         [C99-based-standards] (PRIXFAST8): Likewise.
26583         [C99-based-standards] (SCNdFAST8): Likewise.
26584         [C99-based-standards] (SCNiFAST8): Likewise.
26585         [C99-based-standards] (SCNoFAST8): Likewise.
26586         [C99-based-standards] (SCNuFAST8): Likewise.
26587         [C99-based-standards] (SCNxFAST8): Likewise.
26588         [C99-based-standards] (PRId16): Likewise.
26589         [C99-based-standards] (PRIi16): Likewise.
26590         [C99-based-standards] (PRIo16): Likewise.
26591         [C99-based-standards] (PRIu16): Likewise.
26592         [C99-based-standards] (PRIx16): Likewise.
26593         [C99-based-standards] (PRIX16): Likewise.
26594         [C99-based-standards] (SCNd16): Likewise.
26595         [C99-based-standards] (SCNi16): Likewise.
26596         [C99-based-standards] (SCNo16): Likewise.
26597         [C99-based-standards] (SCNu16): Likewise.
26598         [C99-based-standards] (SCNx16): Likewise.
26599         [C99-based-standards] (PRIdLEAST16): Likewise.
26600         [C99-based-standards] (PRIiLEAST16): Likewise.
26601         [C99-based-standards] (PRIoLEAST16): Likewise.
26602         [C99-based-standards] (PRIuLEAST16): Likewise.
26603         [C99-based-standards] (PRIxLEAST16): Likewise.
26604         [C99-based-standards] (PRIXLEAST16): Likewise.
26605         [C99-based-standards] (SCNdLEAST16): Likewise.
26606         [C99-based-standards] (SCNiLEAST16): Likewise.
26607         [C99-based-standards] (SCNoLEAST16): Likewise.
26608         [C99-based-standards] (SCNuLEAST16): Likewise.
26609         [C99-based-standards] (SCNxLEAST16): Likewise.
26610         [C99-based-standards] (PRIdFAST16): Likewise.
26611         [C99-based-standards] (PRIiFAST16): Likewise.
26612         [C99-based-standards] (PRIoFAST16): Likewise.
26613         [C99-based-standards] (PRIuFAST16): Likewise.
26614         [C99-based-standards] (PRIxFAST16): Likewise.
26615         [C99-based-standards] (PRIXFAST16): Likewise.
26616         [C99-based-standards] (SCNdFAST16): Likewise.
26617         [C99-based-standards] (SCNiFAST16): Likewise.
26618         [C99-based-standards] (SCNoFAST16): Likewise.
26619         [C99-based-standards] (SCNuFAST16): Likewise.
26620         [C99-based-standards] (SCNxFAST16): Likewise.
26621         [C99-based-standards] (PRId32): Likewise.
26622         [C99-based-standards] (PRIi32): Likewise.
26623         [C99-based-standards] (PRIo32): Likewise.
26624         [C99-based-standards] (PRIu32): Likewise.
26625         [C99-based-standards] (PRIx32): Likewise.
26626         [C99-based-standards] (PRIX32): Likewise.
26627         [C99-based-standards] (SCNd32): Likewise.
26628         [C99-based-standards] (SCNi32): Likewise.
26629         [C99-based-standards] (SCNo32): Likewise.
26630         [C99-based-standards] (SCNu32): Likewise.
26631         [C99-based-standards] (SCNx32): Likewise.
26632         [C99-based-standards] (PRIdLEAST32): Likewise.
26633         [C99-based-standards] (PRIiLEAST32): Likewise.
26634         [C99-based-standards] (PRIoLEAST32): Likewise.
26635         [C99-based-standards] (PRIuLEAST32): Likewise.
26636         [C99-based-standards] (PRIxLEAST32): Likewise.
26637         [C99-based-standards] (PRIXLEAST32): Likewise.
26638         [C99-based-standards] (SCNdLEAST32): Likewise.
26639         [C99-based-standards] (SCNiLEAST32): Likewise.
26640         [C99-based-standards] (SCNoLEAST32): Likewise.
26641         [C99-based-standards] (SCNuLEAST32): Likewise.
26642         [C99-based-standards] (SCNxLEAST32): Likewise.
26643         [C99-based-standards] (PRIdFAST32): Likewise.
26644         [C99-based-standards] (PRIiFAST32): Likewise.
26645         [C99-based-standards] (PRIoFAST32): Likewise.
26646         [C99-based-standards] (PRIuFAST32): Likewise.
26647         [C99-based-standards] (PRIxFAST32): Likewise.
26648         [C99-based-standards] (PRIXFAST32): Likewise.
26649         [C99-based-standards] (SCNdFAST32): Likewise.
26650         [C99-based-standards] (SCNiFAST32): Likewise.
26651         [C99-based-standards] (SCNoFAST32): Likewise.
26652         [C99-based-standards] (SCNuFAST32): Likewise.
26653         [C99-based-standards] (SCNxFAST32): Likewise.
26654         [C99-based-standards] (PRId64): Likewise.
26655         [C99-based-standards] (PRIi64): Likewise.
26656         [C99-based-standards] (PRIo64): Likewise.
26657         [C99-based-standards] (PRIu64): Likewise.
26658         [C99-based-standards] (PRIx64): Likewise.
26659         [C99-based-standards] (PRIX64): Likewise.
26660         [C99-based-standards] (SCNd64): Likewise.
26661         [C99-based-standards] (SCNi64): Likewise.
26662         [C99-based-standards] (SCNo64): Likewise.
26663         [C99-based-standards] (SCNu64): Likewise.
26664         [C99-based-standards] (SCNx64): Likewise.
26665         [C99-based-standards] (PRIdLEAST64): Likewise.
26666         [C99-based-standards] (PRIiLEAST64): Likewise.
26667         [C99-based-standards] (PRIoLEAST64): Likewise.
26668         [C99-based-standards] (PRIuLEAST64): Likewise.
26669         [C99-based-standards] (PRIxLEAST64): Likewise.
26670         [C99-based-standards] (PRIXLEAST64): Likewise.
26671         [C99-based-standards] (SCNdLEAST64): Likewise.
26672         [C99-based-standards] (SCNiLEAST64): Likewise.
26673         [C99-based-standards] (SCNoLEAST64): Likewise.
26674         [C99-based-standards] (SCNuLEAST64): Likewise.
26675         [C99-based-standards] (SCNxLEAST64): Likewise.
26676         [C99-based-standards] (PRIdFAST64): Likewise.
26677         [C99-based-standards] (PRIiFAST64): Likewise.
26678         [C99-based-standards] (PRIoFAST64): Likewise.
26679         [C99-based-standards] (PRIuFAST64): Likewise.
26680         [C99-based-standards] (PRIxFAST64): Likewise.
26681         [C99-based-standards] (PRIXFAST64): Likewise.
26682         [C99-based-standards] (SCNdFAST64): Likewise.
26683         [C99-based-standards] (SCNiFAST64): Likewise.
26684         [C99-based-standards] (SCNoFAST64): Likewise.
26685         [C99-based-standards] (SCNuFAST64): Likewise.
26686         [C99-based-standards] (SCNxFAST64): Likewise.
26687         [C99-based-standards] (PRIdMAX): Likewise.
26688         [C99-based-standards] (PRIiMAX): Likewise.
26689         [C99-based-standards] (PRIoMAX): Likewise.
26690         [C99-based-standards] (PRIuMAX): Likewise.
26691         [C99-based-standards] (PRIxMAX): Likewise.
26692         [C99-based-standards] (PRIXMAX): Likewise.
26693         [C99-based-standards] (SCNdMAX): Likewise.
26694         [C99-based-standards] (SCNiMAX): Likewise.
26695         [C99-based-standards] (SCNoMAX): Likewise.
26696         [C99-based-standards] (SCNuMAX): Likewise.
26697         [C99-based-standards] (SCNxMAX): Likewise.
26698         [C99-based-standards] (PRIdPTR): Likewise.
26699         [C99-based-standards] (PRIiPTR): Likewise.
26700         [C99-based-standards] (PRIoPTR): Likewise.
26701         [C99-based-standards] (PRIuPTR): Likewise.
26702         [C99-based-standards] (PRIxPTR): Likewise.
26703         [C99-based-standards] (PRIXPTR): Likewise.
26704         [C99-based-standards] (SCNdPTR): Likewise.
26705         [C99-based-standards] (SCNiPTR): Likewise.
26706         [C99-based-standards] (SCNoPTR): Likewise.
26707         [C99-based-standards] (SCNuPTR): Likewise.
26708         [C99-based-standards] (SCNxPTR): Likewise.
26709         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26710         allow.
26711         * conform/data/stdint.h-data: Update comments to clarify
26712         requirements.
26713         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26714         type.
26715         [C99-based standards] (INT8_MAX): Likewise.
26716         [C99-based standards] (INT16_MIN): Likewise.
26717         [C99-based standards] (INT16_MAX): Likewise.
26718         [C99-based standards] (INT32_MIN): Likewise.
26719         [C99-based standards] (INT32_MAX): Likewise.
26720         [C99-based standards] (INT64_MIN): Likewise.
26721         [C99-based standards] (INT64_MAX): Likewise.
26722         [C99-based standards] (UINT8_MAX): Likewise.
26723         [C99-based standards] (UINT16_MAX): Likewise.
26724         [C99-based standards] (UINT32_MAX): Likewise.
26725         [C99-based standards] (UINT64_MAX): Likewise.
26726         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26727         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26728         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26729         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26730         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26731         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26732         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26733         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26734         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26735         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26736         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26737         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26738         [C99-based standards] (INT_FAST8_MIN): Likewise.
26739         [C99-based standards] (INT_FAST8_MAX): Likewise.
26740         [C99-based standards] (INT_FAST16_MIN): Likewise.
26741         [C99-based standards] (INT_FAST16_MAX): Likewise.
26742         [C99-based standards] (INT_FAST32_MIN): Likewise.
26743         [C99-based standards] (INT_FAST32_MAX): Likewise.
26744         [C99-based standards] (INT_FAST64_MIN): Likewise.
26745         [C99-based standards] (INT_FAST64_MAX): Likewise.
26746         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26747         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26748         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26749         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26750         [C99-based standards] (INTPTR_MIN): Likewise.
26751         [C99-based standards] (INTPTR_MAX): Likewise.
26752         [C99-based standards] (UINTPTR_MAX): Likewise.
26753         [C99-based standards] (INTMAX_MIN): Likewise.
26754         [C99-based standards] (INTMAX_MAX): Likewise.
26755         [C99-based standards] (UINTMAX_MAX): Likewise.
26756         [C99-based standards] (PTRDIFF_MIN): Likewise.
26757         [C99-based standards] (PTRDIFF_MAX): Likewise.
26758         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26759         [C99-based standards] (SIZE_MAX): Likewise.
26760         [C99-based standards] (WCHAR_MAX): Likewise.
26761         [C99-based standards] (WINT_MAX): Likewise.
26762         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26763         constraint on value.
26764         [C99-based standards] (WCHAR_MIN): Likewise.
26765         [C99-based standards] (WINT_MIN): Likewise.
26766         [C99-based standards] (*_t): Allow.
26767         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26768         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26769         Include math.h-data and complex.h-data.  Remove all expectations
26770         of math.h and complex.h contents.
26771         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26772         at end of line.
26773         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26774         (struct tm): Expect tag.
26775         [C99-based-standards] (wcstof): Expect function.
26776         [C99-based-standards] (wcstold): Likewise.
26777         [C99-based-standards] (wcstoll): Likewise.
26778         [C99-based-standards] (wcstoull): Likewise.
26779         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26780         macro-int-constant.  Specify type.
26781         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26782         constraint on value.
26783         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26784         Specify type.
26785         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26786         Specify value.
26787         [ISO C standards]: Do not allow headers.
26788         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26789         wcs[abcdefghijklmnopqrstuvwxyz]*.
26790         [ISO C standards] (*_t): Do not allow.
26791         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26792         Expect function.
26793         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26794         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26795         Specify type.
26796         [ISO C standards]: Do not allow headers.
26797         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26798         is[abcdefghijklmnopqrstuvwxyz]*.
26799         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26800         to[abcdefghijklmnopqrstuvwxyz]*.
26801         [ISO C standards] (*_t): Do not allow.
26802         * conform/data/stdalign.h-data: New file.
26803         * conform/data/stdbool.h-data: Likewise.
26804         * conform/data/stdnoreturn.h-data: Likewise.
26805
26806 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26807
26808         [BZ #14815]
26809         * manual/filesys.texi (Directory Entries): Typo fix.
26810         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26811
26812 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26813
26814         * elf/elf.h (EM_AARCH64): New macro.
26815         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26816         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26817         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26818         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26819         (R_AARCH64_TLSDESC): Likewise.
26820         (NT_ARM_TLS): Likewise.
26821         (NT_ARM_HW_BREAK): Likewise.
26822         (NT_ARM_HW_WATCH): Likewise.
26823
26824 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26825
26826         [BZ #14811]
26827         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26828         (__ieee754_powl): Saturate nonzero exponents with absolute value
26829         below 0x1p-79 to +/- 0x1p-79.
26830         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26831         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26832         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26833         nonzero exponents with absolute value below 0x1p-32 to +/-
26834         0x1p-32.
26835         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26836         (__ieee754_powl): Saturate nonzero exponents with absolute value
26837         below 0x1p-79 to +/- 0x1p-79.
26838         * math/libm-test.inc (pow_test): Add more tests.
26839
26840 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26841
26842         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26843         _dl_s390_cap_flags with kernel. Increase string length.
26844         (_dl_s390_platforms): Add z196 and zEC12.
26845
26846 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26847
26848         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26849         Change XOPEN21K to XOPEN2K.
26850
26851 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26852
26853         * string/memmove.c: Use memcpy when possible.
26854
26855 2012-11-06  Andreas Jaeger  <aj@suse.de>
26856
26857         * po/eo.po: Update from translation team.
26858
26859 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26860
26861         [BZ #14793]
26862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26863         exponent and small x and y exponents, scale x or y up.  Increase
26864         by 2 the exponent used in scaling up.
26865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26867         * math/libm-test.inc (fma_test): Add more tests.
26868         (fma_test_towardzero): Likewise.
26869         (fma_test_downward): Likewise.
26870         (fma_test_upward): Likewise.
26871
26872 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26873
26874         [BZ #14805]
26875         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26876         fenv_t *.
26877
26878         [BZ #14801]
26879         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26880         namespace for names of struct fields.
26881         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26882         fenv_t fields.
26883         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26884         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26885
26886 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26887
26888         [BZ #3665]
26889         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26890
26891 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26892
26893         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26894         PTR_DEMANGLE.
26895
26896         [BZ #5246]
26897         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26898         PTR_DEMANGLE.
26899
26900 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26901
26902         [BZ #14797]
26903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26904         definitely overflow as x * y not x * y + z.
26905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26906         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26907         * math/libm-test.inc (fma_test): Add more tests.
26908         (fma_test_towardzero): Likewise.
26909         (fma_test_downward): Likewise.
26910         (fma_test_upward): Likewise.
26911
26912 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26913
26914         [BZ #157]
26915
26916         * include/stub-tag.h: Remove file.
26917         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26918         '#include' of it.
26919         * manual/maint.texi (Porting): Don't reference it.
26920         * Makerules ($(objpfx)stubs): Likewise.
26921         * dirent/closedir.c: Don't include <stub-tag.h>.
26922         * dirent/dirfd.c: Likewise.
26923         * dirent/fdopendir.c: Likewise.
26924         * dirent/getdents.c: Likewise.
26925         * dirent/getdents64.c: Likewise.
26926         * dirent/opendir.c: Likewise.
26927         * dirent/readdir.c: Likewise.
26928         * dirent/readdir64.c: Likewise.
26929         * dirent/readdir64_r.c: Likewise.
26930         * dirent/readdir_r.c: Likewise.
26931         * dirent/rewinddir.c: Likewise.
26932         * dirent/seekdir.c: Likewise.
26933         * dirent/telldir.c: Likewise.
26934         * gmon/profil.c: Likewise.
26935         * grp/setgroups.c: Likewise.
26936         * inet/if_index.c: Likewise.
26937         * io/access.c: Likewise.
26938         * io/chdir.c: Likewise.
26939         * io/chmod.c: Likewise.
26940         * io/chown.c: Likewise.
26941         * io/close.c: Likewise.
26942         * io/dup.c: Likewise.
26943         * io/dup2.c: Likewise.
26944         * io/dup3.c: Likewise.
26945         * io/euidaccess.c: Likewise.
26946         * io/faccessat.c: Likewise.
26947         * io/fchdir.c: Likewise.
26948         * io/fchmod.c: Likewise.
26949         * io/fchmodat.c: Likewise.
26950         * io/fchown.c: Likewise.
26951         * io/fchownat.c: Likewise.
26952         * io/fcntl.c: Likewise.
26953         * io/flock.c: Likewise.
26954         * io/fstatfs.c: Likewise.
26955         * io/fstatfs64.c: Likewise.
26956         * io/fstatvfs.c: Likewise.
26957         * io/fstatvfs64.c: Likewise.
26958         * io/futimens.c: Likewise.
26959         * io/fxstat.c: Likewise.
26960         * io/fxstat64.c: Likewise.
26961         * io/fxstatat.c: Likewise.
26962         * io/fxstatat64.c: Likewise.
26963         * io/getcwd.c: Likewise.
26964         * io/isatty.c: Likewise.
26965         * io/lchmod.c: Likewise.
26966         * io/lchown.c: Likewise.
26967         * io/link.c: Likewise.
26968         * io/linkat.c: Likewise.
26969         * io/lseek.c: Likewise.
26970         * io/lseek64.c: Likewise.
26971         * io/lxstat64.c: Likewise.
26972         * io/mkdir.c: Likewise.
26973         * io/mkdirat.c: Likewise.
26974         * io/mkfifo.c: Likewise.
26975         * io/mkfifoat.c: Likewise.
26976         * io/open.c: Likewise.
26977         * io/open64.c: Likewise.
26978         * io/openat.c: Likewise.
26979         * io/openat64.c: Likewise.
26980         * io/pipe.c: Likewise.
26981         * io/pipe2.c: Likewise.
26982         * io/poll.c: Likewise.
26983         * io/posix_fadvise.c: Likewise.
26984         * io/posix_fadvise64.c: Likewise.
26985         * io/posix_fallocate.c: Likewise.
26986         * io/posix_fallocate64.c: Likewise.
26987         * io/read.c: Likewise.
26988         * io/readlink.c: Likewise.
26989         * io/readlinkat.c: Likewise.
26990         * io/rmdir.c: Likewise.
26991         * io/sendfile.c: Likewise.
26992         * io/sendfile64.c: Likewise.
26993         * io/statfs.c: Likewise.
26994         * io/statfs64.c: Likewise.
26995         * io/statvfs.c: Likewise.
26996         * io/statvfs64.c: Likewise.
26997         * io/symlink.c: Likewise.
26998         * io/symlinkat.c: Likewise.
26999         * io/ttyname.c: Likewise.
27000         * io/ttyname_r.c: Likewise.
27001         * io/umask.c: Likewise.
27002         * io/unlink.c: Likewise.
27003         * io/unlinkat.c: Likewise.
27004         * io/utime.c: Likewise.
27005         * io/utimensat.c: Likewise.
27006         * io/write.c: Likewise.
27007         * io/xmknod.c: Likewise.
27008         * io/xmknodat.c: Likewise.
27009         * io/xstat.c: Likewise.
27010         * io/xstat64.c: Likewise.
27011         * login/getpt.c: Likewise.
27012         * login/grantpt.c: Likewise.
27013         * login/unlockpt.c: Likewise.
27014         * math/e_acoshl.c: Likewise.
27015         * math/e_acosl.c: Likewise.
27016         * math/e_asinl.c: Likewise.
27017         * math/e_atan2l.c: Likewise.
27018         * math/e_atanhl.c: Likewise.
27019         * math/e_coshl.c: Likewise.
27020         * math/e_expl.c: Likewise.
27021         * math/e_fmodl.c: Likewise.
27022         * math/e_gammal_r.c: Likewise.
27023         * math/e_hypotl.c: Likewise.
27024         * math/e_j0l.c: Likewise.
27025         * math/e_j1l.c: Likewise.
27026         * math/e_jnl.c: Likewise.
27027         * math/e_lgammal_r.c: Likewise.
27028         * math/e_log10l.c: Likewise.
27029         * math/e_log2l.c: Likewise.
27030         * math/e_logl.c: Likewise.
27031         * math/e_powl.c: Likewise.
27032         * math/e_rem_pio2l.c: Likewise.
27033         * math/e_sinhl.c: Likewise.
27034         * math/e_sqrtl.c: Likewise.
27035         * math/fclrexcpt.c: Likewise.
27036         * math/fedisblxcpt.c: Likewise.
27037         * math/feenablxcpt.c: Likewise.
27038         * math/fegetenv.c: Likewise.
27039         * math/fegetexcept.c: Likewise.
27040         * math/fegetround.c: Likewise.
27041         * math/feholdexcpt.c: Likewise.
27042         * math/fesetenv.c: Likewise.
27043         * math/fesetround.c: Likewise.
27044         * math/feupdateenv.c: Likewise.
27045         * math/fgetexcptflg.c: Likewise.
27046         * math/fraiseexcpt.c: Likewise.
27047         * math/fsetexcptflg.c: Likewise.
27048         * math/ftestexcept.c: Likewise.
27049         * math/k_cosl.c: Likewise.
27050         * math/k_rem_pio2l.c: Likewise.
27051         * math/k_sinl.c: Likewise.
27052         * math/k_tanl.c: Likewise.
27053         * math/s_asinhl.c: Likewise.
27054         * math/s_atanl.c: Likewise.
27055         * math/s_cbrtl.c: Likewise.
27056         * math/s_erfl.c: Likewise.
27057         * math/s_expm1l.c: Likewise.
27058         * math/s_log1pl.c: Likewise.
27059         * math/s_tanhl.c: Likewise.
27060         * misc/acct.c: Likewise.
27061         * misc/brk.c: Likewise.
27062         * misc/chflags.c: Likewise.
27063         * misc/chroot.c: Likewise.
27064         * misc/fchflags.c: Likewise.
27065         * misc/fgetxattr.c: Likewise.
27066         * misc/flistxattr.c: Likewise.
27067         * misc/fremovexattr.c: Likewise.
27068         * misc/fsetxattr.c: Likewise.
27069         * misc/fsync.c: Likewise.
27070         * misc/ftruncate.c: Likewise.
27071         * misc/futimes.c: Likewise.
27072         * misc/futimesat.c: Likewise.
27073         * misc/getdomain.c: Likewise.
27074         * misc/getdtsz.c: Likewise.
27075         * misc/gethostid.c: Likewise.
27076         * misc/gethostname.c: Likewise.
27077         * misc/getloadavg.c: Likewise.
27078         * misc/getpagesize.c: Likewise.
27079         * misc/getsysstats.c: Likewise.
27080         * misc/getxattr.c: Likewise.
27081         * misc/gtty.c: Likewise.
27082         * misc/ioctl.c: Likewise.
27083         * misc/lgetxattr.c: Likewise.
27084         * misc/listxattr.c: Likewise.
27085         * misc/llistxattr.c: Likewise.
27086         * misc/lremovexattr.c: Likewise.
27087         * misc/lsetxattr.c: Likewise.
27088         * misc/lutimes.c: Likewise.
27089         * misc/madvise.c: Likewise.
27090         * misc/mincore.c: Likewise.
27091         * misc/mlock.c: Likewise.
27092         * misc/mlockall.c: Likewise.
27093         * misc/mmap.c: Likewise.
27094         * misc/mprotect.c: Likewise.
27095         * misc/msync.c: Likewise.
27096         * misc/munlock.c: Likewise.
27097         * misc/munlockall.c: Likewise.
27098         * misc/munmap.c: Likewise.
27099         * misc/preadv.c: Likewise.
27100         * misc/preadv64.c: Likewise.
27101         * misc/ptrace.c: Likewise.
27102         * misc/pwritev.c: Likewise.
27103         * misc/pwritev64.c: Likewise.
27104         * misc/readv.c: Likewise.
27105         * misc/reboot.c: Likewise.
27106         * misc/remap_file_pages.c: Likewise.
27107         * misc/removexattr.c: Likewise.
27108         * misc/revoke.c: Likewise.
27109         * misc/select.c: Likewise.
27110         * misc/setdomain.c: Likewise.
27111         * misc/setegid.c: Likewise.
27112         * misc/seteuid.c: Likewise.
27113         * misc/sethostid.c: Likewise.
27114         * misc/sethostname.c: Likewise.
27115         * misc/setregid.c: Likewise.
27116         * misc/setreuid.c: Likewise.
27117         * misc/setxattr.c: Likewise.
27118         * misc/sstk.c: Likewise.
27119         * misc/stty.c: Likewise.
27120         * misc/swapoff.c: Likewise.
27121         * misc/swapon.c: Likewise.
27122         * misc/sync.c: Likewise.
27123         * misc/syncfs.c: Likewise.
27124         * misc/syscall.c: Likewise.
27125         * misc/truncate.c: Likewise.
27126         * misc/ualarm.c: Likewise.
27127         * misc/usleep.c: Likewise.
27128         * misc/ustat.c: Likewise.
27129         * misc/utimes.c: Likewise.
27130         * misc/vhangup.c: Likewise.
27131         * misc/writev.c: Likewise.
27132         * posix/_exit.c: Likewise.
27133         * posix/alarm.c: Likewise.
27134         * posix/execve.c: Likewise.
27135         * posix/fexecve.c: Likewise.
27136         * posix/fork.c: Likewise.
27137         * posix/fpathconf.c: Likewise.
27138         * posix/getaddrinfo.c: Likewise.
27139         * posix/getegid.c: Likewise.
27140         * posix/geteuid.c: Likewise.
27141         * posix/getgid.c: Likewise.
27142         * posix/getgroups.c: Likewise.
27143         * posix/getlogin.c: Likewise.
27144         * posix/getlogin_r.c: Likewise.
27145         * posix/getpgid.c: Likewise.
27146         * posix/getpid.c: Likewise.
27147         * posix/getppid.c: Likewise.
27148         * posix/getresgid.c: Likewise.
27149         * posix/getresuid.c: Likewise.
27150         * posix/getsid.c: Likewise.
27151         * posix/getuid.c: Likewise.
27152         * posix/glob64.c: Likewise.
27153         * posix/nanosleep.c: Likewise.
27154         * posix/pathconf.c: Likewise.
27155         * posix/pause.c: Likewise.
27156         * posix/posix_madvise.c: Likewise.
27157         * posix/pread.c: Likewise.
27158         * posix/pread64.c: Likewise.
27159         * posix/pwrite.c: Likewise.
27160         * posix/pwrite64.c: Likewise.
27161         * posix/sched_getaffinity.c: Likewise.
27162         * posix/sched_getp.c: Likewise.
27163         * posix/sched_gets.c: Likewise.
27164         * posix/sched_primax.c: Likewise.
27165         * posix/sched_primin.c: Likewise.
27166         * posix/sched_rr_gi.c: Likewise.
27167         * posix/sched_setaffinity.c: Likewise.
27168         * posix/sched_setp.c: Likewise.
27169         * posix/sched_sets.c: Likewise.
27170         * posix/sched_yield.c: Likewise.
27171         * posix/setgid.c: Likewise.
27172         * posix/setlogin.c: Likewise.
27173         * posix/setpgid.c: Likewise.
27174         * posix/setresgid.c: Likewise.
27175         * posix/setresuid.c: Likewise.
27176         * posix/setsid.c: Likewise.
27177         * posix/setuid.c: Likewise.
27178         * posix/sleep.c: Likewise.
27179         * posix/spawni.c: Likewise.
27180         * posix/sysconf.c: Likewise.
27181         * posix/times.c: Likewise.
27182         * posix/wait.c: Likewise.
27183         * posix/wait3.c: Likewise.
27184         * posix/wait4.c: Likewise.
27185         * posix/waitpid.c: Likewise.
27186         * resolv/gai_sigqueue.c: Likewise.
27187         * resource/getpriority.c: Likewise.
27188         * resource/getrlimit.c: Likewise.
27189         * resource/getrusage.c: Likewise.
27190         * resource/nice.c: Likewise.
27191         * resource/setpriority.c: Likewise.
27192         * resource/setrlimit.c: Likewise.
27193         * resource/ulimit.c: Likewise.
27194         * rt/aio_cancel.c: Likewise.
27195         * rt/aio_fsync.c: Likewise.
27196         * rt/aio_read.c: Likewise.
27197         * rt/aio_sigqueue.c: Likewise.
27198         * rt/aio_suspend.c: Likewise.
27199         * rt/aio_write.c: Likewise.
27200         * rt/clock_getres.c: Likewise.
27201         * rt/clock_gettime.c: Likewise.
27202         * rt/clock_nanosleep.c: Likewise.
27203         * rt/clock_settime.c: Likewise.
27204         * rt/lio_listio.c: Likewise.
27205         * rt/mq_close.c: Likewise.
27206         * rt/mq_getattr.c: Likewise.
27207         * rt/mq_notify.c: Likewise.
27208         * rt/mq_open.c: Likewise.
27209         * rt/mq_receive.c: Likewise.
27210         * rt/mq_send.c: Likewise.
27211         * rt/mq_setattr.c: Likewise.
27212         * rt/mq_timedreceive.c: Likewise.
27213         * rt/mq_timedsend.c: Likewise.
27214         * rt/mq_unlink.c: Likewise.
27215         * rt/shm_open.c: Likewise.
27216         * rt/shm_unlink.c: Likewise.
27217         * rt/timer_create.c: Likewise.
27218         * rt/timer_delete.c: Likewise.
27219         * rt/timer_getoverr.c: Likewise.
27220         * rt/timer_gettime.c: Likewise.
27221         * rt/timer_settime.c: Likewise.
27222         * setjmp/__longjmp.c: Likewise.
27223         * setjmp/setjmp.c: Likewise.
27224         * signal/kill.c: Likewise.
27225         * signal/killpg.c: Likewise.
27226         * signal/raise.c: Likewise.
27227         * signal/sigaction.c: Likewise.
27228         * signal/sigaltstack.c: Likewise.
27229         * signal/sigblock.c: Likewise.
27230         * signal/sigignore.c: Likewise.
27231         * signal/sigintr.c: Likewise.
27232         * signal/signal.c: Likewise.
27233         * signal/sigpause.c: Likewise.
27234         * signal/sigpending.c: Likewise.
27235         * signal/sigqueue.c: Likewise.
27236         * signal/sigreturn.c: Likewise.
27237         * signal/sigset.c: Likewise.
27238         * signal/sigsetmask.c: Likewise.
27239         * signal/sigstack.c: Likewise.
27240         * signal/sigsuspend.c: Likewise.
27241         * signal/sigtimedwait.c: Likewise.
27242         * signal/sigvec.c: Likewise.
27243         * signal/sigwait.c: Likewise.
27244         * signal/sigwaitinfo.c: Likewise.
27245         * signal/sysv_signal.c: Likewise.
27246         * socket/accept.c: Likewise.
27247         * socket/accept4.c: Likewise.
27248         * socket/bind.c: Likewise.
27249         * socket/connect.c: Likewise.
27250         * socket/getpeername.c: Likewise.
27251         * socket/getsockname.c: Likewise.
27252         * socket/getsockopt.c: Likewise.
27253         * socket/isfdtype.c: Likewise.
27254         * socket/listen.c: Likewise.
27255         * socket/recv.c: Likewise.
27256         * socket/recvfrom.c: Likewise.
27257         * socket/recvmsg.c: Likewise.
27258         * socket/send.c: Likewise.
27259         * socket/sendmsg.c: Likewise.
27260         * socket/sendto.c: Likewise.
27261         * socket/setsockopt.c: Likewise.
27262         * socket/shutdown.c: Likewise.
27263         * socket/sockatmark.c: Likewise.
27264         * socket/socket.c: Likewise.
27265         * socket/socketpair.c: Likewise.
27266         * stdio-common/ctermid.c: Likewise.
27267         * stdio-common/cuserid.c: Likewise.
27268         * stdio-common/remove.c: Likewise.
27269         * stdio-common/rename.c: Likewise.
27270         * stdio-common/renameat.c: Likewise.
27271         * stdio-common/tempname.c: Likewise.
27272         * stdlib/getcontext.c: Likewise.
27273         * stdlib/makecontext.c: Likewise.
27274         * stdlib/setcontext.c: Likewise.
27275         * stdlib/swapcontext.c: Likewise.
27276         * stdlib/system.c: Likewise.
27277         * streams/fattach.c: Likewise.
27278         * streams/fdetach.c: Likewise.
27279         * streams/getmsg.c: Likewise.
27280         * streams/getpmsg.c: Likewise.
27281         * streams/putmsg.c: Likewise.
27282         * streams/putpmsg.c: Likewise.
27283         * sysdeps/unix/bsd/getpt.c: Likewise.
27284         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27285         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27286         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27288         Likewise.
27289         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27290         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27291         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27292         * sysvipc/msgctl.c: Likewise.
27293         * sysvipc/msgget.c: Likewise.
27294         * sysvipc/msgrcv.c: Likewise.
27295         * sysvipc/msgsnd.c: Likewise.
27296         * sysvipc/semctl.c: Likewise.
27297         * sysvipc/semget.c: Likewise.
27298         * sysvipc/semop.c: Likewise.
27299         * sysvipc/semtimedop.c: Likewise.
27300         * sysvipc/shmat.c: Likewise.
27301         * sysvipc/shmctl.c: Likewise.
27302         * sysvipc/shmdt.c: Likewise.
27303         * sysvipc/shmget.c: Likewise.
27304         * termios/tcdrain.c: Likewise.
27305         * termios/tcflow.c: Likewise.
27306         * termios/tcflush.c: Likewise.
27307         * termios/tcgetattr.c: Likewise.
27308         * termios/tcgetpgrp.c: Likewise.
27309         * termios/tcsendbrk.c: Likewise.
27310         * termios/tcsetattr.c: Likewise.
27311         * termios/tcsetpgrp.c: Likewise.
27312         * time/adjtime.c: Likewise.
27313         * time/clock.c: Likewise.
27314         * time/getitimer.c: Likewise.
27315         * time/gettimeofday.c: Likewise.
27316         * time/setitimer.c: Likewise.
27317         * time/settimeofday.c: Likewise.
27318         * time/stime.c: Likewise.
27319         * time/time.c: Likewise.
27320
27321 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27322
27323         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27324         /usr/old/bin.
27325
27326         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27327         instead of spaces.
27328         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27329
27330 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27331
27332         [BZ #14796]
27333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27334         FE_TONEAREST before applying Dekker multiplication and Knuth
27335         addition.  Clear inexact exceptions and check for exact zero
27336         results afterwards.
27337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27338         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27340         * math/libm-test.inc (fma_test): Add more tests.
27341         (fma_test_towardzero): Likewise.
27342         (fma_test_downward): Likewise.
27343         (fma_test_upward): Likewise.
27344         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27345         function.
27346         (libc_fesetround): New macro.
27347         (libc_fesetroundf): Likewise.
27348         (libc_fesetroundl): Likewise.
27349         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27350         function.
27351         (libc_fesetround_387): Likewise.
27352         (libc_fesetroundf): New macro.
27353         (libc_fesetround): Likewise.
27354         (libc_fesetroundl): Likewise.
27355         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27356         function.
27357         (libc_fesetroundf): New macro.
27358         (libc_fesetround): Likewise.
27359         (libc_fesetroundl): Likewise.
27360         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27361         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27362         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27363         libm_hidden_ver.
27364         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27365         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27366         libm_hidden_def.
27367         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27368         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27369         libm_hidden_ver.
27370         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27371         libm_hidden_def.
27372
27373         [BZ #3439]
27374         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27375         integer constant usable in #if and use that to give value to enum
27376         constant.
27377         (FE_DIVBYZERO): Likewise.
27378         (FE_UNDERFLOW): Likewise.
27379         (FE_OVERFLOW): Likewise.
27380         (FE_INVALID): Likewise.
27381         (FE_INVALID_SNAN): Likewise.
27382         (FE_INVALID_ISI): Likewise.
27383         (FE_INVALID_IDI): Likewise.
27384         (FE_INVALID_ZDZ): Likewise.
27385         (FE_INVALID_IMZ): Likewise.
27386         (FE_INVALID_COMPARE): Likewise.
27387         (FE_INVALID_SOFTWARE): Likewise.
27388         (FE_INVALID_SQRT): Likewise.
27389         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27390         (FE_TONEAREST): Likewise.
27391         (FE_TOWARDZERO): Likewise.
27392         (FE_UPWARD): Likewise.
27393         (FE_DOWNWARD): Likewise.
27394         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27395         (FE_DIVBYZERO): Likewise.
27396         (FE_OVERFLOW): Likewise.
27397         (FE_UNDERFLOW): Likewise.
27398         (FE_INEXACT): Likewise.
27399         (FE_TONEAREST): Likewise.
27400         (FE_DOWNWARD): Likewise.
27401         (FE_UPWARD): Likewise.
27402         (FE_TOWARDZERO): Likewise.
27403         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27404         (FE_UNDERFLOW): Likewise.
27405         (FE_OVERFLOW): Likewise.
27406         (FE_DIVBYZERO): Likewise.
27407         (FE_INVALID): Likewise.
27408         (FE_TONEAREST): Likewise.
27409         (FE_TOWARDZERO): Likewise.
27410         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27411         (FE_OVERFLOW): Likewise.
27412         (FE_UNDERFLOW): Likewise.
27413         (FE_DIVBYZERO): Likewise.
27414         (FE_INEXACT): Likewise.
27415         (FE_TONEAREST): Likewise.
27416         (FE_TOWARDZERO): Likewise.
27417         (FE_UPWARD): Likewise.
27418         (FE_DOWNWARD): Likewise.
27419         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27420         (FE_DIVBYZERO): Likewise.
27421         (FE_OVERFLOW): Likewise.
27422         (FE_UNDERFLOW): Likewise.
27423         (FE_INEXACT): Likewise.
27424         (FE_TONEAREST): Likewise.
27425         (FE_DOWNWARD): Likewise.
27426         (FE_UPWARD): Likewise.
27427         (FE_TOWARDZERO): Likewise.
27428
27429 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27430
27431         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27432
27433 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27434
27435         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27436         commands.  Quote $PWD.
27437         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27438         -x" by "export".
27439         (remove_newlines): Remove.
27440
27441 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27442
27443         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27444         * stdlib/stdlib.h (atof): Moved to ...
27445         * include/bits/stdlib-float.h: Here.  New file.
27446         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27447         * stdlib/bits/stdlib-float.h: New file.
27448         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27449         -mno-sse -mno-mmx.
27450         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27451         <xmmintrin.h>.
27452
27453 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27454
27455         * conform/conformtest.pl (@headers): Add fenv.h.
27456         * conform/data/fenv.h-data: New file.
27457         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27458         include of <math/fenv.h>.
27459
27460         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27461         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27462         && !UNIX98].  Enables tests for XOPEN2K8.
27463         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27464         POSIX2008]: Likewise.
27465
27466         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27467         (struct rusage): Do not expect type or its members.
27468
27469         [BZ #3439]
27470         * math/math.h (FP_NAN): Define macro to integer constant usable in
27471         #if and use that to give value to enum constant.
27472         (FP_INFINITE): Likewise.
27473         (FP_ZERO): Likewise.
27474         (FP_SUBNORMAL): Likewise.
27475         (FP_NORMAL): Likewise.
27476
27477 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27478
27479         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27480         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27481         arguments.
27482
27483 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27484
27485         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27486         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27487         autoconf-time if not.
27488         * configure.in: Remove AC_PREREQ.
27489
27490 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27491
27492         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27493         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27494         of the internal implementation.
27495
27496 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27497
27498         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27499         except include of <misc/sys/syslog.h>.
27500
27501 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27502
27503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27504         function returns with a NULL context exit with zero.
27505
27506 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27507
27508         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27509
27510 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27511
27512         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27513         (run_program_cmd): This.
27514         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27515         (tst_langinfo): New variable.  Use it.
27516
27517 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27518
27519         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27520         floating point opcodes.
27521
27522 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27523
27524         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27525         variable.
27526
27527         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27528
27529         * sysdeps/mach/hurd/powerpc: Remove directory.
27530         * sysdeps/mach/powerpc: Likewise.
27531
27532 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27533
27534         * scripts/check-local-headers.sh: Ignore c++ headers.
27535
27536 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27537
27538         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27539         __libc_cleanup_region_start argument.
27540
27541 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27542
27543         [BZ #14784]
27544         [BZ #14785]
27545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27546         x * y using scaling, not as x * y + z.
27547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27549         * math/libm-test.inc (fma_test): Add more tests.
27550         (fma_test_towardzero): Likewise.
27551         (fma_test_downward): Likewise.
27552         (fma_test_upward): Likewise.
27553
27554 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27555
27556         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27557
27558 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27559
27560         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27561         New variable.
27562
27563 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27564
27565         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27566
27567 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27568
27569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27570         Fix sort order.
27571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27572         Likewise.
27573
27574 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27575
27576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27577         Fix the order of the list for glibc 2.17.
27578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27579         Likewise.
27580
27581 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27582
27583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27584
27585 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27586
27587         [BZ #14610]
27588         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27589         for low part of x being zero before using __atanl (y).
27590         * math/libm-test.inc (atan2_test): Add another test.
27591
27592         * manual/install.texi (Configuring and compiling): Document
27593         general use of test-wrapper and test-wrapper-env.
27594         * INSTALL: Regenerated.
27595
27596         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27597         (__fma): Do not extract and scale down low bits on after-rounding
27598         systems when result rounded to normal precision would have normal
27599         exponent.
27600         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27601         (__fmal): Do not extract and scale down low bits on after-rounding
27602         systems when result rounded to normal precision would have normal
27603         exponent.
27604         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27605         (__fmal): Do not extract and scale down low bits on after-rounding
27606         systems when result rounded to normal precision would have normal
27607         exponent.
27608         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27609         macro.
27610         (fma_test): Add more tests.
27611         (fma_test_towardzero): Likewise.
27612         (fma_test_downward): Likewise.
27613         (fma_test_upward): Likewise.
27614
27615 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27616
27617         * sysdeps/i386/tininess.h: Renamed to ...
27618         * sysdeps/x86/tininess.h: This.
27619         * sysdeps/x86_64/tininess.h: Removed.
27620
27621 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27622
27623         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27624         input.  Use $(build-program-cmd).
27625         ($(objpfx)tst-array1-static.out): Likewise.
27626         ($(objpfx)tst-array2.out): Likewise.
27627         ($(objpfx)tst-array3.out): Likewise.
27628         ($(objpfx)tst-array4.out): Likewise.
27629         ($(objpfx)tst-array5.out): Likewise.
27630         ($(objpfx)tst-array5-static.out): Likewise.
27631
27632 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27633
27634         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27635         if defined.
27636
27637         * nss/nsswitch.h (nss_interface_function): Provide new
27638         macro for use with NSS functions.
27639         * grp/initgroups.c: Use new macro.
27640         * nss/getXXbyYY.c: Likewise.
27641         * nss/getXXbyYY_r.c: Likewise.
27642         * nss/getXXent.c: Likewise.
27643         * nss/getXXent_r.c: Likewise.
27644         * sysdeps/posix/getaddrinfo.c: Likewise.
27645
27646 2012-10-30  Andreas Jaeger  <aj@suse.de>
27647
27648         * po/ru.po: Update Russion translation from translation project.
27649
27650 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27651
27652         [BZ #14152]
27653         [BZ #14783]
27654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27655         result and shift together with sticky bit instead of replicating
27656         round-to-nearest rounding.
27657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27658         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27659         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27660         missing underflow exceptions.
27661         (fma_test_towardzero): Add more tests.
27662         (fma_test_downward): Likewise.
27663         (fma_test_upward): Likewise.
27664
27665         [BZ #14047]
27666         * sysdeps/generic/tininess.h: New file.
27667         * sysdeps/i386/tininess.h: Likewise.
27668         * sysdeps/sh/tininess.h: Likewise.
27669         * sysdeps/x86_64/tininess.h: Likewise.
27670         * stdlib/tst-strtod-underflow.c: Likewise.
27671         * stdlib/tst-tininess.c: Likewise.
27672         * stdlib/strtod_l.c: Include <tininess.h>.
27673         (round_and_return): Do not set errno for exact underflow cases.
27674         Force an underflow exception when setting errno for underflow.
27675         Determine underflow based on rounding to normal precision if
27676         TININESS_AFTER_ROUNDING.
27677         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27678         ERANGE for exact underflow cases.
27679         * stdlib/Makefile (tests): Add tst-tininess and
27680         tst-strtod-underflow.
27681         ($(objpfx)tst-tininess): Use $(link-libm).
27682         ($(objpfx)tst-strtod-underflow): Likewise.
27683
27684 2012-10-30  Andreas Jaeger  <aj@suse.de>
27685
27686         [BZ#14767]
27687         * elf/Makefile (tests): Remove conditional for have-initfini-array
27688         since this is now always required and the variable does not exist
27689         anymore.
27690         (tests-static): Likewise.
27691         (modules-names): Likewise.
27692
27693         * po/eo.po: Add Esperanto translation from translation project.
27694
27695         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27696         merged with constructor/destructor.
27697         (init_array): Likewise.
27698         * elf/tst-array2dep.c (fini_array): Likewise.
27699         (init_array): Likewise.
27700
27701 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27702
27703         * manual/message.texi: Delete @cartouche tags.
27704
27705 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27706
27707         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27708         EOPNOTSUPP.
27709         * sysdeps/mach/hurd/fsync.c: Likewise.
27710
27711         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27712         [_POSIX_REALTIME_SIGNALS]: Change condition to
27713         [_POSIX_REALTIME_SIGNALS > 0].
27714
27715 2012-10-27  Andreas Jaeger  <aj@suse.de>
27716
27717         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27718         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27720         [__WORDSIZE != 64]: Likewise.
27721
27722 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27723
27724         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27725         *  iconvdata/tst-tables.sh: Likewise.
27726
27727 2012-10-25  David S. Miller  <davem@davemloft.net>
27728
27729         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27730         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27731         of strtoull.
27732
27733         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27734         ifunc-impl-list.c
27735         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27736         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27737         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27738         file.
27739
27740 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27741
27742         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27743         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27744         __getdirentries.
27745
27746 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27747             Jim Blandy  <jimb@codesourcery.com>
27748
27749         * scripts/cross-test-ssh.sh: New file.
27750         * manual/install.texi (Configuring and compiling): Document use of
27751         cross-test-ssh.sh.
27752         * INSTALL: Regenerated.
27753
27754 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27755
27756         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27757         EOPNOTSUPP.
27758
27759 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27760
27761         * Makeconfig (run-program-prefix): Fix comment.
27762
27763 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27764             Jim Blandy  <jimb@codesourcery.com>
27765
27766         * Makeconfig (test-wrapper): New variable,
27767         (test-wrapper-env): Likewise.
27768         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27769         (run-built-tests): Define to yes.
27770         (run-program-prefix): Use $(test-wrapper).
27771         (built-program-cmd): Likewise.
27772         * Rules (make-test-out): Use $(test-wrapper-env) and
27773         $(host-built-program-cmd).
27774         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27775         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27776         tst-pathopt.sh.
27777         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27778         $(test-wrapper-env) to tst-rtld-load-self.sh.
27779         ($(objpfx)order2.out): Use $(test-wrapper).
27780         ($(objpfx)tst-initorder.out): Likewise.
27781         ($(objpfx)tst-initorder2.out): Likewise.
27782         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27783         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27784         (test_wrapper_env): New variable.  Use it to run ld.so.
27785         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27786         Use it to run ld.so.
27787         (test_wrapper_env): Likewise.
27788         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27789         $(test-wrapper) to run-iconv-test.sh.
27790         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27791         (ICONV): Use $test_wrapper.
27792         * posix/Makefile ($(objpfx)globtest.out): Pass
27793         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27794         globtest.sh, not $(run-program-prefix).
27795         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27796         (test_wrapper): Likewise.
27797         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27798         set together with run_via_rtld_prefix.
27799         (run_program_prefix): Define in terms of test_wrapper and
27800         run_via_rtld_prefix.
27801
27802 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27803
27804         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27805         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27806         Targets removed.
27807
27808         [BZ #14743]
27809         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27810         Declare __clock_getres, __clock_gettime, __clock_settime,
27811         __clock_nanosleep, and __clock_getcpuclockid.
27812         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27813         Remove librt_hidden_def (clock_gettime).
27814         * sysdeps/unix/clock_gettime.c: Likewise.
27815         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27816         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27817         * rt/clock_getres.c: Define __clock_getres as an alias.
27818         * sysdeps/posix/clock_getres.c: Likewise.
27819         * rt/clock_settime.c: Define __clock_settime as an alias.
27820         * sysdeps/unix/clock_settime.c: Likewise.
27821         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27822         * sysdeps/unix/clock_nanosleep.c: Likewise.
27823         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27824         * rt/clock-compat.c: New file.
27825         * rt/Makefile (librt-routines): Add clock-compat and move
27826         $(clock-routines) to ...
27827         (routines): ... here, new variable.
27828         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27829         Don't add get_clockfreq here.
27830         * rt/Versions (libc: GLIBC_2.17): New version set.
27831         Add clock_* symbols here.
27832         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27833         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27834         (GLIBC_2.17): Add clock_* symbols.
27835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27837         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27839         Likewise.
27840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27841         Likewise.
27842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27846         * NEWS: Mention the move.
27847
27848         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27849         Use __open, __read, __close rather than their public counterparts.
27850         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27851         (__get_clockfreq_via_cpuinfo): Likewise.
27852         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27853         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27854
27855         * config.h.in (HAVE_IFUNC): New #undef.
27856         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27857         was successful.
27858         * configure: Regenerated.
27859
27860 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27861
27862         * configure.in: Move READELF check to start of file.
27863         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27864         libc_cv_asm_gnu_indirect_function in the process.
27865         * configure: Regenerated.
27866
27867 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27868
27869         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27870         send the output to /dev/null.
27871         (libc_cv_cc_with_libunwind): Likewise.
27872         (libc_cv_as_noexecstack): Likewise.
27873         * configure: Regenerate.
27874
27875 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27876
27877         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27878
27879         * posix/globtest.sh (TMPDIR): Do not set.
27880         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27881         (testout): Likewise.
27882
27883 2012-10-24  Andreas Jaeger  <aj@suse.de>
27884
27885         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27886         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27887         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27888         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27889         posix_fadvise64, posix_fallocate64.
27890
27891         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27892         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27893         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27894         Likewise.
27895         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27896         Likewise.
27897         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27898
27899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27900         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27901         <bits/fcntl-linux.h>.
27902         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27903
27904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27905         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27906         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27907         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27908         [__WORDSIZE != 64]: Likewise.
27909
27910 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27911
27912         * Makeconfig (run-built-tests): New variable.
27913         * Rules [$(cross-compiling) = yes]: Change condition to
27914         [$(run-built-tests) = no].
27915         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27916         to [$(run-built-tests) = yes].
27917         * elf/Makefile [$(cross-compiling) = no]: Likewise
27918         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27919         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27920         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27921         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27922         * io/Makefile [$(cross-compiling) = no]: Likewise.
27923         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27924         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27925         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27926         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27927         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27928         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27929         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27930         * string/Makefile [$(cross-compiling) = no]: Likewise.
27931
27932         * posix/Makefile ($(objpfx)globtest.out): Pass
27933         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27934         $(rtld-installed-name).
27935         * posix/globtest.sh (elf_objpfx): Remove variable.
27936         (rtld_installed_name): Likewise.
27937         (library_path): Likewise.
27938         (run_program_prefix): New variable.  Use for running globtest
27939         binary.
27940
27941 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27942             Joseph Myers  <joseph@codesourcery.com>
27943
27944         * Makeconfig (host-built-program-cmd): New variable.
27945         * elf/Makefile (tst-stackguard1-ARGS): Use
27946         $(host-built-program-cmd).
27947         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27948         (tst-spawn-ARGS): Likewise.
27949         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27950
27951 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27952             Jim Blandy  <jimb@codesourcery.com>
27953
27954         * Makeconfig (run-via-rtld-prefix): New variable.
27955         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27956         (built-program-cmd): Likewise.
27957
27958 2012-10-22  Andreas Jaeger  <aj@suse.de>
27959
27960         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27961         __O_RSYNC if it exists, otherwise to O_SYNC.
27962
27963 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27964             Joseph Myers  <joseph@codesourcery.com>
27965
27966         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27967         /dev/null.
27968         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27969         from /dev/null
27970         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27971         /dev/null.
27972
27973 2012-10-22  Andreas Jaeger  <aj@suse.de>
27974
27975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27976         Define always.
27977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27978
27979         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27980         bits/fcntl-linux.h.
27981
27982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27983         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27984
27985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27986         to __O_LARGEFILE.
27987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27988         to __O_LARGEFILE.
27989
27990 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27991             Joseph Myers  <joseph@codesourcery.com>
27992
27993         * config.make.in (NM): New variable.
27994
27995 2012-10-21  Andreas Jaeger  <aj@suse.de>
27996
27997         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27998         definitions and declarations that are provided by
27999         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28000
28001 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28002
28003         [BZ #14683]
28004         * elf/Makefile (tests-static): Add tst-leaks1-static.
28005         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28006         ($(objpfx)tst-leaks1-static): New rule.
28007         ($(objpfx)tst-leaks1-static-mem): Likewise.
28008         (tst-leaks1-static-ENV): New macro.
28009         * elf/dl-open.c (dl_open_worker): Check the main application
28010         only if SHARED is defined.
28011         * elf/tst-leaks1-static.c: New file.
28012
28013 2012-10-20  Andreas Jaeger  <aj@suse.de>
28014
28015         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28016         generic values for Linux.
28017         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28018         and declarations that are provided by <bits/fcntl-linux.h> and
28019         include <bits/fcntl-linux.h>.
28020         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28022
28023 2012-10-20  Roland McGrath  <roland@hack.frob.com>
28024
28025         * io/fcntl.h: Move include of <bits/types.h> to the top and
28026         include it unconditionally.
28027
28028 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
28029
28030         * wcsmbs/Makefile (tests-ifunc): New variable.
28031         (tests): Add $(tests-ifunc).
28032         * wcsmbs/test-wcschr-ifunc.c: New file.
28033         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28034         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28035         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28036         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28037         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28038
28039         * string/Makefile (tests-ifunc): New variable.
28040         (tests): Add $(tests-ifunc).
28041         * string/test-memccpy.c (TEST_NAME): New macro.
28042         * string/test-memchr.c (TEST_NAME): Likewise.
28043         * string/test-memcmp.c (TEST_NAME): Likewise.
28044         * string/test-memcpy.c (TEST_NAME): Likewise.
28045         * string/test-memmem.c (TEST_NAME): Likewise.
28046         * string/test-memmove.c (TEST_NAME): Likewise.
28047         * string/test-memset.c (TEST_NAME): Likewise.
28048         * string/test-rawmemchr.c (TEST_NAME): Likewise.
28049         * string/test-stpcpy.c (TEST_NAME): Likewise.
28050         * string/test-stpncpy.c (TEST_NAME): Likewise.
28051         * string/test-strcasecmp.c (TEST_NAME): Likewise.
28052         * string/test-strcasestr.c (TEST_NAME): Likewise.
28053         * string/test-strcat.c (TEST_NAME): Likewise.
28054         * string/test-strchr.c (TEST_NAME): Likewise.
28055         * string/test-strcmp.c(TEST_NAME): Likewise.
28056         * string/test-strcpy.c (TEST_NAME): Likewise.
28057         * string/test-strcspn.c (TEST_NAME): Likewise.
28058         * string/test-strlen.c (TEST_NAME): Likewise.
28059         * string/test-strncasecmp.c (TEST_NAME): Likewise.
28060         * string/test-strncmp.c (TEST_NAME): Likewise.
28061         * string/test-strncpy.c (TEST_NAME): Likewise.
28062         * string/test-strnlen.c (TEST_NAME): Likewise.
28063         * string/test-strpbrk.c (TEST_NAME): Likewise.
28064         * string/test-strrchr.c (TEST_NAME): Likewise.
28065         * string/test-strspn.c (TEST_NAME): Likewise.
28066         * string/test-strstr.c (TEST_NAME): Likewise.
28067         * string/test-bcopy-ifunc.c: New file.
28068         * string/test-bzero-ifunc.c: Likewise.
28069         * string/test-memccpy-ifunc.c: Likewise.
28070         * string/test-memchr-ifunc.c: Likewise.
28071         * string/test-memcmp-ifunc.c: Likewise.
28072         * string/test-memcpy-ifunc.c: Likewise.
28073         * string/test-memmem-ifunc.c: Likewise.
28074         * string/test-memmove-ifunc.c: Likewise.
28075         * string/test-mempcpy-ifunc.c: Likewise.
28076         * string/test-memset-ifunc.c: Likewise.
28077         * string/test-rawmemchr-ifunc.c: Likewise.
28078         * string/test-stpcpy-ifunc.c: Likewise.
28079         * string/test-stpncpy-ifunc.c: Likewise.
28080         * string/test-strcasecmp-ifunc.c: Likewise.
28081         * string/test-strcasestr-ifunc.c: Likewise.
28082         * string/test-strcat-ifunc.c: Likewise.
28083         * string/test-strchr-ifunc.c: Likewise.
28084         * string/test-strchrnul-ifunc.c: Likewise.
28085         * string/test-strcmp-ifunc.c: Likewise.
28086         * string/test-strcpy-ifunc.c: Likewise.
28087         * string/test-strcspn-ifunc.c: Likewise.
28088         * string/test-strlen-ifunc.c: Likewise.
28089         * string/test-strncasecmp-ifunc.c: Likewise.
28090         * string/test-strncat-ifunc.c: Likewise.
28091         * string/test-strncmp-ifunc.c: Likewise.
28092         * string/test-strncpy-ifunc.c: Likewise.
28093         * string/test-strnlen-ifunc.c: Likewise.
28094         * string/test-strpbrk-ifunc.c: Likewise.
28095         * string/test-strrchr-ifunc.c: Likewise.
28096         * string/test-strspn-ifunc.c: Likewise.
28097         * string/test-strstr-ifunc.c: Likewise.
28098
28099         * debug/Makefile (tests-ifunc): New variable.
28100         (tests): Add $(tests-ifunc).
28101         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28102         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28103         * debug/test-stpcpy_chk-ifunc.c: New file.
28104         * debug/test-strcpy_chk-ifunc.c: Likewise.
28105
28106 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28107
28108         [BZ #13601]
28109         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28110         header is not read in.
28111
28112 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28113
28114         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28115         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28116         directly.  Pass built executable to script as
28117         $(built-program-cmd).
28118         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28119         $testprogram without using LD_LIBRARY_PATH and $ldso.
28120
28121         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28122         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28123         $(rtld-installed-name).
28124         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28125         (rtld_installed_name): Likewise.
28126         (library_path): Likewise.
28127         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28128         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28129         $(run-program-prefix) to tst-tables.sh.
28130         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28131         it to run tst-table-from and tst-table-to.
28132         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28133         Pass it to tst-table.sh.
28134         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28135         $(run-program-prefix) to tst-gettext.sh.
28136         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28137         tst-translit.sh.
28138         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28139         tst-gettext2.sh.
28140         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28141         to run tst-gettext.
28142         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28143         to run tst-gettext2.
28144         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28145         to run tst-translit.
28146         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28147         $(run-program-prefix) to tst-mtrace.sh.
28148         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28149         to run tst-mtrace.
28150         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28151         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28152         $(rtld-installed-name).
28153         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28154         (rtld_installed_name): Likewise.
28155         (run_program_prefix): New variable.  Use it to run wordexp-test.
28156
28157         * Makeconfig (ARCH): Remove all definitions.
28158         (machine): Likewise.
28159         [ARCH]: Remove conditional code.
28160         [!objdir]: Give error.
28161         [!objdir] (objpfx): Remove.
28162         [!objdir] (common-objpfx): Likewise.
28163         [!objdir] (common-objdir): Likewise.
28164         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28165         AC_CONFIG_FILES call.
28166         * configure: Regenerated.
28167
28168         [BZ #13888]
28169         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28170         or TMPDIR.
28171         (testout): Likewise.
28172
28173         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28174         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28175         $(rtld-installed-name).
28176         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28177         (rtld_installed_name): Likwise.
28178         (runit): Remove function.
28179         (run_getconf): New variable,  Use it for running getconf binary.
28180
28181 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28182
28183         [BZ #14716]
28184         * string/test-memmem.c (check_result): New function.
28185         (do_one_test): Use it.
28186         (check1): New function.
28187         (test_main): Use it.
28188
28189 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28190
28191         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28192
28193 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28194
28195         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28196         (_G_LSEEK64): Likewise.
28197         (_G_MMAP64): Likewise.
28198         (_G_FSTAT64): Likewise.
28199         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28200         (_G_LSEEK64): Likewise.
28201         (_G_MMAP64): Likewise.
28202         (_G_FSTAT64): Likewise.
28203         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28204         unconditional.  Call __mmap64 directly.
28205         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28206         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28207         __lseek64 directly.
28208         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28209         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28210         __mmap64 directly.
28211         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28212         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28213         __lseek64 directly.
28214         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28215         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28216         __lseek64 directly.
28217         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28218         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28219         __lseek64 directly.
28220         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28221         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28222         __fxstat64 directly.
28223         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28224         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28225         unconditional.
28226         (freopen64) [!_G_OPEN64]: Remove conditional code.
28227         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28228         unconditional.
28229         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28230         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28231         unconditional.
28232         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28233         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28234         unconditional.
28235         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28236         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28237         unconditional.
28238         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28239         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28240         unconditional.
28241         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28242         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28243         unconditional.
28244         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28245         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28246         unconditional.
28247         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28248
28249 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28250
28251         [BZ #12140]
28252         * manual/memory.texi (Malloc Tunable Parameters): Add note
28253         about free list pointers overwriting some perturb bytes.
28254         Wording suggested by Roland McGrath.
28255
28256 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28257
28258         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28259         (lgamma_test): Likewise.
28260         (tgamma_test): Likewise.
28261
28262 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28263
28264         [BZ #14700]
28265         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28266         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28267
28268 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28269
28270         * NEWS: Mention BZ #14716.
28271         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28272         when removing AVAILABLE1_USES_J macro.
28273
28274 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28275
28276         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28277         (__bswap_64): __uint64_t for unsigned 64-bit int.
28278
28279 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28280
28281         * include/string.h (memmem): Declare libc hidden alias.
28282         * string/memmem.c (memmem): Define libc hidden alias.
28283         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28284         __read, __close instead of open, read, close.
28285
28286 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28287
28288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28289         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28290         global and hidden.
28291         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28292         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28293         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28294         Likewise.
28295         (__rawmemchr_sse2): Likewise.
28296         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28297         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28298         (__strchr_sse2): Likewise.
28299         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28300         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28301         (__strcasecmp_sse2): Likewise.
28302         (__strncasecmp_sse2): Likewise.
28303         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28304         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28305         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28306         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28307         (__strrchr_sse2): Likewise.
28308         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28309         ifunc-impl-list.c.
28310         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28311         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28312         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28313         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28314         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28315         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28316         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28317         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28318         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28319         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28320         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28321         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28322         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28323         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28324         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28325         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28326         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28327         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28328         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28329         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28330         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28331         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28332         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28333         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28334         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28335         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28336         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28337         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28338         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28339         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28340
28341         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28342         global and hidden.
28343         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28344         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28345         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28346         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28347         Likewise.
28348         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28349         Likewise.
28350         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28351         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28352         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28353         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28354         ifunc-impl-list.c.
28355         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28356         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28357         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28358         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28359         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28360         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28361         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28362         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28363         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28364         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28365         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28366         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28367         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28368         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28369         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28370         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28371         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28372         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28373         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28374         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28375         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28376         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28377         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28378         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28379         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28380         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28381         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28382         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28383         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28384         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28385         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28386         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28387         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28388         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28389         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28390         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28391         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28392         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28393         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28394         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28395         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28396
28397         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28398         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28399         * include/ifunc-impl-list.h: New file.
28400         * misc/ifunc-impl-list.c: Likewise.
28401         * misc/Makefile (routines): Add ifunc-impl-list.
28402         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28403         * string/test-string.h: Include <ifunc-impl-list.h>.
28404         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28405         TEST_NAME]: New variables.
28406         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28407         are defined.
28408         (test_init): Call __libc_ifunc_impl_list to initialize
28409         func_list if TEST_IFUNC and TEST_NAME are defined.
28410
28411         * string/Makefile (strop-tests): Add bcopy and bzero.
28412         * string/test-bcopy.c: New file.
28413         * string/test-bzero.c: Likewise.
28414         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28415         defined.
28416         * string/test-memset.c: Support bzero test if TEST_BZERO is
28417         defined.
28418         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28419         __libc_memmove.
28420         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28421         __libc_memset.
28422         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28423         of memset.
28424
28425 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28426
28427         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28428         * configure: Regenerated.
28429
28430         * Makeconfig (+link-static-before-libc): Don't include
28431         $(link-static-libc).
28432
28433         * libio/libio.h (_IO_pos_t): Remove.
28434
28435 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28436
28437         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28438         McGrath.
28439
28440 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28441
28442         * crypt/crypt-entry.c: Include fips-private.h.
28443         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28444         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28445         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28446         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28447
28448 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28449
28450         * crypt/crypt-private.h: Include stdbool.h.
28451         (_ufc_setup_salt_r): Return bool.
28452         * crypt/crypt-entry.c: Include errno.h.
28453         (__crypt_r): Return NULL with EINVAL for bad salt.
28454         * crypt/crypt_util.c (bad_for_salt): New.
28455         (_ufc_setup_salt_r): Check that salt is long enough and within
28456         the specified alphabet.
28457         * crypt/badsalttest.c: New file.
28458         * crypt/Makefile (tests): Add it.
28459         ($(objpfx)badsalttest): New.
28460
28461 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28462
28463         * NEWS: Add entry for BZ #14602.
28464
28465 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28466
28467         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28468         type-generic.
28469         * math/libm-test.inc: Update comment listing what functions and
28470         macros are tested.
28471         (isgreater_test): New function.
28472         (isgreaterequal_test): Likewise.
28473         (isless_test): Likewise.
28474         (islessequal_test): Likewise.
28475         (islessgreater_test): Likewise.
28476         (isunordered_test): Likewise.
28477         (main): Call the new functions.
28478
28479 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28480
28481         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28482         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28483         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28484         * sysdeps/i386/configure: Regenerated.
28485         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28486         * sysdeps/mach/configure: Regenerated.
28487         * sysdeps/mach/hurd/configure: Regenerated.
28488         * sysdeps/powerpc/configure: Regenerated.
28489         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28490         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28491         * sysdeps/s390/s390-32/configure: Regenerated.
28492         * sysdeps/s390/s390-64/configure: Regenerated.
28493         * sysdeps/sh/configure: Regenerated.
28494         * sysdeps/sparc/configure: Regenerated.
28495         * sysdeps/unix/sysv/linux/configure: Regenerated.
28496         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28497         * sysdeps/x86_64/configure: Regenerated.
28498
28499         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28500         defined.  Don't check if MAP is NULL.
28501
28502 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28503
28504         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28505         (_G_stat64): Likewise.
28506         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28507         (_G_stat64): Likewise.
28508         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28509         instead of struct _G_stat64.
28510         * libio/fileops.c (mmap_remap_check): Likewise.
28511         (decide_maybe_mmap): Likewise.
28512         (_IO_new_file_seekoff): Likewise.
28513         (_IO_file_stat): Likewise.
28514         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28515         _G_off64_t.
28516         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28517         instead of struct _G_stat64.
28518         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28519
28520 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28521
28522         [BZ #14602]
28523         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28524         Replace with ...
28525         (CHECK_EOL): New macro.
28526         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28527         CHECK_EOL.
28528         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28529         Replace with CHECK_EOL.
28530         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28531         Replace with CHECK_EOL.
28532
28533 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28534
28535         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28536         type-generic.
28537         * math/libm-test.inc: Update comment listing what functions and
28538         macros are tested.
28539         (finite_test): New function.
28540         (isinf_test): Likewise.
28541         (isnan_test): Likewise.
28542         (fpclassify_test): Test subnormal input.
28543         (isfinite_test): Likewise.
28544         (isnormal_test): Likewise.
28545         (main): Call the new functions.
28546
28547 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28548
28549         [BZ #14660]
28550         * Makerules (%.dynsym): Force C locale when running
28551         $(OBJDUMP) --dynamic-syms.
28552
28553 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28554
28555         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28556         <stdint.h>.
28557
28558 2012-10-06  David S. Miller  <davem@davemloft.net>
28559
28560         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28561         upper 32-bits of the length value in %o2 since we use branch-on-register
28562         tests which consider the entire 64-bit register.
28563
28564 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28565
28566         * string/test-strstr.c (check2): Add a test for page boundary.
28567
28568 2012-10-05  David S. Miller  <davem@davemloft.net>
28569
28570         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28571         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28572         file.
28573         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28574         sysdep_routines.
28575         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28576         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28577         and bzero when HWCAP_SPARC_CRYPTO is present.
28578
28579 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28580
28581         [BZ #14602]
28582         * string/test-strstr.c (check2): New function.
28583         (test_main): Call check2.
28584
28585         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28586         and bug-strchr1.
28587         * string/bug-strcasestr1.c (do_test): Moved to ...
28588         * string/test-strcasestr.c (check1): Here.  New function.
28589         (do_one_test): Break out result checking code into ...
28590         (check_result): This.  New function.
28591         (do_one_test): Call check_result.
28592         (test_main): Call check1.
28593         * string/bug-strchr1.c (do_test): Moved to ...
28594         * string/test-strchr.c (check1): Here.  New function.
28595         (do_one_test): Break out result checking code into ...
28596         (check_result): This.  New function.
28597         (do_one_test): Call check_result.
28598         (test_main): Call check1.
28599         * string/bug-strstr1.c (main): Moved to ...
28600         * string/test-strstr.c (check1): Here.  New function.
28601         (do_one_test): Break out result checking code into ...
28602         (check_result): This.  New function.
28603         (do_one_test): Call check_result.
28604         (test_main): Call check1.
28605         * string/bug-strcasestr1.c: Removed.
28606         * string/bug-strchr1.c: Likewise.
28607         * string/bug-strstr1.c: Likewise.
28608
28609         * elf/Makefile (dl-routines): Add hwcaps.
28610         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28611         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28612         (_dl_important_hwcaps): Moved to ...
28613         * elf/dl-hwcaps.c: Here.  New file.
28614         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28615
28616         [BZ #14557]
28617         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28618         if IS_IN_rtld isn't defined.
28619
28620         * elf/dl-support.c (_dl_sysinfo_map): New.
28621         Include "get-dynamic-info.h" and "setup-vdso.h".
28622         (_dl_non_dynamic_init): Call setup_vdso.
28623         * elf/dynamic-link.h: Don't include <assert.h>.
28624         (elf_get_dynamic_info): Moved to ...
28625         * elf/get-dynamic-info.h: Here.  New file.
28626         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28627         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28628         * elf/setup-vdso.h: Here.  New file.
28629         * elf/rtld.c: Include "setup-vdso.h".
28630         (dl_main): Call setup_vdso.
28631
28632 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28633
28634         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28635         creal in comment listing functions tested.  List finite, isinf,
28636         isnan, isless, islessequal, isgreater, isgreaterequal,
28637         islessgreater, isunordered, lgamma_r and pow10 as functions and
28638         macros not tested.  Mention which functions not tested are aliases
28639         for other functions.  Fix typo.  Note that signs of NaNs are not
28640         tested.
28641
28642         * scripts/config.guess: Update from config.git.
28643         * scripts/config.sub: Likewise.
28644
28645 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28646
28647         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28648         * misc/madvise.c (madvise): Renamed to __madvise.
28649         Make madvise a weak alias.
28650         * include/sys/mman.h: Declare __madvise.
28651         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28652         * sysdeps/unix/syscalls.list
28653         (madvise): Make __madvise the strong name, and madvise a weak alias.
28654         * sysdeps/unix/sysv/linux/syscalls.list
28655         (madvise, mmap): Remove redundant entries.
28656         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28657         * malloc/malloc.c (mtrim): Likewise.
28658         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28659
28660 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28661
28662         * sysdeps/mach/hurd/dl-cache.c: File removed.
28663         * config.h.in (USE_LDCONFIG): New #undef.
28664         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28665         * configure: Regenerated.
28666         * elf/Makefile (dl-routines): Add dl-cache only under
28667         [$(use-ldconfig) = yes].
28668         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28669         cache on [USE_LDCONFIG].
28670         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28671         [USE_LDCONFIG].
28672         * elf/rtld.c (dl_main): Likewise.
28673
28674 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28675
28676         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28677         _SC_LEVEL4_CACHE_LINESIZE.
28678
28679 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28680
28681         * sysdeps/unix/bsd/confstr.h: File removed.
28682
28683 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28684
28685         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28686         sys/sdt-config.h.
28687
28688 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28689
28690         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28691         Make 'mapoff' field ElfW(Off) rather than off_t.
28692
28693 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28694
28695         * nscd/Makefile: Remove nscd-cflags and all its users.
28696         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28697         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28698
28699         [BZ #10631]
28700         * malloc.c (malloc_printerr): Clarify error message.
28701
28702 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28703
28704         [BZ #14648]
28705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28706         Set bit_FMA_Usable if FMA is supported.
28707         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28708         macro.
28709         (bit_FMA4_Usable): Updated.
28710         (index_FMA_Usable): New macro.
28711         (CPUID_FMA): Likewise
28712         (HAS_FMA): Defined with bit_FMA_Usable.
28713
28714 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28715
28716         * bits/types.h (__swblk_t): Type removed.
28717         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28718         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28720         (__SWBLK_T_TYPE): Likewise.
28721         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28722         (__SWBLK_T_TYPE): Likewise.
28723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28724         (__SWBLK_T_TYPE): Likewise.
28725         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28726         (__SWBLK_T_TYPE): Likewise.
28727
28728 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28729             Honza Horak <hhorak@redhat.com>
28730
28731         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28732         (xdr_mapname): Use YPMAXMAP as maxsize.
28733         (xdr_peername): Use YPMAXPEER as maxsize.
28734         (xdr_keydat): Use YPAXRECORD as maxsize.
28735         (xdr_valdat): Use YPMAXRECORD as maxsize.
28736
28737 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28738
28739         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28740
28741         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28742         * csu/init-first.c: ... here.
28743         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28744         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28745         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28746         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28747         * sysdeps/i386/init-first.c: File removed.
28748         * sysdeps/sh/init-first.c: File removed.
28749
28750 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28751
28752         [BZ #14645]
28753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28754         if x * y might underflow to zero and z is zero.
28755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28757         * math/libm-test.inc (min_subnorm_value): New variable.
28758         (fma_test): Add more tests.
28759         (fma_test_towardzero): Likewise.
28760         (fma_test_downward): Likewise
28761         (fma_test_upward): Likewise.
28762         (initialize): Set min_subnorm_value.
28763
28764 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28765
28766         [BZ #14638]
28767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28768         0 + 0.
28769         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28770         mode for addition resulting in exact zero.
28771         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28773         exact 0 + 0.
28774         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28775         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28776         * math/libm-test.inc (fma_test): Add more tests.
28777         (fma_test_towardzero): New function.
28778         (fma_test_downward): Likewise.
28779         (fma_test_upward): Likewise.
28780         (main): Call the new functions.
28781
28782 2012-09-28  David S. Miller  <davem@davemloft.net>
28783
28784         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28785
28786 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28787
28788         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28789         instead of SIGALRM.
28790
28791         * sysdeps/gnu/_G_config.h: Moved to ...
28792         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28793         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28794         * sysdeps/generic/_G_config.h: ... here.
28795
28796         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28797
28798         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28799
28800         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28801         Conditionalize target on [libnss_test1.so-version].
28802
28803         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28804
28805         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28806         (elfobjdir): Move out of conditionals.
28807
28808         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28809         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28810         (__nss_lookup_function): Conditionalize label remove_from_tree on
28811         [!DO_STATIC_NSS || SHARED], matching its only use.
28812
28813 2012-09-28  David S. Miller  <davem@davemloft.net>
28814
28815         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28816         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28817         file.
28818         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28819         sysdep_routines.
28820         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28821         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28822         when HWCAP_SPARC_CRYPTO is present.
28823
28824 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28825
28826         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28827
28828 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28829
28830         [BZ #6530]
28831         * stdio-common/vfprintf.c (process_string_arg): Revert
28832         2000-07-22 change.
28833
28834 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28835
28836         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28837         for testcase.
28838         * stdio-common/tst-sprintf.c: Include <locale.h>
28839         (main): Test sprintf's handling of incomplete multibyte
28840         characters.
28841
28842 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28843
28844         * elf/dl-runtime.c (VERSYMIDX): Removed.
28845         * elf/dl-version.c (VERSYMIDX): Likewise.
28846         * elf/do-rel.h (VERSYMIDX): Likewise.
28847         (VALIDX): Likewise.
28848         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28849         * elf/rtld.c (VALIDX): Likewise.
28850         (ADDRIDX): Likewise.
28851         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28852         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28853         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28854         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28855         (VALIDX): Likewise.
28856         (ADDRIDX): Likewise.
28857
28858 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28859
28860         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28861
28862 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28863
28864         [BZ #11438]
28865         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28866         to global scope.
28867         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28868         addresses are in the same scope as 192.0.2/24.
28869         * posix/gai.conf: Document new scope table defaults.
28870
28871 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28872
28873         [BZ #5298]
28874         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28875         for ftell.  Compute offsets from write pointers instead.
28876         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28877
28878 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28879
28880         [BZ #14543]
28881         * libio/Makefile (tests): New test case tst-fseek.
28882         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28883         combination works in wide mode.
28884         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28885         state when the external buffer state changes.
28886
28887 2012-09-27  David S. Miller  <davem@davemloft.net>
28888
28889         [BZ #14376]
28890         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28891         pass reloc->r_addend in as the 'high' argument to
28892         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28893
28894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28895
28896 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28897
28898         * rt/tst-aio2.c: Include <pthread.h>.
28899         * rt/tst-aio3.c: Likewise.
28900
28901 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28902
28903         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28904
28905 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28906
28907         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28908         contents on [SHARED].
28909
28910 2012-09-26  Marek Polacek  <polacek@redhat.com>
28911
28912         [BZ #14530]
28913         [BZ #13741]
28914         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28915         for C++ and GCC <4.3 as well as for non GCC compilers.
28916
28917 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28918
28919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28920
28921 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28922
28923         * Makefile.in (all, install): Declare with .PHONY.
28924         Reported by Michael Hope <michael.hope@linaro.org>.
28925
28926 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28927
28928         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28929         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28930         system header.
28931         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28932         Likewise.
28933         (sydep_routines): Add the new and the internal functions.
28934         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28935         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28937         (GLIBC_2.17): Add the new function.
28938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28939         (GLIBC_2.17): Likewise.
28940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28941         (GLIBC_2.17): Likewise.
28942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28943         (GLIBC_2.17): Likewise.
28944         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28945
28946 2012-09-25  Alan Modra  <amodra@gmail.com>
28947
28948         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28949         Add release barrier before setting once_control to say
28950         initialisation is done.  Add hints on lwarx.  Use macro in
28951         place of isync.
28952         (clear_once_control): Add release barrier.
28953
28954 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28955
28956         [BZ #13629]
28957         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28958         specially.
28959         * math/s_clog10.c (__clog10): Likewise.
28960         * math/s_clog10f.c (__clog10f): Likewise.
28961         * math/s_clog10l.c (__clog10l): Likewise.
28962         * math/s_clogf.c (__clogf): Likewise.
28963         * math/s_clogl.c (__clogl): Likewise.
28964         * math/Makefile (libm-calls): Add x2y2m1.
28965         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28966         (__x2y2m1): Likewise.
28967         (__x2y2m1l): Likewise.
28968         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28969         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28970         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28971         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28972         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28973         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28974         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28975         * sysdeps/i386/fpu/libm-test-ulps: Update.
28976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28977
28978         [BZ #14621]
28979         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28980         int as type of variable DEPTH.
28981         (glob): Use size_t instead of int as type of variables NEWCOUNT
28982         and OLD_PATHC.
28983
28984 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28985
28986         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28987         Add s_sincosf-sse2.
28988         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28989         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28990         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28991         macros for using routine as __sincosf_ia32.
28992         Use macro for function declaration and weak_alias.
28993         * sysdeps/i386/fpu/libm-test-ulps: Update.
28994
28995         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28997
28998         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28999         subnormal argument.
29000         * math/s_cexpf.c (__cexpf): Likewise.
29001         * math/s_csinf.c (__csinf): Likewise.
29002         * math/s_csinhf.c (__csinhf): Likewise.
29003         * math/s_ctanf.c (__ctanf): Likewise.
29004         * math/s_ctanhf.c (__ctanhf): Likewise.
29005         * math/s_ccosh.c (__ccoshf): Likewise.
29006         * math/s_cexp.c (__cexpl): Likewise.
29007         * math/s_csin.c (__csin): Likewise.
29008         * math/s_csinh.c (__csinh): Likewise.
29009         * math/s_ctan.c (__ctan): Likewise.
29010         * math/s_ctanh.c (ctanh): Likewise.
29011         * math/s_ccoshl.c (__ccoshl): Likewise.
29012         * math/s_cexpl.c (__cexpl): Likewise.
29013         * math/s_csinl.c (__csinl): Likewise.
29014         * math/s_csinhl.c (__csinhl): Likewise.
29015         * math/s_ctanl.c (__ctanl): Likewise.
29016         * math/s_ctanhl.c (__ctanhl): Likewise.
29017
29018 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
29019
29020         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29021         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29022         (_IO_off_t): Define to __off_t, not _G_off_t.
29023         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29024         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29025         (_IO_wint_t): Define to wint_t, not _G_wint_t.
29026         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29027         type of __dummy and __dummy2 fields.
29028         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29029         (_G_ssize_t): Likewise.
29030         (_G_off_t): Likewise.
29031         (_G_pid_t): Likewise.
29032         (_G_uid_t): Likewise.
29033         (_G_wchar_t): Likewise.
29034         (_G_wint_t): Likewise.
29035         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29036         (_G_ssize_t): Likewise.
29037         (_G_off_t): Likewise.
29038         (_G_pid_t): Likewise.
29039         (_G_uid_t): Likewise.
29040         (_G_wchar_t): Likewise.
29041         (_G_wint_t): Likewise.
29042         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29043         (_G_ssize_t): Likewise.
29044         (_G_off_t): Likewise.
29045         (_G_pid_t): Likewise.
29046         (_G_uid_t): Likewise.
29047         (_G_wchar_t): Likewise.
29048         (_G_wint_t): Likewise.
29049
29050 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29051
29052         * malloc/arena.c: Include malloc-sysdep.h.
29053         (shrink_heap): Use check_may_shrink_heap to decide if madvise
29054         is sufficient to shrink the heap or an unmap is needed.
29055         * sysdeps/generic/malloc-sysdep.h: New file.  Define
29056         new function check_may_shrink_heap.
29057         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
29058         new function check_may_shrink_heap.
29059
29060 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29061
29062         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29063         comments.
29064
29065 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
29066
29067         * catgets/test-gencat.sh: Add "set -e".
29068         * elf/tst-pathopt.sh: Likewise.
29069         * grp/tst_fgetgrent.sh: Likewise.
29070         * iconvdata/run-iconv-test.sh: Likewise.
29071         * intl/tst-gettext.sh: Likewise.
29072         * intl/tst-gettext2.sh: Likewise.
29073         * intl/tst-gettext4.sh: Likewise.
29074         * intl/tst-gettext6.sh: Likewise.
29075         * intl/tst-translit.sh: Likewise.
29076         * io/ftwtest-sh: Likewise.
29077         * libio/test-freopen.sh: Likewise.
29078         * malloc/tst-mtrace.sh: Likewise.
29079         * posix/globtest.sh: Likewise.
29080         * posix/tst-getconf.sh: Likewise.
29081         * posix/wordexp-tst.sh: Likewise.
29082         * stdio-common/tst-printf.sh: Likewise.
29083         * stdio-common/tst-unbputc.sh: Likewise.
29084         * stdlib/tst-fmtmsg.sh: Likewise.
29085         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29086         * catgets/Makefile: Do not specify -e option when running
29087         testsuite shell scripts.
29088         * elf/Makefile: Likewise.
29089         * grp/Makefile: Likewise.
29090         * iconvdata/Makefile: Likewise.
29091         * intl/Makefile: Likewise.
29092         * io/Makefile: Likewise.
29093         * libio/Makefile: Likewise.
29094         * malloc/Makefile: Likewise.
29095         * posix/Makefile: Likewise.
29096         * stdio-common/Makefile: Likewise.
29097         * stdlib/Makefile: Likewise.
29098         * sysdeps/x86_64/Makefile: Likewise.
29099
29100         * io/ftwtest-sh: Add copyright header.
29101         * posix/globtest.sh: Likewise.
29102         * posix/tst-getconf.sh: Likewise.
29103         * posix/wordexp-tst.sh: Likewise.
29104         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29105
29106 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29107
29108         [BZ #13679]
29109         * Makeconfig (+link): Defined as $(+link-static) if
29110         $(build-shared) isn't yes.
29111         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29112         isn't yes.
29113         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29114
29115         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29116
29117         [BZ #14562]
29118         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29119         new chunk size with MALLOC_ALIGN_MASK.
29120
29121 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29122
29123         [BZ #5044]
29124         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29125         <rounding-mode.h>.
29126         (__printf_fphex): Determine rounding using get_rounding_mode and
29127         round_away.
29128         * stdio-common/tst-printf-round.c (struct hex_test): New
29129         structure.
29130         (hex_tests): New variable.
29131         (test_hex_in_one_mode): New function.
29132         (do_test): Also run tests for hex float output.
29133
29134 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29135
29136         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29137         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29138         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29139         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29140         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29141         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29142         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29143         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29144
29145 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29146
29147         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29148         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29149         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29150         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29151
29152 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29153
29154         [BZ #14579]
29155         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29156         mode only.
29157         * elf/tst-rtld-load-self.sh: New test.
29158         * elf/Makefile: Run it.
29159
29160 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29161
29162         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29163         (tst-writev-ENV): Remove.
29164         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29165
29166 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29167
29168         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29169
29170 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29171
29172         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29173         unconditional.
29174         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29175         Likewise.
29176         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29177         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29178         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29179         Likewise.
29180
29181 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29182
29183         [BZ #14587]
29184         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29185         * config.make.in (have-cpp-asm-debuginfo): Removed.
29186         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29187         * configure: Regenerated.
29188
29189 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29190
29191         [BZ #5044]
29192         * stdio-common/printf_fp.c: Include <stdbool.h> and
29193         <rounding-mode.h>.
29194         (___printf_fp): Determine rounding using get_rounding_mode and
29195         round_away.
29196         * stdio-common/tst-printf-round.c: New file.
29197         * stdio-common/Makefile (tests): Add tst-printf-round.
29198         (link-libm): New variable.
29199         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29200
29201 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29202
29203         [BZ #14576]
29204         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29205         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29206         Likewise.
29207         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29208         Likewise.
29209
29210 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29211
29212         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29213         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29214         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29215         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29216
29217 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29218
29219         [BZ #14518]
29220         * include/rounding-mode.h: New file.
29221         * sysdeps/generic/get-rounding-mode.h: Likewise.
29222         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29223         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29224         (MAX_VALUE): New macro.
29225         (MIN_VALUE): Likewise.
29226         (overflow_value): New function.
29227         (underflow_value): Likewise.
29228         (round_and_return): Use overflow_value and underflow_value to
29229         determine return values in overflow and underflow cases.  Use
29230         round_away to determine rounding depending on rounding mode.
29231         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29232         determine return values in overflow and underflow cases.
29233         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29234         (struct test_results): New structure.
29235         (struct test): Use struct test_results to store expected results
29236         for all rounding modes.
29237         (TEST): Include expected results for all rounding modes.
29238         (test_in_one_mode): New function.
29239         (do_test): Use test_in_one_mode to compute and check results.
29240         Check results for all rounding modes.
29241         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29242         $(link-libm).
29243
29244 2012-12-09  Allan McRae  <allan@archlinux.org>
29245
29246         * sysdeps/i386/fpu/libm-test-ulps: Update
29247
29248 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29249
29250         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29251         (_G_int32_t): Likewise.
29252         (_G_uint16_t): Likewise.
29253         (_G_uint32_t): Likewise.
29254         (_G_HAVE_BOOL): Likewise.
29255         (_G_HAVE_ATEXIT): Likewise.
29256         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29257         (_G_HAVE_IO_FILE_OPEN): Likewise.
29258         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29259         (_G_int32_t): Likewise.
29260         (_G_uint16_t): Likewise.
29261         (_G_uint32_t): Likewise.
29262         (_G_HAVE_BOOL): Likewise.
29263         (_G_HAVE_ATEXIT): Likewise.
29264         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29265         (_G_HAVE_IO_FILE_OPEN): Likewise.
29266         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29267         (_G_int32_t): Likewise.
29268         (_G_uint16_t): Likewise.
29269         (_G_uint32_t): Likewise.
29270         (_G_HAVE_BOOL): Likewise.
29271         (_G_HAVE_ATEXIT): Likewise.
29272         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29273         (_G_HAVE_IO_FILE_OPEN): Likewise.
29274
29275 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29276
29277         * csu/libc-tls.c: Update copyright years.
29278
29279 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29280
29281         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29282         [!_G_USING_THUNKS]: Remove conditional code.
29283         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29284         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29285
29286         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29287         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29288         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29289         (_G_VTABLE_LABEL_PREFIX): Likewise.
29290         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29291         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29292         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29293         (_G_VTABLE_LABEL_PREFIX): Likewise.
29294         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29295         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29296         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29297         (_G_VTABLE_LABEL_PREFIX): Likewise.
29298         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29299
29300 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29301
29302         * libio/Makefile: Include ../Makeconfig before tests.
29303         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29304         only if $(build-shared) is yes.
29305
29306         * iconv/gconv_db.c: Update copyright years.
29307
29308 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29309
29310         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29311         unwind info if defined PIC. Fix special cases description.
29312         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29313
29314         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29315         DP_HI_MASK entry.
29316         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29317
29318 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29319
29320         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29321
29322         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29323         is NULL.
29324
29325         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29326         (LDLIBS-tst-chk4): This.
29327         (LDFLAGS-tst-chk5): Renamed to ...
29328         (LDLIBS-tst-chk5): This.
29329         (LDFLAGS-tst-chk6): Renamed to ...
29330         (LDLIBS-tst-chk6): This.
29331         (LDFLAGS-tst-lfschk4): Renamed to ...
29332         (LDLIBS-tst-lfschk4): This.
29333         (LDFLAGS-tst-lfschk5): Renamed to ...
29334         (LDLIBS-tst-lfschk5): This.
29335         (LDFLAGS-tst-lfschk6): Renamed to ...
29336         (LDLIBS-tst-lfschk6): This.
29337
29338         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29339         on $(common-objpfx)soversions.mk.
29340
29341 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29342
29343         [BZ #10014]
29344         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29345         example host name.
29346
29347 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29348
29349         * malloc/arena.c (arena_get_retry): New function that gets
29350         another arena for the caller to try its request on.
29351         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29352         current arena cannot fulfill the request.
29353         (__libc_memalign): Likewise.
29354         (__libc_memalign): Likewise.
29355         (__libc_pvalloc): Likewise.
29356         (__libc_calloc): Likewise.
29357
29358 2012-09-05  John Tobey  <john.tobey@gmail.com>
29359
29360         [BZ #13542]
29361         * manual/arith.texi (Operations on Complex): Fix description
29362         of carg branch cut.
29363
29364 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29365
29366         [BZ #10014]
29367         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29368         host name.
29369
29370         [BZ #10038]
29371         * manual/memory.texi (Memory): Make order of menu items match
29372         order of sections.
29373
29374 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29375
29376         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29377         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29378         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29379
29380 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29381
29382         * csu/libc-tls.c (static_dtv): Renamed to ...
29383         (_dl_static_dtv): This.  Make it global.
29384         (_dl_initial_dtv): Removed.
29385         (__libc_setup_tls): Updated.
29386         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29387         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29388         DL_INITIAL_DTV.
29389
29390 2012-09-06  Petr Machata  <pmachata@redhat.com>
29391
29392         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29393         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29394         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29395         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29396
29397 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29398
29399         [BZ #14545]
29400         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29401         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29402         freeing dtv[-1].
29403
29404 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29405
29406         [BZ #14544]
29407         * Makeconfig (link-static-before-libc): Replace $(+prector)
29408         with $(+prectorT).
29409         (link-static-after-libc): Replace $(+postctor) with
29410         $(+postctorT).
29411         (link-bounded): Replace $(+prector)/$(+postctor) with
29412         $(+prectorT)/$(+postctorT).
29413         (+prectorT): New macro.
29414         (+postctorT): Likewise.
29415
29416 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29417
29418         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29419         (round_str): Handle values above the maximum for IBM long double
29420         as inexact.
29421         * stdlib/tst-strtod-round.c (tests): Regenerated.
29422
29423 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29424
29425         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29426         assembler flag.
29427         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29428         zarch_nohighgprs around the zarch optimized routines.
29429         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29430         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29431         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29432         for zarch.
29433
29434 2012-09-05  David S. Miller  <davem@davemloft.net>
29435
29436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29437
29438         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29439         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29440         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29441         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29442         entries.
29443
29444 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29445
29446         * malloc/arena.c: Fold copyright years.
29447         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29448
29449 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29450
29451         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29452
29453 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29454
29455         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29456
29457 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29458
29459         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29460         change internal state upon failure.
29461
29462 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29463
29464         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29465         * malloc/memusage.c (mmap): Likewise.
29466         (mmap64, mremap): Likewise.  Adjust name in comment.
29467
29468 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29469
29470         * libio/fileops.c: Fix typos in comments.
29471         * libio/oldfileops.c: Likewise.
29472         * libio/wfileops.c: Likewise.
29473
29474 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29475
29476         [BZ #1349]
29477         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29478         (tst-malloc-usable-ENV): Set environment for test case.
29479         * malloc/hooks.c (malloc_check_get_size): New function to get
29480         requested size.
29481         * malloc/malloc.c (musable): Use malloc_check_get_size.
29482         * malloc/tst-malloc-usable.c: New test case.
29483
29484 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29485
29486         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29487
29488 2012-09-05  Allan McRae  <allan@archlinux.org>
29489
29490         [BZ #13966]
29491         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29492         determine header location.
29493         * configure: Regenerated.
29494
29495 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29496
29497         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29498         float format.
29499         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29500         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29501         format.
29502         (test): Regenerate.
29503
29504 2012-09-04  David S. Miller  <davem@davemloft.net>
29505
29506         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29507         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29508         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29509
29510 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29511
29512         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29513         failures.
29514
29515         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29516
29517 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29518
29519         [BZ #9914]
29520         * libio/iogetdelim.c: Include <limits.h>.
29521         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29522         + len + 1 would overflow.
29523
29524 2012-09-03  Andreas Jaeger  <aj@suse.de>
29525
29526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29527         * sysdeps/i386/fpu/libm-test-ulps: Update.
29528
29529 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29530
29531         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29532         Add s_sinf-sse2, s_conf-sse2.
29533
29534         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29535         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29536         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29537         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29538
29539         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29540         for using routine as __sinf_ia32.
29541         Use macro for function declaration and weak_alias.
29542         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29543         for using routine as __cosf_ia32.
29544         Use macro for function declaration and weak_alias.
29545
29546         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29547         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29548
29549         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29550         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29552
29553         * math/libm-test.inc (cos_test): Add more test cases.
29554         (sin_test): Likewise.
29555         (sincos_test): Likewise.
29556
29557 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29558
29559         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29560         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29561         hidden.
29562         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29563
29564 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29565
29566         [BZ #14538]
29567         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29568         first element of the GOT.
29569         (elf_machine_load_address): Return the difference between
29570         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29571
29572 2012-09-01  Allan McRae  <allan@archlinux.org>
29573
29574         [BZ #13412]
29575         * configure.in (AWK): Require gawk version 3.0 or later.
29576         * configure: Regenerated.
29577
29578 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29579
29580         * sysdeps/unix/sysv/linux/kernel-features.h
29581         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29582         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29583         [__NR_clock_getres]: Make code unconditional.
29584         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29585         (clock_getcpuclockid): Remove code left unreachable by removal of
29586         conditionals.
29587         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29588         code unconditional.
29589         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29590         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29591         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29592         Make code unconditional.
29593         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29594         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29595         * sysdeps/unix/sysv/linux/clock_settime.c
29596         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29597         conditional code.
29598         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29599         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29600
29601 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29602
29603         [BZ #14476]
29604         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29605         scripts/test-installation.pl.
29606
29607         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29608         and $ld_so_version if it is set.
29609
29610 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29611
29612         [BZ #14516]
29613         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29614         failure if reading from procfs failed.
29615         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29616
29617 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29618
29619         * sysdeps/unix/sysv/linux/kernel-features.h
29620         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29621         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29622         Remove conditional code.
29623         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29624         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29625         Remove conditional code.
29626         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29627         * sysdeps/unix/sysv/linux/i386/fxstat.c
29628         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29629         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29630         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29631         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29632         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29633         * sysdeps/unix/sysv/linux/i386/lxstat.c
29634         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29635         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29636         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29637         Remove conditional code.
29638         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29639         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29640         Remove conditional code.
29641         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29642         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29643         <kernel-features.h>.
29644         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29645         Remove.
29646         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29647         Remove conditional code.
29648         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29649         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29650         Remove conditional.
29651
29652 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29653
29654         [BZ #5400]
29655         * NEWS: Add fixed bug number.
29656
29657 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29658
29659         [BZ #14519]
29660         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29661         underflowing exponent in case of negative sign.
29662         * stdlib/tst-strtod-round-data: Add more tests.
29663         * stdlib/tst-strtod-round.c (tests): Regenerated.
29664
29665         [BZ #3479]
29666         * stdlib/strtod_l.c (NDIG): Remove.
29667         (HEXNDIG): Likewise.
29668         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29669         smallest representable value.
29670         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29671         lie within an exact representation of 1/2 ulp of the result.
29672         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29673         unconditionally.
29674         (TENS_P9_IDX): Define unconditionally.
29675         (TENS_P9_SIZE): Likewise.
29676         (TENS_P10_IDX): Likewise.
29677         (TENS_P10_SIZE): Likewise.
29678         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29679         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29680         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29681         entries for 10^2^13 and 10^2^14.
29682         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29683         (TENS_P13_IDX): Define.
29684         (TENS_P13_SIZE): Likewise.
29685         (TENS_P14_IDX): Likewise.
29686         (TENS_P14_SIZE): Likewise.
29687         (_fpioconst_pow10): Change array size to
29688         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29689         unconditional.
29690         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29691         1024]: Add entries for 10^2^13 and 10^2^14.
29692         [LAST_POW10 > _LAST_POW10]: Remove #error.
29693         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29694         (_fpioconst_pow10): Change array size to
29695         FPIOCONST_POW10_ARRAY_SIZE.
29696         * stdlib/gen-fpioconst.c: New file.
29697         * stdlib/gen-tst-strtod-round.c: Likewise.
29698         * stdlib/tst-strtod-round-data: Likewise.
29699         * stdlib/tst-strtod-round.c: Likewise.
29700         * stdlib/Makefile (tests): Add tst-strtod-round.
29701
29702         [BZ #14459]
29703         * stdlib/strtod_l.c: Include <stdint.h>.
29704         (NDEBUG): Do not define.
29705         (round_and_return): Change EXPONENT parameter to type intmax_t.
29706         Rearrange calculations to avoid internal overflow possibilities.
29707         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29708         Rearrange calculations to avoid internal overflow possibilities.
29709         Assert that number fits inside MPNSIZE limbs.
29710         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29711         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29712         calculations and add assertions to avoid internal overflow
29713         possibilities.  Add casts to avoid signed/unsigned operations.
29714         * stdlib/tst-strtod-overflow.c: New file.
29715         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29716
29717 2012-08-25  Marek Polacek  <polacek@redhat.com>
29718
29719         * time/time.h: Fix some typos in comments.
29720
29721 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29722
29723         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29724         * posix/tst-rfc3484-2.c: Likewise.
29725         * posix/tst-rfc3484-3.c: Likewise.
29726
29727 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29728
29729         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29730         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29731
29732 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29733
29734         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29735         #include of fxstatat64.c.
29736
29737 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29738
29739         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29740         * shadow/getspent_r.c: Likewise.
29741         * shadow/getspnam.c: Likewise.
29742         * shadow/getspnam_r.c: Likewise.
29743         * gshadow/getsgent.c: Likewise.
29744         * gshadow/getsgent_r.c: Likewise.
29745         * gshadow/getsgnam.c: Likewise.
29746         * gshadow/getsgnam_r.c: Likewise.
29747         * inet/getnetbyad.c: Likewise.
29748         * inet/getnetbyad_r.c: Likewise.
29749         * inet/getnetbynm.c: Likewise.
29750         * inet/getnetbynm_r.c: Likewise.
29751         * inet/getnetent.c: Likewise.
29752         * inet/getnetent_r.c: Likewise.
29753         * inet/getproto.c: Likewise.
29754         * inet/getproto_r.c: Likewise.
29755         * inet/getprtent.c: Likewise.
29756         * inet/getprtent_r.c: Likewise.
29757         * inet/getprtname.c: Likewise.
29758         * inet/getprtname_r.c: Likewise.
29759         * inet/getrpcbyname.c: Likewise.
29760         * inet/getrpcbyname_r.c: Likewise.
29761         * inet/getrpcbynumber.c: Likewise.
29762         * inet/getrpcbynumber_r.c: Likewise.
29763         * inet/getrpcent.c: Likewise.
29764         * inet/getrpcent_r.c: Likewise.
29765         * inet/getaliasent.c: Likewise.
29766         * inet/getaliasent_r.c: Likewise.
29767         * inet/getaliasname.c: Likewise.
29768         * inet/getaliasname_r.c: Likewise.
29769         * nscd/getgrgid_r.c: Likewise.
29770         * nscd/getgrnam_r.c: Likewise.
29771         * nscd/gethstbyad_r.c: Likewise.
29772         * nscd/gethstbynm3_r.c: Likewise.
29773         * nscd/getpwnam_r.c: Likewise.
29774         * nscd/getpwuid_r.c: Likewise.
29775         * nscd/getsrvbynm_r.c: Likewise.
29776         * nscd/getsrvbypt_r.c: Likewise.
29777         * nscd/gai.c: Likewise.
29778
29779         * configure.in (build_nscd): New substituted variable, set
29780         by --disable-build-nscd and defaults to $use_nscd.
29781         * configure: Regenerated.
29782         * config.make.in (build-nscd): New substituted variable.
29783         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29784         Change conditional to require [$(build-nscd) = yes] as well.
29785         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29786
29787         [BZ# 13696]
29788         * configure.in (use_nscd): New substituted variable, set by
29789         --disable-nscd.  If enabled, define USE_NSCD.
29790         * configure: Regenerated.
29791         * config.h.in: Add USE_NSCD.
29792         * config.make.in (use-nscd): New substituted variable.
29793         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29794         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29795         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29796         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29797         (CFLAGS-getgrnam_r.c): Likewise.
29798         (CFLAGS-initgroups.c): Likewise.
29799         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29800         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29801         Variables removed.
29802         * inet/getnetgrent_r.c
29803         (nscd_setnetgrent): New function, broken out of ...
29804         (setnetgrent): ... here.  Call it.
29805         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29806         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29807         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29808         * nscd/Makefile (routines, aux): Move definitions after include of
29809         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29810         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29811         Conditionalize on [USE_NSCD].
29812         (is_nscd, nscd_init_cb): Likewise.
29813         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29814         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29815         * nss/nss_db/db-init.c: Likewise.
29816         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29817         [USE_NSCD].
29818         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29819         (make_request): Use it.
29820         (cache_valid_p): New function.
29821         (__check_pf): Use it.
29822         * NEWS: Add item for --disable-nscd.
29823
29824 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29825
29826         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29827         to support sed >= 4.2.1-20-ga9bf076.
29828         * configure: Regenerated.
29829
29830 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29831
29832         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29833         Conditionalize whole body on [IREL].
29834
29835 2012-08-22  Jeff Law <law@redhat.com>
29836
29837         [BZ #14505]
29838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29839         if the family is PF_UNSPEC.
29840
29841 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29842
29843         * Makerules (lib-version): Rename from V.
29844         (install-lib-nosubdir): Change V to lib-version.
29845
29846 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29847
29848         [BZ #14252]
29849         * powerpc32/power6/wcschr.c: New file.
29850         * powerpc32/power6/wcscpy.c: New file.
29851         * powerpc32/power6/wcsrchr.c: New file.
29852         * powerpc64/power6/wcschr.c: New file.
29853         * powerpc64/power6/wcscpy.c: New file.
29854         * powerpc64/power6/wcsrchr.c: New file.
29855
29856 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29857
29858         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29859         (two_way_short_needle): Use it.
29860         * string/strstr.c (AVAILABLE1_USES_J): Define.
29861         * string/strcasestr.c: Likewise.
29862
29863         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29864         array references.
29865         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29866
29867         [BZ #11607]
29868         * NEWS: Add an entry.
29869         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29870         define their defaults.
29871         (two_way_short_needle): Detect end-of-string on-the-fly.
29872         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29873         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29874         * string/bug-strcasestr1.c: New test.
29875         * string/Makefile: Run it.
29876
29877 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29878
29879         [BZ #11607]
29880         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29881         the first character.
29882
29883 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29884
29885         * csu/elf-init.c (__libc_csu_irel): Function removed.
29886         * csu/libc-start.c (apply_irel): New function.
29887         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29888
29889 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29890
29891         * sysdeps/unix/sysv/linux/kernel-features.h
29892         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29893         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29894         <kernel-features.h>.
29895         [__NR_fadvise64_64]: Make code unconditional.
29896         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29897         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29898         !__NR_fadvise64_64)]: Likewise.
29899         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29900         !__NR_fadvise64_64))]: Likewise.
29901         [__NR_fadvise64]: Make code unconditional.
29902         [!__NR_fadvise64]: Remove conditional code.
29903         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29904         <kernel-features.h>.
29905         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29906         unconditional.
29907         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29908         conditional code.
29909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29910         not include <kernel-features.h>.
29911         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29912         unconditional.
29913         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29914         conditional code.
29915         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29916         include <kernel-features.h>.
29917         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29918         unconditional.
29919         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29920         conditional code.
29921
29922 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29923
29924         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29925         slight instruction rearrangements per scrollpipe analysis.
29926         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29927
29928 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29929
29930         * manual/syslog.texi (syslog; vsyslog, closelog):
29931         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29932         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29933
29934         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29935         DSOCAPS to match condition on defining it.
29936
29937 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29938
29939         * sysdeps/unix/sysv/linux/kernel-features.h
29940         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29942         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29943         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29945         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29946         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29948         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29949         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29950
29951         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29952         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29953
29954         * sysdeps/unix/sysv/linux/kernel-features.h
29955         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29956         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29957         unconditional.
29958         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29959         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29960         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29961         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29962         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29963         Make code unconditional.
29964         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29965         (__mmap64) [!__NR_mmap2]: Likewise.
29966         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29967         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29968         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29969         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29970         [__NR_mmap2]: Make code unconditional.
29971         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29972         (__mmap64) [!__NR_mmap2]: Likewise.
29973
29974 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29975
29976         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29977
29978 2012-08-18  Andreas Jaeger  <aj@suse.de>
29979
29980         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29981
29982 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29983
29984         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29985         * include/unistd.h (__have_sock_cloexec): Likewise.
29986         (__have_pipe2): Likewise.
29987         (__have_dup3): Likewise.
29988
29989 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29990
29991         [BZ #9685]
29992         * include/unistd.h (__have_pipe2): Change define into an extern int.
29993         (__have_dup3): Likewise.
29994         * socket/have_sock_cloexec.c: Include fcntl.h.
29995         (__have_pipe2): New variable.
29996         (__have_dup3): Likewise.
29997
29998 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29999
30000         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30001
30002 2012-08-17  Marek Polacek  <polacek@redhat.com>
30003
30004         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30005         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30006
30007 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30008
30009         * configure.in: Add AC_SUBST for sysheaders.
30010         * configure: Regenerated.
30011         * config.make.in (sysheaders): New substituted variable.
30012
30013         * sysdeps/unix/mkfifo.c: Moved ...
30014         * sysdeps/posix/mkfifo.c: ... here.
30015         * sysdeps/unix/mkfifoat.c: Moved ...
30016         * sysdeps/posix/mkfifoat.c: ... here.
30017
30018         * sysdeps/unix/utime.c: Moved ...
30019         * sysdeps/posix/utime.c: ... here.
30020
30021         * sysdeps/unix/time.c: Moved ...
30022         * sysdeps/posix/time.c: ... here.
30023         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30024         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30025
30026         * sysdeps/unix/nice.c: Moved ...
30027         * sysdeps/posix/nice.c: ... here.
30028
30029         * sysdeps/unix/alarm.c: Moved ...
30030         * sysdeps/posix/alarm.c: ... here.
30031
30032         * intl/Makefile ($(codeset_mo)): Depend on the input file.
30033
30034 2012-08-17  Jeff Law <law@redhat.com>
30035
30036         * intl/Makefile (codeset_mo): New variable.
30037         ($(codeset_mo)): New target.
30038         (tst-codeset.out): Depend on that.  Remove explicit rule.
30039         (tst-gettext3.out, tst-gettext5.out): Likewise.
30040         (LOCPATH-ENV, tst-codeset-ENV): New variables.
30041         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30042         * intl/tst-codeset.sh: Remove.
30043         * intl/tst-gettext3.sh: Likewise.
30044         * intl/tst-gettext5.sh: Likewise.
30045
30046 2012-08-17  Roland McGrath  <roland@hack.frob.com>
30047
30048         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
30049         * sysdeps/unix/syscalls.list: ... here.
30050
30051         * sysdeps/posix/getaddrinfo.c
30052         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30053         (gaiconf_init, gaiconf_reload): Use them.
30054         [!_STATBUF_ST_NSEC]
30055         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30056         Define using time_t rather than struct timespec.
30057
30058         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30059         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30060         Macros removed.
30061         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30062         [!NO_THREADS].
30063         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30064         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30065         Likewise.
30066
30067         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30068         __libc_cleanup_push argument.
30069
30070         * bits/param.h: New file.
30071         * misc/sys/param.h: New file.
30072         * include/sys/param.h: New file.
30073         * misc/Makefile (headers): Add bits/param.h.
30074         * sysdeps/generic/sys/param.h: File removed.
30075         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30076         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30077         * sysdeps/mach/hurd/bits/param.h: New file.
30078         * sysdeps/mach/hurd/sys/param.h: File removed.
30079
30080         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30081         last change.
30082
30083         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30084         [_IO_MTSAFE_IO].
30085         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30086         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30087         New macros.
30088
30089         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30090         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30091         rather than -D_IO_MTSAFE_IO conditionally.
30092         * stdio-common/Makefile (CPPFLAGS): Likewise.
30093         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30094         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30095         Use $(libio-mtsafe).
30096         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30097         of -D_IO_MTSAFE_IO.
30098         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30099         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30100         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30101         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30102         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30103         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30104         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30105         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30106         (CFLAGS-fread_u_chk.c): Likewise.
30107         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30108         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30109         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30110         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30111         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30112         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30113         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30114         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30115         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30116
30117         * libio/Makefile: Test [$(libc-reentrant) = yes]
30118         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30119
30120         * Makeconfig
30121         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30122         * sysdeps/pthread/configure: File removed.
30123         * sysdeps/pthread/Makeconfig: New file.
30124         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30125         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30126
30127 2012-08-16  Gary Benson  <gbenson@redhat.com>
30128
30129         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30130         unmapping the first object in a namespace.
30131
30132 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30133
30134         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30135         (__internal_setnetgrent): ... this.  Add internal_function to
30136         definition.  Add libc_hidden_def.
30137         (setnetgrent): Update caller.
30138         (internal_endnetgrent): Renamed to ...
30139         (__internal_endnetgrent): ... this.  Add internal_function to
30140         definition.  Add libc_hidden_def.
30141         (endnetgrent): Update caller.
30142         (internal_getnetgrent_r): Renamed to ...
30143         (__internal_getnetgrent_r): ... this.  Add internal_function to
30144         definition.  Add libc_hidden_def.
30145         (__getnetgrent_r): Update caller.
30146         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30147
30148 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30149
30150         * stdlib/longlong.h: Update from GCC.
30151
30152 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30153
30154         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30155         on _QL, which is set by umul_ppmm but never used.
30156         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30157         variables, which are set by GMP macros but never used.
30158         * stdio-common/_itowa.c (_itowa): Likewise.
30159         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30160         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30161
30162 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30163
30164         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30165         struct La_sh_regs is not constant.
30166         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30167         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30168         and struct La_sparc64_regs are not constant.
30169
30170 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30171
30172         * sysdeps/unix/sysv/linux/kernel-features.h
30173         (__ASSUME_POSIX_TIMERS): Remove.
30174         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30175         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30176         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30177         Make code unconditional.
30178         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30179         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30180         Make code unconditional.
30181         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30182         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30183         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30184         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30185         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30186         Make code unconditional.
30187         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30188         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30189         (__libc_missing_posix_timers): Remove.
30190
30191 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30192
30193         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30194         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30195
30196         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30197
30198         * elf/dl-sym.c: Include <stdlib.h>.
30199
30200         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30201         constants, which avoids warnings in 32-bit builds.
30202
30203         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30204         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30205
30206         * misc/lseek.c: File moved to ...
30207         * io/lseek.c: ... here.
30208
30209         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30210
30211         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30212         shifting LEN more than 31 bits at once.
30213
30214 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30215
30216         [BZ #14195]
30217         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30218         segmentation fault for a case of two empty input strings.
30219         * string/test-strncasecmp.c (check1): Renamed to...
30220         (bz12205): ...this.
30221         (bz14195): Add new testcase for two empty input strings and N > 0.
30222         (test_main): Call new testcase, adapt for renamed function.
30223
30224 2012-08-15  Andreas Jaeger  <aj@suse.de>
30225
30226         [BZ #14090]
30227         * crypt/md5test2.c: New test, based on test supplied by Serge
30228         Belyshev <belyshev@depni.sinp.msu.ru>.
30229         * crypt/Makefile (xtests): Add md5test-giant..
30230         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30231
30232 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30233
30234         [BZ #14090]
30235         * crypt/md5.c (md5_process_block): Don't assume the buffer
30236         length is less than 2**32.
30237         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30238         length is less than 2**64.
30239
30240 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30241
30242         * string/str-two-way.h: Include <sys/param.h>.
30243         (MAX): Macro removed.
30244
30245         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30246         Move #define and #undef of memmove to just before and after
30247         including <string.h>.
30248
30249         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30250         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30251         and after including <string.h>.  Move declarations of
30252         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30253         to before #include "string/memmove.c".
30254
30255         * include/dirent.h: Declare __getdirentries.
30256
30257         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30258         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30259
30260 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30261
30262         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30263         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30264         * sysdeps/i386/configure: Regenerated.
30265         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30266         STABS_CURRENT_FILE, and STABS_FUN.
30267         (END): Remove call to STABS_FUN_END.
30268         (STABS_CURRENT_FILE1): Delete.
30269         (STABS_CURRENT_FILE): Likewise.
30270         (STABS_FUN): Likewise.
30271         (STABS_FUN_END): Likewise.
30272         (STABS_FUN2): Likewise.
30273         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30274         * sysdeps/x86_64/configure: Regenerated.
30275
30276 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30277
30278         * elf/dl-open.c: Include <atomic.h>.
30279         * elf/dl-lookup.c: Likewise.
30280
30281 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30282
30283         * sysdeps/unix/sysv/linux/kernel-features.h
30284         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30285         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30286         unconditionally.
30287         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30288         unconditionally.
30289         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30290         condition on __ASSUME_CLONE_THREAD_FLAGS.
30291
30292 2012-08-14  Andreas Jaeger  <aj@suse.de>
30293
30294         * sysdeps/i386/fpu/libm-test-ulps: Update.
30295
30296 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30297
30298         * include/atomic.h (atomic_exchange_and_add): Split into ...
30299         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30300         New atomic macros.
30301
30302 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30303
30304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30305
30306 2012-08-13  Jeff Law <law@redhat.com>
30307
30308         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30309         null byte in the output string.
30310
30311 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30312
30313         * sysdeps/unix/sysv/linux/kernel-features.h
30314         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30315         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30316         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30317         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30318         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30319         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30320         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30321
30322 2012-08-09  Jeff Law <law@redhat.com>
30323
30324         [BZ #13939]
30325         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30326         When avoid_arena is set, don't retry in the that arena.  Pick the
30327         next one, whatever it might be.
30328         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30329         (arena_lock): Pass in new parameter to arena_get2.
30330         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30331         arena_get2.
30332         (__libc_malloc): Unify retrying after main arena failure with
30333         __libc_memalign version.
30334         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30335
30336 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30337
30338         [BZ #14166]
30339         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30340         to __redirect_strstr.
30341         (__strstr_sse42): Use typeof __redirect_strstr.
30342         (__strstr_ia32): Likewise.
30343         (__libc_strstr): New prototype.
30344         (strstr): Renamed to ...
30345         (__libc_strstr): This.
30346         (strstr): New strong alias of __libc_strstr.
30347         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30348         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30349         __redirect_time.
30350         Include <time.h>.
30351         (__libc_time): New prototype.
30352         (time_ifunc): Replace time with __libc_time.
30353         (time): New strong alias and hidden definition of __libc_time.
30354         (__GI_time): Remove strong alias.
30355         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30356         Include <stddef.h>.
30357         (memmove): Redefined to __redirect_memmove.
30358         (__memmove_sse2): Use typeof __redirect_memmove.
30359         (__memmove_ssse3): Likewise.
30360         (__memmove_ssse3_back): Likewise.
30361         (__libc_memmove): New prototype.
30362         (memmove): Renamed to ...
30363         (__libc_memmove): This.
30364         (memmove): New strong alias of __libc_memmove.
30365
30366 2012-08-08  Mark Salter  <msalter@redhat.com>
30367
30368         * elf/elf.h
30369         (R_MN10300_TLS_GD): Define.
30370         (R_MN10300_TLS_LD): Likewise.
30371         (R_MN10300_TLS_LDO): Likewise.
30372         (R_MN10300_TLS_GOTIE): Likewise.
30373         (R_MN10300_TLS_IE): Likewise.
30374         (R_MN10300_TLS_LE): Likewise.
30375         (R_MN10300_TLS_DTPMOD): Likewise.
30376         (R_MN10300_TLS_DTPOFF): Likewise.
30377         (R_MN10300_TLS_TPOFF): Likewise.
30378         (R_MN10300_SYM_DIFF): Likewise.
30379         (R_MN10300_ALIGN): Likewise.
30380         (R_MN10300_NUM): Update.
30381
30382 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30383
30384         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30385         Remove.
30386
30387 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30388
30389         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30390
30391         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30392         sysdeps/unix -> sysdeps/posix move.
30393         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30394
30395 2012-08-07      Allan McRae     <allan@archlinux.org>
30396
30397         [BZ #14303]
30398         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30399         (SUNOS_CPP): Likewise.
30400         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30401         not found.
30402         (open_input): Call CPP using execvp.
30403
30404 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30405
30406         * sysdeps/unix/sysv/linux/kernel-features.h
30407         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30408         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30409         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30410         (__ASSUME_WAITID_SYSCALL): Likewise.
30411         * sysdeps/unix/sysv/linux/dl-execstack.c
30412         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30413         code unconditional.
30414         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30415         conditional code.
30416         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30417         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30418         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30419         code.
30420         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30421         unconditional.
30422         [__ASSUME_WAITID_SYSCALL]: Likewise.
30423         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30424
30425 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30426
30427         * sysdeps/unix/closedir.c: Renamed to ...
30428         * sysdeps/posix/closedir.c: ... here.
30429         * sysdeps/unix/dirfd.c: Renamed to ...
30430         * sysdeps/posix/dirfd.c: ... here.
30431         * sysdeps/unix/dirstream.h: Renamed to ...
30432         * sysdeps/posix/dirstream.h: ... here.
30433         * sysdeps/unix/fdopendir.c: Renamed to ...
30434         * sysdeps/posix/fdopendir.c: ... here.
30435         * sysdeps/unix/opendir.c: Renamed to ...
30436         * sysdeps/posix/opendir.c: ... here.
30437         * sysdeps/unix/readdir.c: Renamed to ...
30438         * sysdeps/posix/readdir.c: ... here.
30439         * sysdeps/unix/readdir_r.c: Renamed to ...
30440         * sysdeps/posix/readdir_r.c: ... here.
30441         * sysdeps/unix/rewinddir.c: Renamed to ...
30442         * sysdeps/posix/rewinddir.c: ... here.
30443         * sysdeps/unix/seekdir.c: Renamed to ...
30444         * sysdeps/posix/seekdir.c: ... here.
30445         * sysdeps/unix/telldir.c: Renamed to ...
30446         * sysdeps/posix/telldir.c: ... here.
30447         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30448         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30449         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30450         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30451
30452         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30453         * bits/fcntl.h: ... here.
30454
30455         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30456         not 0.
30457         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30458         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30459         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30460         (struct flock): Move l_start, l_len to the beginning.
30461         Use __pid_t for l_pid.
30462         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30463         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30464         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30465         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30466         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30467         [__USE_LARGEFILE64] (struct flock64): New type.
30468         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30469
30470         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30471         * bits/dirent.h: ... here.
30472
30473         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30474         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30475
30476 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30477
30478         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30479         Change from 2.6.0 to 2.6.16.
30480         * sysdeps/unix/sysv/linux/configure: Regenerated.
30481         * sysdeps/unix/sysv/linux/kernel-features.h
30482         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30483         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30484         version.
30485         (__ASSUME_UTIMES): Likewise.
30486         (__ASSUME_CLONE_STOPPED): Remove.
30487         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30488         architectures, not kernel version.
30489         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30490         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30491         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30492         (__ASSUME_WAITID_SYSCALL): Likewise.
30493         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30494         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30495         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30496         refer to older versions.
30497
30498 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30499
30500         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30501         Define alphasort64 as an alias.
30502         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30503         Define versionsort64 as an alias.
30504         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30505         Define scandir64 as an alias.
30506         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30507         Define scandirat64 as an alias.
30508         * dirent/alphasort64.c (alphasort64):
30509         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30510         * dirent/versionsort64.c: Likewise.
30511         * dirent/scandir64.c: Likewise.
30512         * dirent/scandirat64.c: Likewise.
30513         * sysdeps/wordsize-64/alphasort.c: File removed.
30514         * sysdeps/wordsize-64/alphasort64.c: File removed.
30515         * sysdeps/wordsize-64/scandir.c: File removed.
30516         * sysdeps/wordsize-64/scandir64.c: File removed.
30517         * sysdeps/wordsize-64/scandirat.c: File removed.
30518         * sysdeps/wordsize-64/scandirat64.c: File removed.
30519         * sysdeps/wordsize-64/versionsort.c: File removed.
30520         * sysdeps/wordsize-64/versionsort64.c: File removed.
30521         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30522         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30523         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30524         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30525         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30526         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30527         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30528         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30529
30530         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30531         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30532         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30533         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30534         [defined __arch64__ || defined __sparcv9]
30535         (__INO_T_MATCHES_INO64_T): New macro.
30536         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30537         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30538         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30539         * sysdeps/unix/sysv/linux/bits/dirent.h
30540         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30541         (_DIRENT_MATCHES_DIRENT64): New macro.
30542
30543         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30544         Define lockf64 as an alias.
30545         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30546         Define fseeko64 as an alias.
30547         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30548         Define ftello64 as an alias.
30549         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30550         Define _IO_fgetpos64 and fgetpos64 as aliases.
30551         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30552         Define _IO_fsetpos64 and fsetpos64 as aliases.
30553         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30554         Conditionalize body on this.
30555         * libio/fseeko64.c: Likewise.
30556         * libio/ftello64.c: Likewise.
30557         * libio/iofgetpos64.c: Likewise.
30558         * libio/iofsetpos64.c: Likewise.
30559         * sysdeps/wordsize-64/lockf.c: File removed.
30560         * sysdeps/wordsize-64/lockf64.c: File removed.
30561         * sysdeps/wordsize-64/fseeko.c: File removed.
30562         * sysdeps/wordsize-64/fseeko64.c: File removed.
30563         * sysdeps/wordsize-64/ftello.c: File removed.
30564         * sysdeps/wordsize-64/ftello64.c: File removed.
30565         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30566         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30567         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30568         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30569         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30570         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30571         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30572         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30573         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30574         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30575         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30576         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30577         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30578         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30579
30580         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30582         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30583         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30584         [defined __arch64__ || defined __sparcv9]
30585         (__OFF_T_MATCHES_OFF64_T): New macro.
30586         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30587         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30588         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30589         (__OFF_T_MATCHES_OFF64_T): New macro.
30590
30591 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30592
30593         * stdlib/secure-getenv.c (__secure_getenv): Replace
30594         GLIBC_2_16 with GLIBC_2_17.
30595
30596 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30597
30598         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30599         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30600
30601 2012-08-03  David S. Miller  <davem@davemloft.net>
30602
30603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30604
30605 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30606
30607         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30608         Remove.
30609         (__ASSUME_CORRECT_SI_PID): Likewise.
30610         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30611         (__ASSUME_TMPFS_NAME): Likewise.
30612         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30613         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30614         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30615         (HAVE_AUX_SECURE): Make definition unconditional.
30616         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30617         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30618
30619 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30620
30621         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30622         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30623         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30624         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30625         __eloop_threshold instead of SYMLOOP_MAX.
30626
30627         * sysdeps/generic/eloop-threshold.h: New file.
30628         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30629         of MAXSYMLINKS.
30630         * elf/chroot_canon.c (chroot_canon): Likewise.
30631
30632 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30633
30634         [BZ #13717]
30635         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30636         Change to 2.6.0 everywhere.
30637         * sysdeps/unix/sysv/linux/configure: Regenerated.
30638         * sysdeps/unix/sysv/linux/kernel-features.h
30639         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30640         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30641         kernel versions.
30642         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30643         (__ASSUME_FUTEX_REQUEUE): Remove.
30644         (__ASSUME_STATFS64): Define unconditionally.
30645         (__ASSUME_AT_SECURE): Likewise.
30646         (__ASSUME_CORRECT_SI_PID): Likewise.
30647         (__ASSUME_TGKILL): Define without depending on kernel version for
30648         i386.
30649         (__ASSUME_UTIMES): Likewise.
30650         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30651         kernel version.
30652         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30653         (__ASSUME_TMPFS_NAME): Likewise.
30654         * README: Update reference to Linux kernel versions.
30655
30656 2012-08-02  Marek Polacek  <polacek@redhat.com>
30657
30658         [BZ# 14150]
30659         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30660         libc_cv_asm_type_prefix with %.
30661         * configure: Regenerated.
30662         * include/libc-symbols.h: Remove comment about
30663         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30664         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30665         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30666         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30667         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30668         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30669         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30670         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30671         * elf/tst-unique2mod1.c: Likewise.
30672         * elf/tst-unique1mod2.c: Likewise.
30673         * elf/tst-unique1mod1.c: Likewise.
30674         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30675         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30676         Replace ASM_TYPE_DIRECTIVE with .type.
30677         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30678         * sysdeps/i386/sysdep.h: Likewise.
30679         * sysdeps/x86_64/sysdep.h: Likewise.
30680         * sysdeps/sh/sysdep.h: Likewise.
30681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30682         Do not define ASM_TYPE_DIRECTIVE.
30683         * sysdeps/powerpc/sysdep.h: Likewise.
30684         * sysdeps/powerpc/powerpc32/sysdep.h:
30685         Replace ASM_TYPE_DIRECTIVE with .type.
30686         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30687         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30688         * sysdeps/i386/fpu/e_powf.S: Likewise.
30689         * sysdeps/i386/fpu/e_expl.S: Likewise.
30690         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30691         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30692         * sysdeps/i386/fpu/e_pow.S: Likewise.
30693         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30694         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30695         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30696         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30697         * sysdeps/i386/fpu/e_log2.S: Likewise.
30698         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30699         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30700         * sysdeps/i386/fpu/e_powl.S: Likewise.
30701         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30702         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30703         * sysdeps/i386/fpu/e_logl.S: Likewise.
30704         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30705         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30706         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30707         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30708         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30709         * sysdeps/i386/fpu/e_log.S: Likewise.
30710         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30711         * sysdeps/i386/fpu/e_logf.S: Likewise.
30712         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30713         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30714         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30715         * sysdeps/i386/fpu/e_log10.S: Likewise.
30716         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30717         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30718         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30719         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30720         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30721         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30722         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30723         * sysdeps/i386/i686/strtok.S: Likewise.
30724         * sysdeps/i386/i386-mcount.S: Likewise.
30725         * sysdeps/i386/strtok.S: Likewise.
30726         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30727         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30728         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30729         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30730         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30731         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30732         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30733         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30734         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30735         * sysdeps/x86_64/_mcount.S: Likewise.
30736         * sysdeps/x86_64/strtok.S: Likewise.
30737         * sysdeps/sh/_mcount.S: Likewise.
30738
30739 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30740
30741         * libio/iofopen.c: Include <fcntl.h>.
30742         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30743         (_IO_fopen64, fopen64): Define as aliases.
30744         * libio/iofopen64.c: Include <fcntl.h>.
30745         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30746         Conditionalize body on this.
30747         * sysdeps/wordsize-64/iofopen.c: File removed.
30748         * sysdeps/wordsize-64/iofopen64.c: File removed.
30749
30750 2012-08-01  Marek Polacek  <polacek@redhat.com>
30751
30752         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30753         Use dlfcn directly instead of a variable.
30754         (binfmt-subdir): Do not define.
30755         (dlfcn): Likewise.
30756
30757 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30758
30759         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30760         Remove all definitions.
30761         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30762         <kernel-features.h>.
30763         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30764         (miss_F_GETOWN_EX): Remove all definitions.
30765         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30766         macro definition.
30767         [!__ASSUME_FCNTL64]: Remove conditional code.
30768         [__ASSUME_FCNTL64]: Make code unconditional.
30769         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30770         <kernel-features.h>.
30771         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30772         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30773         (lockf64) [__NR_fcntl64]: Make code unconditional.
30774         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30775
30776         * sysdeps/unix/sysv/linux/kernel-features.h
30777         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30778         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30779         Make code unconditional.
30780         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30781         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30783         [__NR_vfork]: Make code unconditional.
30784         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30785         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30787         [__NR_vfork]: Make code unconditional.
30788         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30789         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30790
30791 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30792
30793         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30794         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30795
30796         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30797         Define mkstemp64 as an alias.
30798         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30799         Define mkstemps64 as an alias.
30800         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30801         Define mkostemp64 as an alias.
30802         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30803         Define mkostemps64 as an alias.
30804         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30805         Conditionalize body on this.
30806         * misc/mkostemp64.c: Likewise.
30807         * misc/mkostemps64.c: Likewise.
30808         * misc/mkstemps64.c: Likewise.
30809         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30810         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30811         * sysdeps/wordsize-64/mkostemp.c: File removed.
30812         * sysdeps/wordsize-64/mkstemp.c: File removed.
30813         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30814         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30815         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30816         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30817
30818         [BZ #14138]
30819         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30820         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30821         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30822         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30823
30824         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30825         compat_symbol macros from <shlib-compat.h> rather than the underlying
30826         default_symbol_version and symbol_version macros, so that DEFAULT
30827         lines in shlib-versions are respected.
30828         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30829
30830 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30831
30832         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30833         Declare with warn_unused_result.
30834         (setgid, setregid, setegid, setresgid): Likewise.
30835         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30836         Likewise.
30837         * WUR-REPORT: Remove set*id functions.
30838
30839 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30840
30841         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30842
30843 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30844
30845         [BZ #10191]
30846         * include/sys/socket.h (__libc_accept, __libc_accept4):
30847         Add attribute_hidden.
30848         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30849
30850         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30851         use of PTR_MANGLE.
30852         * inet/getnetgrent_r.c (setup): Likewise.
30853
30854         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30855
30856 2012-07-31  David S. Miller  <davem@davemloft.net>
30857
30858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30859
30860 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30861
30862         [BZ #13629]
30863         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30864         value between 1.0 and 2.0 and smaller part has absolute value less
30865         than 1.0.
30866         * math/s_clog10.c (__clog10): Likewise.
30867         * math/s_clog10f.c (__clog10f): Likewise.
30868         * math/s_clog10l.c (__clog10l): Likewise.
30869         * math/s_clogf.c (__clogf): Likewise.
30870         * math/s_clogl.c (__clogl): Likewise.
30871         * math/libm-test.inc (clog_test): Add more tests.
30872         (clog10_test): Likewise.
30873         * sysdeps/i386/fpu/libm-test-ulps: Update.
30874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30875
30876 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30877
30878         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30879         Exit with zero in case no suitable GID is found, and write a
30880         message to standard error.
30881
30882 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30883
30884         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30885         rather than to 1.
30886         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30887         (MAXPATHLEN): Removed.
30888         (NOGROUP, NODEV): New macros.
30889         (setbit, clrbit, isset, isclr): New macros.
30890         (howmany, roundup, powerof2): New macros.
30891         (DEV_BSIZE): New macro.
30892
30893         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30894         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30895
30896         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30897         definition on [!__NO_LONG_DOUBLE_MATH].
30898
30899         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30900         PTR_MANGLE and PTR_DEMANGLE.
30901
30902         * socket/accept4.c (accept4): Rename to __libc_accept4.
30903         Define accept4 as a weak alias.
30904
30905         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30906         on [_DIRENT_HAVE_D_TYPE].
30907         * io/ftw.c (ftw_dir): Likewise.
30908
30909         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30910
30911         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30912
30913         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30914         Use the BSD numbers rather than the arbitrary ones we had.
30915         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30916         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30917         (SIGXCPU, SIGXFSZ): New macros.
30918         (_NSIG): Now 32.
30919
30920         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30921         initializer on [_LIBC_REENTRANT].
30922
30923         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30924         definitions inside [_POSIX_MAPPED_FILES].
30925
30926         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30927
30928         * dirent/opendir.c: Include <fcntl.h>.
30929
30930         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30931         (__libc_getspecific): Likewise.
30932         (__libc_key_create): Likewise.
30933
30934         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30935         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30936         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30937         (tmpfile64): Define as alias.
30938         * sysdeps/wordsize-64/tmpfile.c: File removed.
30939         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30940         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30941         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30942
30943         * stdio-common/vfscanf.c: Include <stdbool.h>.
30944         * nss/makedb.c: Likewise.
30945         * stdio-common/_i18n_number.h: Likewise.
30946         * argp/argp-help.c: Likewise.
30947         * posix/wordexp.c: Likewise.
30948         * sysdeps/posix/spawni.c: Likewise.
30949         * nss/nss_files/files-initgroups.c: Likewise.
30950         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30951         * nss/nss_files/files-initgroups.c: Likewise.
30952         * nss/nss_db/db-netgrp.c: Likewise.
30953         * nss/nss_db/db-initgroups.c: Likewise.
30954         * io/fchmodat.c: Include <sys/stat.h>.
30955
30956         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30957         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30958
30959         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30960         [HAVE_MMAP].
30961
30962         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30963         Add multiple inclusion protection.
30964
30965 2012-07-27  David S. Miller  <davem@davemloft.net>
30966
30967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30968
30969 2012-07-27  Gary Benson  <gbenson@redhat.com>
30970
30971         [BZ #14298]
30972         * elf/rtld.c: Include <stap-probe.h>.
30973         (dl_main): Added static probes "init_start" and "init_complete".
30974         * elf/dl-load.c: Include <stap-probe.h>.
30975         (lose): Take new parameter "nsid".
30976         Added static probe "map_failed".
30977         (_dl_map_object_from_fd): Pass namespace id to lose.
30978         Added static probe "map_start".
30979         (open_verify): Pass namespace id to lose.
30980         * elf/dl-open.c: Include <stap-probe.h>.
30981         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30982         and "reloc_complete".
30983         * elf/dl-close.c: Include <stap-probe.h>.
30984         (_dl_close_worker): Added static probes "unmap_start" and
30985         "unmap_complete".
30986         * elf/rtld-debugger-interface.txt: New file documenting the above.
30987
30988 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30989
30990         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30991         rather than a string variable.
30992         * sunrpc/rpc_main.c (h_output): Likewise.
30993         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30994
30995 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30996
30997         * inet/check_native.c: New file.
30998
30999 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
31000
31001         [BZ #13629]
31002         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31003         if larger part has absolute value 1.0.
31004         * math/s_clog10.c (__clog10): Likewise.
31005         * math/s_clog10f.c (__clog10f): Likewise.
31006         * math/s_clog10l.c (__clog10l): Likewise.
31007         * math/s_clogf.c (__clogf): Likewise.
31008         * math/s_clogl.c (__clogl): Likewise.
31009         * math/libm-test.inc (clog_test): Add more tests.
31010         (clog10_test): Likewise.
31011         * sysdeps/i386/fpu/libm-test-ulps: Update.
31012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31013
31014         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31015         (pltexit): Likewise.
31016         (La_regs): Likewise.
31017         (La_retval): Likewise.
31018         (int_retval): Likewise.
31019         Update #error for removed macros to refer only to definitions in
31020         tst-audit.h.
31021         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31022         macro.
31023         (pltexit): Likewise.
31024         (La_regs): Likewise.
31025         (La_retval): Likewise.
31026         (int_retval): Likewise.
31027         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31028         macro.
31029         (pltexit): Likewise.
31030         (La_regs): Likewise.
31031         (La_retval): Likewise.
31032         (int_retval): Likewise.
31033         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31034         macro.
31035         (pltexit): Likewise.
31036         (La_regs): Likewise.
31037         (La_retval): Likewise.
31038         (int_retval): Likewise.
31039         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31040         macro.
31041         (pltexit): Likewise.
31042         (La_regs): Likewise.
31043         (La_retval): Likewise.
31044         (int_retval): Likewise.
31045         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31046         macro.
31047         (pltexit): Likewise.
31048         (La_regs): Likewise.
31049         (La_retval): Likewise.
31050         (int_retval): Likewise.
31051         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31052         macro.
31053         (pltexit): Likewise.
31054         (La_regs): Likewise.
31055         (La_retval): Likewise.
31056         (int_retval): Likewise.
31057         * sysdeps/generic/tst-audit.h: Update comment to refer only to
31058         macro definitions in tst-audit.h.
31059         * sysdeps/i386/tst-audit.h: New file.
31060         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31061         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31062         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31063         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31064         * sysdeps/sh/tst-audit.h: Likewise.
31065         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31066         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31067         * sysdeps/x86_64/tst-audit.h: Likewise.
31068
31069 2012-07-26  Andreas Jaeger  <aj@suse.de>
31070
31071         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31072         ptrace.
31073
31074         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31075         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31076         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31077         PTRACE_O_MASK.
31078         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31079         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31080         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31081
31082         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31083         value.
31084
31085         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31086         _sigsys.
31087         (si_call_addr, si_syscall, si_arch): Define new macro.
31088         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31089         _sigsys.
31090         (si_call_addr, si_syscall, si_arch): Define new marcro.
31091         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31092         _sigsys.
31093         (si_call_addr, si_syscall, si_arch): Define new macro.
31094         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31095         _sigsys.
31096         (si_call_addr, si_syscall, si_arch): Define new macro.
31097
31098 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31099
31100         [BZ #13717]
31101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31102         Change to 2.4.21 where previously 2.4.1.
31103         * sysdeps/unix/sysv/linux/configure: Regenerated.
31104         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31105         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31106         Linux kernel version.
31107         (__ASSUME_STD_AUXV): Remove.
31108         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31109         kernel version.
31110         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31111         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31112         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31113         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31114         (__ASSUME_NETLINK_SUPPORT): Likewise.
31115         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31116         (__no_netlink_support): Remove conditional definition.
31117         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31118         Remove.
31119         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31120         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31121         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31122         (if_nameindex_ioctl): Remove.
31123         (if_nameindex_netlink): Do not handle __no_netlink_support.
31124         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31125         code.
31126         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31127         Remove conditional code.
31128         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31129         code.
31130         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31131         unconditional.
31132         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31133         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31134         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31135         Remove.
31136         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31137         [!__ASSUME_STD_AUXV]: Remove conditional code.
31138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31139         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31140         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31142         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31143         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31144         code.
31145         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31147         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31148         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31149         conditional code.
31150         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31152         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31153         code.
31154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31155         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31156         conditional code.
31157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31158         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31159         code unconditional.
31160         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31161         conditional code.
31162         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31163         unconditional.
31164         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31165         conditional code.
31166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31167         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31168         unconditional.
31169         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31170         conditional code.
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31172         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31173         code unconditional.
31174         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31175         conditional code.
31176         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31177         unconditional.
31178         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31179         conditional code.
31180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31181         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31182         code unconditional.
31183         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31184         conditional code.
31185         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31186         unconditional.
31187         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31188         conditional code.
31189
31190 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31191
31192         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31193         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31194         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31195         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31196         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31197         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31198         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31199         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31200         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31201         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31202         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31203         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31204         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31205         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31206         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31207         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31208         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31209         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31210         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31212         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31213         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31214         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31215
31216 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31217
31218         * Versions.def: Add GLIBC_2.17.
31219         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31220         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31221         Introduce __libc_secure_getenv.
31222         * stdlib/Versions (2.17): Add secure_getenv
31223         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31224         * stdlib/secure-getenv.c: Rename __secure_getenv to
31225         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31226         symbol __secure_getenv for GLIBC_2.0.
31227         * stdlib/tst-secure-getenv.c: New.
31228         * stdlib/Makefile (tests): Add testcase.
31229         * manual/startup.texi (Environment Access): Document
31230         secure_getenv.
31231         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31232         __libc_secure_getenv.
31233         * inet/ruserpass.c (ruserpass): Likewise.
31234         * malloc/mtrace.c (mtrace): Likewise.
31235         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31236         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31237         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31238         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31239         HAVE_SECURE_GETENV.
31240         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31241         __secure_getenv to __libc_secure_getenv.
31242         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31244         Likewise.
31245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31246         Likewise.
31247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31249         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31254
31255 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31256
31257         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31258         (struct La_i86_retval): Likewise.
31259         (struct La_x86_64_regs): Likewise.
31260         (struct La_x86_64_retval): Likewise.
31261         (struct La_x32_regs): Likewise.
31262         (struct La_x32_retval): Likewise.
31263         (struct La_ppc32_regs): Likewise.
31264         (struct La_ppc32_retval): Likewise.
31265         (struct La_ppc64_regs): Likewise.
31266         (struct La_ppc64_retval): Likewise.
31267         (struct La_sh_regs): Likewise.
31268         (struct La_sh_retval): Likewise.
31269         (struct La_s390_32_regs): Likewise.
31270         (struct La_s390_32_retval): Likewise.
31271         (struct La_s390_64_regs): Likewise.
31272         (struct La_s390_64_retval): Likewise.
31273         (struct La_sparc32_regs): Likewise.
31274         (struct La_sparc32_retval): Likewise.
31275         (struct La_sparc64_regs): Likewise.
31276         (struct La_sparc64_retval): Likewise.
31277         (struct audit_ifaces): Remove architecture-specific pltenter and
31278         pltexit members.
31279         * sysdeps/i386/ldsodefs.h: New file.
31280         * sysdeps/powerpc/ldsodefs.h: Likewise.
31281         * sysdeps/s390/ldsodefs.h: Likewise.
31282         * sysdeps/sh/ldsodefs.h: Likewise.
31283         * sysdeps/sparc/ldsodefs.h: Likewise.
31284         * sysdeps/x86_64/ldsodefs.h: Likewise.
31285
31286 2012-07-25  Marek Polacek  <polacek@redhat.com>
31287
31288         [BZ #6808]
31289         * math/libm-test.inc (yn_test): Add another test.
31290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31291         to ERANGE when the result is +-Inf.
31292         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31293         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31294         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31295         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31296
31297 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31298
31299         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31300         equal to 0.
31301         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31302         clock_t.
31303         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31304
31305 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31306
31307         * configure.in <sysdeps resolving>: Correct printing
31308         Implies_before.
31309         * configure: Regenerate.
31310
31311 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31312
31313         * math/w_ilogb.c: Include <limits.h>.
31314         * math/w_ilogbl.c: Likewise.
31315
31316 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31317
31318         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31319         va_copy.  Document allowing for unavailable va_copy only as
31320         pre-C99 compatibility.
31321         * manual/string.texi (Copying and Concatenation): Use va_copy
31322         instead of __va_copy in concat example.
31323
31324 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31325
31326         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31327         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31328         it if not null.
31329
31330         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31331         with O_NOLINK passed to __file_name_lookup.
31332
31333         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31334         with O_NOLINK passed to __file_name_lookup.
31335
31336         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31337         negative N or less than NGIDS.
31338
31339         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31340         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31341         enough.  Use memcpy instead of strncpy.
31342
31343 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31344
31345         * elf/Makefile (check-data): Remove.
31346         (localplt.data): New vpath directive.
31347         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31348         instead of $(check-data).
31349         * scripts/data/localplt-generic.data: Move to ...
31350         * sysdeps/generic/localplt.data: ... here.
31351         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31352         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31353         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31355         ... here.
31356         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31358         ... here.
31359         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31361         ... here.
31362         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31364         ... here.
31365         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31367         ... here.
31368         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31370         ... here.
31371
31372 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31373
31374         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31375         PPC32 and PPC64 files.
31376         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31377         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31378
31379 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31380
31381         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31382         __makecontext_ret to ...
31383         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31384         ... here and call exit if uc_link is NULL.  New file.
31385         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31386         __makecontext_ret.S.
31387         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31388         __makecontext_ret to ...
31389         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31390         ... here and call exit if uc_link is NULL.  New file.
31391         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31392         __makecontext_ret.S.
31393
31394 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31395
31396         * elf/elf.h (R_390_IRELATIVE): New definition.
31397         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31398         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31399         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31400         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31401         (elf_machine_lazy_rel): Likewise.
31402         * sysdeps/s390/dl-irel.h: New file.
31403         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31404         * sysdeps/s390/s390-64/memset.S: New asm code.
31405         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31406         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31407         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31408         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31409         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31410         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31411         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31412         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31413         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31414         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31415         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31416         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31417         * sysdeps/s390/s390-32/memset.S: New asm code.
31418         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31419
31420 2012-07-17  Marek Polacek  <polacek@redhat.com>
31421
31422         [BZ #14349]
31423         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31424         * sysdeps/s390/s390-64/configure.in: Likewise.
31425         * sysdeps/sparc/configure.in: Likewise.
31426         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31427         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31428         * sysdeps/i386/configure.in: Likewise.
31429         * sysdeps/x86_64/configure.in: Likewise.
31430         * sysdeps/sh/configure.in: Likewise.
31431         * sysdeps/s390/s390-32/configure: Regenerated.
31432         * sysdeps/s390/s390-64/configure: Likewise.
31433         * sysdeps/x86_64/configure: Likewise.
31434         * sysdeps/sh/configure: Likewise.
31435         * sysdeps/powerpc/powerpc64/configure: Likewise.
31436         * sysdeps/powerpc/powerpc32/configure: Likewise.
31437         * sysdeps/sparc/configure: Likwise.
31438         * sysdeps/i386/configure: Likewise.
31439
31440         * elf/dl-open.c: Comment fixes.
31441
31442 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31443
31444         * Makefile [CXX] (check-data): Remove.
31445         [CXX] (c++-types.data): New vpath directive.
31446         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31447         vpath.  Do not allow for C++ type data being missing.
31448         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31449         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31450         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31451         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31452         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31453         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31454         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31456         ... here.
31457         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31459         ... here.
31460         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31462         ... here.
31463         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31465         ... here.
31466         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31468         ... here.
31469         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31471         ... here.
31472         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31474         ... here.
31475         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31477
31478         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31479         definitions to architecture-specific files.
31480         (TLS_IE): Likewise.
31481         (TLS_LD): Likewise.
31482         (TLS_GD): Likewise.
31483         * sysdeps/i386/tls-macros.h: New file.
31484         * sysdeps/powerpc/tls-macros.h: Likewise.
31485         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31486         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31487         * sysdeps/sh/tls-macros.h: Likewise.
31488         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31489         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31490         * sysdeps/x86_64/tls-macros.h: Likewise.
31491
31492 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31493
31494         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31495         zero value for regular exit case.
31496
31497         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31498         (__start_context): Preserve zero value for regular exit case.
31499
31500 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31501             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31502
31503         * manual/setjmp.texi (setcontext): Clarify normal process
31504         termination when uc_link is the null pointer.
31505         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31506         exit call.
31507
31508 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31509
31510         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31511         preprocessor.  Test for each exception mask separately.
31512
31513 2012-07-16  Andreas Jaeger  <aj@suse.de>
31514
31515         * po/ru.po: Update from translation team.
31516
31517 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31518
31519         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31520         equal to 0.
31521         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31522         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31523         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31524         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31525         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31526
31527 2012-07-13  Andreas Jaeger  <aj@suse.de>
31528
31529         * po/fr.po: Update from translation team.
31530
31531 2012-07-12  Marek Polacek  <polacek@redhat.com>
31532
31533         [BZ #14173]
31534         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31535         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31536         loop condition.
31537
31538 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31539
31540         [BZ #13717]
31541         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31542         Change to 2.4.1 where previously 2.4.0.
31543         * sysdeps/unix/sysv/linux/configure: Regenerated.
31544         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31545         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31546         version.
31547         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31548         (__ASSUME_AT_CLKTCK): Remove.
31549         (__ASSUME_AT_PAGESIZE): Likewise.
31550         (__ASSUME_AT_XID): Likewise.
31551         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31552         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31553         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31554         unconditionally.
31555         (HAVE_AUX_PAGESIZE): Likewise.
31556         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31557         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31558         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31559
31560 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31561
31562         [BZ #14307]
31563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31564         the temporary buffer used to invoke __gethostbyname2_r,
31565         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31566         host_data / struct gaih_addrtuple.
31567         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31568         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31569         header file nss/nsswitch.h.
31570         * nss/nsswitch.h (global scope): Add definition of implementation
31571         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31572         resolv/nss_dns/dns-host.c).
31573
31574 2012-07-11  Andreas Jaeger  <aj@suse.de>
31575
31576         * po/fr.po: Update from translation team.
31577
31578         * po/sv.po: Update from translation team
31579         * po/fr.po: Another update from translation team.
31580
31581 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31582
31583         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31584         for subnormals or multiply small sinh result by itself.
31585         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31587
31588 2012-07-11  David S. Miller  <davem@davemloft.net>
31589
31590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31591
31592 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31593
31594         [BZ #14347]
31595         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31596         (INTERNAL_MARK): Shift it here.
31597
31598 2012-07-10  Marek Polacek  <polacek@redhat.com>
31599
31600         [BZ #14151]
31601         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31602         libc_cv_asm_global_directive with .globl.
31603         * configure: Regenerated.
31604         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31605         with .globl.
31606         * sysdeps/i386/configure: Regenerated.
31607         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31608         with .globl.
31609         * sysdeps/x86_64/configure: Regenerated.
31610         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31611         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31612         * elf/tst-unique2mod2.c: Likewise.
31613         * elf/tst-unique2mod1.c: Likewise.
31614         * elf/tst-unique1mod2.c: Likewise.
31615         * elf/tst-unique1mod1.c: Likewise.
31616         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31617         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31618         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31619         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31620         * sysdeps/mach/sysdep.h: Likewise.
31621         * sysdeps/i386/sysdep.h: Likewise.
31622         * sysdeps/i386/i386-mcount.S: Likewise.
31623         * sysdeps/x86_64/_mcount.S: Likewise.
31624         * sysdeps/x86_64/sysdep.h: Likewise.
31625         * sysdeps/sh/_mcount.S: Likewise.
31626         * sysdeps/sh/sysdep.h: Likewise.
31627         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31628         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31629         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31630         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31631         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31632         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31633         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31634         * locale/localeinfo.h: Likewise.
31635         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31636         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31637
31638 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31639
31640         [BZ #14336]
31641         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31642         system".
31643         * manual/message.texi (The Uniforum approach): Likewise.
31644         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31645         (glibc iconv Implementation): Likewise.
31646
31647 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31648
31649         [BZ #14337]
31650         * math/s_clog.c (__clog): Avoid scaling a value down where that
31651         could result in underflow.
31652         * math/s_clog10.c (__clog10): Likewise.
31653         * math/s_clog10f.c (__clog10f): Likewise.
31654         * math/s_clog10l.c (__clog10l): Likewise.
31655         * math/s_clogf.c (__clogf): Likewise.
31656         * math/s_clogl.c (__clogl): Likewise.
31657         * math/libm-test.inc (clog_test): Add more tests.
31658         (clog10_test): Likewise.
31659         * sysdeps/i386/fpu/libm-test-ulps: Update.
31660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31661
31662 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31663
31664         [BZ #14283]
31665         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31666         by 7 not 8 to examine high bit of fractional part.
31667
31668         [BZ #14042]
31669         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31670         for call to __mcount_internal.
31671         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31672         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31673         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31674
31675 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31676
31677         [BZ #14154]
31678         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31679         approximation for values within 0x1p-13f of an odd multiple of
31680         pi/4.
31681         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31682         exception.  Add more tests.
31683         * sysdeps/i386/fpu/libm-test-ulps: Update.
31684
31685         [BZ #6778]
31686         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31687         inputs and return -1 for them.  Do not check for +Inf in case not
31688         reachable for +Inf.
31689         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31690         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31691         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31692         and return -1 for them.  Do not check for +Inf in case not
31693         reachable for +Inf.
31694         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31695         define.
31696         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31697         and return -1 for them.  Do not check for +Inf in case not
31698         reachable for +Inf.
31699         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31700         spurious underflow.
31701         * sysdeps/i386/fpu/libm-test-ulps: Update.
31702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31703
31704 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31705
31706         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31707
31708 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31709
31710         [BZ #14157]
31711         [BZ #14331]
31712         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31713         could result in spurious underflow.  Scale down values above
31714         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31715         * math/s_csqrtf.c (__csqrtf): Likewise.
31716         * math/s_csqrtl.c (__csqrtl): Likewise.
31717         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31718         spurious underflow.
31719         * sysdeps/i386/fpu/libm-test-ulps: Update.
31720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31721
31722 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31723
31724         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31725         xopen-msg.sed.
31726         * catgets/xopen-msg.awk: New file.
31727         * catgets/xopen-msg.sed: Removed.
31728
31729         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31730         po2text.sed.
31731         * intl/po2test.awk: New file.
31732         * intl/po2test.sed: Removed.
31733
31734 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31735
31736         [BZ #14328]
31737         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31738         or multiply small sinh result by itself.
31739         * math/s_ctanf.c (__ctanf): Likewise.
31740         * math/s_ctanh.c (__ctanh): Likewise.
31741         * math/s_ctanhf.c (__ctanhf): Likewise.
31742         * math/s_ctanhl.c (__ctanhl): Likewise.
31743         * math/s_ctanl.c (__ctanl): Likewise.
31744         * math/libm-test.inc (ctan_test_tonearest): New function.
31745         (ctan_test_towardzero): Likewise.
31746         (ctan_test_downward): Likewise.
31747         (ctan_test_upward): Likewise.
31748         (ctanh_test_tonearest): Likewise.
31749         (ctanh_test_towardzero): Likewise.
31750         (ctanh_test_downward): Likewise.
31751         (ctanh_test_upward): Likewise.
31752         (main): Call these new functions.
31753         * sysdeps/i386/fpu/libm-test-ulps: Update.
31754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31755
31756 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31757
31758         * .gitignore: Delete /ports entry.
31759
31760 2012-07-03  Andreas Jaeger  <aj@suse.de>
31761
31762         * po/bg.po: Update from translation team.
31763         * po/cs.po: Likewise.
31764         * po/de.po: Likewise.
31765         * po/hr.po: Likewise.
31766         * po/nl.pl: Likewise.
31767         * po/pl.po: Likewise.
31768         * po/vi.po: Likewise.
31769
31770 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31771
31772         * Makeconfig [!+link] (+link-before-libc): New variable.
31773         [!+link] (+link-after-libc): Likewise.
31774         [!+link] (+link-tests): Likewise.
31775         [!+link] (+link): Define in terms of $(+link-before-libc) and
31776         $(+link-after-libc).
31777         [!+link-static] (+link-static-before-libc): New variable.
31778         [!+link-static] (+link-static-after-libc): Likewise.
31779         [!+link-static] (+link-static-tests): Likewise.
31780         [!+link-static] (+link-static): Define in terms of
31781         $(+link-static-before-libc) and $(+link-static-after-libc).
31782         [build-shared] (link-libc-before-gnulib): New variable.
31783         [build-shared] (link-libc-tests): Likewise.
31784         [build-shared] (link-libc): Define in terms of
31785         $(link-libc-before-gnulib).
31786         [!build-shared] (link-libc-tests): New variable.
31787         (link-libc-static-tests): New variable.
31788         [!gnulib] (gnulib-arch): New variable.
31789         [!gnulib] (gnulib-tests): Likewise.
31790         [!gnulib] (static-gnulib-arch): Likewise.
31791         [!gnulib] (static-gnulib-tests): Likewise.
31792         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31793         Define with "=" instead of ":=".
31794         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31795         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31796         * Rules (binaries-all-notests): New variable.
31797         (binaries-all-tests): Likewise.
31798         (binaries-static-notests): Likewise.
31799         (binaries-static-tests): Likewise.
31800         (binaries-all): Define using $(binaries-all-notests) and
31801         $(binaries-all-tests).
31802         (binaries-static): Define using $(binaries-static-notests) and
31803         $(binaries-static-tests).
31804         (binaries-shared-tests): New variable.
31805         (binaries-shared-notests): Likewise.
31806         (binaries-shared): Remove variable.
31807         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31808         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31809         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31810         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31811         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31812         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31813         * elf/Makefile (sln-modules): New variable.
31814         (extra-objs): Add $(sln-modules:=.o).
31815         (ldconfig-modules): Add static-stubs.
31816         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31817         * elf/static-stubs.c: New file.
31818
31819         [BZ #14283]
31820         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31821         by 7 not 8 to examine high bit of fractional part.  Use volatile
31822         variables when splitting into final array of floats if
31823         __FLT_EVAL_METHOD__ != 0.
31824         * math/libm-test.inc (cos_test): Add another test.
31825         (sin_test): Likewise.
31826         * sysdeps/i386/fpu/libm-test-ulps: Update.
31827
31828         [BZ #14273]
31829         * math/libm-test.inc (cosh_test): Add more tests.
31830
31831         * version.h (RELEASE): Set to "development".
31832         (VERSION): Set to "2.16.90".
31833
31834 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31835
31836         * NEWS: Update copyright. Remove last-updated date.
31837         Mention math library bug fixes and timezone data changes.
31838         * README: Mention GNU/Hurd, x32, and HPPA support status.
31839
31840 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31841
31842         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31843
31844 2012-06-27  Andreas Jaeger  <aj@suse.de>
31845
31846         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31847
31848 2012-06-25  Andreas Jaeger  <aj@suse.de>
31849
31850         * sysdeps/s390/fpu/libm-test-ulps: Update.
31851
31852 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31853             Thomas Schwinge  <thomas@codesourcery.com>
31854
31855         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31856         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31858         fanotify_mark.
31859
31860 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31861
31862         * sysdeps/mach/start.c: Remove file.
31863         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31864         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31865         * sysdeps/sh/init-first.c: Likewise.
31866
31867         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31868         registers for frame unwinding purposes, add CFI directives.
31869         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31870         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31871         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31872         Likewise.
31873
31874         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31875         __fortify_fail returning.
31876         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31877
31878         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31879         sysdeps/sh/____longjmp_chk.S.
31880         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31881         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31882         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31883         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31884
31885         * sysdeps/sh/abort-instr.h: New file.
31886         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31887         process in case exit returns.
31888
31889         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31890         initialize the GOT register before use.
31891
31892         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31893         calculation of ARGC > 4.
31894
31895         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31896         meaningful names to some local labels.
31897
31898 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31899             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31900
31901         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31902         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31903         (__arch_compare_and_exchange_val_16_acq): Likewise.
31904         (__arch_compare_and_exchange_val_32_acq): Likewise.
31905         (atomic_exchange_and_add): Fix gUSA sequence.
31906         (atomic_add): Likewise.
31907         (atomic_add_negative): Likewise.
31908         (atomic_add_zero): Likewise.
31909         (atomic_bit_test_set): Likewise.
31910
31911 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31912
31913         [BZ #13579]
31914         * include/link.h (struct link_map): Add l_free_initfini.
31915         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31916         l_initfini.
31917         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31918         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31919         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31920         set.
31921
31922 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31923
31924         * configure.in: Use AC_LANG_SOURCE.
31925         * configure: Regenerate.
31926
31927 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31928
31929         * configure.in (libc_cv_localstatedir): New substituted variable.
31930         * configure: Regenerated.
31931         * config.make.in (localstatedir): New variable, substituted from
31932         libc_cv_localstatedir.
31933         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31934         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31935         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31936         * sysdeps/gnu/configure: Regenerated.
31937
31938 2012-06-21  Jeff Law  <law@redhat.com>
31939
31940         [BZ #14277]
31941         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31942         free.  Simplify list management for _LIBC case.
31943
31944 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31945
31946         [BZ #14273]
31947         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31948         Clear sign bit of 64-bit integer value before comparing against
31949         overflow value.
31950
31951         * sysdeps/mach/configure: Regenerated.
31952
31953 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31954
31955         [BZ #14278]
31956         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31957
31958 2012-06-21  Jeff Law  <law@redhat.com>
31959
31960         [BZ #13882]
31961         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31962         uint16_t for elements in the "seen" array to avoid char overflows.
31963         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31964         * elf/dl-open.c (dl_open_worker): Likewise.
31965
31966 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31967
31968         * scripts/list-sources.sh: Scan PORTS for translations.
31969         * po/libc.pot: Regenerated.
31970
31971 2012-06-21  Andreas Jaeger  <aj@suse.de>
31972
31973         [BZ #12194]
31974         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31975         warning.
31976         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31977         * bits/byteswap-16.h (__bswap_16): Likewise.
31978         * bits/byteswap.h (__bswap_constant_16): Likewise.
31979
31980 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31981
31982         [BZ #14117]
31983         * sysdeps/i386/fpu_control.h: Removed.
31984         * sysdeps/x86_64/fpu_control.h: Moved to ...
31985         * sysdeps/x86/fpu_control.h: Here.
31986
31987         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31988         (_FPU_SETCW): Likewise.
31989
31990 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31991
31992         [BZ #14117]
31993         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31994         * sysdeps/x86/fpu/bits/mathinline.h: This.
31995         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31996
31997         [BZ #14050]
31998         [BZ #14117]
31999         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32000         functions if __x86_64__ is defined.
32001
32002 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
32003
32004         * string/endian.h: Add !__ASSEMBLER__ condition for including
32005         conversion interfaces.
32006
32007 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
32008
32009         [BZ #14241]
32010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32011         of ABS(x) in calculating zero to negative powers other than odd
32012         integers.
32013         * math/libm-test.inc (pow_test): Add more tests.
32014
32015 2012-06-15  Andreas Jaeger  <aj@suse.de>
32016
32017         * manual/contrib.texi (Contributors): Update entry of Liubov
32018         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32019         Machado Filho.
32020
32021 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
32022
32023         * string/string.h: Add __wur to GNU version of strerror_r.
32024
32025 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
32026
32027         [BZ #14229]
32028         * string/Makefile (tests): Add tst-strtok_r.
32029         * string/tst-strtok_r.c: New file.
32030         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32031         RAX_LP/RDX_LP on SAVE_PTR.
32032
32033 2012-06-14  Roland McGrath  <roland@hack.frob.com>
32034
32035         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32036
32037 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
32038
32039         * libm_test.inc (csqrt_test): Allow more spurious underflow
32040         exceptions.
32041         (j0_test): Likewise.
32042         (j1_test): Likewise.
32043         (y0_test): Likewise.
32044         (y1_test): Likewise.
32045
32046 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
32047
32048         * po/Makefile (libc.pot): Use UTF-8 charset.
32049
32050 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
32051
32052         [BZ #14210]
32053         Suppress sign-conversion warning from FD_SET.
32054         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32055         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32056         not unsigned long int.
32057         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32058
32059 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
32060
32061         [BZ #14050]
32062         [BZ #14117]
32063         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32064         __extern_always_inline instead of __extern_inline.
32065         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32066         (__signbit): Likewise.
32067         (__signbitl): Support C++ namespace.
32068         (lrintf): New inline function.
32069         (lrint): Likewise.
32070         (llrintf): Likewise.
32071         (llrint): Likewise.
32072         (fmaxf): Likewise.
32073         (fmax): Likewise.
32074         (fminf): Likewise.
32075         (fmin): Likewise.
32076         (rint): Likewise.
32077         (rintf): Likewise.
32078         (ceil): Likewise.
32079         (ceilf): Likewise.
32080         (floor): Likewise.
32081         (floorf): Likewise.
32082         (nearbyint): Likewise.
32083         (nearbyintf): Likewise.
32084
32085 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32086
32087         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32088         non-default versions.
32089
32090 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32091
32092         [BZ #14218]
32093         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32094
32095 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32096
32097         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32098         (FE_UPWARD, FE_DOWNWARD): Don't define.
32099         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32100         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32101
32102         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32103         reading it.
32104         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32105         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32106
32107 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32108
32109         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32110         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32111         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32112         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32113
32114 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32115
32116         [BZ #14117]
32117         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32118         * sysdeps/i386/fpu/Implies: New file.
32119         * sysdeps/x86_64/fpu/Implies: Likewise.
32120         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32121         * sysdeps/x86/fpu/bits/fenv.h: This.
32122
32123         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32124         __SSE_MATH__.
32125
32126 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32127
32128         [BZ #14134]
32129         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32130         character 0xffff that matches the last element of the
32131         conversion table.
32132
32133 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32134
32135         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32136         fmodl commit.
32137
32138 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32139
32140         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32141         values higher than 25.6283.
32142
32143 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32144
32145         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32146         subnormal exponent extraction and add some __builtin_expect.
32147         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32148         Fix for subnormal mantissa calculation.
32149
32150 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32151
32152         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32153         cpu2 is -1 and errno is not ENOSYS.
32154
32155 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32156
32157         [BZ #14117]
32158         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32159         * sysdeps/x86/bits/string.h: This.
32160         * sysdeps/x86_64/bits/string.h: Removed.
32161
32162         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32163         if not compiling for x86-64, but compiling for >= i486.
32164
32165         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32166         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32167
32168         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32169         New macro from Linux kernel 3.4.0.
32170         (FP_XSTATE_MAGIC2): Likewise.
32171         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32172         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32173         (struct _fpx_sw_bytes): New struct.
32174         (struct _xsave_hdr): Likewise.
32175         (struct _ymmh_state): Likewise.
32176         (struct _xstate): Likewise.
32177
32178         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32179         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32180         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32181         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32182         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32183         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32184
32185         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32186         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32187         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32188         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32189         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32190         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32191
32192 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32193
32194         [BZ #13743]
32195         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32196         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32197         (sysdep_headers): Include sys/platform/ppc.h.
32198         * sysdeps/powerpc/test-gettimebase.c: Test for
32199         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32200         * manual/Makefile (appendices): Include platform.texi.
32201         * manual/contrib.texi (Contributors): Update @node pointers.
32202         * manual/maint.texi (Maintenance): Likewise.
32203         (Platform): New node.
32204         * manual/platform.texi: New file.  Document the new features.
32205
32206 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32207             Jakub Jelinek  <jakub@redhat.com>
32208
32209         [BZ #14188]
32210         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32211         where __builtin_expect is unavailable.
32212
32213 2012-06-03  David S. Miller  <davem@davemloft.net>
32214
32215         * stdlib/longlong.h: Updated from GCC.
32216
32217 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32218
32219         [BZ #14042]
32220         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32221         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32222         __mcount_internal.
32223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32224         (GLIBC_2.16): Likewise.
32225
32226 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32227
32228         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32229
32230 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32231
32232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32233         (default-abi): New variable.
32234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32235         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32236         variable.
32237         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32238         Likewise.
32239         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32240         Likewise.
32241         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32242         Likewise.
32243
32244         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32245         definition.  Document in comment.
32246
32247 2012-06-01  David S. Miller  <davem@davemloft.net>
32248
32249         * stdlib/longlong.h: Updated from GCC.
32250
32251 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32252
32253         [BZ #14117]
32254         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32255         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32256         sys/debugreg.h sys/io.h here.
32257         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32258         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32259         sys/io.h.
32260         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32261         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32262         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32263         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32264         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32265         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32266
32267         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32268         Define only if __x86_64__ is defined.
32269
32270 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32271
32272         [BZ #14048]
32273         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32274         Use int64_t for variable i.
32275         * math/libm-test.inc (fmod_test): Add more tests.
32276
32277         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32278         z computation is not scheduled after fetestexcept.
32279         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32280         Use math_force_eval instead of asm to ensure calculation scheduled
32281         before exception test.
32282         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32283         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32284
32285 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32286
32287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32288         computation is not scheduled after fetestexcept.
32289
32290 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32291
32292         [BZ #14117]
32293         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32294         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32295
32296 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32297
32298         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32299         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32300
32301 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32302
32303         [BZ #14117]
32304         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32305         <bits/wordsize.h>.
32306         (__WCHAR_MIN): Support __WORDSIZE == 64.
32307         (__WCHAR_MAX): Likewise.
32308
32309         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32310         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32311
32312         [BZ #14183]
32313         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32314         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32315
32316         [BZ #14117]
32317         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32318         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32319
32320         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32321         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32322
32323         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32324         Defined to 1 if __x86_64__ isn't defined.
32325         (_STAT_VER_LINUX_OLD): New.
32326         (st_atime): Remove duplicate.
32327         (st_mtime): Likewise.
32328         (st_ctime): Likewise.
32329
32330 2012-05-31  David S. Miller  <davem@davemloft.net>
32331
32332         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32333         entries.
32334
32335 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32336
32337         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32338         gen-libm-test.pl.
32339
32340         [BZ #14132]
32341         * elf/dl-reloc.c: Include <_itoa.h>.
32342         (_dl_reloc_bad_type): Remove use of INTUSE.
32343         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32344         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32345         * stdio-common/psiginfo.c (psiginfo): Likewise.
32346         * stdio-common/psignal.c (psignal): Likewise.
32347         * string/strsignal.c (strsignal): Likewise.
32348         * include/signal.h (_sys_siglist): Declare hidden proto.
32349         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32350         INTVARDEF with libc_hidden_data_def.
32351         * stdio-common/itoa-udigits.c: Likewise.
32352         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32353         (_itoa_lower_digits_internal): Remove declaration.
32354         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32355         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32356         (_sys_sigabbrev_internal): Remove aliases.
32357         (_sys_siglist): Define hidden alias.
32358
32359 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32360
32361         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32362         bits/sysctl.h.
32363
32364 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32365
32366         [BZ #14117]
32367         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32368         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32369
32370         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32371         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32372         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32373         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32374         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32375         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32376
32377         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32378         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32379         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32380
32381         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32382         with __addr.
32383         (insw): Likewise.
32384         (insl): Likewise.
32385         (outsb): Likewise.
32386         (outsw): Likewise.
32387         (outsl): Likewise.
32388
32389         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32390         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32391         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32392
32393         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32394         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32395         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32396         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32397         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32398         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32399
32400         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32401         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32402
32403         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32404         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32405
32406         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32407         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32408         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32409
32410         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32411         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32412         to ...
32413         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32414
32415         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32416         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32417         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32418
32419         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32420         for x86-64.
32421         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32422
32423 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32424
32425         * math/math.h (M_El): Use two more decimal places.
32426         (M_LOG2El): Likewise.
32427         (M_LOG10El): Likewise.
32428         (M_LN2l): Likewise.
32429         (M_LN10l): Likewise.
32430         (M_PIl): Likewise.
32431         (M_PI_2l): Likewise.
32432         (M_PI_4l): Likewise.
32433         (M_1_PIl): Likewise.
32434         (M_2_PIl): Likewise.
32435         (M_2_SQRTPIl): Likewise.
32436         (M_SQRT2l): Likewise.
32437         (M_SQRT1_2l): Likewise.
32438
32439 2012-05-31  David S. Miller  <davem@davemloft.net>
32440
32441         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32442         values between float registers.
32443         * sysdeps/sparc/sparc64/memset.S: Likewise.
32444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32445
32446 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32447
32448         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32449         -D_FORTIFY_SOURCE=1.
32450         (CPPFLAGS-tst-longjmp_chk.c): Define.
32451         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32452         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32453         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32454         CFLAGS-tst-wchar-h.c.
32455
32456 2012-05-31  Marek Polacek  <polacek@redhat.com>
32457
32458         [BZ #14132]
32459         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32460         __endmntent_internal): Remove declaration.
32461         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32462         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32463         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32464
32465 2012-05-30  David S. Miller  <davem@davemloft.net>
32466
32467         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32468         (___Q_simulate_exceptions): Use real FP ops rather than writing
32469         into the %fsr.
32470         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32471         Likewise.
32472
32473 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32474
32475         [BZ #14117]
32476         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32477         * sysdeps/x86/bits/xtitypes.h: This.
32478
32479         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32480         * sysdeps/x86/bits/wordsize.h: This.
32481
32482         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32483         * sysdeps/x86/bits/huge_vall.h: This.
32484
32485         * sysdeps/i386/bits/select.h: Removed.
32486         * sysdeps/x86_64/bits/select.h: Renamed to ...
32487         * sysdeps/x86/bits/select.h: This.
32488
32489         * sysdeps/i386/bits/setjmp.h: Removed.
32490         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32491         * sysdeps/x86/bits/setjmp.h: This.
32492
32493         * sysdeps/i386/bits/mathdef.h: Removed.
32494         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32495         * sysdeps/x86/bits/mathdef.h: This.
32496
32497 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32498
32499         [BZ #14132]
32500         * include/sys/socket.h (__connect_internal)
32501         (__libc_sa_len_internal): Remove declaration.
32502         (__connect, __libc_sa_len): Declare hidden_proto.
32503         (SA_LEN): Remove use of INTUSE.
32504         * socket/connect.c: Add libc_hidden_def.
32505         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32506         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32507         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32508         alias.
32509         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32510         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32511         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32512         of adding _internal alias.
32513
32514 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32515
32516         [BZ #14117]
32517         * sysdeps/i386/bits/link.h: Removed.
32518         * sysdeps/i386/bits/linkmap.h: Likewise.
32519         * sysdeps/x86_64/bits/link.h: Renamed to ...
32520         * sysdeps/x86/bits/link.h: This.
32521         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32522         * sysdeps/x86/bits/linkmap.h: This.
32523
32524         * sysdeps/i386/bits/endian.h: Removed.
32525         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32526         * sysdeps/x86/bits/endian.h: This.
32527
32528         * sysdeps/i386/bits/byteswap.h: Removed.
32529         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32530         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32531         * sysdeps/x86/bits/byteswap.h: This.
32532         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32533         * sysdeps/x86/bits/byteswap-16.h: This.
32534         * sysdeps/i386/Implies: Add x86.
32535         * sysdeps/x86_64/Implies: Likewise.
32536
32537 2012-05-30  David S. Miller  <davem@davemloft.net>
32538
32539         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32540         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32541         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32542         (FP_TRAPPING_EXCEPTIONS): Define.
32543         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32544         (FP_TRAPPING_EXCEPTIONS): Define.
32545         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32546         subnormals only when inexact has been signalled or underflow
32547         exceptions are enabled.
32548         (_FP_PACK_CANONICAL): Likewise.
32549
32550 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32551
32552         [BZ #14183]
32553         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32554         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32555
32556 2012-05-30  Richard Henderson  <rth@twiddle.net>
32557
32558         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32559         with #ifndef NOT_IN_libc.
32560
32561         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32562         marked to avoid plt entry.
32563
32564 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32565
32566         [BZ #14112]
32567         * Makeconfig (default-abi): New macro.
32568         (abi-includes): Likewise.
32569         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32570         $(abi-$(default-abi)-lib-soname) for soname if defined.
32571         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32572         abi-variants.
32573         * Makefile (installed-stubs): Likewise.
32574         * include/stubs-biarch.h: Removed.
32575         * scripts/lib-names.awk: Only handle one library at a time.
32576         * scripts/soversions.awk: Remove WORDSIZE support.
32577         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32578         entries.
32579         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32580         Removed.
32581         (syscall-list-default-condition): Likewise.
32582         (syscall-list-default-condition): Likewise.
32583         (syscall-list-includes): Likewise.
32584         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32585         syscall-list-* with abi-*.  Handle undefined abi-variants.
32586         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32587         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32588         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32589         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32590         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32591         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32592         Removed.
32593         (syscall-list-32-options): Likewise.
32594         (syscall-list-32-condition): Likewise.
32595         (syscall-list-64-options): Likewise.
32596         (syscall-list-64-condition): Likewise.
32597         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32598         macro.
32599         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32600         Renamed to ...
32601         (abi-*): This.
32602         (abi-64-ld-soname): New macro.
32603         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32604         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32605         Renamed to ...
32606         (abi-*): This.
32607         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32608         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32609
32610 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32611
32612         * sysdeps/unix/sysv/linux/kernel-features.h
32613         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32614         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32615         include <kernel-features.h>.
32616         [!__NR_ftruncate64]: Remove conditional code.
32617         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32618         [__NR_ftruncate64]: Make code unconditional.
32619         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32620         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32621         include <kernel-features.h>.
32622         [!__NR_ftruncate64]: Remove conditional code.
32623         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32624         [__NR_ftruncate64]: Make code unconditional.
32625         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32627         include <kernel-features.h>.
32628         [!__NR_ftruncate64]: Remove conditional code.
32629         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32630         [__NR_ftruncate64]: Make code unconditional.
32631         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32633         include <kernel-features.h>.
32634         [!__NR_ftruncate64]: Remove conditional code.
32635         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32636         [__NR_ftruncate64]: Make code unconditional.
32637         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32638
32639         * configure.in (libc_cv_fpie): Weaken to a compile test using
32640         LIBC_TRY_CC_OPTION.
32641         * configure: Regenerated.
32642
32643 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32644
32645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32649         Refreshed.
32650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32656         Refreshed.
32657
32658 2012-05-27  David S. Miller  <davem@davemloft.net>
32659
32660         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32661         (___Q_zero): New.
32662         (__Q_simulate_exceptions): Return void.  Change to simulate
32663         exceptions by writing into the %fsr.
32664         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32665         (__Qp_handle_exceptions): Likewise.
32666         (numbers): Delete.
32667         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32668         __Qp_handle_exceptions.
32669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32670         __Qp_handle_exceptions.
32671         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32672         as unused and give dummy FP_RND_NEAREST initializer.
32673         (FP_INHIBIT_RESULTS): Define.
32674         (___Q_simulate_exceptions): Update declaration.
32675         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32676         formatting.
32677         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32678         as unused and give dummy FP_RND_NEAREST initializer.
32679         (__Qp_handle_exceptions): Update declaration.
32680         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32681         formatting.
32682
32683 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32684
32685         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32686         the temporary FPU control word.
32687         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32688         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32689         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32690         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32691         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32692         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32693         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32694         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32695         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32696         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32697         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32698
32699 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32700
32701         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32702         fields.
32703
32704 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32705
32706         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32707         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32708         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32709         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32710         Likewise.
32711         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32712         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32713         Likewise.
32714
32715 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32716
32717         * po/h.po: Update from translation team.
32718
32719 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32720
32721         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32722
32723         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32724         handling of denormals.
32725         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32726         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32727         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32728         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32729         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32730         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32732         Likewise.
32733
32734 2012-05-26  Marek Polacek  <polacek@redhat.com>
32735
32736         [BZ #14152]
32737         * math/libm-test.inc (fma_test): Don't always expect underflow
32738         exception.
32739
32740 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32741
32742         [BZ #12416]
32743         * elf/tst-execstack.c: Include stackinfo.h.
32744         (do_test): Adjust test case to ensure that pthread_getattr_np
32745         behaviour remains the same after marking stack executable.
32746
32747 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32748
32749         * sysdeps/unix/sysv/linux/kernel-features.h
32750         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32751         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32752         kernel-features.h.
32753         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32754         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32755         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32756         kernel-features.h.
32757         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32758         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32759
32760 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32761
32762         * configure.in: Define the default includes to being none.
32763         * configure: Regenerated.
32764
32765 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32766
32767         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32768         * sysdeps/x86_64/setjmp.S: Likewise.
32769         * sysdeps/i386/bsd-setjmp.S: Likewise.
32770         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32771         * sysdeps/i386/setjmp.S: Likewise.
32772         * sysdeps/i386/__longjmp.S: Likewise.
32773         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32774         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32775
32776         * include/stap-probe.h: New file.
32777         * configure.in: Handle --enable-systemtap.
32778         * configure: Regenerated.
32779         * config.h.in (USE_STAP_PROBE): New #undef.
32780         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32781         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32782         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32783
32784 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32785
32786         [BZ #13717]
32787         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32788         to 2.4.0 where earlier.
32789         * sysdeps/unix/sysv/linux/configure: Regenerated.
32790         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32791         <kernel-features.h>.
32792         [__ASSUME_32BITUIDS]: Make code unconditional.
32793         [!__ASSUME_32BITUIDS]: Remove conditional code.
32794         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32795         <kernel-features.h>.
32796         [__ASSUME_32BITUIDS]: Make code unconditional.
32797         [!__ASSUME_32BITUIDS]: Remove conditional code.
32798         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32799         [__ASSUME_32BITUIDS]: Make code unconditional.
32800         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32801         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
32806         <kernel-features.h>.
32807         [__ASSUME_32BITUIDS]: Make code unconditional.
32808         [!__ASSUME_32BITUIDS]: Remove conditional code.
32809         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32810         <kernel-features.h>.
32811         [__ASSUME_32BITUIDS]: Make code unconditional.
32812         [!__ASSUME_32BITUIDS]: Remove conditional code.
32813         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32814         <kernel-features.h>.
32815         [__ASSUME_32BITUIDS]: Make code unconditional.
32816         [!__ASSUME_32BITUIDS]: Remove conditional code.
32817         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32818         <kernel-features.h>.
32819         [__ASSUME_32BITUIDS]: Make code unconditional.
32820         [!__ASSUME_32BITUIDS]: Remove conditional code.
32821         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32822         <kernel-features.h>.
32823         [__ASSUME_32BITUIDS]: Make code unconditional.
32824         [!__ASSUME_32BITUIDS]: Remove conditional code.
32825         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32826         <kernel-features.h>.
32827         [__ASSUME_32BITUIDS]: Make code unconditional.
32828         [!__ASSUME_32BITUIDS]: Remove conditional code.
32829         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32830         <kernel-features.h>.
32831         [__ASSUME_32BITUIDS]: Make code unconditional.
32832         [!__ASSUME_32BITUIDS]: Remove conditional code.
32833         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32834         <kernel-features.h>.
32835         [__ASSUME_32BITUIDS]: Make code unconditional.
32836         [!__ASSUME_32BITUIDS]: Remove conditional code.
32837         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32838         <kernel-features.h>.
32839         [__ASSUME_32BITUIDS]: Make code unconditional.
32840         [!__ASSUME_32BITUIDS]: Remove conditional code.
32841         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32842         <kernel-features.h>.
32843         [__NR_setresgid] (__setresgid): Do not declare.
32844         [__ASSUME_32BITUIDS]: Make code unconditional.
32845         [!__ASSUME_32BITUIDS]: Remove conditional code.
32846         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32847         <kernel-features.h>.
32848         [__NR_setresuid] (__setresuid): Do not declare.
32849         [__ASSUME_32BITUIDS]: Make code unconditional.
32850         [!__ASSUME_32BITUIDS]: Remove conditional code.
32851         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
32856         <kernel-features.h>.
32857         [__ASSUME_32BITUIDS]: Make code unconditional.
32858         [!__ASSUME_32BITUIDS]: Remove conditional code.
32859         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32860         <kernel-features.h>.
32861         [__ASSUME_32BITUIDS]: Make code unconditional.
32862         [!__ASSUME_32BITUIDS]: Remove conditional code.
32863         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32864         <kernel-features.h>.
32865         [__ASSUME_32BITUIDS]: Make code unconditional.
32866         [!__ASSUME_32BITUIDS]: Remove conditional code.
32867         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32868         <kernel-features.h>.
32869         [__ASSUME_32BITUIDS]: Make code unconditional.
32870         [!__ASSUME_32BITUIDS]: Remove conditional code.
32871         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32872         <kernel-features.h>.
32873         [__ASSUME_32BITUIDS]: Make code unconditional.
32874         [!__ASSUME_32BITUIDS]: Remove conditional code.
32875         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32876         <kernel-features.h>.
32877         [__ASSUME_32BITUIDS]: Make code unconditional.
32878         [!__ASSUME_32BITUIDS]: Remove conditional code.
32879         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32880         <kernel-features.h>.
32881         [__ASSUME_32BITUIDS]: Make code unconditional.
32882         [!__ASSUME_32BITUIDS]: Remove conditional code.
32883         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32884         <kernel-features.h>.
32885         [__ASSUME_32BITUIDS]: Make code unconditional.
32886         [!__ASSUME_32BITUIDS]: Remove conditional code.
32887         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32888         <kernel-features.h>.
32889         [__ASSUME_32BITUIDS]: Make code unconditional.
32890         [!__ASSUME_32BITUIDS]: Remove conditional code.
32891         * sysdeps/unix/sysv/linux/kernel-features.h
32892         (__ASSUME_SETRESUID_SYSCALL): Remove.
32893         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32894         (__ASSUME_32BITUIDS): Likewise.
32895         (__ASSUME_LDT_WORKS): Likewise.
32896         (__ASSUME_O_DIRECTORY): Likewise.
32897         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32898         architecture but not kernel version.
32899         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32900         (__ASSUME_MMAP2_SYSCALL): Likewise.
32901         (__ASSUME_STAT64_SYSCALL): Likewise.
32902         (__ASSUME_IPC64): Likewise.
32903         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32904         <kernel-features.h>.
32905         [__ASSUME_32BITUIDS]: Make code unconditional.
32906         [!__ASSUME_32BITUIDS]: Remove conditional code.
32907         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32908         <kernel-features.h>.
32909         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32910         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32911         132096]: Remove conditional code.
32912         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32913         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32914         <kernel-features.h>.
32915         [__ASSUME_32BITUIDS]: Make code unconditional.
32916         [!__ASSUME_32BITUIDS]: Remove conditional code.
32917         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32918         <kernel-features.h>.
32919         [__ASSUME_32BITUIDS]: Make code unconditional.
32920         [!__ASSUME_32BITUIDS]: Remove conditional code.
32921         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32922         <kernel-features.h>.
32923         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32924         unconditional.
32925         (__setresgid): Do not declare.
32926         [__ASSUME_32BITUIDS]: Make code unconditional.
32927         [!__ASSUME_32BITUIDS]: Remove conditional code.
32928         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32929         <kernel-features.h>.
32930         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32931         unconditional.
32932         (__setresuid): Do not declare.
32933         [__ASSUME_32BITUIDS]: Make code unconditional.
32934         [!__ASSUME_32BITUIDS]: Remove conditional code.
32935         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32936         <kernel-features.h>.
32937         [__ASSUME_32BITUIDS]: Make code unconditional.
32938         [!__ASSUME_32BITUIDS]: Remove conditional code.
32939         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32940         <kernel-features.h>.
32941         [__ASSUME_32BITUIDS]: Make code unconditional.
32942         [!__ASSUME_32BITUIDS]: Remove conditional code.
32943
32944 2012-05-25  Richard Henderson  <rth@twiddle.net>
32945
32946         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32947         dl_hwcap to ifunc resolver.
32948         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32949         elf_ifunc_invoke.
32950         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32951         dl_hwcap to ifunc resolver.
32952         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32953
32954 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32955
32956         [BZ #14153]
32957         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32958         for |x| <= 2**-26, not 2**-57.
32959         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32960         exception.
32961
32962 2012-05-24  Jeff Law  <law@redhat.com>
32963
32964         * stdio-common/Makefile (tests): Add bug25.
32965         * stdio-common/bug25.c: New test.
32966
32967 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32968
32969         [BZ #13576]
32970         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32971         multiple of MALLOC_ALIGNMENT in size.
32972         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32973
32974 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32975
32976         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32977         Require >= 256.
32978         (FILENAME_MAX): Use macro-int-constant.
32979         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32980         (_IOFBF): Use macro-int-constant.
32981         (_IOLBF): Likewise.
32982         (_IONBF): Likewise.
32983         (SEEK_CUR): Likewise.
32984         (SEEK_END): Likewise.
32985         (SEEK_SET): Likewise.
32986         (TMP_MAX): Likewise.
32987         (EOF): Use macro-int-constant.  Require < 0.
32988         (NULL): Use macro-constant.  Require == 0.
32989         (stdin): Require type to be FILE *.
32990         (stdout): Likewise.
32991         (stderr): Likewise.
32992         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32993         macro-int-constant.
32994         (EXIT_SUCCESS): Likewise.
32995         (NULL): Use macro-constant.  Require == 0.
32996         (RAND_MAX): Use macro-int-constant.
32997         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32998         [C99-based standards] (strtof): Require function.
32999         [C99-based standards] (strtold): Likewise.
33000         [C99-based standards] (strtoll): Likewise.
33001         [C99-based standards] (strtoull): Likewise.
33002         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33003         [ISO || ISO99 || ISO11] (limits.h): Likewise.
33004         [ISO || ISO99 || ISO11] (math.h): Likewise.
33005         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33006         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33007         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33008
33009 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
33010
33011         [BZ #14132]
33012         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33013         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33014         * intl/dgettext.c (DCGETTEXT): Likewise.
33015         * intl/gettext.c (DCGETTEXT): Likewise.
33016         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33017         * posix/regex_internal.h (gettext): Likewise.
33018         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33019         Remove declaration.
33020         * include/argz.h (__argz_count_internal)
33021         (__argz_stringify_internal): Remove declaration.
33022         (__argz_count, __argz_stringify): Declare hidden proto.
33023         * intl/dcgettext.c: Remove use of INTDEF.
33024         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33025         * string/argz-stringify.c: Likewise.
33026         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33027         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33028         Declare hidden proto.
33029         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33030         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33031         Declare hidden proto.
33032         * include/stdio.h (__asprintf_internal): Don't declare.
33033         (__asprintf): Don't define as macro.  Declare hidden proto.
33034         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33035         (__fsetlocking): Declare hidden proto.
33036         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33037         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33038         hidden proto.
33039         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33040         (_IO_setlinebuf): Remove use of INTUSE.
33041         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33042         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33043         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33044         Remove declaration.
33045         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33046         (_IO_do_flush): Remove use of INTUSE.
33047         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33048         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33049         (_IO_adjust_column, _IO_least_wmarker)
33050         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33051         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33052         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33053         (_IO_default_doallocate, _IO_wdefault_doallocate)
33054         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33055         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33056         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33057         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33058         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33059         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33060         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33061         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33062         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33063         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33064         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33065         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33066         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33067         proto.
33068         (_IO_flush_all_internal, _IO_adjust_column_internal)
33069         (_IO_default_uflow_internal, _IO_default_finish_internal)
33070         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33071         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33072         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33073         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33074         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33075         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33076         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33077         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33078         (_IO_file_close_internal, _IO_file_close_it_internal)
33079         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33080         (_IO_file_init_internal, _IO_file_attach_internal)
33081         (_IO_file_fopen_internal, _IO_file_read_internal)
33082         (_IO_file_sync_internal, _IO_file_seek_internal)
33083         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33084         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33085         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33086         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33087         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33088         (_IO_list_all_internal, _IO_link_in_internal)
33089         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33090         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33091         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33092         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33093         (_IO_do_write_internal, _IO_padn_internal)
33094         (_IO_getline_info_internal, _IO_getline_internal)
33095         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33096         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33097         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33098         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33099         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33100         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33101         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33102         with libc_hidden_ver, remove use of INTUSE.
33103         * libio/genops.c: Likewise.
33104         * libio/freopen.c: Likewise.
33105         * libio/freopen64.c: Likewise.
33106         * libio/iofclose.c: Likewise.
33107         * libio/iofdopen.c: Likewise.
33108         * libio/iofflush.c: Likewise.
33109         * libio/iofflush_u.c: Likewise.
33110         * libio/iofgets.c: Likewise.
33111         * libio/iofgets_u.c: Likewise.
33112         * libio/iofopen.c: Likewise.
33113         * libio/iofopncook.c: Likewise.
33114         * libio/iofread.c: Likewise.
33115         * libio/iofread_u.c: Likewise.
33116         * libio/ioftell.c: Likewise.
33117         * libio/iofwrite.c: Likewise.
33118         * libio/iogetline.c: Likewise.
33119         * libio/iogets.c: Likewise.
33120         * libio/iogetwline.c: Likewise.
33121         * libio/iopadn.c: Likewise.
33122         * libio/iopopen.c: Likewise.
33123         * libio/ioseekoff.c: Likewise.
33124         * libio/ioseekpos.c: Likewise.
33125         * libio/iosetbuffer.c: Likewise.
33126         * libio/iosetvbuf.c: Likewise.
33127         * libio/ioungetc.c: Likewise.
33128         * libio/ioungetwc.c: Likewise.
33129         * libio/iovdprintf.c: Likewise.
33130         * libio/iovsprintf.c: Likewise.
33131         * libio/iovsscanf.c: Likewise.
33132         * libio/memstream.c: Likewise.
33133         * libio/obprintf.c: Likewise.
33134         * libio/oldfileops.c: Likewise.
33135         * libio/oldiofclose.c: Likewise.
33136         * libio/oldiofdopen.c: Likewise.
33137         * libio/oldiofopen.c: Likewise.
33138         * libio/oldiopopen.c: Likewise.
33139         * libio/oldstdfiles.c: Likewise.
33140         * libio/putc.c: Likewise.
33141         * libio/setbuf.c: Likewise.
33142         * libio/setlinebuf.c: Likewise.
33143         * libio/stdfiles.c: Likewise.
33144         * libio/strops.c: Likewise.
33145         * libio/vasprintf.c: Likewise.
33146         * libio/vscanf.c: Likewise.
33147         * libio/vsnprintf.c: Likewise.
33148         * libio/vswprintf.c: Likewise.
33149         * libio/wfiledoalloc.c: Likewise.
33150         * libio/wfileops.c: Likewise.
33151         * libio/wgenops.c: Likewise.
33152         * libio/wmemstream.c: Likewise.
33153         * libio/wstrops.c: Likewise.
33154         * libio/__fpurge.c: Likewise.
33155         * libio/__fsetlocking.c: Likewise.
33156         * assert/assert.c: Likewise.
33157         * debug/fgets_chk.c: Likewise.
33158         * debug/fgets_u_chk.c: Likewise.
33159         * debug/fread_chk.c: Likewise.
33160         * debug/fread_u_chk.c: Likewise.
33161         * debug/gets_chk.c: Likewise.
33162         * debug/obprintf_chk.c: Likewise.
33163         * debug/vasprintf_chk.c: Likewise.
33164         * debug/vdprintf_chk.c: Likewise.
33165         * debug/vsnprintf_chk.c: Likewise.
33166         * debug/vsprintf_chk.c: Likewise.
33167         * malloc/mtrace.c: Likewise.
33168         * misc/error.c: Likewise.
33169         * misc/syslog.c: Likewise.
33170         * stdio-common/asprintf.c: Likewise.
33171         * stdio-common/fxprintf.c: Likewise.
33172         * stdio-common/getw.c: Likewise.
33173         * stdio-common/isoc99_fscanf.c: Likewise.
33174         * stdio-common/isoc99_scanf.c: Likewise.
33175         * stdio-common/isoc99_vfscanf.c: Likewise.
33176         * stdio-common/isoc99_vscanf.c: Likewise.
33177         * stdio-common/isoc99_vsscanf.c: Likewise.
33178         * stdio-common/printf-prs.c: Likewise.
33179         * stdio-common/printf_fp.c: Likewise.
33180         * stdio-common/printf_fphex.c: Likewise.
33181         * stdio-common/printf_size.c: Likewise.
33182         * stdio-common/putw.c: Likewise.
33183         * stdio-common/scanf.c: Likewise.
33184         * stdio-common/sprintf.c: Likewise.
33185         * stdio-common/tmpfile.c: Likewise.
33186         * stdio-common/vfprintf.c: Likewise.
33187         * stdio-common/vfscanf.c: Likewise.
33188         * stdlib/strfmon_l.c: Likewise.
33189         * sunrpc/openchild.c: Likewise.
33190         * sunrpc/xdr_stdio.c: Likewise.
33191         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33192         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33193
33194 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33195
33196         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33197
33198         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33199         in the third column, to generate for the shared library an IFUNC
33200         that uses _dl_vdso_vsym.
33201         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33202         * Makeconfig (object-suffixes-noshared): New variable.
33203
33204         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33205         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33206         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33207         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33208
33209         [BZ #14132]
33210         * include/sys/time.h (__gettimeofday): Remove macro.
33211         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33212         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33213         Remove INTDEF.
33214         (__gettimeofday): Add libc_hidden_def.
33215         (gettimeofday): Add libc_hidden_weak.
33216         * sysdeps/mach/gettimeofday.c: Likewise.
33217         * sysdeps/posix/gettimeofday.c: Likewise.
33218         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33219         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33220         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33221         (__gettimeofday_internal): Remove strong_alias.
33222         (__gettimeofday): Add libc_hidden_def.
33223         (gettimeofday): Add libc_hidden_weak.
33224         * sysdeps/unix/syscalls.list (gettimeofday):
33225         Remove __gettimeofday_internal alias.
33226
33227 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33228             H.J. Lu  <hongjiu.lu@intel.com>
33229
33230         [BZ #12495]
33231         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33232         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33233         (largebin_index_32_big): New.
33234         (largebin_index): Use it for 16-byte alignment.
33235         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33236         correction with front_misalign.
33237
33238 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33239
33240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33242         Likewise.
33243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33244         Likewise.
33245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33246         Likewise.
33247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33248         Likewise.
33249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33250         Likewise.
33251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33252         Likewise.
33253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33254         Likewise.
33255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33256         Likewise.
33257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33258         Likewise.
33259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33260         Likewise.
33261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33262         Likewise.
33263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33264         Likewise.
33265
33266         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33267         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33268
33269 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33270
33271         [BZ #10846]
33272         [BZ #14036]
33273         * math/libm-test.inc (exp_test): Add test from bug 14036.
33274         (pow_test): Add test from bug 10846.
33275
33276         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33277         and other flags.
33278         (special_function): Do not include flags in test name.
33279         (parse_args): Likewise.
33280         * sysdeps/i386/fpu/libm-test-ulps: Update.
33281         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33282         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33283         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33285
33286         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33287         exceptions.
33288         * math/libm-test.inc ("Philosophy"): Update comment about
33289         exception testing.
33290         (UNDERFLOW_EXCEPTION): New macro.
33291         (UNDERFLOW_EXCEPTION_OK): Likewise.
33292         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33293         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33294         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33295         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33296         (INVALID_EXCEPTION_OK): Update value.
33297         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33298         (OVERFLOW_EXCEPTION_OK): Likewise.
33299         (IGNORE_ZERO_INF_SIGN): Likewise.
33300         (test_exceptions): Handle underflow exceptions.
33301         (acos_test): Update for underflow exception expectations.
33302         (cexp_test): Likewise.
33303         (clog_test): Likewise.
33304         (clog10_test): Likewise.
33305         (csqrt_test): Likewise.
33306         (ctan_test): Likewise.
33307         (ctanh_test): Likewise.
33308         (exp_test): Likewise.
33309         (exp10_test): Likewise.
33310         (exp2_test): Likewise.
33311         (expm1_test): Likewise.
33312         (fma_test): Likewise.
33313         (j0_test): Likewise.
33314         (jn_test): Likewise.
33315         (nexttoward_test): Likewise.
33316         (pow_test): Likewise.
33317         (scalbn_test): Likewise.
33318         (scalbln_test): Likewise.
33319         (tan_test): Likewise.
33320         (y1_test): Likewise.
33321         * sysdeps/i386/fpu/libm-test-ulps: Update.
33322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33323
33324 2012-05-23  David S. Miller  <davem@davemloft.net>
33325
33326         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33327         (__libc_sigaction): Remove unused local variables.
33328
33329 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33330
33331         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33332
33333 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33334
33335         mktime: avoid signed integer overflow
33336         * time/mktime.c (__mktime_internal): Do not mishandle the case
33337         where diff == INT_MIN.
33338
33339         mktime: simplify computation of average
33340         * time/mktime.c (ranged_convert): Use new time_t_avg function
33341         instead of rolling our own (probably-slower) code.
33342
33343         mktime: do not assume signed right shift propagates sign bit
33344         * time/mktime.c (isdst_differ): New static function.
33345         (__mktime_internal): No need to normalize tm_isdst now.
33346         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33347         tm_isdst values.
33348
33349         mktime: merge another wrapv change from gnulib
33350         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33351         from some compilers.
33352
33353         mktime: remove incorrect attempt at unusual arithmetics
33354         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33355         The code didn't really work on such machines anyway.
33356         (TYPE_MINIMUM): Assume two's complement.
33357         (twos_complement_arithmetic): Verify that long_int and time_t
33358         are two's complement (or unsigned, in the latter case).
33359
33360         mktime: check signed shifts on long_int and time_t, too
33361         * time/mktime.c (SHR): Check that shifts work as desired
33362         on the types long_int and time_t too, as SHR is used on
33363         such types.
33364
33365         mktime: do not assume 'long' is wide enough
33366         * time/mktime.c (verify): Move decl up.
33367         (long_int): New type.
33368         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33369         to remove assumption in the code that 'long' is wide enough to
33370         store year values.  This assumption is not true on x32 and on
33371         some non-glibc platforms.
33372
33373         mktime: merge wrapv change from gnulib
33374         * time/mktime.c (WRAPV): New macro.
33375         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33376         (guess_time_tm, __mktime_internal): Do not assume that signed
33377         integer overflow wraps around; modern compilers generate code
33378         where this assumption is no longer valid.
33379
33380 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33381
33382         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33383         Replace "jmp L(pseudo_end)" with "ret".
33384         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33385         Likewise.
33386
33387 2012-05-23  Andreas Jaeger  <aj@suse.de>
33388
33389         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33390         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33391
33392 2012-05-23  Andreas Jaeger  <aj@suse.de>
33393             Maximilian Attems  <max@stro.at>
33394
33395         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33396         New macros.
33397
33398 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33399
33400         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33401         code so that pseudo_end is just ret and the stack pointer is
33402         correct also for static library in error case.
33403
33404 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33405
33406         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33407         move to syscalls.list.
33408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33412
33413         * manual/install.texi (Running make install): Do not mention Linux
33414         kernel version for which pt_chown is not needed.
33415         (Linux): Do not mention problems with nscd with 2.0 kernels.
33416         * INSTALL: Regenerated.
33417
33418 2012-05-23  Andreas Jaeger  <aj@suse.de>
33419
33420         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33421         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33422         macro.
33423         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33424         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33425         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33426         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33427         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33428         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33429         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33430         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33431         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33432         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33433         * sysdeps/unix/sysv/linux/bits/in.h
33434         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33435
33436 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33437
33438         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33439         (PREPARE_VERSION): Just use assert instead, it will be elided
33440         under [NDEBUG] anyway.
33441
33442 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33443
33444         * sysdeps/unix/sysv/linux/Makefile: Include
33445         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33446         (sysdep_routines): Remove sysctl.
33447         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33448         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33449         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33450         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33451         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33452
33453 2012-05-22  Andreas Jaeger  <aj@suse.de>
33454
33455         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33456         that pseudo_end is just ret and the stack pointer is correct also
33457         for static library in error case.
33458
33459 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33460
33461         [BZ #14122]
33462         * nss/nsswitch.c (defconfig_entries): New variable.
33463         (__nss_database_lookup): Don't leak defconfig entries.
33464         (nss_parse_service_list): Don't leak on error paths.
33465         (free_database_entries): New function.
33466         (free_defconfig): New function.
33467         (free_mem): Move common code to free_database_entries.
33468
33469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33470
33471         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33472         Add arch_prctl.
33473         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33474
33475         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33476         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33478         New macro.
33479         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33480         (INTERNAL_SYSCALL_TYPES): Likewise.
33481         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33482         (LOAD_REGS_TYPES_[1-6]): Likewise.
33483         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33484         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33485
33486 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33487
33488         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33489         copysignl for GLIBC_2_0.
33490         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33491         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33492         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33493         logbl for GLIBC_2_0.
33494         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33495         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33496
33497 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33498
33499         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33500         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33501
33502         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33503         Use "neg %eax".
33504
33505         * time/mktime.c: Update copyright years.
33506
33507 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33508
33509         mktime: merge comment-quoting-style change from gnulib
33510         * time/mktime.c: Quote 'like this' in comments.
33511         The GNU coding standards suggest that we no longer quote `like this',
33512         as "`" and "'" are typically rendered asymmetrically nowadays.
33513         The typical gnulib style is to quote 'like this' when quoting
33514         code, and "like this" when quoting English.
33515
33516         * time/mktime.c (compile-command): Add "-I.".
33517
33518         mktime: merge mktime-internal.h change from gnulib
33519         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33520
33521         mktime: merge time_r change from gnulib
33522         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33523
33524         mktime: merge DEBUG change from gnulib
33525         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33526         case system <time.h> has a #define.
33527
33528         mktime: merge <sys/types.h> change from gnulib
33529         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33530         since <time.t> is now guaranteed to define time_t.
33531
33532         mktime: merge HAVE_CONFIG_H change from gnulib
33533         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33534
33535 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33536
33537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33538         Use "neg %eax".
33539
33540         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33541         __rlim_t cast.
33542         (struct rusage): Use anonymous union to pad each field to
33543         __syscall_slong_t.
33544
33545 2012-05-21  David S. Miller  <davem@davemloft.net>
33546
33547         * Makefules (o-iterator): Remove .s cases.
33548         (compile-command.s): Delete.
33549         (COMPILE.s): Delete.
33550         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33551
33552 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33553
33554         * configure.in (libc_cv_predef_stack_protector): Only consider
33555         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33556         * configure: Regenerated.
33557
33558 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33559
33560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33561         New macro.  Use R*LP on int and pointer.
33562         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33563         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33564         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33565         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33566
33567         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33568         [__WORDSIZE_TIME64_COMPAT32] instead of
33569         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33570         (struct utmp): Likewise.
33571         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33572         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33573         Renamed to ...
33574         (__WORDSIZE_TIME64_COMPAT32): This.
33575         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33576         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33577         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33578         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33579         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33580         (__WORDSIZE_TIME64_COMPAT32): New macro.
33581
33582 2012-05-21  Andreas Jaeger  <aj@suse.de>
33583
33584         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33585         only if [SHARED]. Add prototype for __wcschr_ia32.
33586
33587 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33588
33589         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33590         of %rbp unmolested in the jmp_buf while mangling the low bits.
33591         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33592         unmolested high bits of %rbp while demangling the low bits.
33593         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33594
33595 2012-05-21  Andreas Jaeger  <aj@suse.de>
33596
33597         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33598         * sunrpc/svc_simple.c: Use it for registerrpc.
33599         * sunrpc/xcrypt.c: Use it for passwd2des.
33600
33601         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33602
33603 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33604
33605         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33606         Don't define if [__SYSCALL_WORDSIZE != 32].
33607         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33608         New macro.
33609
33610 2012-05-21  Bruno Haible  <bruno@clisp.org>
33611             Andreas Jaeger  <aj@suse.de>
33612
33613         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33614         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33615         inptr and inend for must_buffer_ch.
33616         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33617         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33618         * stdio-common/Makefile (tests): Remove bug15.
33619         (bug15-ENV): Remove macro.
33620         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33621         anymore.
33622
33623 2012-05-19  Andreas Jaeger  <aj@suse.de>
33624             Roland McGrath  <roland@hack.frob.com>
33625
33626         * manual/contrib.texi: Completely rewritten. It contains now an
33627         alphabetical list of contributors and their contributions.
33628
33629 2012-05-21  Richard Henderson  <rth@twiddle.net>
33630
33631         * misc/getauxval.c (__getauxval): Use unsigned long int.
33632         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33633         (getauxval): Use unsigned long int.
33634
33635 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33636
33637         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33638
33639 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33640
33641         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33642         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33643         __alignof__ (long double).
33644
33645 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33646
33647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33648
33649 2012-05-20  Richard Henderson  <rth@twiddle.net>
33650
33651         * misc/getauxval.c: New file.
33652         * misc/sys/auxv.h: New file.
33653         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33654         (routines): Add getauxval.
33655         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33656         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33657         * elf/dl-sysdep.c (_dl_auxv): Remove.
33658         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33659         * elf/dl-support.c (_dl_auxv): New variable.
33660         (_dl_aux_init): Initialize it.
33661         * manual/startup.texi (Auxiliary Vector): New node.
33662         * sysdeps/generic/bits/hwcap.h: New file.
33663         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33664         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33665         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33666         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33667         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33668         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33670         Update.
33671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33679
33680 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33681
33682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33683
33684 2012-05-19  David S. Miller  <davem@davemloft.net>
33685
33686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33687
33688 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33689
33690         [BZ #14123]
33691         * math/s_ccosh.c: Include <float.h>
33692         (__ccosh): Avoid internal overflow calculating sinh and cosh
33693         values before multiplying by sin and cos values.
33694         * math/s_ccoshf.c: Likewise.
33695         * math/s_ccoshl.c: Likewise.
33696         * math/s_csin.c: Likewise.
33697         * math/s_csinf.c: Likewise.
33698         * math/s_csinl.c: Likewise.
33699         * math/s_csinh.c: Likewise.
33700         * math/s_csinhf.c: Likewise.
33701         * math/s_csinhl.c: Likewise.
33702         * math/libm-test.inc (ccos_test): Add more tests.
33703         (ccosh_test): Likewise.
33704         (csin_test): Likewise.
33705         (csinh_test): Likewise.
33706         * sysdeps/i386/fpu/libm-test-ulps: Update.
33707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33708
33709 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33710
33711         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33712         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33713
33714         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33715
33716 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33717
33718         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33719         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33720         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33721         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33722         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33723         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33724         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33725         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33726         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33727         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33728         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33729         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33730         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33731         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33732         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33733         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33734         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33735         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33736         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33737         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33738         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33739         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33740         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33741         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33742         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33743         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33744         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33745         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33746         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33747         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33748         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33749
33750 2012-05-18  Andreas Jaeger  <aj@suse.de>
33751
33752         * csu/.gitignore: Delete.
33753
33754 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33755
33756         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33757         (timex): Use __syscall_slong_t.
33758
33759 2012-05-18  Andreas Jaeger  <aj@suse.de>
33760             Carlos O'Donell  <carlos_odonell@mentor.com>
33761
33762         * manual/install.texi (Configuring and compiling): Update
33763         description about files modified in the source directory.
33764         * INSTALL: Regenerated.
33765
33766 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33767
33768         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33769         value.  Use "or" to set return value to -1.
33770         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33771         negate return value.
33772
33773 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33774
33775         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33776         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33777         failure if the compiler has Graphite support disabled.
33778         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33779         Likewise.
33780         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33781         (CFLAGS-memmove.c): Likewise.
33782         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33783         Likewise.
33784
33785 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33786
33787         * sysdeps/x86_64/x32/_itoa.h: New file.
33788
33789         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33790         getdents system call only if kernel and user dirents have the
33791         same d_ino and d_off.
33792
33793         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33794         LLONG_MAX != LONG_MAX.
33795         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33796         (_fitoa_word): Likewise.
33797
33798         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33799         years.
33800         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33801         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33802         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33803
33804         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33805         include <bits/wordsize.h>.  Check __x86_64__ instead of
33806         __WORDSIZE.
33807         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33808         if __x86_64__ is defined.  Use anonymous union on fpstate.
33809
33810         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33811         anonymous union.
33812
33813 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33814
33815         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33816         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33817         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33818         Refer to _rtld_local_ro instead of _rtld_global_ro.
33819         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33820         Likewise.
33821         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33822         Likewise.
33823         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33824         Likewise.
33825         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33826         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33827         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33828
33829         * sysdeps/powerpc/powerpc32/dl-machine.c
33830         (__elf_machine_runtime_setup) [PROF]: Don't reference
33831         _dl_prof_resolve.
33832
33833 2012-05-18  Andreas Jaeger  <aj@suse.de>
33834
33835         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33836         function only available for GCCs before 3.4 since GCC 3.4
33837         introduced a builtin.
33838         (lrint): Likewise.
33839         (llrintf): Likewise.
33840         (llrint): Likewise.
33841         (fmaxf): Likewise.
33842         (fmax): Likewise.
33843         (fminf): Likewise.
33844         (fmin): Likewise.
33845         (rint): Likewise.
33846         (rintf): Likewise.
33847         (nearbyint): Likewise.
33848         (nearbyintf): Likewise.
33849         (ceil): Likewise.
33850         (ceilf): Likewise.
33851         (floor): Likewise.
33852         (floorf): Likewise.
33853
33854 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33855
33856         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33857         on both fields and cast pointer to __syscall_ulong_t.
33858
33859         * bits/types.h (__fsword_t): New type.
33860         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33861         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33863         (__FSWORD_T_TYPE): Likewise.
33864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33865         (__FSWORD_T_TYPE): Likewise.
33866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33867         (__FSWORD_T_TYPE): Likewise.
33868         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33869         (__FSWORD_T_TYPE): Likewise.
33870         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33871         __SWORD_TYPE with __fsword_t.
33872         (statfs64): Likewise.
33873
33874 2012-05-17  David S. Miller  <davem@davemloft.net>
33875
33876         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33877
33878 2012-05-17  Andreas Jaeger  <aj@suse.de>
33879
33880         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33881         warning.
33882
33883 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33884
33885         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33886
33887 2012-05-17  Andreas Jaeger  <aj@suse.de>
33888
33889         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33890         when it is used.
33891
33892 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33893
33894         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33895
33896 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33897
33898         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33899         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33900
33901 2012-05-17  Andreas Jaeger  <aj@suse.de>
33902             Carlos O'Donell  <carlos_odonell@mentor.com>
33903
33904         [BZ #14059]
33905         * sysdeps/x86_64/multiarch/init-arch.h
33906         (bit_YMM_Usable): Rename to...
33907         (bit_AVX_Usable): ... this.
33908         (bit_FMA4_Usable): New macro.
33909         (bit_XMM_state): New macro.
33910         (bit_YMM_state): New macro.
33911         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33912         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33913         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33914         (CPUID_OSXSAVE): New macro.
33915         (CPUID_AVX): New macro.
33916         (CPUID_FMA4): New macro.
33917         (index_YMM_Usable): Rename to...
33918         (index_AVX_Usable): ... this.
33919         (HAS_AVX): Use HAS_ARCH_FEATURE.
33920         (HAS_FMA4): Likewise.
33921         (HAS_YMM_USABLE): Remove.
33922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33923         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33924         are present.
33925         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33926         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33927         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33928         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33929         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33930
33931 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33932
33933         * math/libm-test.c: Support platforms without multiple rounding modes.
33934         * math/bug-nextafter.c: Support platforms without FP exceptions.
33935         * math/bug-nexttoward.c: Likewise.
33936         * math/test-fenv.c: Likewise.
33937         * math/test-misc.c: Likewise.
33938         * stdlib/bug-getcontext.c: Likewise.
33939
33940 2012-05-17  Andreas Jaeger  <aj@suse.de>
33941
33942         * manual/examples/search.c (critter_cmp): Change signature to
33943         avoid warnings.
33944         * manual/string.texi (Collation Functions): Likewise.
33945
33946 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33947
33948         * bits/types.h: Fold copyright years.
33949         * bits/typesizes.h: Likewise.
33950         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33951         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33952         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33954         * time/time.h: Likewise.
33955
33956 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33957
33958         [BZ #208]
33959         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33960         in instead of returning them.  Return void.
33961         (__libc_mallinfo): Accumulate over all arenas.
33962         (__malloc_stats): Adjust for change in int_mallinfo interface.
33963
33964 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33965
33966         [BZ #10375]
33967         * configure.in (NM): Add AC_CHECK_TOOL for it.
33968         (libc_extra_cflags): New substituted variable.
33969         Check for -fstack-protector being used implicitly.
33970         * configure: Regenerated.
33971         * config.make.in (config-extra-cflags): New variable,
33972         gets @libc_extra_cflags@.
33973         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33974
33975         [BZ #10375]
33976         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33977         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33978         * configure: Regenerated.
33979         * config.make.in (CPPUNDEFS): New substituted variable.
33980         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33981         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33982         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33983
33984 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33985
33986         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33987         (mq_attr): Use __syscall_slong_t.
33988
33989 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33990
33991         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33992         Check __x86_64__ instead of __WORDSIZE.
33993         (_STAT_VER_LINUX): Likewise.
33994         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33995         __syscall_ulong_t and __syscall_slong_t.
33996         (stat64): Likewise.
33997
33998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33999
34000         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34001
34002 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34003
34004         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34005
34006 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34007
34008         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34009         __syscall_ulong_t.
34010
34011         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34012         include <bits/wordsize.h>.  Check __x86_64__ instead of
34013         __WORDSIZE.
34014         (greg_t): Use "__extension__ long long int" if __x86_64__ is
34015         defined.
34016         (mcontext_t): Replace "unsigned long" with "unsigned long long".
34017
34018         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34019         include <bits/wordsize.h>.  Check __x86_64__ instead of
34020         __WORDSIZE.
34021         (user_regs_struct): Use "__extension__ unsigned long long"
34022         instead of "unsigned long" if __x86_64__ is defined.
34023         (user): Likewise.  Pad after pointer field if __ILP32__ is
34024         defined.
34025
34026 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
34027
34028         * configure.in (makeinfo): Require version 4.5 or later.  Allow
34029         versions 5 to 9.
34030         * configure: Regenerated.
34031         * manual/install.texi (texinfo): Increase version requirement to
34032         4.5 or later.
34033         * INSTALL: Regenerated.
34034
34035         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34036
34037 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34038
34039         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34040
34041         * sysdeps/x86_64/x32/ffs.c: New file.
34042
34043         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34044         __syscall_ulong_t.
34045         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34046         defined.  Use __syscall_ulong_t.
34047         (shminfo): Use __syscall_ulong_t.
34048         (shm_info): Likewise.
34049
34050         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34051         __syscall_ulong_t.
34052
34053         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34054         <bits/wordsize.h>.
34055         (msgqnum_t): Use __syscall_ulong_t.
34056         (msglen_t): Likewise.
34057         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
34058         __syscall_ulong_t.
34059
34060         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34061         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34062
34063         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34064
34065         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34066         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34067
34068         * sysvipc/sys/msg.h (msgbuf): Replace long int with
34069         __syscall_slong_t.
34070
34071         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34072         include <bits/wordsize.h>.  Check __x86_64__ instead of
34073         __WORDSIZE.
34074
34075         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34076         "unsigned long long int" if __x86_64__ is defined.
34077         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34078
34079         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34080         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34081         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34082
34083         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34084         <stdint.h>.
34085         (GET_PC): Cast to uintptr_t first.
34086         (GET_FRAME): Likewise.
34087         (GET_STACK): Likewise.
34088
34089         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34090         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34091         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34092         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34093         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34094         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34095         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34096         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34097         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34098         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34099         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34100         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34101         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34102         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34103         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34104         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34105         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34106         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34107         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34108         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34109         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34110         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34111         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34112         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34113         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34114         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34115         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34116         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34117         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34118
34119 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34120
34121         * Makerules (+depfiles): Also collect depfiles from .oS in
34122         $(extra-objs).
34123         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34124         .oS, $(libnldbl-routines)).
34125
34126         * Makerules (native-compile-mkdep-flags): Define.
34127         * sunrpc/Makefile (extra-objs): Add $(addprefix
34128         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34129         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34130         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34131         calling $(make-target-directory).
34132
34133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34134
34135         * bits/types.h (__snseconds_t): Removed.
34136         * time/time.h (struct timespec): Replace __snseconds_t with
34137         __syscall_slong_t.
34138         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34139         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34140         Likewise.
34141         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34142         (__SNSECONDS_T_TYPE): Likewise.
34143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34144         (__SNSECONDS_T_TYPE): Likewise.
34145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34146         (__SNSECONDS_T_TYPE): Likewise.
34147
34148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34149
34150         * sysdeps/mach/hurd/bits/typesizes.h
34151         (__SYSCALL_SLONG_TYPE): New macro.
34152         (__SYSCALL_ULONG_TYPE): Likewise.
34153
34154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34155
34156         * bits/types.h (__syscall_slong_t): New type.
34157         (__syscall_ulong_t): Likewise.
34158
34159         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34160         (__SYSCALL_ULONG_TYPE): Likewise.
34161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34162         (__SYSCALL_SLONG_TYPE): Likewise.
34163         (__SYSCALL_ULONG_TYPE): Likewise.
34164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34165         (__SYSCALL_SLONG_TYPE): Likewise.
34166         (__SYSCALL_ULONG_TYPE): Likewise.
34167         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34168         (__SYSCALL_SLONG_TYPE): Likewise.
34169         (__SYSCALL_ULONG_TYPE): Likewise.
34170
34171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34172
34173         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34174         Add sigaltstack-offsets.sym.
34175         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34176         <sigaltstack-offsets.h>.
34177         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34178         longjmp_msg pointer.
34179         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34180         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34181         signal stack.
34182         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34183
34184 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34185
34186         * elf/stackguard-macros.h: Remove file.
34187         * sysdeps/generic/stackguard-macros.h: New file.
34188         * sysdeps/i386/stackguard-macros.h: Likewise.
34189         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34190         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34191         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34192         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34193         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34194         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34195         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34196         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34197         <elf/stackguard-macros.h>.
34198
34199         [BZ #14109]
34200         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34201         __aligned__ in attribute.
34202         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34203         (gregset_t): Likewise.
34204
34205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34206
34207         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34208         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34209         * sysdeps/x86_64/x32/Implies-after: New file.
34210
34211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34212
34213         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34214         and access return value for _dl_profile_fixup.  Use R10_LP to
34215         load frame size.
34216
34217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34218
34219         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34220
34221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34222
34223         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34224         * sysdeps/x86_64/x32/sysdep.h: New file.
34225
34226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34227
34228         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34229         * sysdeps/x86_64/setjmp.S: Likewise.
34230
34231 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34232
34233         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34234         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34235         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34236         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34237         remove unused global constant.
34238
34239 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34240
34241         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34242         include of <not-cancel.h>.
34243
34244 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34245
34246         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34247
34248 2012-05-15  Jeff Law  <law@redhat.com>
34249             Andreas Jaeger  <aj@suse.de>
34250
34251         [BZ #13594]
34252         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34253         out from...
34254         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34255         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34256         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34257         code changing __hst_map_handle.map.
34258
34259 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34260
34261         * configure.in (sysnames): Look for Implies-before and Implies-after
34262         files.
34263         * configure: Regenerated.
34264
34265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34266
34267         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34268         8-byte data alignment with LP_SIZE alignment.
34269
34270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34271
34272         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34273         into R10_LP.
34274
34275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34276
34277         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34278
34279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34280
34281         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34282         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34283         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34284         Likewise.
34285         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34286
34287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34288
34289         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34290         (stackinfo_sub_sp): Likewise.
34291
34292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34293
34294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34295         RAX_LP.
34296
34297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34298
34299         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34300         into R*_LP.
34301
34302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34303
34304         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34305         sizes into R*_LP.
34306
34307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34308
34309         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34310
34311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34312
34313         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34314         into R11_LP and load __x86_64_shared_cache_size_half into
34315         R8_LP.
34316
34317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34318
34319         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34320         R8_LP.
34321
34322 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34323
34324         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34325         logb for POWER7.
34326         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34327         logbf for POWER7.
34328         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34329         logbl for POWER7.
34330         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34331         powerpc32/power7/fpu/s_logb.c via #include.
34332         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34333         powerpc32/power7/fpu/s_logbf.c via #include.
34334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34335         powerpc32/power7/fpu/s_logbl.c via #include.
34336
34337 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34338
34339         * README.libm: Remove file.
34340
34341 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34342
34343         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34344         count for x32.  Use R*_LP and omit operand-size suffix.
34345
34346 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34347
34348         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34349         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34350         * sysdeps/x86_64/x32/shlib-versions: New file.
34351
34352 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34353
34354         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34355         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34356         Use _dl_fatal_printf instead.
34357
34358 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34359
34360         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34361         set if not set by the user.  Do not allow for being unset.
34362         * sysdeps/unix/sysv/linux/configure: Regenerated.
34363
34364 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34365
34366         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34367         the `q' suffix from lea and replace .quad with ASM_ADDR.
34368
34369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34370
34371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34372         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34373         instead of $17.
34374         (PTR_DEMANGLE): Likewise.
34375
34376 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34377
34378         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34379         (LP_OP): Likewise.
34380         (ASM_ADDR): Likewise.
34381         (RAX_LP): Likewise.
34382         (RBP_LP): Likewise.
34383         (RBX_LP): Likewise.
34384         (RCX_LP): Likewise.
34385         (RDI_LP): Likewise.
34386         (RSI_LP): Likewise.
34387         (RSP_LP): Likewise.
34388         (R8_LP): Likewise.
34389         (R9_LP): Likewise.
34390         (R10_LP): Likewise.
34391         (R10_LP): Likewise.
34392         (R11_LP): Likewise.
34393         (R12_LP): Likewise.
34394         (R13_LP): Likewise.
34395         (R14_LP): Likewise.
34396         (R15_LP): Likewise.
34397
34398 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34399
34400         * sysdeps/x86_64/x32/dl-machine.h: New file.
34401
34402 2012-05-14  Andreas Jaeger  <aj@suse.de>
34403
34404         * manual/Makefile (subdir): Remove export of subdir.
34405         (all): Remove target.
34406         (.PHONY): Remove all from list.
34407         (mkinstalldirs): Remove.
34408         (.PHONY): Remove installdirs from list.
34409         ($(inst_infodir)/libc.info): Use make-target-directory.
34410         (installdirs): Remove.
34411         (subdir_%): Remove.
34412         (glibc-targets): Remove.
34413         (lib): Remove.
34414         (stubs): Remove.
34415         ($(objpfx)stubs ../po/manual.pot): Remove.
34416         ($(objpfx)stamp%): Remove.
34417         (make-target-directory): Remove.
34418         (subdir_install): Remove.
34419         (routines): Remove.
34420         (aux): Remove.
34421         (sources): Remove.
34422         (objects): Remove.
34423         (headers): Remove.
34424
34425         [BZ #13750]
34426         * manual/.gitignore: Remove, it's not needed anymore.
34427         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34428         all files in it.
34429         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34430         directory.
34431         (texis): Renamed to $(objpfx)texis.
34432         (texis-path): New, contains path to generated files.
34433         (chapters.%): Use texis-path for complete path, add extra argument
34434         libc-texinfo.sh.
34435         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34436         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34437         (summary,texi, stamp-summary): Use complete path of
34438         files. Generate files in build dir.
34439         (dir-add.texi): Build in build dir.
34440         (libm-err.texi,stamp-libm-err): Likewise.
34441         (version.texi, stamp-version): Likewise.
34442         (.%c.texi): Likewise.
34443         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34444         (mostlyclean): Remove target.
34445         (realclean): Remove target.
34446         (generated): Add new variable with contents from mostlyclean and
34447         realclean, remove entries duplicated in common-mostlyclean, add
34448         stamp-libm-err and stamp-version.
34449         (generated-dirs): Add libc directory.
34450         ($(inst_infodir)/libc.info): Install files from build dir.
34451
34452         * manual/install.texi (Configuring and compiling): Adjust since
34453         the info files are not part of the tar ball anymore.
34454
34455 2012-05-14  Andreas Jaeger  <aj@suse.de>
34456
34457         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34458         variable.
34459
34460 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34461
34462         [BZ #13717]
34463         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34464         to 2.2.0 where earlier.
34465         * sysdeps/unix/sysv/linux/configure: Regenerated.
34466         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34467         Remove conditional code.
34468         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34469         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34470         Remove conditional code.
34471         [!__NR_lchown]: Likewise.
34472         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34473         [__NR_lchown]: Likewise.
34474         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34475         comment referencing __ASSUME_LCHOWN_SYSCALL.
34476         * sysdeps/unix/sysv/linux/i386/sigaction.c
34477         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34478         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34479         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34480         Remove conditional code.
34481         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34482         (__protocol_available): Remove #if 0 code.
34483         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34484         conditional code.
34485         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34486         * sysdeps/unix/sysv/linux/kernel-features.h
34487         (__ASSUME_GETCWD_SYSCALL): Don't define.
34488         (__ASSUME_REALTIME_SIGNALS): Likewise.
34489         (__ASSUME_PREAD_SYSCALL): Likewise.
34490         (__ASSUME_PWRITE_SYSCALL): Likewise.
34491         (__ASSUME_POLL_SYSCALL): Likewise.
34492         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34493         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34494         non-SPARC.
34495         (__ASSUME_SIOCGIFNAME): Don't define.
34496         (__ASSUME_MSG_NOSIGNAL): Likewise.
34497         (__ASSUME_SENDFILE): Define unconditionally.
34498         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34499         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34500         conditional code.
34501         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34502         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34503         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34504         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34505         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34506         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34507         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34509         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34510         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34512         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34513         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34515         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34516         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34518         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34519         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34521         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34524         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34527         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34530         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34532         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34533         Remove conditional code.
34534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34535         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34536         Remove conditional code.
34537         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34538         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34539         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34540         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34541         Remove conditional code.
34542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34543         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34544         Remove conditional code.
34545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34546         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34547         Remove conditional code.
34548         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34549         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34550         Remove conditional code.
34551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34552         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34553         Remove conditional code.
34554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34555         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34556         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34558         * sysdeps/unix/sysv/linux/sigaction.c
34559         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34560         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34561         * sysdeps/unix/sysv/linux/sigpending.c
34562         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34563         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34564         * sysdeps/unix/sysv/linux/sigprocmask.c
34565         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34566         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34567         * sysdeps/unix/sysv/linux/sigsuspend.c
34568         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34569         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34570         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34571         (__libc_missing_rt_sigs): Remove.
34572         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34573         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34574         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34575         Remove conditional code.
34576         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34577         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34578         return 1.
34579         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34580         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34581         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34582         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34583
34584 2012-05-14  Andreas Jaeger  <aj@suse.de>
34585
34586         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34587         it's not used in glibc.
34588         (__coshm1): Likewise.
34589         (__acosh1p): Likewise.
34590         (__sgn): Likewise.
34591
34592         * manual/string.texi (Copying and Concatenation): Add missing
34593         variable in concat example.
34594         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34595
34596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34597
34598         [BZ #14103]
34599         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34600         __builtin_clzl with __builtin_clzll.
34601
34602 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34603
34604         [BZ #14104]
34605         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34606         libc_freeres_ptr.
34607
34608 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34609
34610         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34611         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34612         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34613         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34614
34615 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34616
34617         * NEWS: Update ia64 info.
34618
34619 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34620
34621         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34622         used as bcopy.
34623
34624 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34625
34626         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34627         * sysdeps/unix/syscalls.list (dup3): Likewise.
34628         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34629         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34630
34631 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34632
34633         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34634         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34635
34636 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34637
34638         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34639         thread pointer.
34640         (TLS_IE): Use mov/add instead of movq/addq to load thread
34641         pointer.
34642         (TLS_GD_PREFIX): New.
34643         (TLS_GD): Use it.
34644
34645 2012-05-11  David S. Miller  <davem@davemloft.net>
34646
34647         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34648         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34649         (_FPU_SETCW): Likewise.
34650
34651 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34652
34653         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34654         is 32-byte aligned.
34655
34656 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34657
34658         [BZ #11837]
34659         * iconvdata/gb18030.c: Update tables.
34660         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34661         characters specially.
34662         (BODY for TO_LOOP): Add encoding of missing ranges.
34663
34664 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34665
34666         [BZ #13673]
34667         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34668         * sysdeps/mach/hurd/dup3.c: Likewise.
34669         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34670         * sysdeps/powerpc/memmove.c:: Likewise.
34671
34672 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34673
34674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34675         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34676
34677 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34678
34679         * elf/elf.h (R_X86_64_RELATIVE64): New.
34680         (R_X86_64_NUM): Updated.
34681         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34682         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34683         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34684         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34685         tst-quad1pie tst-quad2pie
34686         (modules-names): Add tst-quadmod1 tst-quadmod2.
34687         ($(objpfx)tst-quad1): New dependency.
34688         ($(objpfx)tst-quad2): Likewise.
34689         ($(objpfx)tst-quad1pie): Likewise.
34690         ($(objpfx)tst-quad2pie): Likewise.
34691         * sysdeps/x86_64/tst-quad1.c: New file.
34692         * sysdeps/x86_64/tst-quad1pie.c: New file.
34693         * sysdeps/x86_64/tst-quad2.c: Likewise.
34694         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34695         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34696         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34697         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34698         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34699
34700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34701
34702         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34703         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34704         * streams/stropts.h (t_scalar_t): Define type.
34705
34706         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34707         (_PATH_PRESERVE): Set to "/var/lib".
34708         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34709
34710         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34711         instead of int.
34712
34713         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34714         if __dir_mkfile succeeded.
34715
34716         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34717         checking for _hurd_dtablesize.  Unlock it right after having
34718         finished _hurd_dtable allocation.
34719
34720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34721
34722         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34723         * sysdeps/mach/hurd/configure: Regenerated.
34724         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34725         special-casing to...
34726         * sysdeps/gnu/configure.in: ... this new file.
34727         * sysdeps/unix/sysv/linux/configure: Regenerated.
34728         * sysdeps/gnu/configure: New generated file.
34729
34730         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34731         for Linux: use nsec instead of usec, as well as:
34732         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34733         members of type struct timespec.
34734         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34735         New macros.
34736         (struct stat64): Likewise.
34737         (_STATBUF_ST_NSEC): New macro.
34738         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34739
34740         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34741         __strtoul_internal rather than strtoul.
34742
34743 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34744
34745         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34746         and reject them.
34747
34748 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34749
34750         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34751         which preserves existing values.
34752         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34753
34754 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34755
34756         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34757         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34758         greater than FD_SETSIZE.
34759
34760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34761
34762         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34763         allocated, call __vm_protect to finish enabling the existing space, and
34764         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34765         allocate the remainder.
34766
34767 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34768
34769         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34770         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34771
34772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34773
34774         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34775         sysdeps/mach/hurd/readlink.c.
34776
34777         * posix/tst-sysconf.c (posix_options): Only use
34778         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34779         _POSIX_SYNCHRONIZED_IO when they are defined
34780         * sysdeps/mach/hurd/bits/posix_opt.h:
34781         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34782         (_XOPEN_REALTIME): Undefine macro.
34783         (_XOPEN_REALTIME_THREADS): Undefine macro.
34784         (_XOPEN_SHM): Undefine macro.
34785         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34786         macro to -1.
34787         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34788         macro to -1.
34789         (_POSIX_ASYNC_IO): Undefine macro.
34790         (_POSIX_PRIORITIZED_IO): Undefine macro.
34791         (_POSIX_SPIN_LOCKS): Define macro to -1.
34792
34793         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34794         SA_NODEFER, SA_RESETHAND.
34795         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34796         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34797         F_DUPFD_CLOEXEC.
34798
34799 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34800
34801         * elf/Makefile (pldd-modules): Define unconditionally.
34802
34803 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34804
34805         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34806
34807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34808
34809         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34810         Return ENOENT when name is empty.
34811         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34812
34813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34814
34815         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34816
34817         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34818
34819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34820
34821         Fix mlock in all cases except non-readable pages.
34822         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34823         instead of VM_PROT_ALL as parameter to __vm_wire function.
34824
34825         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34826         (__mkdir): When path is `/', just fail with EEXIST.
34827         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34828
34829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34830
34831         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34832         <sys/uio.h> (for writev).
34833         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34834         and <sys/param.h> (for MIN).
34835
34836 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34837
34838         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34839         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34840         if interrupted.
34841
34842 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34843
34844         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34845         Depend on against $(link-rpcuserlibs).
34846
34847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34848
34849         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34850         (__libc_stack_end): Do not use attribute_relro.
34851         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34852         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34853         to libthread-provided value.
34854         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34855         attribute_relro.
34856
34857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34858
34859         [BZ #3748]
34860         * bits/libc-lock.h (__libc_once_get): New macro.
34861         * sysdeps/mach/bits/libc-lock.h: Likewise.
34862         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34864         instead of using implementation details.
34865
34866         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34867         * libio/freopen.c: Likewise.
34868         * libio/freopen64.c: Likewise.
34869         * misc/syslog.c: Likewise.
34870         * nscd/connections.c: Likewise.
34871         * nscd/netgroupcache.c: Likewise.
34872         * sysdeps/posix/getcwd.c: Likewise.
34873
34874 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34875
34876         * math/w_ilogbf.c: Add #include <limits.h>.
34877
34878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34879
34880         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34881         path instead of returning without unlocking.
34882
34883         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34884         immediate-write ioctls.
34885         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34886
34887 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34888
34889         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34890         __builtin_frame_address instead of making assumptions about the
34891         location of the return address relative to DATA.  Force early load of
34892         the return address.
34893         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34894         __builtin_frame_address.
34895
34896         dup3 for GNU Hurd.
34897         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34898         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34899         implement dup3 and do some further code clean-ups.
34900         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34901         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34902
34903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34904
34905         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34906
34907         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34908         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34909         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34910         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34911         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34912         d->port.lock.
34913
34914         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34915         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34916         when handler == SIG_ERR, not when handler != SIG_ERR.
34917
34918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34919
34920         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34921         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34922         definitions.
34923
34924         accept4 for GNU Hurd.
34925         * include/sys/socket.h (__libc_accept4): New prototype.
34926         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34927         to implement __libc_accept4.
34928         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34929         __libc_accept4.
34930         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34931
34932         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34933         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34934         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34935         signal-defines.sym.
34936
34937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34938
34939         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34940
34941 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34942
34943         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34944         assertion on O_CLOEXEC flag.
34945         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34946         * hurd/intern-fd.c: Likewise.
34947         * hurd/port2fd.c: Likewise.
34948
34949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34950
34951         [BZ #3906]
34952         * bits/in.h (IPV6_PKTINFO): Define new macro.
34953         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34954
34955 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34956
34957         [BZ #13954]
34958         [BZ #13955]
34959         [BZ #13956]
34960         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34961         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34962         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34963         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34965         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34966         * math/libm-test.inc (logb_test) : Additional logb tests.
34967
34968 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34969             Andreas Jaeger  <aj@suse.de>
34970
34971         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34972         * configure: Regenerated.
34973         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34974         * config.make.in (link-obsolete-rpc): New substituted variable.
34975         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34976         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34977         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34978         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34979         so that libc.a contains the symbols.
34980         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34981         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34982         * sunrpc/auth_none.c: Likewise.
34983         * sunrpc/auth_unix.c: Likewise.
34984         * sunrpc/authdes_prot.c: Likewise.
34985         * sunrpc/authuxprot.c: Likewise.
34986         * sunrpc/clnt_gen.c: Likewise.
34987         * sunrpc/clnt_perr.c: Likewise.
34988         * sunrpc/clnt_raw.c: Likewise.
34989         * sunrpc/clnt_simp.c: Likewise.
34990         * sunrpc/clnt_tcp.c: Likewise.
34991         * sunrpc/clnt_udp.c: Likewise.
34992         * sunrpc/clnt_unix.c: Likewise.
34993         * sunrpc/des_crypt.c: Likewise.
34994         * sunrpc/des_soft.c: Likewise.
34995         * sunrpc/get_myaddr.c: Likewise.
34996         * sunrpc/key_call.c: Likewise.
34997         * sunrpc/key_prot.c: Likewise.
34998         * sunrpc/netname.c: Likewise.
34999         * sunrpc/pm_getmaps.c: Likewise.
35000         * sunrpc/pm_getport.c: Likewise.
35001         * sunrpc/pmap_clnt.c: Likewise.
35002         * sunrpc/pmap_prot.c: Likewise.
35003         * sunrpc/pmap_prot2.c: Likewise.
35004         * sunrpc/pmap_rmt.c: Likewise.
35005         * sunrpc/publickey.c: Likewise.
35006         * sunrpc/rpc_cmsg.c: Likewise.
35007         * sunrpc/rpc_common.c: Likewise.
35008         * sunrpc/rpc_dtable.c: Likewise.
35009         * sunrpc/rpc_prot.c: Likewise.
35010         * sunrpc/rpc_thread.c: Likewise.
35011         * sunrpc/rtime.c: Likewise.
35012         * sunrpc/svc.c: Likewise.
35013         * sunrpc/svc_auth.c: Likewise.
35014         * sunrpc/svc_raw.c: Likewise.
35015         * sunrpc/svc_run.c: Likewise.
35016         * sunrpc/svc_tcp.c: Likewise.
35017         * sunrpc/svc_udp.c: Likewise.
35018         * sunrpc/svc_unix.c: Likewise.
35019         * sunrpc/svcauth_des.c: Likewise.
35020         * sunrpc/xcrypt.c: Likewise.
35021         * sunrpc/xdr.c: Likewise.
35022         * sunrpc/xdr_array.c: Likewise.
35023         * sunrpc/xdr_float.c: Likewise.
35024         * sunrpc/xdr_intXX_t.c: Likewise.
35025         * sunrpc/xdr_mem.c: Likewise.
35026         * sunrpc/xdr_rec.c: Likewise.
35027         * sunrpc/xdr_ref.c: Likewise.
35028         * sunrpc/xdr_sizeof.c: Likewise.
35029         * sunrpc/xdr_stdio.c: Likewise.
35030
35031 2012-05-10  Roland McGrath  <roland@hack.frob.com>
35032
35033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35034         change.  Update copyright years.
35035
35036 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35037
35038         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35039
35040 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
35041             Joseph Myers  <joseph@codesourcery.com>
35042             Paul Pluzhnikov  <ppluzhnikov@google.com>
35043
35044         [BZ #14012]
35045         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35046         requiring rpcgen.
35047         [cross-compiling] (extra-libs): Likewise.
35048         [cross-compiling] (extra-libs-others): Likewise.
35049         [cross-compiling] (librpcsvc-routines): Likewise.
35050         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35051         [cross-compiling] (omit-deps): Likewise.
35052         (sunrpc-CPPFLAGS): New variable.
35053         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35054         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35055         (cross-rpcgen-objs): New variable.
35056         (extra-objs): Append $(cross-rpcgen-objs).
35057         ($(cross-rpcgen-objs)): New rule.
35058         ($(objpfx)cross-rpcgen): Likewise.
35059         (rpcgen-cmd): Define to use $(built-program-file).  Expand
35060         comment.
35061         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35062         ($(objpfx)x%.stmp): Likewise.
35063         * sunrpc/proto.h [IS_IN_build] (_): Define.
35064         [IS_IN_build] (_libc_intl_domainname): Likewise.
35065
35066 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35067
35068         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35069         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35070         and R_X86_64_TPOFF64.
35071
35072 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35073
35074         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35075         sysdeps/unix/sysv/syscalls.list.
35076         (stime): Likewise.
35077         (utime): Likewise.
35078         * sysdeps/unix/sysv/syscalls.list: Remove file.
35079
35080 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35081
35082         [BZ #3440]
35083         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35084         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35085         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35086         (__LC_IDENTIFICATION): Make these macros useful in #if
35087         expressions, as required by C99.
35088
35089 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35090
35091         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35092         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35093         after this.
35094
35095 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35096
35097         * stdlib/longlong.h: Updated from GCC.
35098
35099 2012-05-09  Andreas Jaeger  <aj@suse.de>
35100
35101         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35102         default is first entry.
35103         (run_mode): Set type.
35104         (main): Remove informal message about syslog.
35105         (options): Fix typo.
35106
35107         [BZ #14053]
35108         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35109         to asm.
35110         (lrint): Likewise.
35111         (llrintf): Likewise.
35112         (llrint): Likewise.
35113         (rint): Likewise.
35114         (rintf): Likewise.
35115         (nearbyint): Likewise.
35116         (nearbyintf): Likewise.
35117
35118 2012-05-09  Andreas Jaeger  <aj@suse.de>
35119             Pedro Alves  <palves@redhat.com>
35120
35121         * nscd/nscd.c (run_mode): Use enum.
35122         (main): Cleanup coding style issue.
35123
35124 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35125             Andreas Jaeger  <aj@suse.de>
35126
35127         * nscd/nscd.c (go_background): Replaced with...
35128         (run_mode): ... this.
35129         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35130         (options): Add -F --foreground.
35131         (main): Implement it.
35132         (parse_opt): Parse it.
35133
35134 2012-05-09  Andreas Jaeger  <aj@suse.de>
35135
35136         [BZ #14083]
35137         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35138         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35139         -Wconversion warning.
35140         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35141         Likewise.
35142
35143 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35144
35145         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35146         == 0.
35147         (LC_ALL): Use macro-int-constant.
35148         (LC_COLLATE): Likewise.
35149         (LC_CTYPE): Likewise.
35150         (LC_MESSAGES): Likewise.
35151         (LC_MONETARY): Likewise.
35152         (LC_NUMERIC): Likewise.
35153         (LC_TIME): Likewise.
35154         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35155         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35156         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35157         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35158         Specify type.
35159         [C99-based standards] (float_t): Expect type.
35160         [C99-based standards] (double_t): Expect type.
35161         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35162         type.
35163         [C99-based standards] (HUGE_VALL): Likewise.
35164         [C99-based standards] (INFINITY): Likewise.
35165         [C99-based standards] (NAN): Likewise.
35166         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35167         [C99-based standards] (FP_NAN): Likewise.
35168         [C99-based standards] (FP_NORMAL): Likewise.
35169         [C99-based standards] (FP_SUBNORMAL): Likewise.
35170         [C99-based standards] (FP_ZERO): Likewise.
35171         [C99-based standards] (FP_FAST_FMA): Use
35172         optional-macro-int-constant.  Specify type.  Require == 1.
35173         [C99-based standards] (FP_FAST_FMAF): Likewise.
35174         [C99-based standards] (FP_FAST_FMAL): Likewise.
35175         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35176         [C99-based standards] (FP_ILOGBNAN): Likewise.
35177         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35178         Specify type.
35179         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35180         [C99-based standards] (math_errhandling): Specify type.
35181         [ISO99 || ISO11] (signgam): Do not allow.
35182         [non-C99-based standards] (copysignf): Do not allow.
35183         [non-C99-based standards] (exp2f): Likewise.
35184         [non-C99-based standards] (log2f): Likewise.
35185         [non-C99-based standards] (modff): Allow.
35186         [non-C99-based standards] (erff): Do not allow.
35187         [non-C99-based standards] (erfcf): Likewise.
35188         [non-C99-based standards] (gammaf): Likewise.
35189         [non-C99-based standards] (hypotf): Likewise.
35190         [non-C99-based standards] (j0f): Likewise.
35191         [non-C99-based standards] (j1f): Likewise.
35192         [non-C99-based standards] (jnf): Likewise.
35193         [non-C99-based standards] (lgammaf): Likewise.
35194         [non-C99-based standards] (tgammaf): Likewise.
35195         [non-C99-based standards] (y0f): Likewise.
35196         [non-C99-based standards] (y1f): Likewise.
35197         [non-C99-based standards] (ynf): Likewise.
35198         [non-C99-based standards] (isnanf): Likewise.
35199         [non-C99-based standards] (acoshf): Likewise.
35200         [non-C99-based standards] (asinhf): Likewise.
35201         [non-C99-based standards] (atanhf): Likewise.
35202         [non-C99-based standards] (cbrtf): Likewise.
35203         [non-C99-based standards] (expm1f): Likewise.
35204         [non-C99-based standards] (ilogbf): Likewise.
35205         [non-C99-based standards] (log1pf): Likewise.
35206         [non-C99-based standards] (logbf): Likewise.
35207         [non-C99-based standards] (nextafterf): Likewise.
35208         [non-C99-based standards] (remainderf): Likewise.
35209         [non-C99-based standards] (rintf): Likewise.
35210         [non-C99-based standards] (scalbf): Likewise.
35211         [non-C99-based standards] (copysignl): Likewise.
35212         [non-C99-based standards] (exp2l): Likewise.
35213         [non-C99-based standards] (log2l): Likewise.
35214         [non-C99-based standards] (modfl): Allow.
35215         [non-C99-based standards] (erfl): Do not allow.
35216         [non-C99-based standards] (erfcl): Likewise.
35217         [non-C99-based standards] (gammal): Likewise.
35218         [non-C99-based standards] (hypotl): Likewise.
35219         [non-C99-based standards] (j0l): Likewise.
35220         [non-C99-based standards] (j1l): Likewise.
35221         [non-C99-based standards] (jnl): Likewise.
35222         [non-C99-based standards] (lgammal): Likewise.
35223         [non-C99-based standards] (tgammal): Likewise.
35224         [non-C99-based standards] (y0l): Likewise.
35225         [non-C99-based standards] (y1l): Likewise.
35226         [non-C99-based standards] (ynl): Likewise.
35227         [non-C99-based standards] (isnanl): Likewise.
35228         [non-C99-based standards] (acoshl): Likewise.
35229         [non-C99-based standards] (asinhl): Likewise.
35230         [non-C99-based standards] (atanhl): Likewise.
35231         [non-C99-based standards] (cbrtl): Likewise.
35232         [non-C99-based standards] (expm1l): Likewise.
35233         [non-C99-based standards] (ilogbl): Likewise.
35234         [non-C99-based standards] (log1pl): Likewise.
35235         [non-C99-based standards] (logbl): Likewise.
35236         [non-C99-based standards] (nextafterl): Likewise.
35237         [non-C99-based standards] (remainderl): Likewise.
35238         [non-C99-based standards] (rintl): Likewise.
35239         [non-C99-based standards] (scalbl): Likewise.
35240         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35241         [non-C99-based standards] (FP_*): Do not allow.
35242         [C99-based standards] (FP_*): Change to
35243         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35244         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35245         allow.
35246         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35247         (SIG_ERR): Likewise.
35248         [X/Open-based standards] (SIG_HOLD): Likewise.
35249         (SIG_IGN): Likewise.
35250         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35251         positive value.
35252         (SIGFPE): Likewise.
35253         (SIGILL): Likewise.
35254         (SIGINT): Likewise.
35255         (SIGSEGV): Likewise.
35256         (SIGTER): Likewise.
35257         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35258         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35259         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35260         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35261         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35262         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35263         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35264         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35265         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35266         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35267         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35268         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35269         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35270         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35271         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35272         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35273         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35274         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35275         [X/Open-based standards] (SIGTRAP): Likewise.
35276         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35277         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35278         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35279         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35280         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35281         allow.
35282
35283 2012-05-08  Ian Wienand  <ianw@vmware.com>
35284
35285         [BZ #14080]
35286         * time/tzset.c (__tzset_parse_tz): Update default rules for
35287         daylight time changes in the Energy Policy Act of 2005.
35288
35289 2012-05-09  Andreas Jaeger  <aj@suse.de>
35290
35291         [BZ #13983]
35292         * elf/ldconfig.c (parse_conf): Change string to make clear that
35293         ldconfig only issued a warning if ld.so.conf does not exist.
35294
35295 2012-05-08  David S. Miller  <davem@davemloft.net>
35296
35297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35298         movxtod instead of popping the value on the stack.
35299
35300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35301
35302 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35303
35304         * config.h.in: Add HAVE_ARM_PCS_VFP.
35305
35306 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35307
35308         [BZ #13979]
35309         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35310         checking but the checks are disabled for any reason.
35311
35312 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35313
35314         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35315         and ELF64_R_TYPE with ELFW(R_TYPE).
35316
35317 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35318
35319         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35320         (ulimit): Likewise.
35321
35322         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35323         (settimeofday): Likewise.
35324
35325 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35326
35327         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35328         a struct th_u2 inside the union, and move tu_block/tu_code into
35329         a new th_u3 union of tu_block/tu_code inside of that.  Move
35330         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35331         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35332         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35333         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35334         (th_stuff): Change to th_u1.tu_stuff.
35335         (th_data): Define.
35336         (th_msg): Change to th_u1.th_u2.tu_data.
35337
35338 2012-05-07  David S. Miller  <davem@davemloft.net>
35339
35340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35341
35342         [BZ #14074]
35343         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35344         (SETUP_PIC_REG): Use it.
35345         (SETUP_PIC_REG_LEAF): Use it.
35346
35347 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35348
35349         [BZ #13885]
35350         [BZ #13923]
35351         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35352         USE_AS_EXPM1L.
35353         (EXPL_FINITE): Likewise.
35354         (FLDLOG): Likewise.
35355         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35356         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35357         e_expl.S.
35358         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35359         USE_AS_EXPM1L.
35360         (EXPL_FINITE): Likewise.
35361         (FLDLOG): Likewise.
35362         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35363         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35364         e_expl.S.
35365         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35366         test of -max_value argument for long double.
35367         * sysdeps/i386/fpu/libm-test-ulps: Update.
35368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35369
35370 2012-05-06  David S. Miller  <davem@davemloft.net>
35371
35372         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35373         quad soft-float symbols whose references which are compiler
35374         generated.
35375         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35376
35377 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35378
35379         [BZ #13884]
35380         [BZ #13914]
35381         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35382         USE_AS_EXP10L.
35383         (EXPL_FINITE): Likewise.
35384         (FLDLOG): Likewise.
35385         (c0): Likewise.
35386         (c1): Likewise.
35387         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35388         Adjust comments for base varying.
35389         (__expl_finite): Change alias to EXPL_FINITE.
35390         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35391         e_expl.S.
35392         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35393         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35394         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35395         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35396         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35397         USE_AS_EXP10L.
35398         (EXPL_FINITE): Likewise.
35399         (FLDLOG): Likewise.
35400         (c0): Likewise.
35401         (c1): Likewise.
35402         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35403         Adjust comments for base varying.
35404         (__expl_finite): Change alias to EXPL_FINITE.
35405         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35406         tests for bugs.
35407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35408
35409         [BZ #14064]
35410         * math/libm-test.inc (check_float_internal): Correct ulp
35411         calculation for subnormal expected results.
35412
35413 2012-05-06  Andreas Jaeger  <aj@suse.de>
35414
35415         * Makeconfig (+math-flags): New, set to -frounding-math.
35416         (+cflags): Add +math-flags so that all of glibc gets compiled with
35417         it.
35418
35419         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35420
35421 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35422
35423         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35424         Disable one test.
35425
35426         [BZ #13787]
35427         [BZ #13922]
35428         [BZ #14036]
35429         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35430         (__ieee754_expl): Allow for and saturate large arguments.
35431         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35432         (u_threshold): Likewise.
35433         (__exp): Call __ieee754_exp before checking for overflow and
35434         underflow.
35435         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35436         (u_threshold): Likewise.
35437         (__expf): Call __ieee754_expf before checking for overflow and
35438         underflow.
35439         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35440         (u_threshold): Likewise.
35441         (__expl): Call __ieee754_expl before checking for overflow and
35442         underflow.
35443         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35444         (__ieee754_expl): Allow for and saturate large arguments.
35445         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35446         missing overflow exception on overflow.
35447         (expm1_test): Do not allow missing overflow exception on overflow.
35448
35449         * sysdeps/i386/fpu/e_expl.c: Move to ...
35450         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35451         rather than using inline asm.
35452         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35453         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35454         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35455
35456         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35457         (nice): Likewise.
35458         (poll): Likewise.
35459         (signal): Likewise.
35460         (time): Likewise.
35461         (times): Likewise.
35462
35463 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35464
35465         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35466         sysdeps/unix/common/syscalls.list.
35467         (fchmod): Likewise.
35468         (fchown): Likewise.
35469         (ftruncate): Likewise.
35470         (getrusage): Likewise.
35471         (gettimeofday): Likewise.
35472         (setpgid): Likewise.
35473         (setregid): Likewise.
35474         (setreuid): Likewise.
35475         (sigaction): Likewise.
35476         (truncate): Likewise.
35477         (vhangup): Likewise.
35478         * sysdeps/unix/common/syscalls.list: Remove file.
35479         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35480         * sysdeps/unix/sysv/linux/Implies: Likewise.
35481
35482 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35483
35484         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35486         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35487         Moved to ...
35488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35489         Here.
35490         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35491         to ...
35492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35493         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35494         to ...
35495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35496         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35497         to ...
35498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35499         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35500         to ...
35501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35502         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35503         to ...
35504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35505         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35506         to ...
35507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35508         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35509         to ...
35510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35511         Here.
35512         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35513         to ...
35514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35515         Here.
35516         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35517         to ...
35518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35519         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35520         Moved to ...
35521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35522         Here.
35523         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35524         to ...
35525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35526
35527 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35528
35529         * sysdeps/unix/common/bits/dirent.h: Remove file.
35530         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35531
35532         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35533         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35534         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35535         * sysdeps/unix/bsd/isatty.c: Likewise.
35536         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35537         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35538         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35539
35540 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35541
35542         [BZ #13563]
35543         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35544         long double comparison inaccuracies.
35545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35547
35548 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35549
35550         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35551         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35552
35553 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35554
35555         [BZ #14049]
35556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35557         nonzero digits before rounding a hex value.
35558         * stdlib/tst-strtod.c (tests): Add another test.
35559
35560 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35561
35562         * sysdeps/s390/fpu/libm-test-ulps: Update.
35563
35564 2012-05-03  Andreas Jaeger  <aj@suse.de>
35565
35566         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35567         does not get optimized out.
35568         (malloc_opt_barrier): New.
35569
35570 2012-05-03  Andreas Jaeger  <aj@suse.de>
35571             Roland McGrath  <roland@hack.frob.com>
35572
35573         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35574         intermediate file deletion.
35575         (generated): Add .symlist files.
35576
35577 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35578
35579         [BZ #13775]
35580         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35581         Redirect under this condition.
35582         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35583         [__USE_GNU] (__dprintf_chk): Not under this condition.
35584         [__USE_GNU] (__vdprintf_chk): Likewise.
35585         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35586         under this condition.
35587         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35588         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35589         [__USE_XOPEN2K8] (vdprintf): Likewise.
35590         [__USE_GNU] (__dprintf_chk): Not under this condition.
35591         [__USE_GNU] (__vdprintf_chk): Likewise.
35592         [__USE_GNU] (dprintf): Likewise.
35593         [__USE_GNU] (vdprintf): Likewise.
35594
35595 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35596
35597         * elf/Makefile (common-generated): Set this instead of generated for
35598         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35599         $(all-built-dso)-derived lists.
35600
35601 2012-05-03  Andreas Jaeger  <aj@suse.de>
35602
35603         * sysdeps/i386/fpu/libm-test-ulps: Update.
35604
35605         * FAQ: Removed.
35606         * FAQ.in: Likewise.
35607         * scripts/gen-FAQ.pl: Likewise.
35608         * manual/install.texi (Installation): Point to online location of
35609         FAQ.
35610         * Makefile (files-for-dist): Remove FAQ.
35611         (FAQ): Remove.
35612
35613 2012-05-02  Allan McRae  <allan@archlinux.org>
35614
35615         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35616         (LDFLAGS-reldepmod5.so): Likewise.
35617         (LDFLAGS-reldep6mod1.so): Likewise.
35618         (LDFLAGS-reldep6mod4.so): Likewise.
35619         (LDFLAGS-reldep8mod3.so): Likewise.
35620         (LDFLAGS-unload4mod1.so): Likewise.
35621         (LDFLAGS-unload4mod2.so): Likewise.
35622         (LDFLAGS-tst-initorder): Likewise.
35623         (LDFLAGS-tst-initordera2.so): Likewise.
35624         (LDFLAGS-tst-initordera3.so): Likewise.
35625         (LDFLAGS-tst-initordera4.so): Likewise.
35626         (LDFLAGS-tst-initorderb2.so): Likewise.
35627         (LDFLAGS-noload): Likewise.
35628         (LDFLAGS-next): Likewise.
35629         (LDFLAGS-order2mod1.so): Likewise.
35630         (LDFLAGS-order2mod2.so): Likewise.
35631         (LDFLAGS-tst-initorder2): Likewise.
35632         (LDFLAGS-tst-initorder2a.so): Likewise.
35633         (LDFLAGS-tst-initorder2b.so): Likewise.
35634         (LDFLAGS-tst-initorder2c.so): Likewise.
35635         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35636
35637 2012-05-02  David S. Miller  <davem@davemloft.net>
35638
35639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35640
35641 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35642
35643         [BZ #14055]
35644         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35645
35646 2012-05-02  Andreas Jaeger  <aj@suse.de>
35647
35648         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35649         since we manipulate rounding mode.
35650         (CPPFLAGS-test-idouble.c): Likewise.
35651         (CPPFLAGS-test-ifloat.c): Likewise.
35652         (CFLAGS-test-ldouble.c): Likewise.
35653         (CFLAGS-test-double.c): Likewise.
35654         (CFLAGS-test-float.c): Likewise.
35655         (CFLAGS-test-misc.c): Likewise.
35656         (CFLAGS-test-test-fenv.c): Likewise.
35657
35658 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35659
35660         [BZ #2550]
35661         [BZ #2570]
35662         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35663         comparisons to determine direction to adjust input.
35664
35665 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35666
35667         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35668         output to the target.
35669
35670         * scripts/localplt.awk: New file.
35671         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35672         (check-localplt-CFLAGS): Variable removed.
35673         ($(all-built-dso:=.jmprel)): New static pattern rule.
35674         (generated): Add those targets.
35675         (localplt-built-dso): New variable.
35676         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35677
35678         * elf/check-localplt.c: File removed.
35679
35680         * scripts/check-execstack.awk: New file.
35681         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35682         (check-execstack-CFLAGS): Variable removed.
35683         ($(objpfx)check-execstack.h): Target removed.
35684         ($(objpfx)execstack-default): New target.
35685         (generated): Add that instead of check-execstack.h.
35686         ($(all-built-dso:=.phdr)): New static pattern rule.
35687         (generated): Add those targets.
35688         * elf/check-execstack.c: File removed.
35689
35690         * scripts/check-textrel.awk: New file.
35691         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35692         (check-textrel-CFLAGS): Variable removed.
35693         (all-built-dso): Use := to define.o
35694         ($(all-built-dso:=.dyn)): New static pattern rule.
35695         (generated): Add those targets.
35696         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35697         * config.make.in (READELF): New substituted variable.
35698         * elf/check-textrel.c: File removed.
35699
35700 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35701
35702         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35703         allow.
35704         * conform/data/ctype.h-data [C99-based standards] (isblank):
35705         Expect function.
35706         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35707         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35709         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35710         Specify type.  Require positive value.
35711         (EILSEQ): Likewise.
35712         (ERANGE): Likewise.
35713         [ISO || POSIX] (EILSEQ): Do not expect.
35714         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35715         Specify type.  Require positive value.
35716         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35717         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35718         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35719         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35720         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35721         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35722         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35723         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35724         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35725         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35726         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35727         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35728         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35729         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35730         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35731         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35732         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35733         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35734         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35735         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35736         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35737         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35738         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35739         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35740         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35741         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35742         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35743         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35744         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35745         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35746         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35747         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35748         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35749         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35750         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35751         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35752         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35753         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35754         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35755         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35756         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35757         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35758         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35759         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35760         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35761         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35762         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35763         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35764         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35765         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35766         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35767         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35768         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35769         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35770         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35771         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35772         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35773         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35774         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35775         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35776         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35777         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35778         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35779         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35780         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35781         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35782         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35783         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35784         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35785         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35786         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35787         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35788         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35789         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35790         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35791         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35792         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35793         Require >= 2.
35794         (FLT_ROUNDS): Expect as macro, not constant.
35795         (FLT_MANT_DIG): Use macro-int-constant.
35796         (DBL_MANT_DIG): Likewise.
35797         (LDBL_MANT_DIG): Likewise.
35798         (FLT_DIG): Likewise.
35799         (DBL_DIG): Likewise.
35800         (LDBL_DIG): Likewise.
35801         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35802         (DBL_MIN_EXP): Likewise.
35803         (LDBL_MIN_EXP): Likewise.
35804         (FLT_MAX_EXP): Use macro-int-constant.
35805         (DBL_MAX_EXP): Likewise.
35806         (LDBL_MAX_EXP): Likewise.
35807         (FLT_MAX_10_EXP): Likewise.
35808         (DBL_MAX_10_EXP): Likewise.
35809         (LDBL_MAX_10_EXP): Likewise.
35810         (FLT_MAX): Use macro-constant.
35811         (DBL_MAX): Likewise.
35812         (LDBL_MAX): Likewise.
35813         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35814         (DBL_EPSILON): Likewise.
35815         (LDBL_EPSILON): Likewise.
35816         (FLT_MIN): Likewise.
35817         (DBL_MIN): Likewise.
35818         (LDBL_MIN): Likewise.
35819         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35820         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35821         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35822         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35823         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35824         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35825         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35826         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35827         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35828         [ISO11] (FLT_TRUE_MIN): Likewise.
35829         [ISO11] (LDBL_TRUE_MIN): Likewise.
35830         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35831         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35832         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35833         (SCHAR_MAX): Likewise.
35834         (UCHAR_MAX): Likewise.
35835         (CHAR_MIN): Likewise.
35836         (CHAR_MAX): Likewise.
35837         (MB_LEN_MAX): Use macro-int-constant.
35838         (SHRT_MIN): Use macro-int-constant.  Specify type.
35839         (SHRT_MAX): Likewise.
35840         (USHRT_MAX): Likewise.
35841         (INT_MAX): Likewise.
35842         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35843         bound negative.
35844         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35845         bound with "U".
35846         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35847         bound with "L".
35848         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35849         bound negative.  Suffix upper bound with "L".
35850         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35851         bound with "UL".
35852         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35853         Specify type.
35854         [C99-based standards] (LLONG_MAX): Likewise.
35855         [C99-based standards] (ULLONG_MAX): Likewise.
35856         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35857         == 0.
35858         [ISO11] (max_align_t): Require type.
35859         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35860
35861         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35862         from $CFLAGS, without defining away __attribute__ calls.
35863         (checknamespace): Use $CFLAGS_namespace.
35864
35865         * conform/conformtest.pl (@keywords): Only include C99 keywords
35866         for standards based on C99 or C11.
35867
35868         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35869         Disable tests.
35870         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35871         UNIX98]: Likewise.
35872
35873         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35874         usability of symbols in #if.
35875
35876         * conform/conformtest.pl: If macro or constant types start
35877         "promoted:", expect the symbol to be of the following type
35878         promoted by the integer promotions.
35879
35880         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35881         in one place.  Also handle "macro-constant".
35882
35883         * conform/conformtest.pl: Only accept expected macro values with
35884         "==".  Parse all "macro" lines in one place.
35885         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35886
35887         * conform/conformtest.pl: Handle braced types on "constant" lines
35888         instead of handling "typed-constant".
35889         * conform/data/signal.h-data: Use "constant" instead of
35890         "typed-constant".
35891
35892         * conform/conformtest.pl: Handle "optional-" at start of lines in
35893         one place rather than duplicating several cases.  Handle each
35894         format of "macro" line with initial "optional-".
35895
35896         * conform/conformtest.pl: Only accept expected constant or
35897         optional-constant values with "==".  Parse all "constant" lines in
35898         one place.  Parse all "optional-constant" lines in one place.
35899         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35900         * conform/data/fmtmsg.h-data: Likewise.
35901         * conform/data/netinet/in.h-data: Likewise.
35902         * conform/data/tar.h-data: Likewise.
35903         * conform/data/limits.h-data: Use "==" form on "constant" and
35904         "optional-constant" lines.
35905
35906         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35907         Use -std=c99 for XOPEN2K.
35908         (@knownproblems): Remove.
35909         (newtoken): Don't check %isknown.
35910
35911         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35912         Do not expect macro.
35913         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35914         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35915         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35916         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35917         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35918         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35919         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35920         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35921         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35922         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35923         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35924         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35925         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35926         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35927         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35928         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35929         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35930         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35931         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35932         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35933         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35934         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35935         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35936         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35943         [XPG3] (acosh): Likewise.
35944         [XPG3] (asinh): Likewise.
35945         [XPG3] (atanh): Likewise.
35946         [XPG3] (cbrt): Likewise.
35947         [XPG3] (expm1): Likewise.
35948         [XPG3] (ilogb): Likewise.
35949         [XPG3] (log1p): Likewise.
35950         [XPG3] (logb): Likewise.
35951         [XPG3] (nextafter): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35954         [XPG3] (remainder): Likewise.
35955         [XPG3] (rint): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35962         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35963         [UNIX98 || XOPEN2K] (scalb): Expect.
35964         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35965         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35966         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35967         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35968         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35969         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35970         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35971         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35972         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35973         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35974         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35978         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35979         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35980         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35981         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35982         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35983         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35984         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35985         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35986         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35987         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35988         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35989         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35990         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35991         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35992         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35993         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35994         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35995         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35996         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35997         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35998         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35999         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36000         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36001         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36002         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36003         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36004         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36005         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36006         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36007         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36008         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36009         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36010         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36011         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36012         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36013         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36014         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36015         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36016         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36017         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36018         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36019         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36020         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36021         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36022         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36023         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36024         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36025         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36026         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36027         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36028         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36029         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36030         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36031         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36032         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36033         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36034         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36035         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36036         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36037         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36038         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36039         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36040         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36041         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36042         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36043         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36044         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36045         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36046         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36047         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36048         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36049         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36050         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36051         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36052         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36053         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36054         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36055         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36056         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36057         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36058         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36059         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36060         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36061         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36062         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36063         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36064         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36065         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36066         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36067         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36068         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36069         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36070         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36071         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36072         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36073         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36074         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36075         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36076         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36077         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36078         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36079         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36080         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36081         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36082         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36083         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36084         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36085         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36086         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36087         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36088         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36089         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36090         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36091         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36092         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36093         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36094         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36095         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36096         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36097         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36098         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36099         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36100         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36101
36102         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36103         _XOPEN_SOURCE_EXTENDED for XPG4.
36104
36105         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36106
36107         * Makeconfig (localtime): Remove variable.
36108         (inst_localtime-file): Likewise.
36109
36110 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36111
36112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36113         Update.
36114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36115         Update.
36116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36117         Update.
36118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36119         Update.
36120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36121         Update.
36122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36123         Update.
36124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36125         Update.
36126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36127         Update.
36128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36129         Update.
36130
36131 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36132
36133         [BZ #2550]
36134         [BZ #2570]
36135         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36136         comparisons to determine direction to adjust input.
36137         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36138         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36139         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36140         Likewise.
36141         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36142         Likewise.
36143         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36144         Likewise.
36145         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36146         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36147         Likewise.
36148         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36149         Likewise.
36150         * math/libm-test.inc (nexttoward_test): Add more tests.
36151
36152 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36153
36154         [BZ #14040]
36155         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36156         in version GLIBC_2.1, not GLIBC_2.0.
36157         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36158         Likewise.
36159
36160 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36161
36162         [BZ #13942]
36163         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36164         (1 - x) * (1 + x).
36165         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36166         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36167         * math/libm-test.inc (acos_test): Add more tests.
36168         (asin_test): Likewise.
36169         * sysdeps/i386/fpu/libm-test-ulps: Update.
36170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36171
36172         [BZ #14034]
36173         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36174         of square root.
36175         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36176         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36177         * math/libm-test.inc (acos_test_tonearest): New function.
36178         (acos_test_towardzero): Likewise.
36179         (acos_test_downward): Likewise.
36180         (acos_test_upward): Likewise.
36181         (asin_test_tonearest): Likewise.
36182         (asin_test_towardzero): Likewise.
36183         (asin_test_downward): Likewise.
36184         (asin_test_upward): Likewise.
36185         (main): Call the new functions.
36186         * sysdeps/i386/fpu/libm-test-ulps: Update.
36187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36188
36189         [BZ #13884]
36190         [BZ #13924]
36191         * math/e_exp10.c: Include <float.h>.
36192         (__ieee754_exp10): Handle underflow here rather than multiplying
36193         large negative argument by M_LN10.
36194         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36195         of __ieee754_expf.
36196         * math/e_exp10l.c: Include <float.h>.
36197         (__ieee754_exp10l): Handle underflow here rather than multiplying
36198         large negative argument by M_LN10l.
36199         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36200         spurious overflow exception on underflow.
36201
36202 2012-04-29  Marek Polacek  <polacek@redhat.com>
36203
36204         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36205         (__fortify_function): New macro.
36206         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36207         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36208         __extern_always_inline.
36209         * libio/bits/stdio2.h: Likewise.
36210         * libio/bits/stdio.h: Likewise.
36211         * string/string.h: Likewise.
36212         * string/bits/string3.h: Likewise.
36213         * include/stdio.h: Likewise.
36214         * stdlib/bits/stdlib.h: Likewise.
36215         * stdlib/stdlib.h: Likewise.
36216         * rt/bits/mqueue2.h: Likewise.
36217         * rt/mqueue.h: Likewise.
36218         * posix/bits/unistd.h: Likewise.
36219         * posix/unistd.h: Likewise.
36220         * io/bits/poll2.h: Likewise.
36221         * io/bits/fcntl2.h: Likewise.
36222         * io/fcntl.h: Likewise.
36223         * io/sys/poll.h: Likewise.
36224         * misc/bits/syslog.h: Likewise.
36225         * misc/bits/syslog-ldbl.h: Likewise.
36226         * misc/sys/syslog.h: Likewise.
36227         * socket/bits/socket2.h: Likewise.
36228         * socket/sys/socket.h: Likewise.
36229         * debug/tst-chk1.c: Likewise.
36230         * wcsmbs/bits/wchar2.h: Likewise.
36231         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36232         * wcsmbs/wchar.h: Likewise.
36233
36234 2012-04-29  Andreas Jaeger  <aj@suse.de>
36235
36236         * Makerules (tests): Remove enable-check-abi protection.
36237         (check-abi-warn): Remove.
36238         (check-abi-%): Remove check-abi-warn usage.
36239
36240         * configure.in: Remove check-abi configure option.
36241         * configure: Regenerated.
36242         * config.make.in (enable-check-abi): Remove.
36243
36244 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36245
36246         [BZ #14033]
36247         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36248         double functions to double *_finite functions.
36249
36250         [BZ #13941]
36251         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36252         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36253         LDBL_MIN_EXP.
36254         * stdio-common/Makefile (tests): Add tst-sprintf3.
36255         * stdio-common/tst-sprintf3.c: New file.
36256
36257         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36258         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36259
36260 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36261
36262         * conform/conformtest.pl: Remove duplicate typed-constant
36263         handling.
36264
36265 2012-04-28  David S. Miller  <davem@davemloft.net>
36266
36267         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36268         (check-abi-%): Remove AWK script prerequisite and explicit
36269         abilist directory.
36270         (check-abi): Rewrite to just diff the symlist with the abilist.
36271         (config-tls, config-abi-config): Delete, no longer used.
36272         (update-abi-%): Remove AWK script and explicit abilist directory.
36273         (update-abi): Rewrite to simply compare and conditionally copy the
36274         symlist and the sysdep abilist file.  Remove update-abi-config
36275         checks.
36276         * abilist/ld.abilist: Remove.
36277         * abilist/libBrokenLocale.abilist: Remove.
36278         * abilist/libanl.abilist: Remove.
36279         * abilist/libcrypt.abilist: Remove.
36280         * abilist/libdl.abilist: Remove.
36281         * abilist/librt.abilist: Remove.
36282         * abilist/libthread_db.abilist: Remove.
36283         * abilist/libutil.abilist: Remove.
36284         * scripts/extract-abilist.awk: Remove.
36285         * scripts/merge-abilist.awk: Remove.
36286         * sysdeps/generic/libcidn.abilist: New file.
36287         * sysdeps/generic/libnss_compat.abilist: New file.
36288         * sysdeps/generic/libnss_db.abilist: New file.
36289         * sysdeps/generic/libnss_dns.abilist: New file.
36290         * sysdeps/generic/libnss_files.abilist: New file.
36291         * sysdeps/generic/libnss_hesiod.abilist: New file.
36292         * sysdeps/generic/libnss_nis.abilist: New file.
36293         * sysdeps/generic/libnss_nisplus.abilist: New file.
36294         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36295         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36296         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36297         file.
36298         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36299         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36300         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36301         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36302         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36303         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36304         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36305         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36306         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36307         file.
36308         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36309         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36310         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36311         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36312         file.
36313         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36314         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36315         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36316         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36317         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36318         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36319         file.
36320         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36321         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36322         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36323         file.
36324         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36326         New file.
36327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36328         New file.
36329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36330         New file.
36331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36332         New file.
36333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36334         New file.
36335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36336         New file.
36337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36338         New file.
36339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36340         New file.
36341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36342         New file.
36343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36344         New file.
36345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36346         New file.
36347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36348         New file.
36349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36350         New file.
36351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36352         file.
36353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36354         New file.
36355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36356         New file.
36357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36358         file.
36359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36360         New file.
36361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36362         New file.
36363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36364         file.
36365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36366         New file.
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36368         New file.
36369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36370         New file.
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36372         New file.
36373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36374         New file.
36375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36376         New file.
36377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36379         file.
36380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36381         New file.
36382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36383         file.
36384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36385         file.
36386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36387         file.
36388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36389         file.
36390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36391         file.
36392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36393         New file.
36394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36395         file.
36396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36397         file.
36398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36399         New file.
36400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36401         file.
36402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36404         file.
36405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36406         New file.
36407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36408         file.
36409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36410         file.
36411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36412         file.
36413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36414         file.
36415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36416         file.
36417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36418         New file.
36419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36420         file.
36421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36422         file.
36423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36424         New file.
36425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36426         file.
36427         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36428         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36429         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36430         file.
36431         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36432         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36433         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36434         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36435         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36436         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36437         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36438         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36439         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36440         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36443         file.
36444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36445         New file.
36446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36447         file.
36448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36449         file.
36450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36451         file.
36452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36453         file.
36454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36455         file.
36456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36457         New file.
36458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36459         New file.
36460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36461         file.
36462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36463         New file.
36464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36465         file.
36466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36468         file.
36469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36470         New file.
36471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36472         file.
36473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36474         file.
36475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36476         file.
36477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36478         file.
36479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36480         file.
36481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36482         New file.
36483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36484         New file.
36485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36486         file.
36487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36488         New file.
36489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36490         file.
36491
36492 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36493
36494         * conform/conformtest.pl: Fix typo in handling typed-constant from
36495         allow-header.
36496
36497 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36498
36499         * README: Cut down references to pre-2.6 Linux kernels and
36500         Linuxthreads.  Update lists of configurations in libc and ports
36501         and sort alphabetically.  Say "or newer" with Linux kernel version
36502         requirements.
36503
36504         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36505
36506 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36507
36508         [BZ #887]
36509         * math/libm-test.inc (logb_test_downward): New test to expose
36510         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36511         rounding mode.
36512
36513 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36514
36515         [BZ #14027]
36516         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36517         to be done.
36518         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36519         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36520
36521 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36522
36523         * sysdeps/unix/i386/brk.S: Remove file.
36524         * sysdeps/unix/i386/dl-brk.S: Likewise.
36525         * sysdeps/unix/i386/pipe.S: Likewise.
36526         * sysdeps/unix/i386/sigreturn.S: Likewise.
36527         * sysdeps/unix/i386/syscall.S: Likewise.
36528         * sysdeps/unix/i386/vfork.S: Likewise.
36529         * sysdeps/unix/i386/wait.S: Likewise.
36530
36531         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36532         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36533
36534         * configure.in (arm*-none*): Do not allow without
36535         --enable-hacker-mode.
36536         (netbsd*): Remove case setting base_os.
36537         (386bsd*): Likewise.
36538         (freebsd*): Likewise.
36539         (bsdi*): Likewise.
36540         (osf*): Likewise.
36541         (sunos*): Likewise.
36542         (ultrix*): Likewise.
36543         (newsos*): Likewise.
36544         (dynix*): Likewise.
36545         (*bsd*): Likewise.
36546         (sysv*): Likewise.
36547         (isc*): Likewise.
36548         (esix*): Likewise.
36549         (sco*): Likewise.
36550         (minix*): Likewise.
36551         (irix4*): Likewise.
36552         (irix6*): Likewise.
36553         (solaris[2-9]*): Likewise.
36554         (none): Likewise.
36555         * configure: Regenerated.
36556
36557 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36558
36559         [BZ #11521]
36560         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36561         overflow or cancellation in calculating denominator.
36562         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36563         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36564         down expression to avoid unexpected rounding in newer GCCs.
36565         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36566
36567 2012-04-26  David S. Miller  <davem@davemloft.net>
36568
36569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36570         long-double compat symbols.
36571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36584
36585 2012-04-25  David S. Miller  <davem@davemloft.net>
36586
36587         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36588         HWCAP_* values only after the memory barriers have been defined.
36589         (atomic_full_barrier): Define.
36590         (atomic_read_barrier): Define.
36591         (atomic_write_barrier): Define.
36592
36593 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36594
36595         * shlib-versions: Add libgcc_s version information.
36596         * sysdeps/generic/libgcc_s.h: Remove.
36597         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36598         libgcc_s.h.
36599         * sysdeps/gnu/unwind-resume.c: Likewise.
36600         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36601
36602 2012-04-25  David S. Miller  <davem@davemloft.net>
36603
36604         * sysdeps/unix/sparc/brk.S: Delete.
36605         * sysdeps/unix/sparc/dl-brk.S: Delete.
36606         * sysdeps/unix/sparc/pipe.S: Delete.
36607         * sysdeps/unix/sparc/sysdep.S: Delete.
36608         * sysdeps/unix/sparc/sysdep.h: Delete.
36609         * sysdeps/unix/sparc/vfork.S: Delete.
36610         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36611         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36612         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36613         (ret_ERRVAL, r0, r1, MOVE): Define.
36614         (JUMPTARGET): Remove.
36615         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36616         sysdeps/unix/sparc/sysdep.h
36617         (ENTRY, END): Remove.
36618         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36619
36620 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36621
36622         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36623         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36624         -DIS_IN_build.
36625
36626         * timezone/README: Update upstream location and email address for
36627         tzcode and tzdata.
36628         * timezone/zdump.c: Update from tzcode 2012b.
36629         * timezone/zic.c: Likewise.
36630
36631         * configure.in (libc_cv_as_needed): Remove test.
36632         * configure: Regenerated.
36633         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36634         conditional definition.
36635         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36636         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36637         * config.make.in (have-as-needed): Remove variable.
36638
36639 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36640             Paul Pluzhnikov  <ppluzhnikov@google.com>
36641
36642         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36643         strings correctly.
36644
36645 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36646
36647         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36648         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36649         * sysdeps/sh/strlen.S: Likewise.
36650
36651 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36652
36653         * sysdeps/unix/fork.S: Remove file.
36654         * sysdeps/unix/i386/fork.S: Likewise.
36655         * sysdeps/unix/sparc/fork.S: Likewise.
36656
36657         * sysdeps/unix/system.c: Remove file.
36658         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36659
36660         * sysdeps/unix/getegid.S: Remove file.
36661         * sysdeps/unix/geteuid.S: Likewise.
36662
36663 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36664
36665         * scripts/check-localplt.awk: New file.
36666         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36667         of diff.
36668         * scripts/data/localplt-generic.data: Add a comment.
36669
36670         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36671         NODE when __dir_mkfile failed.
36672         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36673         Reported by Ludovic Courtès <ludo@gnu.org>.
36674
36675 2012-04-24  Andreas Jaeger  <aj@suse.de>
36676
36677         * Makerules (common-clean): Also remove gen-as-const-headers
36678         files.
36679
36680 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36681
36682         * Makerules (native-compile): Do not change working directory for
36683         build.  Use $(OUTPUT_OPTION) in command.
36684         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36685
36686 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36687
36688         [BZ #13886]
36689         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36690         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36691         * math/libm-test.inc (floor_test): Add more tests.
36692         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36693
36694 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36695
36696         * sysdeps/unix/getdents.c: Remove file.
36697         * sysdeps/unix/sysv/getdents.c: Likewise.
36698         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36699
36700         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36701         sysdeps/unix/mman/syscalls.list.
36702         (mmap): Likewise.
36703         (mprotect): Likewise.
36704         (msync): Likewise.
36705         (munmap): Likewise.
36706         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36707         * sysdeps/unix/mman/syscalls.list: Remove.
36708         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36709
36710         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36711         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36712         * configure: Regenerated.
36713         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36714         $(libgcc_s_suffix).
36715         * config.make.in (libgcc_s_suffix): Remove variable.
36716
36717 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36718
36719         * sysdeps/unix/sysv/gethostname.c: Move to ...
36720         * sysdeps/posix/gethostname.c: ... here.
36721
36722         * sysdeps/unix/execve.S: Remove file.
36723
36724         * sysdeps/unix/_exit.S: Remove file.
36725
36726 2012-04-23  Andreas Jaeger  <aj@suse.de>
36727
36728         [BZ #13739]
36729         * manual/Makefile: Remove make dist support, there's no
36730         need for a stand-alone documentation tar ball.
36731         (TEXI2DVI): Define always, it's not in Makeconfig.
36732         (dist): Removed.
36733         (tar-it): Removed.
36734         (edition): Removed.
36735         (glibc-doc-$(edition).tar): Removed
36736         (%.Z): Removed.
36737         (%.gz): Removed.
36738         (%.uu): Removed.
36739         (ETAGS): Remove, it's in Makeconfig.
36740         (move-if-change): Remove, it's in Makeconfig.
36741
36742 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36743
36744         [BZ #13970]
36745         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36746         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36747         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36748         (strtod_l, strtof_l, strtold_l): Remove __wur.
36749         It is not necessarily an error to ignore strtol's return value.
36750         One can reliably look at the stored endptr to decide whether
36751         the number had valid syntax.
36752
36753 2012-04-21  Andreas Jaeger  <aj@suse.de>
36754
36755         [BZ #13739]
36756         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36757
36758 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36759
36760         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36761         * sysdeps/unix/sysv/Versions: Remove file.
36762
36763 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36764
36765         [BZ #13927]
36766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36767
36768 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36769
36770         [BZ #7064]
36771         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36772         version from __vm86.
36773
36774 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36775
36776         * sysdeps/unix/common/lxstat.c: Remove file.
36777         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36778
36779         * sysdeps/unix/sysv/Makefile: Remove file.
36780
36781         * sysdeps/unix/sysv/direct.h: Remove file.
36782
36783         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36784         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36785         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36786         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36787         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36788         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36789         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36790
36791         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36792
36793         * sysdeps/unix/xmknod.c: Remove file.
36794         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36795
36796         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36797
36798         * sysdeps/unix/sysv/i386/time.S: Remove file.
36799
36800         * sysdeps/unix/fxstat.c: Remove file.
36801         * sysdeps/unix/xstat.c: Likewise.
36802         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36803
36804         * sysdeps/unix/sysv/sigaction.c: Remove file.
36805
36806         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36807         (sysdep_headers): Remove variable.
36808         [termio.h not in sysdep_headers] (generated): Likewise.
36809         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36810         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36811         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36812         * sysdeps/unix/sysv/tcflow.c: Likewise.
36813         * sysdeps/unix/sysv/tcflush.c: Likewise.
36814         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36815         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36816         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36817         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36818         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36819
36820         * sysdeps/unix/siglist.c: Remove file.
36821
36822         * sysdeps/unix/getppid.S: Remove file.
36823
36824         * sysdeps/unix/mkdir.c: Remove file.
36825         * sysdeps/unix/rmdir.c: Likewise.
36826
36827 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36828
36829         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36830         ERR_MAX value.
36831         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36832         errlist-compat value.
36833
36834 2012-04-18  David S. Miller  <davem@davemloft.net>
36835
36836         * sysdeps/generic/memcopy.h (reg_char): Delete.
36837         * debug/strcat_chk.c: Use char, not reg_char.
36838         * debug/strcpy_chk.c: Likewise.
36839         * debug/strncat_chk.c: Likewise.
36840         * debug/strncpy_chk.c: Likewise.
36841         * string/memchr.c: Likewise.
36842         * string/memrchr.c: Likewise.
36843         * string/rawmemchr.c: Likewise.
36844         * string/strcat.c: Likewise.
36845         * string/strchr.c: Likewise.
36846         * string/strchrnul.c: Likewise.
36847         * string/strcmp.c: Likewise.
36848         * string/strcpy.c: Likewise.
36849         * string/strncat.c: Likewise.
36850         * string/strncmp.c: Likewise.
36851         * string/strncpy.c: Likewise.
36852
36853 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36854
36855         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36856         __builtin_memcopy is called when src and dest ranges are known to not
36857         overlap.
36858
36859 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36860
36861         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36862         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36863         fwd_align_merge macro call.
36864         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36865         bwd_align_merge macro call.
36866         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36867
36868 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36869
36870         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36871         bwd_align_merge macros.
36872         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36873         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36874         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36875
36876 2012-04-18  David S. Miller  <davem@davemloft.net>
36877
36878         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36879
36880 2012-04-18  Andreas Jaeger  <aj@suse.de>
36881
36882         [BZ# 6794]
36883         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36884         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36885         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36886
36887         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36888         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36889         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36890
36891         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36892         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36893         Adjust for changed ldbl-128 files.
36894
36895         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36896         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36897         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36898
36899 2012-04-17  David S. Miller  <davem@davemloft.net>
36900
36901         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36902
36903 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36904
36905         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36906         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36907         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36908         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36909         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36910         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36911
36912 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36913
36914         [BZ #6794]
36915         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36916         * math/libm-test.inc: Add ilogb errno and exception tests.
36917         * math/w_ilogb.c: New file: ilogb wrapper.
36918         * math/w_ilogbf.c: New file: ilogbf wrapper.
36919         * math/w_ilogbl.c: New file: ilogbl wrapper.
36920         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36921         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36922         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36923         exception being thrown with 0.0 as argument.
36924         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36925         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36926         exception being thrown with 0.0 as argument.
36927         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36928         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36929         exception being thrown with 0.0 as argument.
36930         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36931         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36932         exception being thrown with 0.0 as argument.
36933         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36934         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36935         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36936         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36937         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36938         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36939         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36940         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36941         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36942
36943 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36944
36945         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36946         with altivec.
36947
36948 2012-04-16  Marek Polacek  <polacek@redhat.com>
36949
36950         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36951
36952 2012-04-16  Marek Polacek  <polacek@redhat.com>
36953
36954         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36955         operands of fdivp instruction.
36956
36957 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36958
36959         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36960         * elf/tst-auditmod3b.c: Likewise.
36961         * elf/tst-auditmod4b.c: Likewise.
36962         * elf/tst-auditmod5b.c: Likewise.
36963         * elf/tst-auditmod6b.c: Likewise.
36964         * elf/tst-auditmod6c.c: Likewise.
36965         * elf/tst-auditmod7b.c: Likewise.
36966         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36967         * sysdeps/x86_64/preconfigure.in: Likewise.
36968         * sysdeps/x86_64/preconfigure: Regenerated.
36969
36970 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36971
36972         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36973         __ILP32__.
36974
36975 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36976
36977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36978         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36979
36980 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36981
36982         [BZ #13973]
36983         * locale/iso-639.def: Fix gl language name. Spotted by
36984         Yaron Shahrabani.
36985
36986 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36987
36988         [BZ #2074]
36989         * libio/libio.h (__io_write_fn): Update comment.
36990
36991 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36992
36993         [BZ #2074]
36994         * stdio.texi (Hook Functions): The user provided writer function
36995         is not allowed to return -1.
36996
36997 2012-04-11  David S. Miller  <davem@davemloft.net>
36998
36999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37000
37001 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
37002
37003         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37004         Add a leading slash to rtkaio.
37005
37006 2012-04-11  Jim Meyering  <meyering@redhat.com>
37007
37008         [BZ #11959]
37009         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37010         It is not necessarily an error to ignore fwrite's return
37011         value.  One can reliably use ferror to test for errors after
37012         the fact.
37013
37014 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37015
37016         * bits/types.h (__snseconds_t): New type.
37017         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37018
37019         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37020         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37021         (__SNSECONDS_T_TYPE): Likewise.
37022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37023         (__SNSECONDS_T_TYPE): Likewise.
37024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37025         (__SNSECONDS_T_TYPE): Likewise.
37026
37027 2012-04-10  Andreas Jaeger  <aj@suse.de>
37028
37029         [BZ #2636]
37030         * manual/time.texi (Processor Time): Return type of times is
37031         elapsed real time since an arbitrary point in the past.
37032         (CPU Time): Move CLK_TCK from here...
37033         (Processor Time): ...to here.  Correct description.
37034         * manual/conf.texi (Constants for Sysconf): Correct description of
37035         _SC_CLK_TCK.
37036
37037 2012-04-10  David S. Miller  <davem@davemloft.net>
37038
37039         [BZ #13967]
37040         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37041         where the is a gap between DT_REL(A) and DT_JMPREL.
37042
37043 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
37044
37045         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37046         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37047         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37048
37049 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37050
37051         * elf/dl-support.c (_dl_inhibit_cache): New variable.
37052         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37053         (dl_main): Handle --inhibit-cache.
37054         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37055         _dl_inhibit_cache.
37056         * elf/dl-load.c (_dl_map_object): Use it.
37057         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37058
37059 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37060
37061         [BZ #13872]
37062         * sysdeps/i386/fpu/e_powl.S (p78): New object.
37063         (__ieee754_powl): Saturate large exponents rather than testing for
37064         overflow of y*log2(x).
37065         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37066         * math/libm-test.inc (pow_test): Do not permit spurious overflow
37067         exceptions.
37068
37069         [BZ #11521]
37070         * math/s_ctan.c: Include <float.h>.
37071         (__ctan): Avoid internal overflow or cancellation in calculating
37072         denominator.
37073         * math/s_ctanf.c: Likewise.
37074         * math/s_ctanl.c: Likewise.
37075         * math/s_ctanh.c: Likewise.
37076         * math/s_ctanhf.c: Likewise.
37077         * math/s_ctanhl.c: Likewise.
37078         * math/libm-test.inc (ctan_test): Add more tests.
37079         (ctanh_test): Likewise.
37080         * sysdeps/i386/fpu/libm-test-ulps: Update.
37081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37082
37083 2012-04-09  Andreas Jaeger  <aj@suse.de>
37084
37085         [BZ #6894]
37086         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37087         is an optional BSD extension.
37088
37089         [BZ #10254]
37090         * manual/stdio.texi (Opening Streams): Document additional fopen
37091         parameters.
37092
37093 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37094
37095         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37096         %eax without telling the compiler.
37097
37098 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37099
37100         [BZ # 13963]
37101         * manual/install.texi: Use sourceware.org.
37102
37103 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37104
37105         [BZ #13873]
37106         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37107         (__ieee754_pow): Generate overflow and underflow using huge*huge
37108         and tiny*tiny rather than just returning constant infinity or zero
37109         for large exponents.
37110         * math/libm-test.inc (pow_test): Require overflow exceptions for
37111         applicable cases of large exponents.
37112
37113         [BZ #706]
37114         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37115         (__ieee754_pow): Use iterative multiplication algorithm only for
37116         integer exponents with absolute value below 1024.  Check for odd
37117         integer exponents when using algorithm for real exponents.
37118         * math/libm-test.inc (pow_test): Add more tests.
37119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37120
37121 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37122
37123         [BZ #13705]
37124         * math/libm-test.inc (exp_test): Do not allow overflow exception
37125         on underflow test.
37126
37127 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37128
37129         [BZ #13705]
37130         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37131         instead of __kernel_standard_f.
37132
37133 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37134
37135         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37136         * sysdeps/x86_64/memset_chk.S: Likewise.
37137
37138 2012-04-08  Andreas Jaeger  <aj@suse.de>
37139
37140         [BZ #10153]
37141         * manual/startup.texi (Environment Access): Describe return value
37142         for putenv and setenv.
37143
37144         [BZ #6895]
37145         * manual/filesys.texi (Directory Entries): Add description for
37146         DT_LNK.
37147
37148         [BZ #6890]
37149         * manual/filesys.texi (Directory Entries): Clarify that it's file
37150         system not operating system in the description of DT_UNKNOWN.
37151
37152         [BZ #6578]
37153         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37154
37155 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37156
37157         [BZ #6649]
37158         * manual/llio.texi (Opening and Closing Files): Add cross
37159         reference to explain mode argument.
37160
37161 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37162
37163         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37164         * sysdeps/x86_64/memset_chk.S: Likewise.
37165
37166 2012-04-07  David S. Miller  <davem@davemloft.net>
37167
37168         * elf/elf.h (R_SPARC_WDISP10): Define.
37169         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37170         R_SPARC_SIZE32.
37171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37172         R_SPARC_SIZE64 and R_SPARC_H34.
37173
37174 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37175
37176         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37177         conditions and remove no longer applicable assertion.
37178
37179 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37180
37181         * bits/byteswap.h: Include <features.h>.
37182         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37183         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37184
37185 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37186
37187         * bits/byteswap.h (__bswap_16): Removed.
37188         Include <bits/byteswap-16.h> to get __bswap_16.
37189         * sysdeps/i386/bits/byteswap.h: Likewise.
37190         * sysdeps/s390/bits/byteswap.h: Likewise.
37191         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37192         * bits/byteswap-16.h: New file.
37193         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37194         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37195         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37196         * string/Makefile (headers): Add bits/byteswap-16.h.
37197
37198 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37199
37200         [BZ #13895]
37201         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37202         extra indirection.
37203         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37204         * nss/tst-nss-static.c: New.
37205
37206 2012-04-06  Robert Millan  <rmh@gnu.org>
37207
37208         [BZ #6486]
37209         * manual/llio.texi (File Position Primitive): lseek
37210         refers to WHENCE when it really means OFFSET.
37211
37212 2012-04-06  Andreas Jaeger  <aj@suse.de>
37213
37214         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37215         strncmp declarations.
37216
37217         * abilist/libc.abilist: Add __poll and __ppoll.
37218
37219 2012-04-05  David S. Miller  <davem@davemloft.net>
37220
37221         * scripts/check-local-headers.sh: Accept a host triplet in the
37222         path matched by the exclude regexp.
37223
37224         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37225         definition.
37226         * sysdeps/powerpc/powerpc32/dl-machine.h
37227         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37228         * sysdeps/s390/s390-32/dl-machine.h
37229         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37230         * sysdeps/sparc/sparc32/dl-machine.h
37231         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37232         * sysdeps/sparc/sparc64/dl-machine.h
37233         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37234
37235         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37236         lazy binding.
37237         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37238         undefined symbol errors.
37239
37240         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37241         DT_NEEDED entries.
37242
37243 2012-04-05  Michael Matz  <matz@suse.de>
37244
37245         [BZ #13592]
37246         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37247
37248 2012-04-05  Andreas Jaeger  <aj@suse.de>
37249
37250         [BZ #13908]
37251         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37252         comment.
37253
37254 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37255
37256         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37257         which ROUND is no valid rounding mode.
37258
37259 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37260
37261         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37262         read again.
37263         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37264
37265 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37266
37267         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37268         an exception using FPU order intentionally.
37269
37270 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37271
37272         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37273         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37274         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37275         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37276
37277 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37278
37279         [BZ #12340]
37280         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37281         EINVAL when BUFLEN is too smal.
37282
37283 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37284
37285         [BZ #13553]
37286         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37287         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37288
37289 2012-04-03  Andreas Jaeger  <aj@suse.de>
37290
37291         [BZ #13938]
37292         * manual/setjmp.texi (System V contexts): Fix sentence.
37293
37294         [BZ #13926]
37295         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37296         New macro for this case.
37297         [!__GNUC__] (__bswap_64): New inline function for this case.
37298         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37299         * bits/byteswap.h: Likewise.
37300         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37301         ull, guard with __GLIBC_HAVE_LONG_LONG.
37302
37303         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37304         __GLIBC_HAVE_LONG_LONG.
37305
37306         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37307         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37308
37309 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37310
37311         [BZ #13691]
37312         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37313         inptr and inend, rather than using last_ch.
37314
37315 2012-04-02  David S. Miller  <davem@davemloft.net>
37316
37317         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37318         * stdio-common/printf-parse.h (read_int): Change return type to
37319         'int', return -1 on INT_MAX overflow.
37320         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37321         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37322         overflows INT_MAX.  Check for overflow of in-format-string precision
37323         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37324         SIZE_MAX not INT_MAX for integer overflow test.
37325         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37326         skip the construct in the format string but do not record anything.
37327         * stdio-common/bug22.c: Adjust to test both width/prevision
37328         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37329         explicitly for proper errno values.
37330
37331 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37332
37333         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37334         CHAR_MAX.
37335         * string/test-strcmp.c [! WIDE]: Likewise.
37336         * time/tst-mktime2.c: Likewise for INT_MAX.
37337         * string/test-string.h: #include <sys/param.h> for MIN.
37338
37339         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37340         * sysdeps/i386/init-first.c (init): Likewise.
37341         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37342         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37343         * sysdeps/sh/init-first.c (init): Likewise.
37344
37345 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37346
37347         * po/ru.po: Update from translation team.
37348         * po/vi.po: Likewise.
37349
37350 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37351
37352         * resolv/nss_dns/dns-host.c: Merge copyright years.
37353
37354 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37355
37356         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37357         Optimize memcpy with prefetch if
37358         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37359         src, dst pointers have unequal 16 byte alignments.
37360
37361 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37362
37363         [BZ #13928]
37364         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37365         from a CNAME entry and return the minimum ttl for the query.
37366         (gaih_getanswer_slice): Likewise.
37367
37368 2012-03-30  Jeff Law  <law@redhat.com>
37369
37370         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37371         due to long keys.
37372         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37373         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37374
37375         * resolv/nss_dns/dns-host.c: Update copyright year.
37376
37377 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37378
37379         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37380         requests to save a system call.  Fix check that all bytes are sent.
37381
37382         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37383         comments for sendmmsg.
37384
37385 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37386
37387         [BZ #13691]
37388         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37389         with only 1 character between 0x0041 and 0x01b0.
37390         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37391         * wcsmbs/tst-mbsnrtowcs.c: New file.
37392
37393 2012-03-29  David S. Miller  <davem@davemloft.net>
37394
37395         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37396         small copies by hand.
37397
37398 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37399
37400         [BZ #13761]
37401         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37402         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37403         group memberships.
37404
37405 2012-03-28  David S. Miller  <davem@davemloft.net>
37406
37407         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37408         that branches into memcpy.
37409         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37410         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37411         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37412         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37413         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37414         bits.
37415         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37416         implementation too.
37417         * sysdeps/sparc/mempcpy.S: New file.
37418
37419         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37420         the IFUNC routine in the libc case.
37421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37422
37423         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37424         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37425         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37426         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37427         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37428         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37429         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37430         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37431
37432         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37433         loop to 256 bytes instead of 64 bytes and fix test signedness.
37434
37435         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37436         * sysdeps/sparc/sparc32/Makefile: rather than here...
37437         * sysdeps/sparc/sparc64/Makefile: and here.
37438
37439 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37440
37441         * malloc/mallocbug.c: Avoid warnings about unused variables.
37442
37443 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37444
37445         [BZ #13760]
37446         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37447         in the right place. Discard and retry query if response is
37448         larger than input buffer size.
37449
37450 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37451
37452         [BZ #369]
37453         [BZ #2678]
37454         [BZ #3866]
37455         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37456         x for large integer exponent.
37457         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37458         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37459         sign of result as needed afterwards.
37460         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37461         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37462         result for underflowing pow the same as for overflow.
37463         (__kernel_standard_l): Handle powl overflow and underflow here
37464         rather than calling __kernel_standard.
37465         * math/libm-test.inc (pow_test): Add more tests.
37466
37467         [BZ #3868]
37468         [BZ #13879]
37469         [BZ #13910]
37470         [BZ #13911]
37471         [BZ #13912]
37472         [BZ #13913]
37473         [BZ #13915]
37474         [BZ #13916]
37475         [BZ #13917]
37476         [BZ #13918]
37477         [BZ #13919]
37478         [BZ #13920]
37479         [BZ #13921]
37480         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37481         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37482         (__kernel_standard_l): New function.
37483         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37484         __kernel_standard.
37485         * math/w_acosl.c (__acosl): Likewise.
37486         * math/w_asinl.c (__asinl): Likewise.
37487         * math/w_atan2l.c (__atan2l): Likewise.
37488         * math/w_atanhl.c (__atanhl): Likewise.
37489         * math/w_coshl.c (__coshl): Likewise.
37490         * math/w_exp10l.c (__exp10l): Likewise.
37491         * math/w_exp2l.c (__exp2l): Likewise.
37492         * math/w_fmodl.c (__fmodl): Likewise.
37493         * math/w_hypotl.c (__hypotl): Likewise.
37494         * math/w_j0l.c (__j0l, __y0l): Likewise.
37495         * math/w_j1l.c (__j1l, __y1l): Likewise.
37496         * math/w_jnl.c (__jnl, __ynl): Likewise.
37497         * math/w_lgammal.c (__lgammal): Likewise.
37498         * math/w_log10l.c (__log10l): Likewise.
37499         * math/w_log2l.c (__log2l): Likewise.
37500         * math/w_logl.c (__logl): Likewise.
37501         * math/w_powl.c (__powl): Likewise.
37502         * math/w_remainderl.c (__remainderl): Likewise.
37503         * math/w_scalbl.c (sysv_scalbl): Likewise.
37504         * math/w_sinhl.c (__sinhl): Likewise.
37505         * math/w_sqrtl.c (__sqrtl): Likewise.
37506         * math/w_tgammal.c (__tgammal): Likewise.
37507         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37508         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37509         * math/libm-test.inc (acos_test): Add more tests.
37510         (acosh_test): Likewise.
37511         (asin_test): Likewise.
37512         (atanh_test): Likewise.
37513         (exp_test): Likewise.
37514         (exp10_test): Likewise.
37515         (exp2_test): Likewise.
37516         (expm1_test): Likewise.
37517         (lgamma_test): Likewise.
37518         (log_test): Likewise.
37519         (log10_test): Likewise.
37520         (log1p_test): Likewise.
37521         (log2_test): Likewise.
37522         (pow_test): Do not allow some spurious overflow exceptions.
37523         (sqrt_test): Add more tests.
37524         (tgamma_test): Likewise.
37525         (y0_test): Likewise.
37526         (y1_test): Likewise.
37527         (yn_test): Likewise.
37528
37529 2012-03-27  Anton Blanchard  <anton@samba.org>
37530
37531         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37532         MAP_HUGETLB.
37533         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37534         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37535         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37536
37537 2012-03-27  David S. Miller  <davem@davemloft.net>
37538
37539         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37540
37541         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37542         have-as-vis3 check.
37543
37544 2012-03-27  Andreas Jaeger  <aj@suse.de>
37545
37546         * sysdeps/x86_64/elf/configure.in: Moved to ...
37547         * sysdeps/x86_64/configure.in: ... here.
37548         * sysdeps/x86_64/elf/start.S: Moved to ...
37549         * sysdeps/x86_64/start.S: ... here.
37550         * sysdeps/x86_64/elf/configure: Delete.
37551
37552         * sysdeps/x86_64/configure.in: Merge contents from
37553         sysdeps/i386/configure.in (without i686 check).
37554
37555         * sysdeps/i386/elf/Versions: Merge into ...
37556         * sysdeps/i386/Versions: ... this.
37557         * sysdeps/i386/elf/Versions: Delete file.
37558         * sysdeps/i386/elf/start.S: Moved to ...
37559         * sysdeps/i386/start.S: ...here.
37560         * sysdeps/i386/elf/configure.in: Merge into...
37561         * sysdeps/i386/configure.in: ...here.
37562         * sysdeps/i386/elf/configure.in: Delete file.
37563         * sysdeps/i386/elf/configure: Delete file.
37564
37565         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37566         * debug/backtracesyms.c: ... here.
37567         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37568         * debug/backtracesymsfd.c: ... here.
37569         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37570         * sysdeps/generic/ifunc-sel.h: ... here.
37571
37572         * sysdeps/unix/i386/start.c: Delete file.
37573         * sysdeps/unix/sparc/start.c: Delete file.
37574         * sysdeps/unix/start.c: Delete file.
37575
37576         * sysdeps/sh/elf/configure.in: Moved to ...
37577         * sysdeps/sh/configure.in: ... here.
37578         * sysdeps/sh/elf/start.S: Moved to ...
37579         * sysdeps/sh/start.S: ... here.
37580         * sysdeps/sh/elf/configure: Delete file.
37581
37582         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37583         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37584         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37585         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37586         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37587         * sysdeps/powerpc/powerpc64/start.S: here.
37588         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37589         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37590         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37591         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37592         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37593
37594         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37595         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37596         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37597         * sysdeps/powerpc/powerpc32/start.S: ... here.
37598         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37599         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37600         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37601
37602         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37603         * sysdeps/powerpc/ifunc-sel.h: ... here.
37604         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37605         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37606
37607         * sysdeps/sparc/elf/configure.in: Moved to ...
37608         * sysdeps/sparc/configure.in: ... here.
37609         * sysdeps/sparc/elf/configure: Delete file.
37610         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37611         * sysdeps/sparc/sparc32/start.S: ... here.
37612         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37613         * sysdeps/sparc/sparc64/start.S: ... here.
37614         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37615         * sysdeps/sparc/sparc32/Makefile: ... this.
37616         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37617         * sysdeps/sparc/sparc64/Makefile: ... this.
37618
37619         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37620         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37621         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37622         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37623         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37624         * sysdeps/s390/s390-32/setjmp.S: ... here.
37625         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37626         * sysdeps/s390/s390-32/configure.in: ... here.
37627         * sysdeps/s390/s390-32/elf/configure: Delete file.
37628         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37629         * sysdeps/s390/s390-32/start.S: ... here.
37630
37631         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37632         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37633         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37634         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37635         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37636         * sysdeps/s390/s390-64/setjmp.S: ... here.
37637         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37638         * sysdeps/s390/s390-64/configure.in: ... here
37639         * sysdeps/s390/s390-64/elf/configure: Delete file.
37640         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37641         * sysdeps/s390/s390-64/start.S: ... here.
37642         * sysdeps/s390/s390-64/elf/configure: Delete.
37643
37644         * configure.in: Remove support for elf directories in sysdeps.
37645
37646         * configure: Regenerated.
37647         * sysdeps/i386/configure: Regenerated.
37648         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37649         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37650         * sysdeps/s390/s390-32/configure: Regenerated.
37651         * sysdeps/s390/s390-64/configure: Regenerated.
37652         * sysdeps/sh/configure: Regenerated.
37653         * sysdeps/sparc/configure: Regenerated.
37654         * sysdeps/x86_64/configure: Regenerated.
37655
37656 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37657
37658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37659
37660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37661         denormal result into account.
37662
37663 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37664
37665         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37666         Reported by Allan McRae <allan@archlinux.org>.
37667
37668 2012-03-23  Jeff Law  <law@redhat.com>
37669
37670         * nss/getnssent.c (__nss_getent): Fix typo.
37671
37672 2012-03-23  David S. Miller  <davem@davemloft.net>
37673
37674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37675
37676 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37677
37678         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37679         to pad to uint64_t for each field.
37680         (dl_tls_index): Replace unsigned long with uint64_t.
37681
37682 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37683         Paul Pluzhnikov  <ppluzhnikov@google.com>
37684
37685         [BZ #6528]
37686         * grp/Makefile (otherlibs): Don't set it.
37687         * inet/Makefile (otherlibs): Likewise.
37688         * login/Makefile (otherlibs): Likewise.
37689         * nscd/Makefile (otherlibs): Likewise.
37690         * posix/Makefile (otherlibs): Likewise.
37691         * pwd/Makefile (otherlibs): Likewise.
37692         * rt/Makefile (otherlibs): Likewise.
37693         * sunrpc/Makefile (otherlibs): Likewise.
37694         * nss/Makefile (otherlibs): Likewise.
37695         Add libnss_files to routines and static-only-routines.
37696         ($(objpfx)getent): Remove rule.
37697         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37698         static-only-routines.
37699
37700 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37701
37702         [BZ #13892]
37703         * math/s_cexp.c: Include <float.h>.
37704         (__cexp): Handle exp result overflowing not necessarily
37705         overflowing both real and imaginary parts of result.
37706         * math/s_cexpf.c: Likewise.
37707         * math/s_cexpl.c: Likewise.
37708         * math/libm-test.inc (cexp_test): Add more tests.
37709         * sysdeps/i386/fpu/libm-test-ulps: Update.
37710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37711
37712 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37713
37714         * include/link.h (ELFW): New macro.
37715         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37716         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37717
37718 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37719
37720         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37721         with uint64_t.
37722
37723 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37724
37725         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37726         declaration.
37727         (struct La_x32_retval): Likewise.
37728
37729 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37730
37731         * sysdeps/x86_64/preconfigure.in: New file.
37732         * sysdeps/x86_64/preconfigure: New generated file.
37733
37734 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37735
37736         [BZ #13824]
37737         * math/e_exp2l.c: Include <float.h>.
37738         (__ieee754_exp2l): Handle overflow and underflow cases
37739         separately.  Only pass fractional part of argument to
37740         __ieee754_expl.
37741         * math/libm-test.inc (exp2_test): Add more tests.
37742
37743         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37744         negating x to take absolute value.
37745         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37746         Likewise.
37747         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37748         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37749         Likewise.
37750         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37751         computing low part if x was negated.
37752         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37753
37754 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37755
37756         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37757         la_x32_gnu_pltexit.
37758         (pltexit): Cast int_retval to ptrdiff_t.
37759         * elf/tst-auditmod3b.c: Likewise.
37760         * elf/tst-auditmod4b.c: Likewise.
37761         * elf/tst-auditmod5b.c: Likewise.
37762         * elf/tst-auditmod6b.c: Likewise.
37763         * elf/tst-auditmod6c.c: Likewise.
37764         * elf/tst-auditmod7b.c: Likewise.
37765
37766         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37767         and x32_gnu_pltexit.
37768
37769         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37770         __ELF_NATIVE_CLASS.
37771         (La_x32_regs): New macro.
37772         (La_x32_retval): Likewise.
37773         (la_x32_gnu_pltenter): New function prototype.
37774         (la_x32_gnu_pltexit): Likewise.
37775
37776 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37777
37778         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37779         exponent.
37780
37781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37782
37783         * configure.in (libc_cv_cc_nofma): Check for option to disable
37784         generation of FMA instructions.
37785         * configure: Regenerate.
37786         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37787         * sysdeps/ieee754/dbl-64/Makefile: New file.
37788         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37789         Remove brandred-fma4.
37790         (CFLAGS-brandred-fma4.c): Remove.
37791         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37792         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37793         define.
37794         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37795         define.
37796
37797 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37798
37799         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37800         LLONG_MAX != LONG_MAX.
37801         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37802         (_fitoa_word): Likewise.
37803         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37804         LLONG_MAX != LONG_MAX.
37805         * stdio-common/_itowa.h: Include <_itoa.h>.
37806         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37807         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37808         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37809         only if not defined.
37810         (_ITOA_WORD_TYPE): Likewise.
37811         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37812         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37813
37814 2012-03-21  David S. Miller  <davem@davemloft.net>
37815
37816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37817
37818 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37819
37820         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37821         of x86_64 when setting libc_cv_slibdir, libdir and
37822         libc_cv_localedir.
37823         * sysdeps/unix/sysv/linux/configure: Regenerated.
37824
37825 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37826
37827         * manual/lang.texi (Old Varargs): Remove section.
37828         (How Variadic): Update menu.
37829         (va_start): Do not mention varargs.h.
37830
37831 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37832             Joseph Myers  <joseph@codesourcery.com>
37833
37834         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37835         link test.
37836         * configure: Regenerated.
37837
37838 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37839
37840         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37841         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37842         conformtest.pl
37843
37844 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37845
37846         * NOTES: Remove.
37847         * Makefile (files-for-dist): Remove NOTES.
37848         (NOTES): Remove rule.
37849         * README: Don't refer to NOTES.
37850         * manual/creature.texi: Don't include macros.texi.
37851         * manual/intro.texi (creature.texi): Remove comment referring to
37852         NOTES.
37853
37854         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37855         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37856         * configure: Regenerated.
37857         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37858         LIBC_TRY_CC_OPTION.
37859         (libc_cv_as_i686): Likewise.
37860         (libc_cv_cc_avx): Likewise.
37861         (libc_cv_cc_sse2avx): Likewise.
37862         (libc_cv_cc_fma4): Likewise.
37863         (libc_cv_cc_novzeroupper): Likewise.
37864         * sysdeps/i386/configure: Regenerated.
37865
37866         [BZ #13883]
37867         * sysdeps/i386/fpu/s_cexp.S: Remove.
37868         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37869         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37870         * math/libm-test.inc (cexp_test): Add more tests.
37871         * sysdeps/i386/fpu/libm-test-ulps: Update.
37872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37873
37874 2012-03-21  Allan McRae  <allan@archlinux.org>
37875
37876         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37877
37878 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37879
37880         [BZ #13871]
37881         * math/w_exp2.c: Do not include <float.h>.
37882         (o_threshold, u_threshold): Remove.
37883         (__exp2): Calculate result before checking finiteness and calling
37884         __kernel_standard.
37885         * math/w_exp2f.c: Likewise.
37886         * math/w_exp2l.c: Likewise.
37887         * math/libm-test.inc (exp2_test): Require overflow exception for
37888         1e6 input.
37889
37890         [BZ #3866]
37891         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37892         range of signed 64-bit integers before using fistpll.  Remove
37893         checks for whether integers fit in mantissa bits.
37894         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37895         the range of signed 32-bit integers before using fistpl.  Remove
37896         checks for whether integers fit in mantissa bits.
37897         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37898         (__ieee754_powl): Test for y outside the range of signed 64-bit
37899         integers before using fistpll.  Reduce 64-bit values to 63-bit
37900         ones as needed.
37901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37902         divide-by-zero is raised for zero to large negative powers.
37903         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37904         (__ieee754_powl): Test for y outside the range of signed 64-bit
37905         integers before using fistpll.  Reduce 64-bit values to 63-bit
37906         ones as needed.
37907         * math/libm-test.inc (pow_test): Add more tests.
37908
37909 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37910
37911         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37912         <stdio-common/_itoa.h>.
37913         * debug/segfault.c: Likewise.
37914         * elf/dl-cache.c: Likewise.
37915         * elf/dl-minimal.c: Likewise.
37916         * elf/dl-misc.c: Likewise.
37917         * elf/dl-sysdep.c: Likewise.
37918         * elf/dl-version.c: Likewise.
37919         * elf/rtld.c: Likewise.
37920         * hurd/hurdsock.c: Likewise.
37921         * hurd/lookup-retry.c: Likewise.
37922         * malloc/malloc.c: Likewise.
37923         * malloc/mtrace.c: Likewise.
37924         * nscd/nscd_getgr_r.c: Likewise.
37925         * nscd/nscd_getpw_r.c: Likewise.
37926         * nscd/nscd_getserv_r.c: Likewise.
37927         * posix/getopt_init.c: Likewise.
37928         * posix/wordexp.c: Likewise.
37929         * stdio-common/_itoa.c: Likewise.
37930         * stdio-common/printf_fphex.c: Likewise.
37931         * stdio-common/vfprintf.c: Likewise.
37932         * string/_strerror.c: Likewise.
37933         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37934         * sysdeps/i386/i686/hp-timing.h: Likewise.
37935         * sysdeps/mach/_strerror.c: Likewise.
37936         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37937         * sysdeps/mach/hurd/sethostid.c: Likewise.
37938         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37939         * sysdeps/mach/xpg-strerror.c: Likewise.
37940         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37942         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37943         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37944         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37945         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37946         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37947         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37948         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37949         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37950         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37951         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37952         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37953         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37954         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37955         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37956         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37957         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37958         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37959         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37960         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37961
37962         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37963
37964         * stdio-common/_itoa.h: Moved to ...
37965         * sysdeps/generic/_itoa.h: Here.
37966
37967         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37968
37969         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37970         instead of "_itoa.h" and "_itowa.h".
37971         * stdio-common/vfprintf.: Likewise.
37972
37973 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37974
37975         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37976         <bits/wordsize.h>.
37977         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37978         (__signbit): Likwise.
37979         (llrintf): Likwise.
37980         (llrint): Likwise.
37981
37982 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37983
37984         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37985         __WORDSIZE != 64.
37986
37987 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37988
37989         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37990         OVERFLOW_EXCEPTION_OK.
37991         * math/libm-test.inc ("Philosophy"): Update comment about
37992         exception testing.
37993         (OVERFLOW_EXCEPTION): Define.
37994         (OVERFLOW_EXCEPTION_OK): Likewise.
37995         (INVALID_EXCEPTION_OK): Renumber.
37996         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37997         (IGNORE_ZERO_INF_SIGN): Likewise.
37998         (test_exceptions): Handle FE_OVERFLOW.
37999         (exp10_test): Expect overflow exceptions.
38000         (exp2_test): Likewise.
38001         (expm1_test): Likewise.
38002         (nextafter_test): Likewise.
38003         (pow_test): Likewise.
38004         (scalbn_test): Likewise.
38005         (scalbln_test): Likewise.
38006
38007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38008
38009         * sysdeps/x86_64/bits/atomic.h
38010         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38011         64bit integer.
38012         (atomic_exchange_acq): Likewise.
38013         (__arch_exchange_and_add_body): Likewise.
38014         (__arch_add_body): Likewise.
38015         (atomic_add_negative): Likewise.
38016         (atomic_add_zero): Likewise.
38017
38018 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38019
38020         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38021         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38022
38023 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38024
38025         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38026         Check __x86_64__ instead of __WORDSIZE.
38027
38028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38029
38030         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38031
38032 2012-03-19  David S. Miller  <davem@davemloft.net>
38033
38034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38035
38036         * sysdeps/sparc/fpu/fenv_private.h: New file.
38037         * sysdeps/sparc/fpu/math_private.h: Use it.
38038         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38039         Remove.
38040         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38041         (libc_feholdexcept_setroundl): Remove.
38042         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38043         Remove.
38044         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38045         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38046
38047 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38048
38049         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38050         int64_t instead of long int.
38051         (INSERT_WORDS64): Likwise.
38052
38053 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
38054
38055         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38056         _Unwind_GetCFA return to _Unwind_Ptr first.
38057
38058 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
38059
38060         [BZ #13629]
38061         * math/s_clog.c: Include <float.h>.
38062         (__clog): Scale large or subnormal inputs.
38063         * math/s_clogf.c: Likewise.
38064         * math/s_clogl.c: Likewise.
38065         * math/s_clog10.c: Include <float.h>.
38066         (M_LOG10_2): Define.
38067         (__clog10): Scale large or subnormal inputs.
38068         * math/s_clog10f.c: Likewise.
38069         * math/s_clog10l.c: Likewise.
38070         * math/libm-test.inc (clog_test): Add more tests.
38071         (clog10_test): Likewise.
38072         * sysdeps/i386/fpu/libm-test-ulps: Update.
38073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38074
38075         [BZ #11451]
38076         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38077         x and y.
38078         * math/libm-test.inc (atan2_test): Add another test.
38079
38080         * Makerules (common-objdir-compile): Remove.
38081         * sysdeps/unix/Makefile (config-generated): Do not add
38082         $(unix-generated) to variable.
38083         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38084         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38085         Remove rule.
38086         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38087         Likewise.
38088         [generic bits/local_lim.h] (before-compile): Do not append to
38089         variable.
38090         [generic bits/local_lim.h] (common-generated): Likewise.
38091         [generic sys/param.h] (before-compile): Do not append to variable.
38092         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38093         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38094         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38095         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38096         include.
38097         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38098         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38099         [generic sys/param.h] ($(addprefix
38100         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38101         [generic sys/param.h] (common-generated): Do not append to
38102         variable.
38103         [generic sys/param.h] (sysdep_headers): Likewise.
38104         [generic bits/errno.h] (before-compile): Do not append to
38105         variable.
38106         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38107         rule.
38108         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38109         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38110         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38111         [generic bits/errno.h] (common-generated): Do not append to
38112         variable.
38113         [generic bits/ioctls.h] (before-compile): Do not append to
38114         variable.
38115         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38116         rule.
38117         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38118         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38119         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38120         rule.
38121         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38122         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38123         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38124         [generic bits/ioctls.h] (common-generated): Do not append to
38125         variable.
38126         [generic sys/syscall.h] (syscall.h): Remove variable.
38127         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38128         rule.
38129         [generic sys/syscall.h] (before-compile): Do not append to
38130         variable.
38131         [generic sys/syscall.h] (common-generated): Likewise.
38132         * sysdeps/unix/errnos-tmpl.c: Remove file.
38133         * sysdeps/unix/errnos.awk: Likewise.
38134         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38135         * sysdeps/unix/ioctls.awk: Likewise.
38136         * sysdeps/unix/mk-local_lim.c: Likewise.
38137         * sysdeps/unix/snarf-ioctls: Likewise.
38138
38139 2012-03-19  Richard Henderson  <rth@twiddle.net>
38140
38141         * sysdeps/i386/fpu/fenv_private.h: New file.
38142         * sysdeps/i386/fpu/math_private.h: Use it.
38143         (math_opt_barrier, math_force_eval): Remove.
38144         (libc_feholdexcept_setround_53bit): Remove.
38145         (libc_feupdateenv_53bit): Remove.
38146         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38147         (math_opt_barrier, math_force_eval): Remove.
38148         (libc_feholdexcept): Remove.
38149         (libc_feholdexcept_setround): Remove.
38150         (libc_fetestexcept, libc_fesetenv): Remove.
38151         (libc_feupdateenv_test): Remove.
38152         (libc_feupdateenv, libc_feholdsetround): Remove.
38153         (libc_feresetround): Remove.
38154
38155         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38156         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38157
38158         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38159         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38160         (libc_feupdateenv_testl): New.
38161         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38162         (libc_feupdateenv_testf): New.
38163         (libc_feupdateenv): Use libc_feupdateenv_test.
38164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38165         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38166
38167         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38168         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38169         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38170         (libc_feresetround_noex): New.
38171         (libc_feresetround_noexf): New.
38172         (libc_feresetround_noexl): New.
38173         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38174         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38175         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38176         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38177         SET_RESTORE_ROUND.
38178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38180         (__cos): Likewise.
38181         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38182         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38183         SET_RESTORE_ROUND_NOEX.
38184         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38185         SET_RESTORE_ROUND_NOEXF.
38186         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38187         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38188         (libc_feholdsetroundf): New.
38189         (libc_feresetround, libc_feresetroundf): New.
38190
38191         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38192         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38193         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38194
38195         * sysdeps/generic/math_private.h: Include <fenv.h>.
38196         (default_libc_feholdexcept): New.
38197         (default_libc_feholdexcept_setround): New.
38198         (default_libc_fesetenv, default_libc_feupdateenv): New.
38199         (libc_feholdexcept): Only define if undefined.
38200         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38201         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38202         (libc_feholdexcept_setroundl): Likewise.
38203         (libc_feholdexcept_setround_53bit): Likewise.
38204         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38205         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38206         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38207         (libc_feupdateenv_53bit): Likewise.
38208         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38209         (libc_feholdexcept): Convert from macro to inline function.
38210         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38211         (libc_fesetenv, libc_feupdateenv): Likewise.
38212
38213         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38214         not previously defined.
38215         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38216         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38217         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38218         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38219         * sysdeps/ieee754/flt-32/math_private.h: New file.
38220         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38221         math_private.h below SET_FLOAT_WORD.
38222         (__isnan, __isinf_ns, __finite): Remove.
38223         (__isnanf, __isinf_nsf, __finitef): Remove.
38224
38225 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38226
38227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38228
38229 2012-03-17  David S. Miller  <davem@davemloft.net>
38230
38231         [BZ #6471]
38232         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38233         for 2.16.
38234
38235 2012-03-16  David S. Miller  <davem@davemloft.net>
38236
38237         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38238         warnings.
38239
38240         [BZ #6471]
38241         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38242         properly.
38243         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38244         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38245         sysdep_routines when subdir is sysvipc.
38246         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38247         __getshmlba helper.
38248
38249         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38250
38251 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38252
38253         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38254         [__LP64__].
38255
38256 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38257
38258         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38259         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38260         (__lround): Renamed to ...
38261         (__llround): This.  Replace long int with long long int.
38262         Define lround functions as aliases of llround functions.
38263         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38264
38265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38266
38267         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38268         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38269         adresses to uintptr_t.  Replace "long int" and "unsigned long
38270         int" with "greg_t" on va_arg.
38271
38272 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38273
38274         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38275         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38276
38277         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38278         Move e_machine check before EI_CLASS check.  Handle x32
38279         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38280         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38281         SKIP_EM_IA_64 and include
38282         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38283
38284         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38285         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38286         (add_system_dir): New macro.
38287
38288         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38289         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38290
38291 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38292
38293         [BZ #2551]
38294         [BZ #2552]
38295         [BZ #2553]
38296         [BZ #2554]
38297         [BZ #2562]
38298         [BZ #2563]
38299         [BZ #2565]
38300         [BZ #2566]
38301         [BZ #2576]
38302         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38303         (y0): Likewise.
38304         * math/w_j0f.c (j0f): Likewise.
38305         (y0f): Likewise.
38306         * math/w_j0l.c (__j0l): Likewise.
38307         (__y0l): Likewise.
38308         * math/w_j1.c (j1): Likewise.
38309         (y1): Likewise.
38310         * math/w_j1f.c (j1f): Likewise.
38311         (y1f): Likewise.
38312         * math/w_j1l.c (__j1l): Likewise.
38313         (__y1l): Likewise.
38314         * math/w_jn.c (jn): Likewise.
38315         (yn): Likewise.
38316         * math/w_jnf.c (jnf): Likewise.
38317         (ynf): Likewise.
38318         * math/w_jnl.c (__jnl): Likewise.
38319         (__ynl): Likewise.
38320         * math/libm-test.inc (j0_test): Add more tests.
38321         (j1_test): Likewise.
38322         (jn_test): Likewise.  Add trailing semicolon to existing test.
38323         (y0_test): Likewise.
38324         (y1_test): Likewise.
38325         * sysdeps/i386/fpu/libm-test-ulps: Update.
38326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38327
38328         [BZ #13851]
38329         [BZ #13854]
38330         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38331         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38332         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38333         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38334         (__tanl): Set errno for infinite argument.
38335         * sysdeps/i386/fpu/mptan.c: Remove.
38336         * sysdeps/i386/fpu/s_tan.S: Likewise.
38337         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38338         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38339         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38340         * math/libm-test.inc (tan_test): Add more tests and enable more
38341         tests for double and long double.
38342         * sysdeps/i386/fpu/libm-test-ulps: Update.
38343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38344
38345 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38346
38347         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38348         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38349
38350 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38351
38352         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38353         * configure.in: Use it for both main tree and add-ons.
38354         * configure: Regenerated.
38355
38356 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38357
38358         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38359
38360 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38361
38362         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38363         in comment.
38364
38365         [BZ #13851]
38366         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38367         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38368         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38369         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38370         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38371         infinite argument.
38372         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38374         != 0 for prec == 2.
38375         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38376         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38377         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38378         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38379         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38380         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38381         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38382         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38383         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38384         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38385         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38386         * math/libm-test.inc (cos_test): Add more tests and enable more
38387         tests for long double.
38388         (sin_test): Likewise.
38389         (sincos_test): Likewise.
38390         * sysdeps/i386/fpu/libm-test-ulps: Update.
38391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38392
38393 2012-03-16  David S. Miller  <davem@davemloft.net>
38394
38395         * sysdeps/sparc/fpu/math_private.h: New file.
38396
38397 2012-03-15  David S. Miller  <davem@davemloft.net>
38398
38399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38400         file.
38401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38403         file.
38404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38410         sysdep routines.
38411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38412
38413         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38414         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38415
38416         * sysdeps/sparc/sparc-ifunc.h: New file.
38417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38418         sparc-ifunc.h
38419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38421         Likewise.
38422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38423         Likewise.
38424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38428         Likewise.
38429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38434         Likewise.
38435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38436         Likewise.
38437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38443         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38455         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38456         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38457         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38458         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38459         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38460         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38461
38462 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38463
38464         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38465         scaling.
38466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38467
38468 2012-03-15  Andreas Jaeger  <aj@suse.de>
38469
38470         [BZ #13852]
38471         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38472         ieee754/flt-32 implementation for sin, cos and sincos.
38473         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38474         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38475         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38476         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38477         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38478         ieee754/flt-32 implementation for tan.
38479
38480         * math/libm-test.inc (cos_test): Enable some large input tests for
38481         float as well
38482         (sin_test): Likewise.
38483         (sincos_test): Likewise.
38484         (tan_test): Add tests for large input.
38485
38486         * sysdeps/i386/fpu/libm-test-ulps: Update.
38487
38488 2012-03-15  Andreas Jaeger  <aj@suse.de>
38489
38490         [BZ #13658]
38491         * math/libm-test.inc (cos_test): Add more test cases.
38492         (sin_test): Likewise.
38493         (sincos_test): Likewise.
38494
38495 2012-03-15  Andreas Jaeger  <aj@suse.de>
38496
38497         [BZ #13837]
38498         * math/libm-test.inc (cos_test): Add a test case for large input
38499         value.
38500         (sin_test): Likewise.
38501         (sincos_test): Likewise.
38502
38503 2012-03-15  Andreas Jaeger  <aj@suse.de>
38504             Joseph Myers  <joseph@codesourcery.com>
38505
38506         [BZ #13658]
38507         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38508         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38509         * sysdeps/i386/fpu/branred.c: Likewise.
38510         * sysdeps/i386/fpu/dosincos.c: Likewise.
38511         * sysdeps/i386/fpu/mpa.c: Likewise.
38512         * sysdeps/i386/fpu/s_cos.S: Likewise.
38513         * sysdeps/i386/fpu/s_sin.S: Likewise.
38514         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38515         * sysdeps/i386/fpu/sincos32.c: Likewise.
38516
38517         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38518         Define.
38519         (libc_feupdateenv_53bit): Define.
38520         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38521         Define.
38522         (libc_feupdateenv_53bit): Define.
38523
38524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38525         53 bit (without extend i386 double precision).
38526
38527         * math/libm-test.inc (sincos_test): Add tests for large input.
38528         (sin): Likewise.
38529         (cos): Likewise.
38530
38531         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38532
38533 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38534
38535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38536
38537 2012-03-15  David S. Miller  <davem@davemloft.net>
38538
38539         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38540         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38541         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38542         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38555         file.
38556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38558         file.
38559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38561         file.
38562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38564         file.
38565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38566         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38567         fmin/fmax sysdep routines.
38568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38569
38570 2012-03-14  David S. Miller  <davem@davemloft.net>
38571
38572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38573         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38574         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38576         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38577         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38578         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38579         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38580         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38585         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38586         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38587         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38588         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38589         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38591         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38592         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38593         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38594         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38595         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38596         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38597         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38598         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38599         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38601         routines.
38602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38603         file.
38604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38606         file.
38607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38609         file.
38610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38612         file.
38613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38615         file.
38616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38618         file.
38619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38620         file.
38621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38622         file.
38623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38624         file.
38625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38626         New file.
38627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38628         file.
38629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38630         file.
38631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38633         file.
38634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38636         file.
38637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38639         file.
38640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38642         VIS3 routines.
38643
38644         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38645         New file.
38646
38647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38648
38649         * sysdeps/sparc/configure.in: New file.
38650         * sysdeps/sparc/configure: Generate.
38651         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38652         * configure: Regenerate.
38653         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38654         * config.make.in (have-as-vis3): New.
38655         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38656         available use -Av9d instead of -Av9a.
38657         * sysdeps/sparc/sparc64/Makefile: Likewise.
38658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38660         New file.
38661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38662         file.
38663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38664         New file.
38665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38666         file.
38667         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38668         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38669         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38670         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38671         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38672
38673         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38674         fzeros/fnegs to load 0x80000000 into a float register instead of
38675         using the stack.
38676         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38677
38678 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38679
38680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38681         bits/syscall.h.
38682         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38683         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38684         ($(inst_includedir)/bits/syscall.h): Remove rule.
38685         ($(objpfx)bits/syscall.d): Include instead of
38686         $(objpfx)syscall-list.d.
38687         (generated): Change syscall-list.h and syscall-list.d to
38688         bits/syscall.h and bits/syscall.d.
38689
38690 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38691
38692         [BZ #13846]
38693         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38694
38695 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38696
38697         [BZ #13841]
38698         * math/s_csqrt.c: Include <float.h>.
38699         (__csqrt): Scale large or subnormal inputs.
38700         * math/s_csqrtf.c: Likewise.
38701         * math/s_csqrtl.c: Likewise.
38702         * math/libm-test.inc (csqrt_test): Add more tests.
38703         * sysdeps/i386/fpu/libm-test-ulps: Update.
38704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38705
38706         [BZ #13840]
38707         * math/libm-test.inc (hypot_test): Add more tests.
38708
38709 2012-03-13  David S. Miller  <davem@davemloft.net>
38710
38711         [BZ #13840]
38712         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38713         double-precision for the calculation instead of scaling.
38714
38715 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38716
38717         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38718         manipulate bits before adding and subtracting TWO52[sx].
38719         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38720         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38721         Likewise.
38722         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38723
38724 2012-03-13  David S. Miller  <davem@davemloft.net>
38725
38726         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38727         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38728         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38729         rtld-global-offsets.h
38730         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38731
38732         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38733         large parameters.
38734
38735         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38736
38737         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38738         'err' in the ifdef scope in which it is actually used.
38739
38740         * nss/nss_db/db-init.c: Include string.h
38741
38742 2012-03-12  David S. Miller  <davem@davemloft.net>
38743
38744         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38745         masking out of the most significant byte of random value used.
38746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38747         Fix coding style in previous change.
38748
38749         * sysdeps/unix/sysv/linux/kernel-features.h
38750         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38751         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38752         expression.
38753         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38754         later.
38755
38756 2012-03-11  David S. Miller  <davem@davemloft.net>
38757
38758         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38759         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38760         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38761         for 'resultvar' otherwise things get truncated on 64-bit.
38762
38763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38764         Fix masking out of the most significant byte of random value used.
38765
38766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38767
38768 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38769
38770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38771
38772 2012-03-09  David S. Miller  <davem@davemloft.net>
38773
38774         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38775         variables with appropriate CPP guards.
38776         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38777         from the frame pointer, not the stack pointer.  Correct layout
38778         comments.  Fix test on resulting framesize and the management of
38779         the outregs buffer for pltexit.  Preserve floating point return
38780         values across _dl_call_pltexit call.
38781         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38782         framesize and the management of the outregs buffer for pltexit.
38783         Preserve floating point return values across _dl_call_pltexit
38784         call.
38785         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38786         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38787         (la_sparc64_gnu_pltexit): New functions.
38788         (print_exit): Fix format string for return register value.
38789
38790 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38791
38792         * sunrpc/Makefile (others): Add rpcgen.
38793         ($(objpfx)rpcgen): Remove special build rule and dependency on
38794         libc.
38795         * sunrpc/rpcgen.c: New file.
38796
38797 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38798
38799         [BZ #13673]
38800         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38801         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38802         * sysdeps/i386/crti.S: Likewise.
38803         * sysdeps/i386/crtn.S: Likewise.
38804         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38805         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38806         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38807         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38808         * sysdeps/sh/crti.S: Likewise.
38809         * sysdeps/sh/crtn.S: Likewise.
38810         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38811
38812         [BZ #13673]
38813         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38814         with URL.
38815         * locale/programs/locfile-kw.gperf: Likewise.
38816         * locale/programs/charmap-kw.h: Regenerated.
38817         * locale/programs/locfile-kw.h: Likewise.
38818
38819         [BZ #13673]
38820         * intl/plural.y: Replace FSF snail mail address with URL.
38821         * intl/plural.c: Regenerated.
38822
38823 2012-03-09  Richard Henderson  <rth@twiddle.net>
38824
38825         * include/math_private.h: Remove file.
38826         * math/math_private.h: Move file ...
38827         * sysdeps/generic/math_private.h: ... here.
38828
38829         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38830         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38831         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38832
38833         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38834         and <math_private.h>.
38835         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38836         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38837         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38838         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38839         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38840         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38841         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38843         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38844         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38845         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38846         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38847         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38848         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38849         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38850         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38851         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38852         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38853         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38854         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38855         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38856         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38857         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38859         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38860         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38861         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38862         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38863         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38864         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38865         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38866         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38867         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38868         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38869         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38870         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38871         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38872         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38873         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38874         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38875         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38876         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38877         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38878         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38879         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38880         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38881         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38882         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38883         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38884         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38885         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38886         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38887         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38896         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38900         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38901         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38902         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38903         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38904         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38905         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38906         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38907         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38908         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38909         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38911         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38912         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38913         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38914         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38915         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38916         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38917         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38918         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38919         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38922         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38923         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38924         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38925         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38926         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38927         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38928         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38929         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38930         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38931         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38932         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38933         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38934         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38935         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38936         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38937         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38938         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38939         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38940         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38941         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38942         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38943         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38944         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38945         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38946         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38947         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38948         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38949         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38950         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38951         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38952         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38953         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38954         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38955         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38956         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38957         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38958         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38959         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38960         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38961         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38962         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38963         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38964         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38965         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38966         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38967         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38968         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38969         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38970         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38971         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38972         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38973         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38974         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38975         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38976         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38977         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38978         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38979         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38980         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38981         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38982         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38983         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38984         * sysdeps/ieee754/k_standard.c: Likewise.
38985         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38986         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38987         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38988         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38989         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38990         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38991         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38993         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38994         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38995         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38996         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38997         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38998         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38999         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39000         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39001         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39002         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39003         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39004         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39005         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39006         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39007         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39008         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39012         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39016         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39017         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39018         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39020         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39021         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39022         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39032         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39035         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39036         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39037         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39038         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39039         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39040         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39041         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39045         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39047         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39054         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39055         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39057         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39058         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39059         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39061         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39062         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39064         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39065         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39066         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39067         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39068         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39069         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39070         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39071         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39072         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39073         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39075         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39076         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39077         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39078         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39079         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39080         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39081         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39082         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39083         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39084         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39085         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39086         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39089         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39090         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39091         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39092         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39093         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39094         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39095         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39096         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39097         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39098         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39099         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39100         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39101         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39102         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39103         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39104         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39105         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39106         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39107         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39108         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39109         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39110         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39111         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39112         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39113         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39114         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39115         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39116         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39117         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39118         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39119         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39120         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39121         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39122         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39123         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39124         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39125         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39126         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39127         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39128         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39129         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39130         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39131         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39132         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39133         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39134         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39135         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39136         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39137         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39138         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39139         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39140         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39141         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39142         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39143         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39144         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39145         * sysdeps/ieee754/s_lib_version.c: Likewise.
39146         * sysdeps/ieee754/s_matherr.c: Likewise.
39147         * sysdeps/ieee754/s_signgam.c: Likewise.
39148         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39149         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39150         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39151         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39152         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39153         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39154         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39155         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39156         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39157         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39158         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39159         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39160         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39161         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39162         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39163         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39164         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39165         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39166         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39167         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39169
39170 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39171
39172         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39173         * sunrpc/rpc_main.c: Likewise.
39174         * sunrpc/rpc_svcout.c: Likewise.
39175
39176 2012-03-09  David S. Miller  <davem@davemloft.net>
39177
39178         * include/math_private.h: New file.
39179
39180 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39181
39182         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39183         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39184         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39185         from <bits/socket_type.h>.
39186         (enum __socket_type): Don't define here.
39187         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39189         bits/socket_type.h.
39190
39191         [BZ #13566]
39192         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39193         checking __USE_GNU.
39194
39195         * Makerules ($(inst_includedir)/%.h): New rule.
39196         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39197         (install-others): Remove variable setting.
39198         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39199
39200 2012-03-08  Richard Henderson  <rth@twiddle.net>
39201
39202         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39203         from macro to inline function; merge with the
39204         !__LIBC_INTERNAL_MATH_INLINES version.
39205         (__ieee754_sqrtf): Likewise.
39206
39207         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39208         to inline function.
39209         (__rintf, __floor, __floorf): Likewise.
39210
39211         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39212         macro to inline function.
39213         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39214
39215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39216         not <math/math_private.h>.
39217
39218 2012-03-08  David S. Miller  <davem@davemloft.net>
39219
39220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39221         copyright year.
39222         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39223
39224 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39225
39226         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39227         normalization.
39228         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39229         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39230
39231 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39232
39233         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39234         be defined individually, they must be defined as a block.  Define
39235         S for printing a string instead of hidint the different by using a
39236         macro for adding the 'l'.
39237         * stdio-common/tst-fphex-wide.c: Adjust.
39238
39239 2012-03-07  Marek Polacek  <polacek@redhat.com>
39240
39241         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39242
39243 2012-03-08  Marek Polacek  <polacek@redhat.com>
39244
39245         [BZ #13806]
39246         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39247         * stdio-common/tst-fphex.c: Define a few macros to make the
39248         test reusable.  Use them.
39249         * stdio-common/tst-fphex-wide.c: New file.
39250
39251 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39252
39253         [BZ #6911]
39254         * manual/macros.texi (gnusystems): New macro.
39255         (nongnusystems): Likewise.
39256         (gnulinuxhurdsystems): Likewise.
39257         (gnuhurdsystems): Likewise..
39258         (gnulinuxsystems): Likewise.
39259         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39260         variants of the GNU system, not "GNU system".
39261         * manual/conf.texi: Likewise.
39262         * manual/errno.texi: Likewise.  Update example of errno macro
39263         expansion.
39264         * manual/filesys.texi: Likewise.
39265         (getumask): Document as specific to GNU/Hurd.
39266         * manual/install.texi: Likewise.  Reword some references to
39267         GNU/Linux.
39268         * manual/intro.texi: Likewise.
39269         * manual/io.texi: Likewise.
39270         (File Name Portability): Detail which constraints are inapplicable
39271         to all GNU systems and which are only inapplicable to GNU/Hurd.
39272         * manual/job.texi: Likewise.
39273         * manual/llio.texi: Likewise.
39274         (O_NOCTTY): Document as present on GNU/Linux.
39275         * manual/maint.texi: Likewise.
39276         * manual/memory.texi: Likewise.
39277         * manual/pattern.texi: Likewise.
39278         * manual/pipe.texi: Likewise.
39279         * manual/process.texi: Likewise.
39280         * manual/resource.texi: Likewise.
39281         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39282         child on GNU/Hurd.
39283         * manual/setjmp.texi: Likewise.
39284         * manual/signal.texi: Likewise.
39285         * manual/startup.texi: Likewise.
39286         * manual/stdio.texi: Likewise.
39287         * manual/terminal.texi: Likewise.
39288         (ONLCR): Document as POSIX.
39289         (OXTABS): Document availability on GNU/Linux as XTABS.
39290         (ONOEOT): Document availability separately from other bits.
39291         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39292         * manual/time.texi: Likewise.
39293         * manual/users.texi: Likewise.
39294         * INSTALL: Regenerated.
39295         * sysdeps/gnu/errlist.c: Regenerated.
39296
39297         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39298         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39299         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39300         puts.
39301         * configure: Regenerated.
39302
39303 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39304
39305         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39306         default includes instead of AC_HEADER_CHECK.
39307         * sysdeps/i386/configure: Regenerated.
39308
39309         [BZ #10716]
39310         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39311         * math/s_cacoshf.c (__cacoshf): Likewise.
39312         * math/s_cacoshl.c (__cacoshl): Likewise.
39313         * math/s_casinh.c (__casinh): Set signs of result from argument.
39314         * math/s_casinhf.c (__casinhf): Likewise.
39315         * math/s_casinhl.c (__casinhl): Likewise.
39316         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39317         (casinh_test): Add more tests.
39318         * sysdeps/i386/fpu/libm-test-ulps: Update.
39319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39320
39321 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39322
39323         * po/zh_TW.po: Update from translation team.
39324
39325         * login/Makefile (distribute): Remove variable.
39326         * catgets/Makefile: Likewise.
39327         * mach/Makefile: Likewise.
39328         * malloc/Makefile: Likewise.
39329         * misc/Makefile: Likewise.
39330         * iconv/Makefile: Likewise.
39331         * nscd/Makefile: Likewise.
39332         * hurd/Makefile: Likewise.
39333         * manual/Makefile: Likewise.
39334         * locale/Makefile: Likewise.
39335         * intl/Makefile: Likewise.
39336         * conform/Makefile: Likewise.
39337         * nss/Makefile: Likewise.
39338         * time/Makefile: Likewise.
39339         * soft-fp/Makefile: Likewise.
39340         * dirent/Makefile: Likewise.
39341         * gmon/Makefile: Likewise.
39342         * po/Makefile: Likewise.
39343         * rt/Makefile: Likewise.
39344         * socket/Makefile: Likewise.
39345         * math/Makefile: Likewise.
39346         * signal/Makefile: Likewise.
39347         * debug/Makefile: Likewise.
39348         * elf/Makefile: Likewise.
39349         * timezone/Makefile: Likewise.
39350         * stdlib/Makefile: Likewise.
39351         * iconvdata/Makefile: Likewise.
39352         * sunrpc/Makefile: Likewise.
39353         * io/Makefile: Likewise.
39354         * argp/Makefile: Likewise.
39355         * inet/Makefile: Likewise.
39356         * hesiod/Makefile: Likewise.
39357         * grp/Makefile: Likewise.
39358         * csu/Makefile: Likewise.
39359         * wctype/Makefile: Likewise.
39360         * crypt/Makefile: Likewise.
39361         * libio/Makefile: Likewise.
39362         * string/Makefile: Likewise.
39363         * nis/Makefile: Likewise.
39364         * resolv/Makefile: Likewise.
39365         * stdio-common/Makefile: Likewise.
39366         * wcsmbs/Makefile: Likewise.
39367         * dlfcn/Makefile: Likewise.
39368         * posix/Makefile: Likewise.
39369
39370         [BZ #6959]
39371         * timezone/Makefile: Don't install timezone files, just the programs
39372         and scripts.
39373
39374 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39375
39376         * nss/databases.def: Add missing gshadow entry.
39377
39378         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39379
39380 2012-03-06  Marek Polacek  <polacek@redhat.com>
39381
39382         [BZ #13726]
39383         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39384         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39385         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39386         * stdio-common/tst-long-dbl-fphex.c: New file.
39387
39388 2012-03-06  David S. Miller  <davem@davemloft.net>
39389
39390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39391         (set_obp_int): New function.
39392         (get_obp_int): New function.
39393         (__get_clockfreq_via_dev_openprom): Likewise.
39394         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39395         Avoid unused variable warnings on 'val' and use builtin_expect.
39396         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39397         __builtin_expect.
39398         (INLINE_CLONE_SYSCALL): Likewise.
39399
39400 2012-03-05  David S. Miller  <davem@davemloft.net>
39401
39402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39403
39404 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39405
39406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39407
39408         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39409         only for |x| >= 40.
39410         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39411
39412 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39413
39414         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39415         Replace gettimeofday with __vdso_gettimeofday.
39416
39417         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39418         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39419         __vdso_clock_gettime and __vdso_getcpu.
39420
39421         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39422         time with __vdso_time.
39423
39424 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39425
39426         * manual/lang.texi (size_t): Note types to which size_t may be
39427         equivalent with the GNU C Library, but do not describe when
39428         differences between them are significant.
39429
39430 2012-03-05  Andreas Jaeger  <aj@suse.de>
39431
39432         * sysdeps/i386/fpu/libm-test-ulps: Update.
39433
39434 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39435
39436         [BZ #3976]
39437         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39438         (__ieee754_pow): Save and restore rounding mode and use
39439         round-to-nearest for main computations.
39440         * math/libm-test.inc (pow_test_tonearest): New function.
39441         (pow_test_towardzero): Likewise.
39442         (pow_test_downward): Likewise.
39443         (pow_test_upward): Likewise.
39444         (main): Call the new functions.
39445         * sysdeps/i386/fpu/libm-test-ulps: Update.
39446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39447
39448         [BZ #3976]
39449         * math/libm-test.inc (cosh_test_tonearest): New function.
39450         (cosh_test_towardzero): Likewise.
39451         (cosh_test_downward): Likewise.
39452         (cosh_test_upward): Likewise.
39453         (sinh_test_tonearest): Likewise.
39454         (sinh_test_towardzero): Likewise.
39455         (sinh_test_downward): Likewise.
39456         (sinh_test_upward): Likewise.
39457         (main): Call the new functions.
39458         * sysdeps/i386/fpu/libm-test-ulps: Update.
39459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39460
39461 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39462
39463         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39464         default stack guard is set in last bytes.
39465         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39466
39467 2012-03-05  Kees Cook  <keescook@chromium.org>
39468
39469         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39470
39471         [BZ #13656]
39472         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39473         possibly allocate from heap instead of stack.
39474         * stdio-common/bug-vfprintf-nargs.c: New file.
39475         * stdio-common/Makefile (tests): Add nargs overflow test.
39476
39477 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39478
39479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39480
39481 2012-03-03  Marek Polacek  <polacek@redhat.com>
39482
39483         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39484         * math/math_private.h: Likewise.
39485         * stdlib/tst-strtod.c: Likewise.
39486         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39487         * sysdeps/x86_64/bits/atomic.h: Likewise.
39488
39489 2012-03-02  David S. Miller  <davem@davemloft.net>
39490
39491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39495         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39496         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39497         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39498         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39499
39500 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39501
39502         [BZ #13792]
39503         * manual/examples/README: New file, says the example source files
39504         can be used under GPL>=2.
39505         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39506         line containing just "*/".
39507         * manual/examples/add.c: Add copyright header (GPL>=2).
39508         * manual/examples/argp-ex1.c: Likewise.
39509         * manual/examples/argp-ex2.c: Likewise.
39510         * manual/examples/argp-ex3.c: Likewise.
39511         * manual/examples/argp-ex4.c: Likewise.
39512         * manual/examples/atexit.c: Likewise.
39513         * manual/examples/db.c: Likewise.
39514         * manual/examples/dir.c: Likewise.
39515         * manual/examples/dir2.c: Likewise.
39516         * manual/examples/execinfo.c: Likewise.
39517         * manual/examples/filecli.c: Likewise.
39518         * manual/examples/filesrv.c: Likewise.
39519         * manual/examples/fmtmsgexpl.c: Likewise.
39520         * manual/examples/genpass.c: Likewise.
39521         * manual/examples/inetcli.c: Likewise.
39522         * manual/examples/inetsrv.c: Likewise.
39523         * manual/examples/isockad.c: Likewise.
39524         * manual/examples/longopt.c: Likewise.
39525         * manual/examples/memopen.c: Likewise.
39526         * manual/examples/memstrm.c: Likewise.
39527         * manual/examples/mkfsock.c: Likewise.
39528         * manual/examples/mkisock.c: Likewise.
39529         * manual/examples/mygetpass.c: Likewise.
39530         * manual/examples/pipe.c: Likewise.
39531         * manual/examples/popen.c: Likewise.
39532         * manual/examples/rprintf.c: Likewise.
39533         * manual/examples/search.c: Likewise.
39534         * manual/examples/select.c: Likewise.
39535         * manual/examples/setjmp.c: Likewise.
39536         * manual/examples/sigh1.c: Likewise.
39537         * manual/examples/sigusr.c: Likewise.
39538         * manual/examples/stpcpy.c: Likewise.
39539         * manual/examples/strdupa.c: Likewise.
39540         * manual/examples/strftim.c: Likewise.
39541         * manual/examples/strncat.c: Likewise.
39542         * manual/examples/subopt.c: Likewise.
39543         * manual/examples/swapcontext.c: Likewise.
39544         * manual/examples/termios.c: Likewise.
39545         * manual/examples/testopt.c: Likewise.
39546         * manual/examples/testpass.c: Likewise.
39547         * manual/examples/timeval_subtract.c: Likewise.
39548
39549         [BZ #13792]
39550         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39551         function to ...
39552         * manual/timeval_subtract.c.texi: ... here, new file.
39553
39554 2012-03-02  David S. Miller  <davem@davemloft.net>
39555
39556         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39557
39558 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39559
39560         [BZ #3976]
39561         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39562         (__sin): Save and restore rounding mode and use round-to-nearest
39563         for all computations.
39564         (__cos): Save and restore rounding mode and use round-to-nearest
39565         for all computations.
39566         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39567         <fenv.h>.
39568         (tan): Save and restore rounding mode and use round-to-nearest for
39569         all computations.
39570         * math/libm-test.inc (cos_test_tonearest): New function.
39571         (cos_test_towardzero): Likewise.
39572         (cos_test_downward): Likewise.
39573         (cos_test_upward): Likewise.
39574         (sin_test_tonearest): Likewise.
39575         (sin_test_towardzero): Likewise.
39576         (sin_test_downward): Likewise.
39577         (sin_test_upward): Likewise.
39578         (tan_test_tonearest): Likewise.
39579         (tan_test_towardzero): Likewise.
39580         (tan_test_downward): Likewise.
39581         (tan_test_upward): Likewise.
39582         (main): Call the new functions.
39583         * sysdeps/i386/fpu/libm-test-ulps: Update.
39584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39585
39586         [BZ #10135]
39587         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39588         small n, then large n, before computing and testing k+n.
39589         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39590         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39591         Likewise.
39592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39593         Likewise.
39594         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39595         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39596         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39597         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39598         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39599         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39600         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39601         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39602         * math/libm-test.inc (scalbn_test): Add more tests.
39603         (scalbln_test): Likewise.
39604
39605         * manual/filesys.texi (mode_t): Describe constraints on size and
39606         signedness, not exact equivalence to a particular type.
39607         (ino_t): Likewise.
39608         (ino64_t): Likewise.
39609         (dev_t): Likewise.
39610         (nlink_t): Likewise.
39611         (blkcnt_t): Likewise.
39612         (blkcnt64_t): Likewise.
39613         * manual/llio.texi (off_t): Likewise.
39614
39615         [BZ #3976]
39616         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39617         (__ieee754_exp): Save and restore rounding mode and use
39618         round-to-nearest for all computations.
39619         * math/libm-test.inc (exp_test_tonearest): New function.
39620         (exp_test_towardzero): Likewise.
39621         (exp_test_downward): Likewise.
39622         (exp_test_upward): Likewise.
39623         (main): Call the new functions.
39624         * sysdeps/i386/fpu/libm-test-ulps: Update.
39625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39626
39627 2012-03-01  Chris Demetriou  <cgd@google.com>
39628
39629         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39630         have predictable order.
39631
39632 2012-03-01  David S. Miller  <davem@davemloft.net>
39633
39634         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39635
39636         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39637         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39638         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39639         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39640
39641         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39642         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39643         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39645         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39646         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39647         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39648         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39649         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39650
39651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39652
39653         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39654         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39655         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39656
39657         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39658         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39659         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39660         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39661         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39662         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39663         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39664         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39665         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39666         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39667         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39668         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39669         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39670         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39671         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39672         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39673         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39674         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39675         * sysdeps/sparc/elf/configure: Regenerated.
39676
39677 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39678
39679         * configure.in (AS, LD): Require binutils 2.20 or later.
39680         * configure: Regenerated.
39681         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39682         as required minimum version.
39683         * INSTALL: Regenerated.
39684
39685         [BZ #2541]
39686         [BZ #4108]
39687         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39688         before squaring exponent.
39689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39690         bottom long double and 27 bits of top long double before squaring
39691         exponent.
39692         * math/libm-test.inc (erfc_test): Add more tests.
39693         * sysdeps/i386/fpu/libm-test-ulps: Update.
39694         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39696
39697 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39698
39699         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39700         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39701         containing bit-fields.
39702         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39703         * soft-fp/single.h (_FP_UNION_S): Likewise.
39704         * soft-fp/double.h (_FP_UNION_D): Likewise.
39705
39706 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39707
39708         [BZ #13786]
39709         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39710         not include ../strcmp.S.
39711         [USE_AS_STRNCASECMP_L]: Likewise.
39712         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39713         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39714         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39715         (__strncasecmp_l_ia32): Define as alias to
39716         __strncasecmp_l_nonascii.
39717
39718         [BZ #5794]
39719         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39720         * sysdeps/i386/fpu/libm-test-ulps: Update.
39721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39722
39723         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39725
39726 2012-02-29  Jeff Law  <law@redhat.com>
39727
39728         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39729         out of bounds read.
39730
39731 2012-02-29  Marek Polacek  <polacek@redhat.com>
39732
39733         [BZ #13706]
39734         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39735         * elf/Makefile: Add rules to run tst-unused-dep.out.
39736
39737 2012-02-28  David S. Miller  <davem@davemloft.net>
39738
39739         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39740         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39741         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39742         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39743         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39744         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39745
39746 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39747
39748         * math/libm-test.inc (llround_test): Move one test from
39749         lround_test.  Use TEST_f_L in moved test.
39750         (lround_test): Move misplaced test to llround_test.  Add testcase
39751         from bug 2561.
39752
39753 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39754
39755         * sysdeps/x86_64/fpu/e_expf.S: New file.
39756         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39757
39758 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39759
39760         [BZ #13637]
39761         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39762         of remain_len that may cause incomplete multi-byte character and
39763         false match.
39764         * posix/bug-regex33.c: New file.
39765         * posix/Makefile (tests): Add bug-regex33.
39766
39767 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39768
39769         * manual/macros.texi: New file.
39770         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39771         * manual/libc.texinfo: Include macros.texi.
39772         * manual/creatute.texi: Likewise.
39773         * manual/install.texi: Likewise.
39774         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39775         @glibcadj{} in references to the GNU C Library.
39776         * manual/charset.texi: Likewise.
39777         * manual/conf.texi: Likewise.
39778         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39779         when not using those macros.
39780         * manual/creature.texi: Likewise.
39781         * manual/crypt.texi: Likewise.
39782         * manual/errno.texi: Likewise.
39783         * manual/filesys.texi: Likewise.
39784         * manual/header.texi: Likewise.
39785         * manual/install.texi: Likewise.
39786         * manual/intro.texi: Likewise.
39787         * manual/io.texi: Likewise.
39788         * manual/job.texi: Likewise.
39789         * manual/lang.texi: Likewise.
39790         * manual/libc.texiinfo: Likewise.
39791         * manual/llio.texi: Likewise.
39792         * manual/locale.texi: Likewise.
39793         * manual/maint.texi: Likewise.
39794         * manual/math.texi: Likewise.
39795         * manual/memory.texi: Likewise.
39796         * manual/message.texi: Likewise.
39797         * manual/nss.texi: Likewise.
39798         * manual/pattern.texi: Likewise.
39799         * manual/process.texi: Likewise.
39800         * manual/resource.texi: Likewise.
39801         * manual/search.texi: Likewise.
39802         * manual/setjmp.texi: Likewise.
39803         * manual/signal.texi: Likewise.
39804         * manual/socket.texi: Likewise.
39805         * manual/startup.texi: Likewise.
39806         * manual/stdio.texi: Likewise.
39807         * manual/string.texi: Likewise.
39808         * manual/sysinfo.texi: Likewise.
39809         * manual/syslog.texi: Likewise.
39810         * manual/terminal.texi: Likewise.
39811         * manual/time.texi: Likewise.
39812         * manual/users.texi: Likewise.
39813         * INSTALL: Regenerated.
39814         * NOTES: Regenerated.
39815         * sysdeps/gnu/errlist.c: Regenerated.
39816
39817 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39818
39819         * include/dirent.h: Include <dirstream.h> before
39820         <dirent/dirent.h>.
39821
39822 2012-02-28  David S. Miller  <davem@davemloft.net>
39823
39824         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39825         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39826         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39827         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39828
39829 2012-02-27  David S. Miller  <davem@davemloft.net>
39830
39831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39833         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39834         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39835
39836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39837         frame pointer instead of stack pointer relative arg slot.
39838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39839         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39840         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39841
39842 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39843
39844         [BZ #3992]
39845         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39846
39847 2012-02-27  David S. Miller  <davem@davemloft.net>
39848
39849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39853         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39854         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39855         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39856         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39857
39858 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39859
39860         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39861         later.  Allow versions 5-9.
39862         * configure: Regenerated.
39863         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39864         required minimum version and 4.6 as recommended version.  Do not
39865         mention bugs in GCC 2.7 and 2.8.
39866         * INSTALL: Regenerated.
39867
39868 2012-02-27  David S. Miller  <davem@davemloft.net>
39869
39870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39874         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39875         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39876         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39877         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39878
39879         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39880         manipulate bits before adding and subtracting TWO112[sx].
39881         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39882
39883 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39884
39885         [BZ #13775]
39886         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39887         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39888         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39889         being in POSIX, because they are in 1003.1-2008.
39890
39891         * rt/tst-aio.c: Include <fcntl.h>.
39892         * rt/tst-aio7.c: Likewise.
39893         * rt/tst-aio64.c: Likewise.
39894
39895         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39896
39897 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39898
39899         * manual/install.texi (--with-headers): Describe headers as
39900         interface headers, not private headers.
39901         (Specific advice for GNU/Linux systems): Describe use of headers
39902         from "make headers_install", not private headers from older
39903         kernels.
39904         * INSTALL: Regenerated.
39905         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39906         Change to 2.6.19.
39907         * sysdeps/unix/sysv/linux/configure: Regenerated.
39908
39909         * manual/llio.texi (fclean): Remove documentation.
39910
39911         * manual/Makefile (libc-texi-generated): New variable.  Include
39912         version.texi.
39913         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39914         $(libc-texi-generated), not duplicated list of files.
39915         (version.texi, stamp-version): New rules.
39916         (realclean): Remove $(libc-texi-generated), not individual files
39917         from that list.  Do not remove dir-add.texinfo.
39918         * manual/libc.texinfo: Comment out uses of edition numbers and
39919         references to printed manual.  Remove last-updated dates.
39920         (EDITION): Comment out.
39921         (ISBN): Likewise.
39922         (VERSION, UPDATED): Remove.
39923         (version.texi): Include.
39924
39925 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39926
39927         * sysdeps/posix/spawni.c: Include <signal.h>.
39928         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39929         * sysdeps/pthread/aio_fsync.c: Likewise.
39930
39931 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39932
39933         * conform/Makefile (tests): Run only when not cross-compiling and
39934         when fast-check is not defined.
39935
39936         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39937         * conform/data/limits.h-data: Fixes for POSIX2008.
39938         * conform/run-conformtest.sh: Run all tests.
39939         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39940         headers.
39941         * include/bits/dlfcn.h: Likewise.
39942         * include/langinfo.h: Likewise.
39943         * include/monetary.h: Likewise.
39944         * include/sys/poll.h: Likewise.
39945
39946         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39947         for __USE_GNU.
39948         * posix/spawn.h: Define __need_sigset_t.
39949         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39950         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39951         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39952         to get sigevent_t only.
39953         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39954         only for __USE_GNU.
39955         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39956         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39957         process_vm_writev only for __USE_GNU.
39958         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39959
39960         * conform/Makefile: For now ignore errors from run-conformtest.
39961         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39962         POSIX to avoid namespace pollution.  Don't prepend headers.
39963         * conform/data/aio.h-data: Fixes for POSIX testing.
39964         * conform/data/fcntl.h-data: Likewise.
39965         * conform/data/glob.h-data: Likewise.
39966         * conform/data/grp.h-data: Likewise.
39967         * conform/data/pthread.h-data: Likewise.
39968         * conform/data/pwd.h-data: Likewise.
39969         * conform/data/signal.h-data: Likewise.
39970         * conform/data/spawn.h-data: Likewise.
39971         * conform/data/stdio.h-data: Likewise.
39972         * conform/data/stdlib.h-data: Likewise.
39973         * conform/data/stropts.h-data: Likewise.
39974         * conform/data/sys/mman.h-data: Likewise.
39975         * conform/data/sys/stat.h-data: Likewise.
39976         * conform/data/sys/types.h-data: Likewise.
39977         * conform/data/sys/wait.h-data: Likewise.
39978         * conform/data/time.h-data: Likewise.
39979         * conform/data/unistd.h-data: Likewise.
39980         * conform/data/utime.h-data: Likewise.
39981
39982         * io/sys/stat.h: fchmod was always in POSIX.
39983         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39984         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39985         * rt/aio.h: Define __need_timespec before including <time.h>.
39986         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39987         struct.  Add forward declaration of pthread_attr_t and use it in
39988         sigevent.
39989         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39990         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39991         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39992         always remove CLK_TCK definition.
39993
39994 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39995
39996         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39997
39998 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39999
40000         * conform/run-conformtest.sh: New file.
40001         * conform/Makefile: Run run-conformtest for tests.
40002         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
40003         support.
40004
40005         * conform/data/uchar.h-data: New file.
40006         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40007         * conform/data/arpa/inet.h-data: Likewise.
40008         * conform/data/assert.h-data: Likewise.
40009         * conform/data/complex.h-data: Likewise.
40010         * conform/data/cpio.h-data: Likewise.
40011         * conform/data/ctype.h-data: Likewise.
40012         * conform/data/dirent.h-data: Likewise.
40013         * conform/data/dlfcn.h-data: Likewise.
40014         * conform/data/errno.h-data: Likewise.
40015         * conform/data/fcntl.h-data: Likewise.
40016         * conform/data/float.h-data: Likewise.
40017         * conform/data/fmtmsg.h-data: Likewise.
40018         * conform/data/fnmatch.h-data: Likewise.
40019         * conform/data/ftw.h-data: Likewise.
40020         * conform/data/glob.h-data: Likewise.
40021         * conform/data/grp.h-data: Likewise.
40022         * conform/data/iconv.h-data: Likewise.
40023         * conform/data/inttypes.h-data: Likewise.
40024         * conform/data/langinfo.h-data: Likewise.
40025         * conform/data/libgen.h-data: Likewise.
40026         * conform/data/limits.h-data: Likewise.
40027         * conform/data/locale.h-data: Likewise.
40028         * conform/data/math.h-data: Likewise.
40029         * conform/data/monetary.h-data: Likewise.
40030         * conform/data/mqueue.h-data: Likewise.
40031         * conform/data/ndbm.h-data: Likewise.
40032         * conform/data/net/if.h-data: Likewise.
40033         * conform/data/netdb.h-data: Likewise.
40034         * conform/data/netinet/in.h-data: Likewise.
40035         * conform/data/nl_types.h-data: Likewise.
40036         * conform/data/poll.h-data: Likewise.
40037         * conform/data/pthread.h-data: Likewise.
40038         * conform/data/pwd.h-data: Likewise.
40039         * conform/data/regex.h-data: Likewise.
40040         * conform/data/sched.h-data: Likewise.
40041         * conform/data/search.h-data: Likewise.
40042         * conform/data/semaphore.h-data: Likewise.
40043         * conform/data/setjmp.h-data: Likewise.
40044         * conform/data/signal.h-data: Likewise.
40045         * conform/data/spawn.h-data: Likewise.
40046         * conform/data/stdarg.h-data: Likewise.
40047         * conform/data/stdio.h-data: Likewise.
40048         * conform/data/stdlib.h-data: Likewise.
40049         * conform/data/string.h-data: Likewise.
40050         * conform/data/strings.h-data: Likewise.
40051         * conform/data/stropts.h-data: Likewise.
40052         * conform/data/sys/ipc.h-data: Likewise.
40053         * conform/data/sys/mman.h-data: Likewise.
40054         * conform/data/sys/msg.h-data: Likewise.
40055         * conform/data/sys/resource.h-data: Likewise.
40056         * conform/data/sys/select.h-data: Likewise.
40057         * conform/data/sys/sem.h-data: Likewise.
40058         * conform/data/sys/shm.h-data: Likewise.
40059         * conform/data/sys/socket.h-data: Likewise.
40060         * conform/data/sys/stat.h-data: Likewise.
40061         * conform/data/sys/statvfs.h-data: Likewise.
40062         * conform/data/sys/time.h-data: Likewise.
40063         * conform/data/sys/timeb.h-data: Likewise.
40064         * conform/data/sys/times.h-data: Likewise.
40065         * conform/data/sys/types.h-data: Likewise.
40066         * conform/data/sys/uio.h-data: Likewise.
40067         * conform/data/sys/un.h-data: Likewise.
40068         * conform/data/sys/utsname.h-data: Likewise.
40069         * conform/data/sys/wait.h-data: Likewise.
40070         * conform/data/syslog.h-data: Likewise.
40071         * conform/data/tar.h-data: Likewise.
40072         * conform/data/termios.h-data: Likewise.
40073         * conform/data/utime.h-data: Likewise.
40074         * conform/data/utmpx.h-data: Likewise.
40075         * conform/data/varargs.h-data: Likewise.
40076         * conform/data/wchar.h-data: Likewise.
40077         * conform/data/wctype.h-data: Likewise.
40078         * conform/data/wordexp.h-data: Likewise.
40079
40080         * include/stropts.h: New file.
40081         * include/uchar.h: New file.
40082         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40083         * include/assert.h: Likewise.
40084         * include/ctype.h: Likewise.
40085         * include/dirent.h: Likewise.
40086         * include/dlfcn.h: Likewise.
40087         * include/fcntl.h: Likewise.
40088         * include/fnmatch.h: Likewise.
40089         * include/glob.h: Likewise.
40090         * include/grp.h: Likewise.
40091         * include/libio.h: Likewise.
40092         * include/locale.h: Likewise.
40093         * include/math.h: Likewise.
40094         * include/net/if.h: Likewise.
40095         * include/netdb.h: Likewise.
40096         * include/netinet/in.h: Likewise.
40097         * include/pthread.h: Likewise.
40098         * include/pwd.h: Likewise.
40099         * include/regex.h: Likewise.
40100         * include/sched.h: Likewise.
40101         * include/search.h: Likewise.
40102         * include/setjmp.h: Likewise.
40103         * include/signal.h: Likewise.
40104         * include/stdio.h: Likewise.
40105         * include/stdlib.h: Likewise.
40106         * include/string.h: Likewise.
40107         * include/sys/cdefs.h: Likewise.
40108         * include/sys/mman.h: Likewise.
40109         * include/sys/msg.h: Likewise.
40110         * include/sys/resource.h: Likewise.
40111         * include/sys/select.h: Likewise.
40112         * include/sys/socket.h: Likewise.
40113         * include/sys/stat.h: Likewise.
40114         * include/sys/statvfs.h: Likewise.
40115         * include/sys/time.h: Likewise.
40116         * include/sys/times.h: Likewise.
40117         * include/sys/uio.h: Likewise.
40118         * include/sys/utsname.h: Likewise.
40119         * include/sys/wait.h: Likewise.
40120         * include/termios.h: Likewise.
40121         * include/time.h: Likewise.
40122         * include/ulimit.h: Likewise.
40123         * include/unistd.h: Likewise.
40124         * include/utime.h: Likewise.
40125         * include/wchar.h: Likewise.
40126         * include/wctype.h: Likewise.
40127         * include/wordexp.h: Likewise.
40128
40129         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40130
40131         * time/time.h: TIME_UTC must be a macro.
40132         Make timespec_get available for ISO C11 only as well.
40133
40134 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40135
40136         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40137         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40138
40139 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40140
40141         * configure.in: Use -o not -a in test for unsupported multi-arch.
40142
40143 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40144
40145         * manual/texinfo.tex: Update to version 2012-01-19.16.
40146
40147 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40148
40149         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40150
40151 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40152
40153         [BZ #13738]
40154         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40155         * manual/fdl-1.3.texi: New file.
40156         * manual/fdl-1.1.texi: File removed.
40157
40158         [BZ #13738]
40159         * manual/libc.texinfo (FDL_VERSION): New @set.
40160         Use it for mention of FDL in cover text.
40161         (Documentation License): Use it in @include file name.
40162
40163 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40164             Roland McGrath  <roland@hack.frob.com>
40165
40166         [BZ #5461]
40167         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40168         (not LONG_LONG_MAX and LONG_LONG_MIN.
40169         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40170         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40171         name.
40172         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40173
40174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40175
40176         [BZ #2547]
40177         [BZ #11365]
40178         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40179         manipulate bits before adding and subtracting TWO23[sx].
40180         * math/libm-test.inc (nearbyint_test): Add more tests.
40181
40182 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40183
40184         [BZ #2548]
40185         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40186         bits before adding and subtracting TWO23[sx].
40187         * math/libm-test.inc (rint_test): Add more tests.
40188         (rint_test_tonearest): Likewise.
40189         (rint_test_towardzero): Likewise.
40190         (rint_test_downward): Likewise.
40191         (rint_test_upward: Likewise.
40192
40193 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40194
40195         [BZ #10110]
40196         * include/stdc-predef.h: New file.  Extracted from features.h.
40197         * include/features.h: Include stdc-predef.h.
40198         * Makefile (headers): Add stdc-predef.h.
40199         * CONFORMANCE (Compiler limitations): Update.
40200
40201 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40202
40203         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40204
40205 2012-02-21  David S. Miller  <davem@davemloft.net>
40206
40207         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40208         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40209
40210 2012-02-20  David S. Miller  <davem@davemloft.net>
40211
40212         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40213         using a normal save/restore sequence, rather than allocating a
40214         dummy stack frame just to store a frame pointer and restore.
40215         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40216
40217 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40218
40219         * manual/install.texi: Fix stray word in line-wrapped comment.
40220
40221 2012-02-20  David S. Miller  <davem@davemloft.net>
40222
40223         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40224         both binutils and gcc support GOTDATA.
40225
40226         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40227         "rd %pc" in the PIC register setup sequences.
40228
40229         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40230         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40231         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40232         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40233         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40234         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40235         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40236         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40237         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40238         (SYSCALL_ERROR_HANDLER): Likewise.
40239         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40240         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40241         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40242         (SYSCALL_ERROR_HANDLER): Likewise.
40243
40244         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40245         (HAVE_GCC_GOTDATA): New.
40246         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40247         relocation support in both binutils and gcc.
40248         * sysdeps/sparc/elf/configure: Regenerate.
40249
40250         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40251         * sysdeps/sparc/sparc32/elf/configure: Delete.
40252         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40253         * sysdeps/sparc/sparc64/elf/configure: Delete.
40254         * sysdeps/sparc/elf/configure.in: New file.
40255         * sysdeps/sparc/elf/configure: Generate.
40256
40257         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40258         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40259         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40260         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40261         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40262
40263 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40264
40265         * manual/install.texi: Do not mention specific glibc version
40266         numbers.
40267         * manual/libc.texinfo (VERSION, UPDATED): Update.
40268         (@copying): Use @copyright{} and range of years.
40269
40270 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40271
40272         [BZ #13695]
40273         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40274         [crti.S not in sysdirs] (generated): Do not append.
40275         [crti.S not in sysdirs] (omit-deps): Likewise.
40276         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40277         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40278         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40279         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40280         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40281         Likewise.
40282         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40283         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40284         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40285         * csu/defs.awk: Remove file.
40286         * sysdeps/generic/initfini.c: Likewise.
40287         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40288         variable.
40289         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40290         Likewise.
40291
40292 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40293
40294         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40295         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40296         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40297         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40298         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40299         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40300         <bits/epoll.h>.
40301         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40302         (__EPOLL_PACKED): Define to empty if not defined by
40303         <bits/epoll.h>.
40304         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40306         bits/epoll.h.
40307
40308 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40309
40310         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40311         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40312         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40313         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40314         <bits/timerfd.h>.
40315         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40317         bits/timerfd.h.
40318
40319 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40320
40321         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40322         in C locale.
40323         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40324         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40325         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40327
40328 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40329
40330         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40331         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40332
40333 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40334
40335         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40336         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40337         defined.
40338         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40339         Likewise.
40340         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40341         entry for 2.16.
40342
40343 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40344
40345         * math/w_acos.c: Use non-signaling floating-point comparisons.
40346         * math/w_acosf.c: Likewise.
40347         * math/w_acosh.c: Likewise.
40348         * math/w_acoshf.c: Likewise.
40349         * math/w_acoshl.c: Likewise.
40350         * math/w_acosl.c: Likewise.
40351         * math/w_asin.c: Likewise.
40352         * math/w_asinf.c: Likewise.
40353         * math/w_asinl.c: Likewise.
40354         * math/w_atanh.c: Likewise.
40355         * math/w_atanhf.c: Likewise.
40356         * math/w_atanhl.c: Likewise.
40357         * math/w_exp2.c: Likewise.
40358         * math/w_exp2f.c: Likewise.
40359         * math/w_exp2l.c: Likewise.
40360         * math/w_j0.c: Likewise.
40361         * math/w_j0f.c: Likewise.
40362         * math/w_j0l.c: Likewise.
40363         * math/w_j1.c: Likewise.
40364         * math/w_j1f.c: Likewise.
40365         * math/w_j1l.c: Likewise.
40366         * math/w_jn.c: Likewise.
40367         * math/w_jnf.c: Likewise.
40368         * math/w_log.c: Likewise.
40369         * math/w_log10.c: Likewise.
40370         * math/w_log10f.c: Likewise.
40371         * math/w_log10l.c: Likewise.
40372         * math/w_log2.c: Likewise.
40373         * math/w_log2f.c: Likewise.
40374         * math/w_log2l.c: Likewise.
40375         * math/w_logf.c: Likewise.
40376         * math/w_logl.c: Likewise.
40377         * math/w_sqrt.c: Likewise.
40378         * math/w_sqrtf.c: Likewise.
40379         * math/w_sqrtl.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40381         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40382         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40383         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40384         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40385
40386 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40387
40388         [BZ #9739]
40389         * manual/string.texi (strnlen): Use correct parameter name in
40390         equivalent expression.
40391
40392 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40393
40394         [BZ #11174]
40395         * manual/users.texi (seteuid): Consistently use neweuid for
40396         argument name.
40397
40398 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40399
40400         [BZ #13704]
40401         * manual/nss.texi (Services in the NSS configuration): Correct
40402         list of services in example configuration file.
40403
40404 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40405
40406         [BZ #11322]
40407         * manual/arith.texi: Remove statements about negative zero
40408         behaving identically to zero.
40409
40410 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40411
40412         [BZ #5993]
40413         * manual/install.texi: Do not document upgrading from libc5.
40414
40415 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40416
40417         [BZ #4596]
40418         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40419
40420 2012-02-18  David S. Miller  <davem@davemloft.net>
40421
40422         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40423         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40424         %o7 across the call.
40425         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40426         instead.
40427         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40428         SETUP_PIC_REG_LEAF.
40429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40430         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40431         * sysdeps/sparc/crtn.S: Likewise.
40432
40433 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40434
40435         * aout/Makefile: Remove.
40436
40437 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40438
40439         [BZ #13058]
40440         * manual/examples/argp-ex1.c (main): Format definition in GNU
40441         style.
40442         * manual/examples/argp-ex2.c (main): Likewise.
40443         * manual/examples/argp-ex3.c (main): Likewise.
40444         * manual/examples/argp-ex4.c (main): Likewise.
40445         * manual/examples/longopt.c (main): Use new-style prototype
40446         definition.
40447         * manual/examples/strncat.c (main): Specify return type and use
40448         (void) for arguments.
40449         * manual/examples/subopt.c (main): Use char **argv argument.
40450
40451 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40452
40453         [BZ #5077]
40454         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40455         rounding modes.
40456
40457 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40458
40459         [BZ #6907]
40460         * manual/string.texi (strchr): Change when strchrnul is
40461         recommended.
40462
40463 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40464
40465         [BZ #174]
40466         * manual/locale.texi (setlocale): Document LOCPATH.
40467
40468 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40469
40470         [BZ #10210]
40471         * manual/process.texi (execle): Move @dots{} before last argument.
40472
40473 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40474
40475         [BZ #12047]
40476         * manual/charset.texi (Generic Charset Conversion): Fix typo
40477         (LC_TYPE -> LC_CTYPE).
40478
40479 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40480
40481         [BZ #5805]
40482         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40483         (scalbnf): Likewise.
40484         (scalbnl): Likewise.
40485         (scalbln): Likewise.
40486         (scalblnf): Likewise.
40487         (scalblnl): Likewise.
40488         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40489         (vwarnx): Likewise.
40490         (verr): Likewise.
40491         (verrx): Likewise.
40492         * manual/filesys.texi (telldir): Use braces around return type.
40493         * manual/llio.texi (mmap): Add space after comma.
40494         (mmap64): Likewise.
40495         * manual/math.texi (jn): Use @var{} on parameter names.
40496         (jnf): Likewise.
40497         (jnl): Likewise.
40498         (yn): Likewise.
40499         (ynf): Likewise.
40500         (ynl): Likewise.
40501         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40502         line.
40503         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40504         "...".
40505         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40506         (sched_get_priority_max): Likewise.
40507         * manual/signal.texi (sigvec): Add space after comma.
40508         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40509         names.
40510         (if_indextoname): Likewise.
40511         (if_freenameindex): Likewise.
40512         (sendto): Use ',' instead of '.' in prototype.
40513         * manual/startup.texi (syscall): Use @dots{} instead of literal
40514         "...".
40515         * manual/stdio.texi (__fpending): Separate initial words of
40516         paragraph from @deftypefun line.
40517         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40518         "...".
40519         (vsyslog): Use @var{} on parameter names.
40520         * manual/terminal.texi (stty): Use @var{} on parameter names.
40521         * manual/users.texi (getutmp): Use @var{} on parameter names.
40522         (getutmpx): Likewise.
40523
40524 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40525
40526         [BZ #6884]
40527         * manual/stdio.texi (fopen): Fix typos in description of
40528         ",ccs=STRING".
40529
40530 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40531
40532         [BZ #4026]
40533         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40534         get clock_id definition.
40535
40536 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40537
40538         [BZ #4822]
40539         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40540         (madvise): Cast every argument to void on its own.
40541
40542 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40543
40544         [BZ #9902]
40545         * manual/startup.texi (Exit Status): Fix typo.
40546
40547 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40548
40549         [BZ #10140]
40550         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40551         * manual/examples/argp-ex2.c: Likewise.
40552         * manual/examples/argp-ex3.c: Likewise.
40553
40554 2012-02-16  Richard Henderson  <rth@redhat.com>
40555
40556         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40557         * sysdeps/s390/s390-32/initfini.c: Remove.
40558         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40559         * sysdeps/s390/s390-64/initfini.c: Remove.
40560
40561 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40562
40563         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40564         compiler output for sysdeps/generic/initfini.c.
40565         * sysdeps/sh/elf/initfini.c: Remove file.
40566
40567 2012-02-16  David S. Miller  <davem@davemloft.net>
40568
40569         [BZ #11494]
40570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40571
40572         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40573         * sysdeps/sparc/crti.S: New file.
40574         * sysdeps/sparc/crtn.S: New file.
40575         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40576         * sysdeps/sparc/sparc64/Makefile: Likewise.
40577
40578 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40579
40580         [BZ #3335]
40581         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40582
40583 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40584
40585         [BZ #4822]
40586         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40587
40588         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40589         (write, read, close): Likewise.
40590         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40591
40592 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40593
40594         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40595         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40596         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40597         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40598         <bits/signalfd.h>.
40599         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40601         bits/signalfd.h.
40602
40603 2012-02-14  Marek Polacek  <polacek@redhat.com>
40604
40605         * sysdeps/x86_64/crti.S: New file.
40606         * sysdeps/x86_64/crtn.S: New file.
40607         * sysdeps/x86_64/elf/initfini.c: Remove file.
40608
40609 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40610
40611         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40612         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40613         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40614         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40615         <bits/inotify.h>.
40616         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40618         bits/inotify.h.
40619
40620 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40621
40622         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40623         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40624         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40625         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40626         <bits/eventfd.h>.
40627         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40629         bits/eventfd.h.
40630
40631 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40632
40633         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40634         __feraiseexcept instead of feraiseexcept.
40635
40636         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40637         nanosleep invocations.
40638         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40639         strings, and add error checking for a nanosleep invocations.
40640
40641 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40642
40643         Replace FSF snail mail address with URLs, as per GNU coding standards.
40644         Most of the snail mail addresses were wrong anyway, and omitting
40645         them makes the source code easier to maintain.  Almost all of the
40646         changes are to license notices and to locale LC_IDENTIFICATION
40647         addresses, except for this one:
40648         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40649         not its snail mail address.
40650
40651 2012-02-09  Richard Henderson  <rth@twiddle.net>
40652
40653         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40654         of kernel-features.h.
40655
40656         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40657
40658 2012-02-08  Marek Polacek  <polacek@redhat.com>
40659
40660         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40661         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40662         * sysdeps/gnu/_G_config.h: Likewise.
40663         * sysdeps/generic/_G_config.h: Likewise.
40664
40665 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40666
40667         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40668         tests.
40669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40670
40671         * sysdeps/powerpc/powerpc32/crti.S: New file.
40672         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40673         * sysdeps/powerpc/powerpc64/crti.S: New file.
40674         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40675
40676         * Makeconfig (have-initfini): Don't set.
40677         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40678         * configure.in (nopic_initfini): Don't substitute.
40679         * config.h.in (HAVE_INITFINI): Don't #undef.
40680         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40681         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40682
40683 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40684
40685         Support crti.S and crtn.S provided directly by architectures.
40686         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40687         [crti.S in sysdirs] (omit-deps): Likewise.
40688         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40689         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40690         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40691         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40692         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40693         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40694         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40695         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40696         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40697         compiler output for sysdeps/generic/initfini.c.
40698         * sysdeps/i386/elf/Makefile: Remove file.
40699         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40700
40701 2012-02-07  Marek Polacek  <polacek@redhat.com>
40702
40703         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40704         * sysdeps/gnu/_G_config.h: Likewise.
40705         * sysdeps/mach/hurd/_G_config.h: Likewise.
40706
40707 2012-02-07  Marek Polacek  <polacek@redhat.com>
40708
40709         * math/Makefile (tests): Add tst-CMPLX2.
40710         * math/tst-CMPLX2.c: New file.
40711
40712 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40713
40714         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40715
40716         * math/libm-test.inc (jn_test): Add missing L suffix.
40717
40718 2012-02-06  Marek Polacek  <polacek@redhat.com>
40719
40720         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40721         * sysdeps/i386/fpu/e_powf.S: Likewise.
40722         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40723         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40724         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40725         * sysdeps/i386/fpu/e_pow.S: Likewise.
40726         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40727         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40728         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40729         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40730         * sysdeps/i386/fpu/e_log2.S: Likewise.
40731         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40732         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40733         * sysdeps/i386/fpu/e_powl.S: Likewise.
40734         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40735         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40736         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40737         * sysdeps/i386/fpu/e_logl.S: Likewise.
40738         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40739         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40740         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40741         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40742         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40743         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40744         * sysdeps/i386/fpu/e_log.S: Likewise.
40745         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40746         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40747         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40748         * sysdeps/i386/fpu/e_logf.S: Likewise.
40749         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40750         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40751         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40752         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40753         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40754         * sysdeps/i386/fpu/e_log10.S: Likewise.
40755         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40756         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40757         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40758         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40759         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40760         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40761         * sysdeps/i386/asm-syntax.h: Likewise.
40762         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40764         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40765         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40766         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40767         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40768         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40769         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40770         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40771         * sysdeps/powerpc/sysdep.h: Likewise.
40772         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40773         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40774
40775 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40776
40777         [BZ #411]
40778         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40779
40780 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40781
40782         * sysdeps/i386/sysdep.h: Include <features.h>.
40783         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40784         version.
40785
40786 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40787
40788         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40789         Define.
40790         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40791         LOAD_PIC_REG_STR.
40792
40793 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40794
40795         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40796         (SETUP_PIC_REG): Use GET_PC_THUNK.
40797         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40798         macro.
40799
40800 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40801
40802         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40803         for non-PIC compilation.
40804         (SETUP_PIC_REG): Add .p2align directive.
40805         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40806         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40807         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40808         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40809         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40810         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40811         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40812         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40813         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40814         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40815         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40816         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40817         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40818         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40819         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40820         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40821         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40822         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40823         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40824         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40825         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40826         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40827         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40828         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40829         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40830         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40831         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40832         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40833         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40834         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40835         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40836         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40837         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40838         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40839         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40840         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40841         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40842         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40843         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40844         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40845         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40846
40847 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40848
40849         * math/tst-CMPLX.c: Include <stdio.h>.
40850
40851 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40852
40853         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40854         float.
40855         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40856         * sysdeps/sparc/bits/mathdef.h: Likewise.
40857
40858 2012-01-31  Marek Polacek  <polacek@redhat.com>
40859
40860         * libio/libio.h: Don't define _PARAMS.
40861         * locale/programs/config.h: Don't define PARAMS.
40862         * stdlib/strtol_l.c: Likewise.
40863         (__strtol_l): Remove PARAMS from the prototype.
40864
40865 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40866
40867         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40868         names.  Just use the correct names.  Remove unnecessary wrapper
40869         functions.
40870         * malloc/arena.c: Likewise.
40871         * malloc/hooks.c: Likewise.
40872
40873         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40874         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40875         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40876
40877 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40878
40879         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40880         into tail calls.
40881         (update_get_addr): New function.
40882         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40883         GET_ADDR_MODULE parameter.
40884
40885 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40886
40887         * crypt/cert.c: Remove __STDC__ conditionals.
40888         * crypt/crypt-entry.c: Likewise.
40889         * crypt/crypt_util.c: Likewise.
40890         * libio/filedoalloc.c: Likewise.
40891         * libio/fileops.c: Likewise.
40892         * libio/genops.c: Likewise.
40893         * libio/iofclose.c: Likewise.
40894         * libio/iofdopen.c: Likewise.
40895         * libio/iofopen.c: Likewise.
40896         * libio/iofopen64.c: Likewise.
40897         * libio/iogetdelim.c: Likewise.
40898         * libio/iopopen.c: Likewise.
40899         * libio/obprintf.c: Likewise.
40900         * libio/oldfileops.c: Likewise.
40901         * libio/oldiofclose.c: Likewise.
40902         * libio/oldiofdopen.c: Likewise.
40903         * libio/oldiofopen.c: Likewise.
40904         * libio/oldiopopen.c: Likewise.
40905         * libio/wfiledoalloc.c: Likewise.
40906         * libio/wgenops.c: Likewise.
40907         * locale/programs/xmalloc.c: Likewise.
40908         * misc/syslog.c: Likewise.
40909         * stdio-common/xbug.c: Likewise.
40910         * string/memchr.c: Likewise.
40911         * string/memcmp.c: Likewise.
40912         * string/memrchr.c: Likewise.
40913         * string/rawmemchr.c: Likewise.
40914         * sysdeps/posix/getcwd.c: Likewise.
40915         * time/strftime_l.c: Likewise.
40916
40917 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40918
40919         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40920         * config.make.in (config-cflags-sse2avx): Define.
40921         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40922         Fix typo.
40923
40924 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40925
40926         * scripts/config.guess: Update from upstream config git repository.
40927         * scripts/config.sub: Likewise.
40928
40929 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40930
40931         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40932         (EM_NUM): Update.
40933         (R_TILEPRO_*, R_TILEGX_*): New macros.
40934
40935         * scripts/firstversions.awk: Fix bug in version range handling.
40936
40937         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40938
40939         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40940
40941         * include/sys/epoll.h: New file.
40942         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40943         libc_hidden_def.
40944
40945 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40946
40947         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40948         Avoid unnecessary __WORDSIZE == 64 test.
40949         (fmaxf): Use VEX format if possible.
40950         (fmax): Likewise.
40951         (fminf): Likewise.
40952         (fmin): Likewise.
40953
40954         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40955         * math/math_private.h: Remove libc_fegetround* and
40956         libc_fesetround*.
40957         * sysdeps/i386/configure.in: Check for -msse2avx.
40958         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40959         also if SSE2AVX is defined.
40960         Remove libc_fegetround* and libc_fesetround*.
40961         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40962         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40963         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40964         of HAS_YMM_USABLE.
40965         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40966         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40967         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40968         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40969         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40970
40971         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40972
40973 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40974
40975         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40976         size is not set.
40977         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40978
40979 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40980
40981         [BZ #13618]
40982         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40983         relocation.
40984         * Makeconfig (libm): Define.
40985         * elf/Makefile: Add rules to build and run tst-relsort1.
40986         * elf/tst-relsort1.c: New file.
40987         * elf/tst-relsort1mod1.c: New file.
40988         * elf/tst-relsort1mod2.c: New file.
40989
40990 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40991
40992         * math/s_ldexp.c: Remove __STDC__ conditionals.
40993         * math/s_ldexpf.c: Likewise.
40994         * math/s_ldexpl.c: Likewise.
40995         * math/s_nextafter.c: Likewise.
40996         * math/s_nexttowardf.c: Likewise.
40997         * math/s_significand.c: Likewise.
40998         * math/s_significandf.c: Likewise.
40999         * math/s_significandl.c: Likewise.
41000         * math/w_jnl.c: Likewise.
41001         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41002         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41003         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41004         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41005         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41006         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41007         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41008         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41009         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41010         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41011         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41012         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41013         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41014         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41015         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41016         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41017         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41018         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41020         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41021         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41022         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41023         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41024         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41025         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41026         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41027         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41028         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41029         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41030         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41031         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41032         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41033         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41034         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41035         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41036         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41037         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41038         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41039         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41040         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41041         * sysdeps/ieee754/k_standard.c: Likewise.
41042         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41043         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41044         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41045         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41046         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41048         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41049         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41050         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41051         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41052         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41053         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41054         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41055         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41056         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41057         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41058         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41059         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41060         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41061         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41062         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41063         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41064         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41065         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41066         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41067         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41068         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41071         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41072         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41073         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41074         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41075         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41076         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41077         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41078         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41079         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41080         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41081         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41082         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41083         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41084         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41085         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41086         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41087         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41088         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41089         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41090         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41091         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41092         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41093         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41095         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41096         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41097         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41098         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41099         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41100         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41101         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41102         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41103         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41104         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41105         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41106         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41107         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41108         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41109         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41110         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41111         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41112         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41113         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41114         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41115         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41116         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41117         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41118         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41119         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41120         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41121         * sysdeps/ieee754/s_matherr.c: Likewise.
41122         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41123         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41124         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41125         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41126
41127 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41128
41129         * crypt/md5.h: Remove __STDC__ conditionals.
41130         * libio/libioP.h: Likewise.
41131         * locale/programs/config.h: Likewise.
41132         * sysdeps/generic/sysdep.h: Likewise.
41133         * sysdeps/i386/asm-syntax.h: Likewise.
41134         * sysdeps/s390/asm-syntax.h: Likewise.
41135         * sysdeps/unix/sysdep.h: Likewise.
41136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41138
41139 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41140
41141         * libio/libio.h: Remove __STDC__ conditionals.
41142         * malloc/obstack.h: Likewise.
41143         * math/complex.h: Likewise.
41144         * math/math.h: Likewise.
41145         * sysdeps/generic/_G_config.h: Likewise.
41146         * sysdeps/gnu/_G_config.h: Likewise.
41147         * sysdeps/mach/hurd/_G_config.h: Likewise.
41148         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41149         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41150         * sysdeps/sparc/bits/mathdef.h: Likewise.
41151
41152 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41153
41154         [BZ #13583]
41155         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41156         Clean up HAS_* macros.
41157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41158         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41159         possible.
41160         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41161         HAS_AVX.
41162         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41163         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41164         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41165         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41166         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41167
41168 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41169
41170         * elf/tst-unique3.cc (gets): Remove declaration.
41171         * elf/tst-unique3lib.cc (gets): Likewise.
41172         * elf/tst-unique3lib2.cc (gets): Likewise.
41173         * elf/tst-unique4.cc (gets): Likewise.
41174
41175 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41176
41177         * include/stdio.h: Add C++ protection.  Add gets declarations and
41178         definitions.
41179         * debug/tst-chk1.c: Don't declare gets here.
41180         * stdio-common/tst-gets.c: Likewise.
41181
41182 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41183
41184         * posix/glob: Remove directory.
41185
41186 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41187
41188         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41189
41190 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41191
41192         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41193         of the non-standard EPFNOSUPPORT.
41194
41195 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41196
41197         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41198         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41199         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41200
41201 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41202
41203         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41204
41205 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41206
41207         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41208         transient errors.
41209         * nscd/grpcache.c (cache_addgr): Likewise.
41210         * nscd/hstcache.c (cache_addhst): Likewise.
41211         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41212         * nscd/pwdcache.c (cache_addpw): Likewise.
41213         * nscd/servicescache.c (cache_addserv): Likewise.
41214
41215 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41216
41217         * malloc/malloc.c: Various cleanups.
41218         * malloc/hooks.c: Likewise.
41219
41220         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41221         * stdlib/bug-fmtmsg1.c: New file.
41222
41223         * stdlib/fmtmsg.c (init): Add missing unlock.
41224         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41225
41226 2012-01-12  Marek Polacek  <polacek@redhat.com>
41227
41228         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41229         and _GNU_SOURCE.
41230
41231 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41232
41233         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41234         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41235         macro to ensure uniqueness of label name.
41236         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41237         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41238
41239 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41240
41241         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41242
41243         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41244         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41245         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41246         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41247
41248 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41249
41250         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41251
41252         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41253         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41254         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41255
41256         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41257
41258         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41259         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41260         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41262
41263         * math/bits/math-finite.h: Add ldexp support.
41264
41265 2012-01-10  Marek Polacek  <polacek@redhat.com>
41266
41267         * locale/programs/localedef.h (show_archive_content): Add noreturn
41268         attribute.
41269
41270 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41271
41272         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41273
41274 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41275
41276         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41277
41278         * io/Makefile (headers): Add bits/poll2.h.
41279
41280 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41281
41282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41283         typo #include statement.
41284
41285 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41286
41287         * include/sys/cdefs.h: Define __attribute_alloc_size.
41288         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41289         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41290         * elf/pldd.c: Likewise.
41291         * iconv/iconv_charmap.c: Likewise.
41292         * iconv/iconvconfig.c: Likewise.
41293         * iconv/strtab.c: Likewise.
41294         * locale/programs/locale.c: Likewise.
41295         * locale/programs/localedef.h: Likewise.
41296         * locale/programs/simple-hash.c: Likewise.
41297         * nscd/nscd.h: Likewise.
41298         * nss/makedb.c: Likewise.
41299         * sysdeps/generic/ldconfig.h: Likewise.
41300         * locale/programs/localedef.c: Remove xmalloc prototype.
41301         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41302
41303 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41304
41305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41306         appropriate.
41307
41308 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41309
41310         * math/Makefile (tests): Add tst-CMPLX.
41311         * math/tst-CMPLX.c: New file.
41312
41313         * math/complex.h (CMPLXL): Fix typo.
41314
41315         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41316         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41317         GLIBC_2.16.
41318         * debug/tst-chk1.c: Add poll and ppoll tests.
41319         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41320         * include/sys/poll.h: Add hidden proto for ppoll.
41321         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41322         * sysdeps/mach/hurd/ppoll.c: Likewise.
41323         * io/ppoll.c: Likewise.
41324         * debug/poll_chk.c: New file.
41325         * debug/ppoll_chk.c: New file.
41326         * include/bits/poll2.h: New file.
41327         * io/bits/poll2.h: New file.
41328
41329         [BZ #1350]
41330         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41331
41332         * configure.in: static is always set to yes.  Remove.
41333         * config.make.in: Don't set build-static.
41334         * Makeconfig: Remove use of build-static.
41335         * dlfcn/Makefile: Likewise.
41336         * elf/Makefile: Likewise.
41337         * math/Makefile: Likewise.
41338         * misc/Makefile: Likewise.
41339         * nptl/Makefile: Likewise.
41340         * sysdeps/mach/hurd/Makefile: Likewise.
41341
41342         * configure.in: PWD_P is not used anymore.
41343         * config.make.in: Remove PWD_P entry.
41344
41345         * configure.in: Remove last remnants of RANLIB.
41346         No need to check for signed size_t anymore.
41347         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41348         and IA-64.
41349         Remove __builtin_expect test because we require at least gcc 3.4.
41350         * aclocal.m4: Likewise.
41351
41352         * wcsmbs/mbrtoc16.c: Implement using towc function.
41353         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41354         * wcsmbs/wcsmbsload.c: Likewise.
41355         * iconv/gconv_simple.c: Likewise.
41356         * iconv/gconv_int.h: Likewise.
41357         * iconv/gconv_builtin.h: Likewise.
41358         * iconv/iconv_prog.c: Remove CHAR16 handling.
41359
41360         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41361
41362         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41363
41364         * configure.in: Remove --with-elf and --enable-bounded options.
41365         Dont set base_machine for ia64.  More non-ELF conditions removed.
41366         Remove testing and setting of leading underscore information.
41367         * config.make.in (build-bounded): Set to no.
41368         * config.h.in: Remove NO_UNDERSCORES entry.
41369         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41370         them.
41371         * csu/start.c: Remove !NO_UNDERSCORE code.
41372         * locale/localeinfo.h: Likewise.
41373         * sysdeps/generic/machine-gmon.h: Likewise.
41374         * sysdeps/generic/sysdep.h: Likewise.
41375         * sysdeps/i386/sysdep.h: Likewise.
41376         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41377         * sysdeps/mach/sysdep.h: Likewise.
41378         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41379         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41380         * sysdeps/sh/sysdep.h: Likewise.
41381         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41382         * sysdeps/unix/i386/sysdep.S: Likewise.
41383         * sysdeps/unix/sparc/start.c: Likewise.
41384         * sysdeps/unix/sparc/sysdep.S: Likewise.
41385         * sysdeps/unix/sparc/sysdep.h: Likewise.
41386         * sysdeps/unix/start.c: Likewise.
41387         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41388         * sysdeps/x86_64/sysdep.h: Likewise.
41389
41390 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41391
41392         [BZ #13553]
41393         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41394         for non-gcc.
41395         * argp/argp-fmtstream.h: Use const instead __const.
41396         * argp/argp.h: Likewise.
41397         * assert/assert.h: Likewise.
41398         * bits/fenv.h: Likewise.
41399         * bits/sched.h: Likewise.
41400         * bits/sigset.h: Likewise.
41401         * bits/sigthread.h: Likewise.
41402         * catgets/nl_types.h: Likewise.
41403         * conform/data/pthread.h-data: Likewise.
41404         * crypt/crypt-private.h: Likewise.
41405         * crypt/crypt.h: Likewise.
41406         * crypt/crypt_util.c: Likewise.
41407         * ctype/ctype.h: Likewise.
41408         * debug/execinfo.h: Likewise.
41409         * debug/mbsnrtowcs_chk.c: Likewise.
41410         * debug/mbsrtowcs_chk.c: Likewise.
41411         * debug/wcsnrtombs_chk.c: Likewise.
41412         * debug/wcsrtombs_chk.c: Likewise.
41413         * debug/wcstombs_chk.c: Likewise.
41414         * dirent/dirent.h: Likewise.
41415         * dlfcn/dlfcn.h: Likewise.
41416         * elf/neededtest4.c: Likewise.
41417         * grp/grp.h: Likewise.
41418         * gshadow/gshadow.h: Likewise.
41419         * iconv/gconv.h: Likewise.
41420         * iconv/gconv_int.h: Likewise.
41421         * iconv/gconv_simple.c: Likewise.
41422         * iconv/iconv.h: Likewise.
41423         * iconv/loop.c: Likewise.
41424         * iconv/skeleton.c: Likewise.
41425         * include/aio.h: Likewise.
41426         * include/aliases.h: Likewise.
41427         * include/argz.h: Likewise.
41428         * include/arpa/inet.h: Likewise.
41429         * include/assert.h: Likewise.
41430         * include/dirent.h: Likewise.
41431         * include/dlfcn.h: Likewise.
41432         * include/execinfo.h: Likewise.
41433         * include/fcntl.h: Likewise.
41434         * include/fenv.h: Likewise.
41435         * include/glob.h: Likewise.
41436         * include/grp.h: Likewise.
41437         * include/libintl.h: Likewise.
41438         * include/mntent.h: Likewise.
41439         * include/netdb.h: Likewise.
41440         * include/pwd.h: Likewise.
41441         * include/rpc/netdb.h: Likewise.
41442         * include/sched.h: Likewise.
41443         * include/search.h: Likewise.
41444         * include/shadow.h: Likewise.
41445         * include/signal.h: Likewise.
41446         * include/stdio.h: Likewise.
41447         * include/stdlib.h: Likewise.
41448         * include/string.h: Likewise.
41449         * include/sys/socket.h: Likewise.
41450         * include/sys/stat.h: Likewise.
41451         * include/sys/statfs.h: Likewise.
41452         * include/sys/statvfs.h: Likewise.
41453         * include/sys/syslog.h: Likewise.
41454         * include/sys/time.h: Likewise.
41455         * include/sys/uio.h: Likewise.
41456         * include/time.h: Likewise.
41457         * include/unistd.h: Likewise.
41458         * include/utmp.h: Likewise.
41459         * include/wchar.h: Likewise.
41460         * include/wctype.h: Likewise.
41461         * inet/aliases.h: Likewise.
41462         * inet/arpa/inet.h: Likewise.
41463         * inet/netinet/ether.h: Likewise.
41464         * inet/netinet/in.h: Likewise.
41465         * intl/libintl.h: Likewise.
41466         * io/bits/fcntl2.h: Likewise.
41467         * io/fcntl.h: Likewise.
41468         * io/ftw.h: Likewise.
41469         * io/sys/poll.h: Likewise.
41470         * io/sys/stat.h: Likewise.
41471         * io/sys/statfs.h: Likewise.
41472         * io/sys/statvfs.h: Likewise.
41473         * io/utime.h: Likewise.
41474         * libio/bits/stdio.h: Likewise.
41475         * libio/bits/stdio2.h: Likewise.
41476         * libio/libio.h: Likewise.
41477         * libio/libioP.h: Likewise.
41478         * libio/stdio.h: Likewise.
41479         * locale/lc-ctype.c: Likewise.
41480         * locale/locale.h: Likewise.
41481         * login/utmp.h: Likewise.
41482         * malloc/arena.c: Likewise.
41483         * malloc/malloc.c: Likewise.
41484         * malloc/malloc.h: Likewise.
41485         * malloc/mcheck.c: Likewise.
41486         * malloc/mtrace.c: Likewise.
41487         * math/bits/mathcalls.h: Likewise.
41488         * math/fenv.h: Likewise.
41489         * math/math_private.h: Likewise.
41490         * misc/bits/error.h: Likewise.
41491         * misc/bits/syslog.h: Likewise.
41492         * misc/err.h: Likewise.
41493         * misc/error.h: Likewise.
41494         * misc/fstab.h: Likewise.
41495         * misc/mntent.h: Likewise.
41496         * misc/regexp.h: Likewise.
41497         * misc/search.h: Likewise.
41498         * misc/sgtty.h: Likewise.
41499         * misc/sys/mman.h: Likewise.
41500         * misc/sys/syslog.h: Likewise.
41501         * misc/sys/uio.h: Likewise.
41502         * misc/sys/xattr.h: Likewise.
41503         * misc/ttyent.h: Likewise.
41504         * nis/rpcsvc/ypclnt.h: Likewise.
41505         * nss/nss.h: Likewise.
41506         * posix/bits/unistd.h: Likewise.
41507         * posix/fnmatch.h: Likewise.
41508         * posix/glob.h: Likewise.
41509         * posix/sched.h: Likewise.
41510         * posix/spawn.h: Likewise.
41511         * posix/sys/wait.h: Likewise.
41512         * posix/unistd.h: Likewise.
41513         * posix/wordexp.h: Likewise.
41514         * pwd/pwd.h: Likewise.
41515         * resolv/netdb.h: Likewise.
41516         * resource/sys/resource.h: Likewise.
41517         * rt/aio.h: Likewise.
41518         * rt/bits/mqueue2.h: Likewise.
41519         * rt/mqueue.h: Likewise.
41520         * shadow/shadow.h: Likewise.
41521         * signal/signal.h: Likewise.
41522         * socket/send.c: Likewise.
41523         * socket/sendto.c: Likewise.
41524         * socket/sys/socket.h: Likewise.
41525         * stdio-common/printf.h: Likewise.
41526         * stdlib/bits/stdlib.h: Likewise.
41527         * stdlib/fmtmsg.h: Likewise.
41528         * stdlib/monetary.h: Likewise.
41529         * stdlib/stdlib.h: Likewise.
41530         * stdlib/ucontext.h: Likewise.
41531         * streams/stropts.h: Likewise.
41532         * string/argz.h: Likewise.
41533         * string/bits/string2.h: Likewise.
41534         * string/string.h: Likewise.
41535         * string/strings.h: Likewise.
41536         * sunrpc/rpc/auth.h: Likewise.
41537         * sunrpc/rpc/auth_des.h: Likewise.
41538         * sunrpc/rpc/clnt.h: Likewise.
41539         * sunrpc/rpc/netdb.h: Likewise.
41540         * sunrpc/rpc/pmap_clnt.h: Likewise.
41541         * sunrpc/rpc/xdr.h: Likewise.
41542         * sysdeps/generic/inttypes.h: Likewise.
41543         * sysdeps/generic/net/if.h: Likewise.
41544         * sysdeps/generic/sys/swap.h: Likewise.
41545         * sysdeps/gnu/net/if.h: Likewise.
41546         * sysdeps/gnu/utmpx.h: Likewise.
41547         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41548         * sysdeps/i386/i486/bits/string.h: Likewise.
41549         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41550         * sysdeps/s390/bits/string.h: Likewise.
41551         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41552         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41553         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41554         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41555         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41556         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41557         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41558         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41559         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41560         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41561         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41562         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41563         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41564         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41565         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41566         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41567         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41568         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41569         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41570         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41571         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41572         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41573         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41574         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41575         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41576         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41577         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41578         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41579         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41580         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41581         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41582         * sysvipc/sys/ipc.h: Likewise.
41583         * sysvipc/sys/msg.h: Likewise.
41584         * sysvipc/sys/sem.h: Likewise.
41585         * sysvipc/sys/shm.h: Likewise.
41586         * termios/termios.h: Likewise.
41587         * time/sys/time.h: Likewise.
41588         * time/time.h: Likewise.
41589         * wcsmbs/bits/wchar2.h: Likewise.
41590         * wcsmbs/uchar.h: Likewise.
41591         * wcsmbs/wchar.h: Likewise.
41592         * wctype/wctype.h: Likewise.
41593
41594         [BZ #13551]
41595         * Makeconfig: Remove all but ELF support including AIX support.
41596         * Makerules: Likewise.
41597         * config.h.in: Likewise.
41598         * config.make.in: Likewise.
41599         * configure: Likewise.
41600         * configure.in: Likewise.
41601         * csu/Makefile: Likewise.
41602         * csu/version.c: Likewise.
41603         * debug/Makefile: Likewise.
41604         * dlfcn/Makefile: Likewise.
41605         * elf/Makefile: Likewise.
41606         * extra-lib.mk: Likewise.
41607         * iconv/Makefile: Likewise.
41608         * include/libc-symbols.h: Likewise.
41609         * include/shlib-compat.h: Likewise.
41610         * resolv/Makefile: Likewise.
41611         * resolv/res_libc.c: Likewise.
41612         * rt/Makefile: Likewise.
41613         * sysdeps/i386/asm-syntax.h: Likewise.
41614         * sysdeps/i386/sysdep.h: Likewise.
41615         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41616         * sysdeps/mach/sysdep.h: Likewise.
41617         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41618         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41619         * sysdeps/s390/asm-syntax.h: Likewise.
41620         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41621         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41622         * sysdeps/sh/sysdep.h: Likewise.
41623         * sysdeps/unix/sparc/sysdep.h: Likewise.
41624         * sysdeps/wordsize-32/divdi3.c: Likewise.
41625         * sysdeps/x86_64/sysdep.h: Likewise.
41626
41627         * argp/Versions: Remove _argp_unlock_xxx.
41628
41629         [BZ #13559]
41630         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41631         * abilist/libBrokenLocale.abilist: Likewise.
41632         * abilist/libanl.abilist: Likewise.
41633         * abilist/libc.abilist: Likewise.
41634         * abilist/libcrypt.abilist: Likewise.
41635         * abilist/libdl.abilist: Likewise.
41636         * abilist/libm.abilist: Likewise.
41637         * abilist/libnsl.abilist: Likewise.
41638         * abilist/libpthread.abilist: Likewise.
41639         * abilist/libresolv.abilist: Likewise.
41640         * abilist/librt.abilist: Likewise.
41641         * abilist/libthread_db.abilist: Likewise.
41642         * abilist/libutil.abilist: Likewise.
41643         * abilist/libnss_db.abilist: New file.
41644
41645         * scripts/abilist.awk: Add support for indirect functions.
41646
41647         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41648
41649         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41650
41651         * shlib-versions: Remove entries for ports architectures.
41652
41653         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41654         files in ports.
41655         * elf/stackguard-macros.h: Remove support for IA-64.
41656         * elf/tst-auditmod1.c: Likewise.
41657         * sysdeps/generic/ldsodefs.h: Likewise.
41658
41659         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41660         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41661         configure files.
41662
41663         [BZ #13552]
41664         * configure.in: Remove --enable-omitfp support.
41665         * FAQ.in: Adjust.
41666         * config.make.in: Likewise.
41667         * Makeconfig: Likewise.
41668         * manual/install.texi: Likewise.
41669
41670         In case anyone cares, the IA-64 architecture could move to ports.
41671         * sysdeps/ia64/*: Removed.
41672         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41673         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41674
41675         [BZ #13555]
41676         * configure.in: Remove entries for unsupported architectures.
41677
41678         [BZ #13533]
41679         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41680         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41681         routines.
41682         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41683         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41684         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41685         fall back to using wcrtomb.
41686         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41687         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41688         renaming.
41689         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41690         * wcsmbs/tst-c16c32-1.c: New file.
41691
41692         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41693         local variable.
41694
41695         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41696
41697         * elf/tst-unique3.cc: Add explicit declaration of gets.
41698         * elf/tst-unique3lib.cc: Likewise.
41699         * elf/tst-unique3lib2.cc: Likewise.
41700         * elf/tst-unique4.cc: Likewise.
41701
41702         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41703
41704 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41705
41706         [BZ #13566]
41707         * assert/assert.h (static_assert): Don't define for C++.
41708         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41709         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41710
41711 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41712
41713         * iconv/loop.c (single loop): Fix assertion in storing of
41714         remaining bytes.
41715
41716         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41717
41718 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41719
41720         * posix/getconf.c: Update copyright year.
41721         * nss/getent.c: Likewise.
41722         * nss/makedb.c: Likewise.
41723         * iconv/iconvconfig.c: Likewise.
41724         * iconv/iconv_prog.c: Likewise.
41725         * elf/ldconfig.c: Likewise.
41726         * elf/pldd.c: Likewise.
41727         * elf/sotruss.ksh: Likewise.
41728         * catgets/gencat.c: Likewise.
41729         * csu/version.c: Likewise.
41730         * elf/ldd.bash.in: Likewise.
41731         * elf/sprof.c (print_version): Likewise.
41732         * locale/programs/locale.c: Likewise.
41733         * locale/programs/localedef.c: Likewise.
41734         * login/programs/pt_chown.c: Likewise.
41735         * nscd/nscd.c (print_version): Likewise.
41736         * debug/xtrace.sh: Likewise.
41737         * malloc/memusage.sh: Likewise.
41738         * malloc/mtrace.pl: Likewise.
41739         * debug/catchsegv.sh: Likewise.
41740
41741 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41742
41743         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41744         pure attribute.
41745
41746 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41747
41748         [BZ #13533]
41749         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41750         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41751         transformations.
41752         * iconv/gconv_int.h: Likewise.
41753         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41754         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41755         from libc for GLIBC_2.16.
41756         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41757         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41758         * wcsmbs/uchar.h: Really define mbstate_t.
41759         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41760         * wcsmbs/c16rtomb.c: New file.
41761         * wcsmbs/mbrtoc16.c: New file.
41762         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41763         for C/POSIX locale.
41764         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41765         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41766
41767         * wcsmbs/wchar.h: Add missing __restrict.
41768
41769 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41770
41771         [BZ #13532]
41772         * time/Makefile (routines): Add timespec_get.
41773         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41774         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41775         timespec for ISO C11.
41776         * time/timespec_get.c: New file.
41777         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41778         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41779
41780         [BZ #13531]
41781         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41782         * stdlib/stdlib.h: Declare aligned_alloc.
41783         * Versions.def: Add GLIBC_2.16 for libc.
41784         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41785
41786         [BZ 13527]
41787         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41788         ISO C11.
41789
41790         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41791         code.
41792
41793         [BZ #13528]
41794         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41795
41796         [BZ #13529]
41797         * assert/assert.h (static_assert): Define.
41798
41799         * version.h: Update for 2.16 development version.
41800
41801         [BZ #13526]
41802         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41803         _ISOC11_SOURCE.
41804
41805         * version.h (RELEASE): Bump for 2.15 release.
41806         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41807
41808         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41809         Patch by Marek Polacek <mpolacek@redhat.com>.
41810
41811         * bits/byteswap.h: Protect long long constants with __extension__.
41812         * sysdeps/i386/bits/byteswap.h: Likewise.
41813         * sysdeps/ia64/bits/byteswap.h: Likewise.
41814         * sysdeps/s390/bits/byteswap.h: Likewise.
41815         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41816
41817 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41818
41819         [BZ #13540]
41820         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41821         destination buffer.
41822         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41823
41824 2011-12-23  Marek Polacek  <polacek@redhat.com>
41825
41826         * elf/dl-addr.c (determine_info): Add inline keyword.
41827         * elf/tst-auditmod4b.c (check_avx): Likewise.
41828         * elf/tst-auditmod6b.c (check_avx): Likewise.
41829         * elf/tst-auditmod6c.c (check_avx): Likewise.
41830         * elf/tst-auditmod7b.c (check_avx): Likewise.
41831
41832 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41833
41834         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41835         !__SSE_MATH__.
41836
41837 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41838
41839         [BZ #13540]
41840         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41841         processing for last bytes.
41842
41843 2011-08-06  Bruno Haible  <bruno@clisp.org>
41844
41845         [BZ #13061]
41846         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41847         U+0385, not to U+1FEE.
41848
41849         [BZ #13062]
41850         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41851         entry for U+00A5 U+0301.
41852
41853 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41854
41855         [BZ #13166]
41856         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41857         buffer for the output is too small.
41858
41859         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41860         optimization.
41861
41862         [BZ #13185]
41863         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41864         SSE flags if possible.
41865
41866 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41867
41868         [BZ #13540]
41869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41870         processing for last bytes.
41871
41872 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41873
41874         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41875         (syscall-list-default-options, syscall-list-default-condition)
41876         (syscall-list-includes): Define.
41877         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41878         list of ABIs and options and #if conditions for each ABI.  Do not
41879         handle common syscalls between ABIs specially.
41880         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41881         Remove.
41882         (syscall-list-variants, syscall-list-32bit-options)
41883         (syscall-list-32bit-condition, syscall-list-64bit-options)
41884         (syscall-list-64bit-condition): Define.
41885         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41886         (syscall-list-variants, syscall-list-32bit-options)
41887         (syscall-list-32bit-condition, syscall-list-64bit-options)
41888         (syscall-list-64bit-condition): Define.
41889         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41890         Remove.
41891         (syscall-list-variants, syscall-list-32bit-options)
41892         (syscall-list-32bit-condition, syscall-list-64bit-options)
41893         (syscall-list-64bit-condition): Define.
41894         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41895         Remove.
41896         (syscall-list-variants, syscall-list-32bit-options)
41897         (syscall-list-32bit-condition, syscall-list-64bit-options)
41898         (syscall-list-64bit-condition): Define.
41899
41900 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41901
41902         * locale/iso-639.def: Add brx entry.
41903
41904         [BZ #13328]
41905         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41906         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41907
41908         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41909         __feraiseexcept_renamed.
41910
41911 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41912
41913         [BZ #13538]
41914         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41915         EPOLLET with unsigned values.
41916         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41917         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41918
41919         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41920         to large cancellation.
41921         * math/s_cacoshf.c: Likewise.
41922         * math/s_cacoshl.c: Likewise.
41923
41924 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41925
41926         [BZ #13305]
41927         [BZ #12786]
41928         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41929         * math/s_cacoshf.c: Likewise.
41930         * math/s_cacoshl.c: Likewise.
41931
41932 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41933
41934         [BZ #13439]
41935         * iconv/gconv.h: Define __GCONV_SWAP.
41936         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41937         * iconvdata/utf-16.c: Likewise.
41938         * iconvdata/utf-32.c: Likewise.
41939
41940 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41941
41942         [BZ #13524]
41943         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41944         numerator after shifting it by one limb.
41945
41946 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41947
41948         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41949         under [__USE_EXTERN_INLINES].
41950
41951 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41952
41953         [BZ #13446]
41954         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41955
41956 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41957
41958         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41959         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41960         optimized code.
41961         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41962         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41963         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41964         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41965         for strncasecmp/strncasecmp_l compilation.
41966         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41967         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41968
41969 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41970
41971         [BZ #13484]
41972         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41973         of __asm__.
41974
41975 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41976
41977         [BZ #13506]
41978         * time/tzfile.c (__tzfile_read): Check values from file header.
41979
41980 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41981
41982         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41983         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41984         * powerpc/powerpc32/dl-start.S: Likewise.
41985         * powerpc/powerpc32/elf/start.S: Likewise.
41986         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41987         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41988         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41989         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41990         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41991         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41992         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41993         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41994         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41995         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41996         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41997         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41998         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41999         * powerpc/powerpc32/memset.S: Likewise.
42000         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42001         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42002         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42003         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42004         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42005         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42006         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42007         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42008         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42009         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42010         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42011         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42012         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42013
42014 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42015
42016         * math/libm-test.inc: Added more nearbyint tests.
42017         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42018         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42019         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42020         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42021
42022 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
42023
42024         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42025         FD_CLOEXEC.
42026
42027 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42028
42029         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42030         Add wcscpy-ssse3 wcscpy-c.
42031         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42032         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42033         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42034         * sysdeps/x86_64/wcschr.S: New file.
42035         * sysdeps/x86_64/wcsrchr.S: New file.
42036         * string/test-strcmp.c: Remove checking of wcscmp function for
42037         wrong alignments.
42038         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42039         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42040         wcsrchr-sse2 wcsrchr-c.
42041         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42042         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42043         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42044         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42045         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42046         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42047         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42048         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42049         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42050         * wcsmbc/wcschr.c (WCSCHR): New macro.
42051
42052 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42053
42054         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42055         * wcsmbs/test-wcsrchr.c: New file.
42056         * string/test-strrchr.c: Add wcsrchr support.
42057         (WIDE): New macro.
42058         * wcsmbs/test-wcscpy.c: New file.
42059         * string/test-strcpy.c: Add wcscpy support.
42060         (WIDE): New macro.
42061
42062 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
42063
42064         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42065         the inner loop.
42066
42067 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
42068
42069         [BZ #13472]
42070         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42071
42072 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42073
42074         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42075         Minor optimizations.
42076
42077         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42078         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42079         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42080
42081 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42082
42083         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42084         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42085         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42086         for gcc to avoid warnings.
42087         * inet/Makefile (tests): Add tst-checks.
42088         * inet/tst-checks.c: New file.
42089
42090         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42091         warning.
42092
42093         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42094         __wmemcmp_sse2.
42095
42096         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42097         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42098
42099         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42100
42101 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42102
42103         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42104         problem.
42105
42106         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42107
42108 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42109
42110         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42111         conditional on GCC version.
42112         (__arch_compare_and_exchange_val_8_acq)
42113         (__arch_compare_and_exchange_val_16_acq)
42114         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42115         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42116         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42117
42118 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42119
42120         * sysdeps/sh/backtrace.c: New file.
42121
42122 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42123
42124         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42125         parenthesis.
42126
42127 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42128
42129         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42130         falling back to utime.
42131
42132 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42133
42134         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42135         expectations for float.
42136
42137 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42138
42139         * locale/weight.h (findidx): Add parameter len.
42140         * locale/weightwc.h (findidx): Likewise.
42141         * posix/fnmatch_loop.c (FCT): Adjust caller.
42142         * posix/regcomp.c (build_equiv_class): Likewise.
42143         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42144         * posix/regexec.c (check_node_accept_bytes): Likewise.
42145         * string/strcoll_l.c (STRCOLL): Likewise.
42146         * string/strxfrm_l.c (STRXFRM): Likewise.
42147
42148 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42149
42150         * Makefile.in: Remove CVSOPT handling.
42151         * configure.in: Remove use of AC_REVISION.
42152         * iconvdata/Makefile (distribute): No need to filter out CVS.
42153         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42154         handling.
42155
42156 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42157
42158         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42159         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42160         [USE_AS_STRNCASECMP_L]: Likewise.
42161         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42162         NO_TLS_DIRECT_SEG_REFS.
42163         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42164         Fix argument offsets for non-PIC.
42165         [USE_AS_STRNCASECMP_L]: Likewise.
42166         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42167         NO_TLS_DIRECT_SEG_REFS.
42168
42169 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42170
42171         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42172         O_CLOEXEC.
42173         * locale/loadlocale.c (_nl_load_locale): Likewise.
42174
42175 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42176
42177         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42178         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42179         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42180         (SYSCALL_GETTIME): Set errno on error.
42181
42182         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42183         count references to noai6ai_cached.
42184
42185 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42186
42187         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42188
42189         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42190         FD_CLOEXEC for /proc/self/maps.
42191
42192         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42193         FD_CLOEXEC for /proc/meminfo.
42194
42195         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42196         gai.conf.
42197
42198         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42199         FD_CLOEXEC for given file.
42200
42201         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42202
42203         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42204         FD_CLOEXEC for /etc/hosts.
42205         (_gethtent): Likewise.
42206
42207         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42208
42209         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42210         cancellation and set FD_CLOEXEC for /etc/netgroup.
42211
42212         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42213         reading /etc/publickey.
42214
42215         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42216         allow cancellation when reading /etc/group.
42217
42218         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42219         cancellation.
42220         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42221
42222         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42223         when using data file.
42224
42225         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42226
42227         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42228         (write_nis_obj): Use "c" and "e" in fopen.
42229
42230         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42231
42232         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42233
42234         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42235
42236         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42237
42238         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42239         locale.alias.
42240
42241         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42242
42243         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42244
42245         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42246
42247         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42248         file parsing and set FD_CLOEXEC.
42249
42250 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42251
42252         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42253
42254 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42255
42256         * malloc/arena.c (arena_get2): Don't call reused_arena when
42257         _int_new_arena failed.
42258
42259 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42260
42261         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42262         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42263         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42264         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42265         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42267         to compile strcasecmp and strncasecmp.
42268         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42269         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42270
42271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42272
42273 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42274
42275         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42276         locale-defines.sym to gen-as-const-headers.
42277         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42278         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42279         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42280         to compile strcasecmp and strncasecmp.
42281         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42282         strcasecmp_l and strncasecmp_l.
42283         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42284         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42285         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42286         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42287         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42288         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42289         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42290         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42291         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42292         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42293         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42294
42295 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42296
42297         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42298         result of SYSDEP_GETTIME_CPU to retval.
42299         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42300         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42301
42302         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42303         variable.
42304
42305         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42306         mantissa words.
42307         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42308
42309         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42310         from unused variable.
42311
42312         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42313         DWARF definitions.
42314         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42315         for assembling.
42316
42317         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42318         over namespaces.
42319
42320         * sunrpc/rpc_prot.c (rejected): Fix case value.
42321
42322         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42323         unsigned long long int to avoid warnings in shift.
42324
42325         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42326         of use of trans.
42327         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42328         variable tmp.
42329
42330         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42331         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42332         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42333
42334         * nis/nis_table.c (nis_list): Use variable of correct type for
42335         result of __follow_path call.
42336
42337 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42338
42339         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42340         of math functions ceil, trunc, floor, round, and sqrt, when
42341         avaliable on the platform.
42342         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42343         name clash.
42344         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42345         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42346         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42347
42348 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42349
42350         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42351         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42352
42353 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42354
42355         * include/unistd.h: Fix __readlink return type.
42356         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42357
42358 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42359
42360         * stdlib/ucontext.h: Undo last change for makecontext.
42361
42362 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42363
42364         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42365
42366         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42367         * setjmp/setjmp.h: Mark functions as non-leaf.
42368         * setjmp/bits/setjmp2.h: Likewise.
42369         * stdlib/ucontext.h: Likewise.
42370
42371 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42372
42373         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42374         (reused_arena): Don't check arena limit.
42375         (arena_get2): Atomically check arena limit.
42376
42377 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42378
42379         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42380         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42381
42382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42383         instructions.
42384
42385 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42386
42387         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42388         handler when locking.
42389
42390         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42391         Fix size of allocated buffer.
42392
42393 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42394
42395         [BZ #10103]
42396         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42397         declarations for long double functions.
42398         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42399
42400         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42401
42402 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42403
42404         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42405         installed.
42406
42407         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42408         is disabled.
42409
42410 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42411
42412         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42413
42414 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42415
42416         * include/alloca.h (stackinfo_alloca_round): Define.
42417         (extend_alloca): Use it.
42418         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42419         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42420         here.
42421
42422         * scripts/check-local-headers.sh: Ignore libaudit.h.
42423
42424         * nscd/Makefile (extra-objs): Make recursively expanded.
42425
42426 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42427
42428         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42429         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42430
42431         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42432         * posix/tst-rfc3484-2.c: Likewise.
42433         * posix/tst-rfc3484-3.c: Likewise.
42434
42435         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42436         process_vm_writev.
42437         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42438         process_vm_writev.
42439         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42440         process_vm_writev from libc using GLIBC_2.15 version.
42441
42442         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42443
42444 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42445
42446         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42447         stack usage.
42448
42449 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42450
42451         [BZ #13367]
42452         * nss/getent.c (initgroups_keys): Show error message in case no group
42453         names are given.
42454
42455         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42456         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42457         __bump_nl_timestamp.
42458         * nscd/connections (nscd_init): When host database is served open
42459         netlink socket and request notification about configuration changes.
42460         (main_loop_poll): Track netlink file descriptor and bump timestamp
42461         in case data becomes available.
42462         (main_loop_epoll): Likewise.
42463         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42464         (database_pers_head): Add extra_data fileds.
42465         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42466         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42467         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42468         Adjust caller.
42469         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42470         in6ai data, call __free_in6ai.
42471         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42472         Add -DHAVE_NETLINK.
42473         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42474         interface information.  Reuse previous data if netlink timestamp
42475         is not changed.
42476         (__bump_nl_timestamp): New function.
42477         (__free_in6ai): New function.
42478
42479 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42480
42481         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42482         close_not_cancel_no_status here.
42483         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42484
42485 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42486
42487         [BZ #13276]
42488         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42489         return value.
42490
42491         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42492         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42493         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42494
42495 2011-07-03  Andreas Jaeger  <aj@suse.de>
42496
42497         [BZ #10709]
42498         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42499         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42500         * math/libm-test.inc (sin_test): Add test case.
42501
42502 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42503
42504         [BZ #13337]
42505         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42506         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42507
42508         * elf/chroot_canon.c (chroot_canon): Cleanups.
42509
42510         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42511
42512         [BZ #13335]
42513         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42514         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42515
42516         * string/test-strchr.c: Make usable for strchrnul testing.
42517         * string/test-strchrnul.c: New file.
42518         * string/Makefile (strop-tests): Add strchrnul.
42519
42520         * po/it.po: Update from translation team.
42521         * po/es.po: Likewise.
42522
42523 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42524
42525         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42526         the three constants needed as parameters.  Drop the others.
42527         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42528         __m128i_strloadu_tolower.
42529         Create and initialize variable zero and use it in all the places
42530         where _mm_setzero_si128 was used.
42531
42532         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42533         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42534         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42535         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42536         anymore.
42537         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42538         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42539         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42540         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42541         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42542         __mpranred, __mptan.
42543         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42544         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42545         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42546         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42547         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42548         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42549         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42550         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42551         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42552
42553 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42554
42555         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42556         redefine if SHARED.
42557         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42558
42559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42560         wide char related routines to wcsmbs subdir.
42561
42562 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42563
42564         [BZ #13344]
42565         * misc/sys/cdefs.h (__THROWNL): Define.
42566         * posix/unistd.h: Use __THREADNL instead of __THREAD
42567         for memory synchronization functions.
42568
42569 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42570
42571         [BZ #13349]
42572         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42573         doesn't exist.
42574         * manual/stdio.texi (Obstack Streams): Node removed.
42575
42576 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42577
42578         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42579         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42580         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42581
42582         * math/math_private.h (math_force_eval): Allow non-addressable
42583         arguments.
42584         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42585
42586 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42587
42588         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42589         file is not needed.
42590
42591         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42592         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42593         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42594         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42595         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42596         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42597         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42598         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42599         Add AVX variants.
42600         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42601         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42602         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42603         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42604         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42605         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42606         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42607         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42608         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42609         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42610         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42611         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42612         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42613         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42614         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42615         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42616         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42617         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42618         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42619
42620         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42621         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42622
42623         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42624         place.  Use VEX encoding when compiling for AVX.
42625
42626 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42627
42628         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42629         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42630
42631         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42632
42633 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42634
42635         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42636         useless if() expression.
42637         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42638         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42639         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42640         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42641         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42642         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42643         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42644         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42645         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42646         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42647         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42648         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42649         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42650         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42651         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42652         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42653         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42654         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42655         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42656
42657         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42658
42659 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42660
42661         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42662         condition.
42663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42664
42665 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42666
42667         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42668         .text section.  Avoid duplicate constants.
42669         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42670         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42671         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42673         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42674         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42675         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42677         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42678         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42679         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42680         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42681         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42682         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42683         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42684         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42685         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42686         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42687         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42688         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42689         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42690         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42691         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42692         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42693         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42694         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42695         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42696         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42697         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42698         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42699         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42700         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42701         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42702         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42703         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42704         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42705         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42706         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42707         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42708         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42709         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42710         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42711         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42712         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42713         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42714
42715 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42716
42717         * sysdeps/x86_64/dla.h: Move to ...
42718         * sysdeps/x86_64/fpu/dla.h: ...here.
42719         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42720         situations.  Use __builtin_fma only for gcc 4.6 and up.
42721
42722         * config.make.in: Add have-mfma4 entry.
42723         * configure.in: Substitute libc_cv_cc_fma4.
42724         * math/Makefile (dbl-only-routines): Add sincostab.
42725         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42726         Use __sincostab not sincos.
42727         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42728         name is a macro.
42729         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42731         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42732         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42733         using __copysign.
42734         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42735         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42736         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42737         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42738         and __inv.
42739         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42740         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42741         __copysign.
42742         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42743         define aliases when function name is a macro.
42744         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42745         sysdeps/ieee754/dbl-64/sincos.tbl.
42746         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42747         fma4-enabled routines.
42748         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42749         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42750         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42751         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42752         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42753         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42754         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42755         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42756         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42757         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42758         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42759         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42760         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42761         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42762         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42763         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42764         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42765         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42766         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42767         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42768         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42769         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42770         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42771         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42772         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42773         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42774         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42775         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42776         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42777         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42778
42779         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42780         rename.
42781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42782         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42784         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42785         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42786         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42787         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42788         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42789
42790 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42791
42792         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42793
42794 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42795
42796         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42797
42798         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42799         prediction.
42800         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42801
42802         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42803         Remove unused variable magic_bits.
42804         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42805
42806         * string/strnlen.c: Define and use STRNLEN macro.
42807         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42808         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42809         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42810         * wcsmbs/wcslen.c: Define and use WCSLEN.
42811         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42812         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42813         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42814         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42815         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42816         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42817         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42818
42819 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42820
42821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42822         strnlen-sse2-no-bsf.
42823         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42824         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42825         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42826         Add strnlen support.
42827         (USE_AS_STRNLEN): New macro.
42828         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42829         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42830         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42831         * sysdeps/x86_64/wcslen.S: New file.
42832
42833 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42834
42835         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42836         XMM-moves are used for copying on small sizes.
42837
42838 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42839
42840         * wcsmbs/Makefile (strop-tests): Add wcschr.
42841         * wcsmbs/test-wcschr.c: New file.
42842         * string/test-strchr.c: Update.
42843         Add wcschr support.
42844         (WIDE): New macro.
42845
42846 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42847
42848         * wcsmbs/Makefile (strop-tests): Add wcslen.
42849         * wcsmbs/test-wcslen.c: New file.
42850         * string/test-strlen.c: Update.
42851         Add wcslen support.
42852         (WIDE): New macro.
42853
42854 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42855
42856         * po/it.po: Update from translation team.
42857
42858 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42859
42860         * sysdeps/x86_64/wcscmp.S: Update.
42861         Fix wrong comparison semantics.
42862         wcscmp shall use signed comparison not unsigned.
42863         Don't use substraction to avoid overflow bug.
42864         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42865         * wcsmbc/wcscmp.c: Likewise.
42866         * string/test-strcmp.c: Likewise.
42867         Add new tests to check cases with negative values.
42868
42869 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42870
42871         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42872         * sysdeps/x86_64/dla.h: ...here.  New file.
42873         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42874         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42875         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42877         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42878         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42879         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42880         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42881         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42882
42883 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42884
42885         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42886         __ynl_finite aliases.
42887
42888 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42889
42890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42891
42892         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42893         define DLA_FMA.
42894         [DLA_FMA] (EMULV): Use DLA_FMA.
42895         [DLA_FMA] (MUL12): Use EMULV.
42896         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42897         that are not needed.
42898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42903         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42904         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42905
42906 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42907
42908         * math/s_nan.c: Undef __nan.
42909         * math/s_nanf.c: Undef __nanf.
42910         * math/s_nanl.c: Undef __nanl.
42911         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42912         "math_private.h".
42913
42914 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42915
42916         * math/s_catan.c: Add branch predictions.
42917         * math/s_catanf.c: Likewise.
42918         * math/s_catanh.c: Likewise.
42919         * math/s_catanhf.c: Likewise.
42920         * math/s_catanhl.c: Likewise.
42921         * math/s_catanl.c: Likewise.
42922         * math/s_cexp.c: Likewise.
42923         * math/s_cexpf.c: Likewise.
42924         * math/s_cexpl.c: Likewise.
42925         * math/s_clog.c: Likewise.
42926         * math/s_clog10.c: Likewise.
42927         * math/s_clog10f.c: Likewise.
42928         * math/s_clog10l.c: Likewise.
42929         * math/s_clogf.c: Likewise.
42930         * math/s_clogl.c: Likewise.
42931         * math/s_csqrt.c: Likewise.
42932         * math/s_csqrtf.c: Likewise.
42933         * math/s_csqrtl.c: Likewise.
42934         * math/s_ctanf.c: Likewise.
42935         * math/s_ctanh.c: Likewise.
42936         * math/s_ctanhf.c: Likewise.
42937         * math/s_ctanhl.c: Likewise.
42938         * math/s_ctanl.c: Likewise.
42939
42940         * math/math_private.h: Define __nan, __nanf, __nanl.
42941         * math/s_cacosh.c: Include <math_private.h>.
42942         * math/s_cacoshl.c: Likewise.
42943         * math/s_casinh.c: Likewise.
42944         * math/s_casinhf.c: Likewise.
42945         * math/s_casinhl.c: Likewise.
42946         * math/s_ccos.c: Rely entire on ccosh.
42947         * math/s_ccosf.c: Rely entire on ccoshf.
42948         * math/s_ccosl.c: Rely entirely on ccoshl.
42949         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42950         Remove tests for FE_INVALID.
42951         * math/s_ccoshf.c: Likewise.
42952         * math/s_ccoshl.c: Likewise.
42953         * math/s_csin.c: Likewise.
42954         * math/s_csinf.c: Likewise.
42955         * math/s_csinh.c Likewise.
42956         * math/s_csinhf.c: Likewise.
42957         * math/s_csinhl.c: Likewise.
42958         * math/s_csinl.c: Likewise.
42959         * math/s_ctan.c: Likewise.
42960         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42961         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42962         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42963
42964 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42965
42966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42967         compilation problems.
42968
42969         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42970         __builtin_expect.
42971
42972 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42973
42974         * sysdeps/i386/configure.in: Test for -mfma4 option.
42975         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42976         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42977         COMMON_CPUID_INDEX_80000001.
42978         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42979         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42980         use it if FMA3 is not supported.
42981         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42982
42983         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42984         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42985
42986 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42987
42988         [BZ #12892]
42989         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42990         it would create a cycle with a link time dependency.
42991
42992 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42993
42994         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42995         instruction.
42996         * string/Makefile (strop-tests): Add rawmemchr.
42997         * string/test-rawmemchr.c: New file.
42998
42999         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43000         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
43001         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
43002         when compiling str{,n}casecmp and when AVX is available.  Hook up
43003         new optimized code in initializers.
43004
43005 2011-10-19  Andreas Schwab  <schwab@redhat.com>
43006
43007         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43008         __feraiseexcept instead of feraiseexcept.
43009
43010 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
43011
43012         * math/math_private.h: Define defaults for libc_fetestexcept and
43013         libc_feupdateenv.
43014         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43015         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43016         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43017         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43018         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43019         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43020         libc_fetestexcept and libc_feupdateenv.
43021
43022         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43023         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43024         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43025         * sysdeps/x86_64/fpu/math_private.h: Define special version of
43026         libc_feholdexcept_setround.
43027
43028         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43029         Add s_nearbyint-c and s_nearbyintf-c.
43030         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43031         nearbyintf inlines.
43032         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43033         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43034         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43035         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43036
43037         * math/math_private.h: Define defaults for libc_fegetround,
43038         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43039         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43040         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43041         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43042         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43043         standard functions.
43044         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43045         Remove comments and hacks for old compiler versions.
43046         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43047         libc_fegetround, libc_fesetround, libc_feholdexcept, and
43048         libc_feholdexceptl.
43049
43050 2011-10-18  Andreas Schwab  <schwab@redhat.com>
43051
43052         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43053         (__feraiseexcept_renamed): Add __NTH.
43054         (feraiseexcept): Add __NTH.  Rename local variables to fix
43055         namespace violations.
43056
43057 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
43058
43059         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43060
43061         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43062
43063         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43064         recently added interfaces.
43065         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43066
43067         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43068         about macro parameter expansion.
43069
43070         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43071         __NO_MATH_INLINES is defined.  Cleanups.
43072
43073         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43074         and __floorf is target has SSE4.1.
43075         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43076         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43077         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43078         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43079
43080         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43081         name.
43082         (floorf): Likewise.
43083
43084         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43085
43086 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43087
43088         * misc/sys/cdefs.h: Fix last change.
43089
43090         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43091         database lookup.
43092
43093 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43094
43095         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43096
43097         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43098         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43099         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43100         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43101         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43102         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43103         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43104         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43105         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43106         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43107         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43108         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43109         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43110         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43111         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43112         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43113         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43114         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43115         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43116         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43117         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43118         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43119
43120         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43121         ceil, ceilf, floor, floorf.
43122
43123         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43124         Perform IRELATIVE relocations last.
43125
43126         * elf/do-rel.h: Add another parameter nrelative, replacing the
43127         local variable with the same name.  Change name of the function
43128         to end in Rel or Rela (uppercase).
43129         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43130         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43131         elf_dynamic_do_##reloc function.
43132
43133 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43134
43135         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43136         is sufficient, at least on modern CPUs.
43137
43138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43139
43140         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43141         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43142
43143         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43144         __expl_finite.
43145         * math/bits/math-finite.h: Add entries for exp.
43146         * math/e_expl.c: Add __*_finite alias.
43147         * sysdeps/i386/fpu/e_exp.S: Likewise.
43148         * sysdeps/i386/fpu/e_expf.S: Likewise.
43149         * sysdeps/i386/fpu/e_expl.c: Likewise.
43150         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43151         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43152         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43154         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43155         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43156         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43157
43158         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43159         is sufficient, at least on modern CPUs.
43160
43161         * ctype/ctype-info.c (__ctype_init): Define.
43162         * include/ctype.h (__ctype_init): Declare.
43163         (__ctype_b_loc): The variable is always initialized.
43164         (__ctype_toupper_loc): Likewise.
43165         (__ctype_tolower_loc): Likewise.
43166         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43167         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43168
43169 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43170
43171         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43172
43173         * configure.in: Also look in $cxxmachine/include for C++ system
43174         headers.
43175
43176 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43177
43178         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43179         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43180         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43181         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43182         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43183         (USE_AS_WMEMCMP): New macro.
43184         Fixing indents.
43185         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43186         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43187         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43188         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43190         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43191         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43192         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43193         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43194         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43195         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43196         (USE_AS_WMEMCMP): New macro.
43197         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43198         * sysdeps/string/test-memcmp.c: Update.
43199         Fix simple_wmemcmp.
43200         Add new tests.
43201         * wcsmbs/wmemcmp.c: Update.
43202         (WMEMCMP): New macro.
43203         Fix overflow bug.
43204
43205 2011-10-12  Andreas Jaeger  <aj@suse.de>
43206
43207         [BZ #13268]
43208         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43209
43210 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43211
43212         * libio/iofwide.c (do_length): Avoid warning.
43213
43214         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43215
43216 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43217
43218         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43219
43220         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43221         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43222         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43223         * sysdeps/i386/i686/fpu/e_log.S: New file.
43224         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43225         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43226
43227         * ctype/ctype.h: Add support for inlined isXXX functions when
43228         compiling C++ code.
43229
43230 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43231
43232         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43233
43234         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43235
43236 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43237
43238         [BZ #13291]
43239         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43240
43241 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43242
43243         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43244         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43245         feraiseexcept.
43246
43247         * sysdeps/x86_64/memrchr.S: Check for zero size.
43248
43249         * string/stratcliff.c: Add memrchr tests.
43250
43251 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43252
43253         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43254         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43255         rawmemchr-sse2 rawmemchr-sse2-bsf.
43256         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43257         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43258         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43259         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43260         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43261         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43262         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43263         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43264         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43265         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43266         * string/memrchr.c (MEMRCHR): New macro.
43267
43268 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43269
43270         Add integration with gcc's -ffinite-math-only and optimize wrapper
43271         functions in libm.
43272         * Versions.def: Define GLIBC_2.15 version for libm.
43273         * math/Makefile (headers): Add bits/math-finite.h.
43274         * math/bits/math-finite.h: New file.
43275         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43276         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43277         * math/e_acoshl.c: Add __*_finite alias.
43278         * math/e_acosl.c: Likewise.
43279         * math/e_asinl.c: Likewise.
43280         * math/e_atan2l.c: Likewise.
43281         * math/e_atanhl.c: Likewise.
43282         * math/e_coshl.c: Likewise.
43283         * math/e_exp10.c: Likewise.
43284         * math/e_exp10f.c: Likewise.
43285         * math/e_exp10l.c: Likewise.
43286         * math/e_exp2l.c: Likewise.
43287         * math/e_fmodl.c: Likewise.
43288         * math/e_gammal_r.c: Likewise.
43289         * math/e_hypotl.c: Likewise.
43290         * math/e_j0l.c: Likewise.
43291         * math/e_j1l.c: Likewise.
43292         * math/e_jnl.c: Likewise.
43293         * math/e_lgammal_r.c: Likewise.
43294         * math/e_log10l.c: Likewise.
43295         * math/e_log2l.c: Likewise.
43296         * math/e_logl.c: Likewise.
43297         * math/e_powl.c: Likewise.
43298         * math/e_sinhl.c: Likewise.
43299         * math/e_sqrtl.c: Likewise.
43300         * math/e_scalb.c: Completely rewritten and optimized.
43301         * math/e_scalbf.c: Likewise.
43302         * math/e_scalbl.c: Likewise.
43303         * math/w_acos.c: Likewise.
43304         * math/w_acosf.c: Likewise.
43305         * math/w_acosl.c: Likewise.
43306         * math/w_acosh.c: Likewise.
43307         * math/w_acoshf.c: Likewise.
43308         * math/w_acoshl.c: Likewise.
43309         * math/w_asin.c: Likewise.
43310         * math/w_asinf.c: Likewise.
43311         * math/w_asinl.c: Likewise.
43312         * math/w_atan2.c: Likewise.
43313         * math/w_atan2f.c: Likewise.
43314         * math/w_atan2l.c: Likewise.
43315         * math/w_atanh.c: Likewise.
43316         * math/w_atanhf.c: Likewise.
43317         * math/w_atanhl.c: Likewise.
43318         * math/w_exp10.c: Likewise.
43319         * math/w_exp10f.c: Likewise.
43320         * math/w_exp10l.c: Likewise.
43321         * math/w_fmod.c: Likewise.
43322         * math/w_fmodf.c: Likewise.
43323         * math/w_fmodl.c: Likewise.
43324         * math/w_j0.c: Likewise.
43325         * math/w_j0f.c: Likewise.
43326         * math/w_j0l.c: Likewise.
43327         * math/w_j1.c: Likewise.
43328         * math/w_j1f.c: Likewise.
43329         * math/w_j1l.c: Likewise.
43330         * math/w_jn.c: Likewise.
43331         * math/w_jnf.c: Likewise.
43332         * math/w_log.c: Likewise.
43333         * math/w_logf.c: Likewise.
43334         * math/w_logl.c: Likewise.
43335         * math/w_log10.c: Likewise.
43336         * math/w_log10f.c: Likewise.
43337         * math/w_log10l.c: Likewise.
43338         * math/w_log2.c: Likewise.
43339         * math/w_log2f.c: Likewise.
43340         * math/w_log2l.c: Likewise.
43341         * math/w_pow.c: Likewise.
43342         * math/w_powf.c: Likewise.
43343         * math/w_powl.c: Likewise.
43344         * math/w_remainder.c: Likewise.
43345         * math/w_remainderf.c: Likewise.
43346         * math/w_remainderl.c: Likewise.
43347         * math/w_scalb.c: Likewise.
43348         * math/w_scalbf.c: Likewise.
43349         * math/w_scalbl.c: Likewise.
43350         * math/w_sqrt.c: Likewise.
43351         * math/w_sqrtf.c: Likewise.
43352         * math/w_sqrtl.c: Likewise.
43353         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43354         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43355         used.
43356         * math/math_private.h: Declare __kernel_standard_f.
43357         * math/w_cosh.c: Remove cruft and optimize a bit.
43358         * math/w_coshf.c: Likewise.
43359         * math/w_coshl.c: Likewise.
43360         * math/w_exp2.c: Likewise.
43361         * math/w_exp2f.c: Likewise.
43362         * math/w_exp2l.c: Likewise.
43363         * math/w_hypot.c: Likewise.
43364         * math/w_hypotf.c: Likewise.
43365         * math/w_hypotl.c: Likewise.
43366         * math/w_lgamma.c: Likewise.
43367         * math/w_lgamma_r.c: Likewise.
43368         * math/w_lgammaf.c: Likewise.
43369         * math/w_lgammaf_r.c: Likewise.
43370         * math/w_lgammal.c: Likewise.
43371         * math/w_lgammal_r.c: Likewise.
43372         * math/w_sinh.c: Likewise.
43373         * math/w_sinhf.c: Likewise.
43374         * math/w_sinhl.c: Likewise.
43375         * math/w_tgamma.c: Likewise.
43376         * math/w_tgammaf.c: Likewise.
43377         * math/w_tgammal.c: Likewise.
43378         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43379         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43380         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43381         Minor optimizations.  Pretty printing.  Remove cruft.
43382         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43383         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43384         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43385         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43386         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43387         * sysdeps/i386/fpu/e_asin.S: Likewise.
43388         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43389         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43390         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43391         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43392         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43393         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43394         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43395         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43396         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43397         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43398         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43399         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43400         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43401         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43402         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43403         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43404         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43405         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43406         * sysdeps/i386/fpu/e_log.S: Likewise.
43407         * sysdeps/i386/fpu/e_log10.S: Likewise.
43408         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43409         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43410         * sysdeps/i386/fpu/e_log2.S: Likewise.
43411         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43412         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43413         * sysdeps/i386/fpu/e_logf.S: Likewise.
43414         * sysdeps/i386/fpu/e_logl.S: Likewise.
43415         * sysdeps/i386/fpu/e_pow.S: Likewise.
43416         * sysdeps/i386/fpu/e_powf.S: Likewise.
43417         * sysdeps/i386/fpu/e_powl.S: Likewise.
43418         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43419         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43420         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43421         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43422         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43423         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43424         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43425         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43426         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43427         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43428         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43429         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43430         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43431         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43432         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43433         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43434         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43435         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43436         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43437         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43438         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43440         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43441         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43442         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43443         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43444         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43445         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43446         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43447         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43448         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43449         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43450         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43451         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43452         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43453         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43454         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43455         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43456         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43457         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43458         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43459         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43460         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43461         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43462         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43463         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43464         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43465         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43466         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43467         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43468         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43469         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43470         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43471         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43472         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43473         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43474         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43475         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43476         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43477         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43478         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43479         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43480         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43481         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43482         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43483         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43484         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43485         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43486         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43487         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43488         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43489         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43490         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43491         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43492         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43493         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43494         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43495         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43496         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43497         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43498         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43499         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43501         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43502         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43503         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43504         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43505         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43506         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43507         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43508         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43509         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43510         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43511         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43512         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43513         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43514         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43515         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43516         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43517         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43518         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43519         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43520         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43521         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43522         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43523         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43524         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43525         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43526         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43527         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43528         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43529         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43530         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43531         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43532         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43533         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43534         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43535         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43536         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43537         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43538         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43539         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43540         (__isnanf): Likewise.
43541         (__isinf_ns): Likewise.
43542         (__isinf_nsf): Likewise.
43543         (__finite): Likewise.
43544         (__finitef): Likewise.
43545         (__ieee754_sqrt): Define as macro.
43546         (__ieee754_sqrtf): Define as macro.
43547         (__ieee754_sqrtl): Define as macro.
43548         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43549         inlined copy.
43550         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43551         __FINITE_MATH_ONLY__ consistent.
43552         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43553
43554 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43555
43556         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43557         of rawmemchr.
43558
43559         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43560
43561 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43562
43563         * po/ja.po: Update from translation team.
43564
43565 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43566
43567         * locale/programs/locarchive.c (prepare_address_space): New function.
43568         (create_archive, enlarge_archive, open_archive): Use it.
43569
43570         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43571         inside [SHARED], where it is used.
43572
43573         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43574
43575         * nss/getent.c (netgroup_keys): Remove unused variable.
43576         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43577
43578 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43579
43580         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43581         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43582         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43583         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43584         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43585         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43586         * math/Makefile (libm-calls): Add s_isinf_ns.
43587         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43588         * math/multc3.c: Likewise.
43589         * math/s_casin.c: Likewise.
43590         * math/s_casinf.c: Likewise.
43591         * math/s_casinl.c: Likewise.
43592         * math/s_ccos.c: Likewise.
43593         * math/s_ccosf.c: Likewise.
43594         * math/s_ccosl.c: Likewise.
43595         * math/s_ctan.c: Likewise.
43596         * math/s_ctanf.c: Likewise.
43597         * math/s_ctanh.c: Likewise.
43598         * math/s_ctanhf.c: Likewise.
43599         * math/s_ctanhl.c: Likewise.
43600         * math/s_ctanl.c: Likewise.
43601         * math/w_fmod.c: Likewise.
43602         * math/w_fmodf.c: Likewise.
43603         * math/w_fmodl.c: Likewise.
43604         * math/w_remainder.c: Likewise.
43605         * math/w_remainderf.c: Likewise.
43606         * math/w_remainderl.c: Likewise.
43607         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43608         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43609         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43611         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43612         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43613         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43614         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43615
43616         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43617         of the number.
43618         * stdio-common/printf_fphex.c: Likewise.
43619         * stdio-common/printf_size.c: Likewise.
43620
43621         * math/e_exp10.c: Include math_private.h using <...> not "...".
43622         * math/e_exp10f.c: Likewise.
43623         * math/e_exp10l.c: Likewise.
43624         * math/e_exp2l.c: Likewise.
43625         * math/e_j0l.c: Likewise.
43626         * math/e_j1l.c: Likewise.
43627         * math/e_jnl.c: Likewise.
43628         * math/e_lgammal_r.c: Likewise.
43629         * math/e_rem_pio2l.c: Likewise.
43630         * math/e_scalb.c: Likewise.
43631         * math/e_scalbf.c: Likewise.
43632         * math/e_scalbl.c: Likewise.
43633         * math/k_cosl.c: Likewise.
43634         * math/k_sinl.c: Likewise.
43635         * math/k_tanl.c: Likewise.
43636         * math/s_cacoshf.c: Likewise.
43637         * math/s_catan.c: Likewise.
43638         * math/s_catanf.c: Likewise.
43639         * math/s_catanh.c: Likewise.
43640         * math/s_catanhf.c: Likewise.
43641         * math/s_catanhl.c: Likewise.
43642         * math/s_catanl.c: Likewise.
43643         * math/s_ccosh.c: Likewise.
43644         * math/s_ccoshf.c: Likewise.
43645         * math/s_ccoshl.c: Likewise.
43646         * math/s_cexp.c: Likewise.
43647         * math/s_cexpf.c: Likewise.
43648         * math/s_cexpl.c: Likewise.
43649         * math/s_clog.c: Likewise.
43650         * math/s_clog10.c: Likewise.
43651         * math/s_clog10f.c: Likewise.
43652         * math/s_clog10l.c: Likewise.
43653         * math/s_clogf.c: Likewise.
43654         * math/s_clogl.c: Likewise.
43655         * math/s_csin.c: Likewise.
43656         * math/s_csinf.c: Likewise.
43657         * math/s_csinh.c: Likewise.
43658         * math/s_csinhf.c: Likewise.
43659         * math/s_csinhl.c: Likewise.
43660         * math/s_csinl.c: Likewise.
43661         * math/s_csqrt.c: Likewise.
43662         * math/s_csqrtf.c: Likewise.
43663         * math/s_csqrtl.c: Likewise.
43664         * math/s_ctan.c: Likewise.
43665         * math/s_ctanf.c: Likewise.
43666         * math/s_ctanh.c: Likewise.
43667         * math/s_ctanhf.c: Likewise.
43668         * math/s_ctanhl.c: Likewise.
43669         * math/s_ctanl.c: Likewise.
43670         * math/s_ldexp.c: Likewise.
43671         * math/s_ldexpf.c: Likewise.
43672         * math/s_ldexpl.c: Likewise.
43673         * math/s_significand.c: Likewise.
43674         * math/s_significandf.c: Likewise.
43675         * math/s_significandl.c: Likewise.
43676         * math/w_acos.c: Likewise.
43677         * math/w_acosf.c: Likewise.
43678         * math/w_acosh.c: Likewise.
43679         * math/w_acoshf.c: Likewise.
43680         * math/w_acoshl.c: Likewise.
43681         * math/w_acosl.c: Likewise.
43682         * math/w_asin.c: Likewise.
43683         * math/w_asinf.c: Likewise.
43684         * math/w_asinl.c: Likewise.
43685         * math/w_atan2.c: Likewise.
43686         * math/w_atan2f.c: Likewise.
43687         * math/w_atan2l.c: Likewise.
43688         * math/w_atanh.c: Likewise.
43689         * math/w_atanhf.c: Likewise.
43690         * math/w_atanhl.c: Likewise.
43691         * math/w_cosh.c: Likewise.
43692         * math/w_coshf.c: Likewise.
43693         * math/w_coshl.c: Likewise.
43694         * math/w_dremf.c: Likewise.
43695         * math/w_exp10.c: Likewise.
43696         * math/w_exp10f.c: Likewise.
43697         * math/w_exp10l.c: Likewise.
43698         * math/w_exp2.c: Likewise.
43699         * math/w_exp2f.c: Likewise.
43700         * math/w_fmod.c: Likewise.
43701         * math/w_fmodf.c: Likewise.
43702         * math/w_fmodl.c: Likewise.
43703         * math/w_hypot.c: Likewise.
43704         * math/w_hypotf.c: Likewise.
43705         * math/w_hypotl.c: Likewise.
43706         * math/w_j0.c: Likewise.
43707         * math/w_j0f.c: Likewise.
43708         * math/w_j0l.c: Likewise.
43709         * math/w_j1.c: Likewise.
43710         * math/w_j1f.c: Likewise.
43711         * math/w_j1l.c: Likewise.
43712         * math/w_jn.c: Likewise.
43713         * math/w_jnf.c: Likewise.
43714         * math/w_jnl.c: Likewise.
43715         * math/w_lgamma.c: Likewise.
43716         * math/w_lgamma_r.c: Likewise.
43717         * math/w_lgammaf.c: Likewise.
43718         * math/w_lgammaf_r.c: Likewise.
43719         * math/w_lgammal.c: Likewise.
43720         * math/w_lgammal_r.c: Likewise.
43721         * math/w_log.c: Likewise.
43722         * math/w_log10.c: Likewise.
43723         * math/w_log10f.c: Likewise.
43724         * math/w_log10l.c: Likewise.
43725         * math/w_log2.c: Likewise.
43726         * math/w_log2f.c: Likewise.
43727         * math/w_log2l.c: Likewise.
43728         * math/w_logf.c: Likewise.
43729         * math/w_logl.c: Likewise.
43730         * math/w_pow.c: Likewise.
43731         * math/w_powf.c: Likewise.
43732         * math/w_powl.c: Likewise.
43733         * math/w_remainder.c: Likewise.
43734         * math/w_remainderf.c: Likewise.
43735         * math/w_remainderl.c: Likewise.
43736         * math/w_scalb.c: Likewise.
43737         * math/w_scalbf.c: Likewise.
43738         * math/w_scalbl.c: Likewise.
43739         * math/w_sinh.c: Likewise.
43740         * math/w_sinhf.c: Likewise.
43741         * math/w_sinhl.c: Likewise.
43742         * math/w_sqrt.c: Likewise.
43743         * math/w_sqrtf.c: Likewise.
43744         * math/w_sqrtl.c: Likewise.
43745         * math/w_tgamma.c: Likewise.
43746         * math/w_tgammaf.c: Likewise.
43747         * math/w_tgammal.c: Likewise.
43748
43749         * po/ja.po: Update from translation team.
43750
43751 2011-09-29  Andreas Jaeger  <aj@suse.de>
43752
43753         [BZ #13179]
43754         * sunrpc/netname.c (netname2host): Fix logic.
43755
43756         [BZ #6779]
43757         [BZ #6783]
43758         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43759         correctly.
43760         * math/w_remainder.c (__remainder): Likewise.
43761         * math/w_remainderf.c (__remainderf): Likewise.
43762         * math/libm-test.inc (remainder_test): Add test cases.
43763
43764 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43765
43766         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43767         sdiv_qrnnd.
43768
43769 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43770
43771         * string/test-memcmp.c: Avoid unncessary #defines.
43772         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43773
43774 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43775
43776         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43777         Use new sse2 version for core i3 - i7 as it's faster
43778         than sse42 version.
43779         (bit_Prefer_PMINUB_for_stringop): New.
43780         * sysdeps/x86_64/rawmemchr.S: Update.
43781         Replace with faster SSE2 version.
43782         * sysdeps/x86_64/memrchr.S: New file.
43783         * sysdeps/x86_64/memchr.S: Update.
43784         Replace with faster SSE2 version.
43785
43786 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43787
43788         * elf/dl-load.c (lose): Add cast to avoid warning.
43789
43790 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43791
43792         * po/ca.po: Update from translation team.
43793
43794         * inet/getnetgrent_r.c: Hook up nscd.
43795         * nscd/Makefile (routines): Add nscd_netgroup.
43796         (nscd-modules): Add netgroupcache.
43797         (CFLAGS-netgroupcache.c): Define.
43798         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43799         (cache_search): Add const to second parameter.
43800         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43801         INNETGR.
43802         (dbs): Add netgrdb entry.
43803         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43804         (verify_persistent_db): Handle netgrdb.
43805         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43806         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43807         GETFDNETGR.
43808         (netgroup_response_header): Define.
43809         (innetgroup_response_header): Define.
43810         (datahead): Add netgroup_response_header and innetgroup_response_header
43811         elements.
43812         * nscd/nscd.conf: Add entries for netgroup cache.
43813         * nscd/nscd.h (dbtype): Add netgrdb.
43814         (_PATH_NSCD_NETGROUP_DB): Define.
43815         (netgroup_iov_disabled): Declare.
43816         (xmalloc, xcalloc, xrealloc): Move declarations here.
43817         (cache_search): Adjust prototype.
43818         Add netgroup-related prototypes.
43819         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43820         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43821         (__nscd_innetgr): Declare.
43822         * nscd/selinux.c (perms): Use access_vector_t as element type and
43823         add netgroup-related initializers.
43824         * nscd/netgroupcache.c: New file.
43825         * nscd/nscd_netgroup.c: New file.
43826         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43827         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43828         For four parameters use innetgr.
43829         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43830         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43831         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43832         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43833
43834         * nscd/connections.c (register_traced_file): Don't register file
43835         for disabled databases.
43836
43837 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43838
43839         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43840
43841         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43842         from tree and freeing node.
43843
43844 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43845
43846         * nss/nsswitch.c (__nss_database_lookup): Handle
43847         nss_parse_service_list out of memory case.
43848
43849 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43850
43851         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43852         out of memory case.
43853
43854 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43855
43856         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43857         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43858         pass it down.
43859         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43860         elf_machine_rela, elf_machine_lazy_rel.
43861         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43862         (ELF_DYNAMIC_DO_REL): Likewise.
43863         (ELF_DYNAMIC_DO_RELA): Likewise.
43864         (ELF_DYNAMIC_RELOCATE): Likewise.
43865         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43866         to ELF_DYNAMIC_DO_REL.
43867         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43868         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43869         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43870         elf_machine_rela.
43871         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43872         skip_ifunc, don't call ifunc function if non-zero.
43873         (elf_machine_rela): Likewise.
43874         (elf_machine_lazy_rel): Likewise.
43875         (elf_machine_lazy_rela): Likewise.
43876         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43877         (elf_machine_lazy_rel): Likewise.
43878         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43879         Likewise.
43880         (elf_machine_lazy_rel): Likewise.
43881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43882         Likewise.
43883         (elf_machine_lazy_rel): Likewise.
43884         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43885         (elf_machine_lazy_rel): Likewise.
43886         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43887         (elf_machine_lazy_rel): Likewise.
43888         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43889         (elf_machine_lazy_rel): Likewise.
43890         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43891         (elf_machine_lazy_rel): Likewise.
43892         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43893         (elf_machine_lazy_rel): Likewise.
43894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43895         (elf_machine_lazy_rel): Likewise.
43896
43897 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43898
43899         * nss/nss_files/files-init.c (_nss_files_init): Use static
43900         initialization for all the *_traced_file variables.
43901
43902 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43903
43904         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43905
43906 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43907
43908         [BZ #13226]
43909         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43910
43911 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43912
43913         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43914         Reread the line before reparsing it.
43915
43916 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43917
43918         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43919
43920 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43921             Maxim Kuvyrkov  <maxim@codesourcery.com>
43922             Joseph Myers  <joseph@codesourcery.com>
43923
43924         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43925         if needed for __stack_chk_guard.
43926
43927 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43928
43929         * sysdeps/posix/spawni.c (script_execute): Always define it.
43930         It will be optimized away if unused.
43931         (maybe_script_execute): New function.
43932         (__spawni): Call it.
43933
43934         * Makerules: Don't include tls.make.
43935         (config-tls): Always set to thread.
43936         * tls.make.c: File removed.
43937
43938 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43939
43940         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43941         * config.make.in (CPPFLAGS-config): New substituted variable.
43942
43943 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43944
43945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43946
43947         [BZ #13192]
43948         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43949         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43950
43951 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43952
43953         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43954         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43955         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43956         (CALL_FAIL): Likewise.
43957         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43958         (CALL_FAIL): Macro removed.
43959         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43960
43961 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43962
43963         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43964         for __FINITE_MATH_ONLY__ == 1.
43965
43966 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43967
43968         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43969         __ieee754_sqrt instead of sqrt.
43970         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43971         __ieee754_sqrtf instead of sqrtf.
43972         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43973         __floorf instead of floorf.
43974         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43975         __floorf, __truncf instead of floorf, truncf.
43976
43977 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43978
43979         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43980
43981         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43982         __extern_always_inline.
43983         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43984         32-bit.
43985
43986 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43987
43988         * elf/rtld.c (dl_main): Also relocate in dependency order when
43989         doing symbol dependency testing.
43990
43991 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43992
43993         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43994         Always define `refsym'.
43995
43996 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43997
43998         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43999         (__FD_ELT): Renamed from __FDELT.
44000         * misc/bits/select2.h (__FD_ELT): Likewise.
44001         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44002         __FD_MASK instead of __FDELT, __FDMASK.
44003         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44004         Likewise.
44005         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44006         Likewise.
44007
44008         * elf/Makefile (gen-ldd): Fix pattern.
44009
44010         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44011         (init_tls): Likewise.
44012
44013 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
44014
44015         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44016
44017 2011-09-12  Andreas Schwab  <schwab@redhat.com>
44018
44019         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44020         `struct cmsghdr *' instead of `void *'.
44021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44022         Likewise.
44023
44024 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
44025
44026         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44027         if non-absolute.
44028         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44029         ldd_rewrite_script.
44030
44031 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
44032
44033         * configure.in: Remove --with-tls option.
44034         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44035         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44036         out in case it is missing.
44037         * sysdeps/ia64/elf/configure.in: Likewise.
44038         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44039         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44040         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44041         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44042         * sysdeps/sh/elf/configure.in: Likewise.
44043         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44044         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44045         * sysdeps/x86_64/elf/configure.in: Likewise.
44046         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44047         * sysdeps/mach/hurd/tls.h: Likewise.
44048
44049         [BZ #13067]
44050         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44051
44052         [BZ #13090]
44053         * configure.in: Fix use of AC_INIT.
44054
44055         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44056
44057 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
44058
44059         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44060         __set_errno.
44061         * malloc/hooks.c: Likewise.
44062
44063         [BZ #11929]
44064         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
44065         variables statically.
44066         (narenas): Initialize.
44067         (list_lock): Initialize.
44068         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
44069         initializtion of main_arena and list_lock.  Small cleanups.
44070         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44071         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44072         Add initializers to main_arena and mp_.
44073         (malloc_state): Remove pagesize member.  Change all users to use
44074         GLRO(dl_pagesize).
44075
44076         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44077         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44078         is always initialized.
44079
44080         * malloc/malloc.c: Removed unused configurations and dead code.
44081         * malloc/arena.c: Likewise.
44082         * malloc/hooks.c: Likewise.
44083         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44084
44085         * include/tls.h: Removed.  USE___THREAD must always be defined.
44086         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44087         * elf/dl-libc.c: Likewise.
44088         * elf/dl-tsd.c: Likewise.
44089         * include/errno.h: Likewise.
44090         * include/netdb.h: Likewise.
44091         * include/resolv.h: Likewise.
44092         * inet/herrno-loc.c: Likewise.
44093         * inet/herrno.c: Likewise.
44094         * malloc/arena.c: Likewise.
44095         * malloc/hooks.c: Likewise.
44096         * malloc/malloc.c: Likewise.
44097         * resolv/res-state.c: Likewise.
44098         * resolv/res_libc.c: Likewise.
44099         * sysdeps/i386/dl-machine.h: Likewise.
44100         * sysdeps/ia64/dl-machine.h: Likewise.
44101         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44102         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44103         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44104         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44105         * sysdeps/sh/dl-machine.h: Likewise.
44106         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44107         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44108         * sysdeps/unix/i386/sysdep.S: Likewise.
44109         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44110         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44114         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44115         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44119         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44120         * sysdeps/x86_64/dl-machine.h: Likewise.
44121         * tls.make.c: Likewise.
44122
44123         * configure.in: Remove --with-__thread option.  Make tests for
44124         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44125         tls_model attribute fail if no support is available.  Remove
44126         USE_IN_LIBIO.
44127         * Makeconfig: Adjust for dropped configure option.  All features are
44128         now mandatory.
44129         * Makerules: Likewise.
44130         * Versions.def: Likewise.
44131         * argp/argp-fmtstream.c: Likewise.
44132         * argp/argp-fmtstream.h: Likewise.
44133         * argp/argp-help.c: Likewise.
44134         * assert/assert.c: Likewise.
44135         * config.h.in: Likewise.
44136         * config.make.in: Likewise.
44137         * configure: Likewise.
44138         * configure.in: Likewise.
44139         * csu/Versions: Likewise.
44140         * csu/init.c: Likewise.
44141         * elf/tst-audit2.c: Likewise.
44142         * elf/tst-tls10.c: Likewise.
44143         * elf/tst-tls10.h: Likewise.
44144         * elf/tst-tls11.c: Likewise.
44145         * elf/tst-tls12.c: Likewise.
44146         * elf/tst-tls14.c: Likewise.
44147         * elf/tst-tlsmod11.c: Likewise.
44148         * elf/tst-tlsmod12.c: Likewise.
44149         * elf/tst-tlsmod13.c: Likewise.
44150         * elf/tst-tlsmod13a.c: Likewise.
44151         * elf/tst-tlsmod14a.c: Likewise.
44152         * elf/tst-tlsmod15b.c: Likewise.
44153         * elf/tst-tlsmod16a.c: Likewise.
44154         * elf/tst-tlsmod16b.c: Likewise.
44155         * elf/tst-tlsmod7.c: Likewise.
44156         * elf/tst-tlsmod8.c: Likewise.
44157         * elf/tst-tlsmod9.c: Likewise.
44158         * gmon/gmon.c: Likewise.
44159         * grp/fgetgrent_r.c: Likewise.
44160         * grp/putgrent.c: Likewise.
44161         * hurd/fopenport.c: Likewise.
44162         * include/libc-symbols.h: Likewise.
44163         * include/tls.h: Likewise.
44164         * intl/gettextP.h: Likewise.
44165         * intl/loadinfo.h: Likewise.
44166         * locale/global-locale.c: Likewise.
44167         * locale/localeinfo.h: Likewise.
44168         * mach/devstream.c: Likewise.
44169         * malloc/arena.c: Likewise.
44170         * malloc/set-freeres.c: Likewise.
44171         * misc/err.c: Likewise.
44172         * misc/getttyent.c: Likewise.
44173         * misc/mntent_r.c: Likewise.
44174         * posix/getopt.c: Likewise.
44175         * posix/wordexp.c: Likewise.
44176         * pwd/fgetpwent_r.c: Likewise.
44177         * resolv/Versions: Likewise.
44178         * resolv/res_hconf.c: Likewise.
44179         * shadow/fgetspent_r.c: Likewise.
44180         * shadow/putspent.c: Likewise.
44181         * stdio-common/printf_fphex.c: Likewise.
44182         * stdio-common/tmpfile.c: Likewise.
44183         * stdlib/abort.c: Likewise.
44184         * stdlib/fmtmsg.c: Likewise.
44185         * sunrpc/auth_unix.c: Likewise.
44186         * sunrpc/clnt_perr.c: Likewise.
44187         * sunrpc/clnt_tcp.c: Likewise.
44188         * sunrpc/clnt_udp.c: Likewise.
44189         * sunrpc/clnt_unix.c: Likewise.
44190         * sunrpc/openchild.c: Likewise.
44191         * sunrpc/svc_simple.c: Likewise.
44192         * sunrpc/svc_tcp.c: Likewise.
44193         * sunrpc/svc_udp.c: Likewise.
44194         * sunrpc/svc_unix.c: Likewise.
44195         * sunrpc/xdr.c: Likewise.
44196         * sunrpc/xdr_array.c: Likewise.
44197         * sunrpc/xdr_rec.c: Likewise.
44198         * sunrpc/xdr_ref.c: Likewise.
44199         * sunrpc/xdr_stdio.c: Likewise.
44200
44201 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44202
44203         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44204
44205 2011-07-03  Andreas Jaeger  <aj@suse.de>
44206
44207         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44208         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44209         regenerate with gen-libm-tests.pl.
44210
44211 2010-05-12  Petr Baudis  <pasky@suse.cz>
44212
44213         [BZ #11589]
44214         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44215         around j0() zero points by switching to j1().
44216         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44217         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44219         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44220
44221 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44222
44223         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44224         instead of 0.
44225         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44226         instead of 0.
44227         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44228         Patch in part by Pavel Roskin <proski@gnu.org>.
44229
44230         [BZ #13138]
44231         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44232         realloc.
44233         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44234         Free memory block if necessary.
44235
44236         [BZ #12847]
44237         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44238         be NULL.  Don't lock in this case.
44239
44240 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44241
44242         * elf/elf.h (ELFOSABI_GNU): New macro.
44243         (ELFOSABI_LINUX): Define to that.
44244
44245 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44246
44247         * string/strncat.c (strncat): Undef the symbol in case it has been
44248         defined in bits/string.h.
44249
44250 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44251
44252         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44253
44254         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44255         link map.
44256
44257 2011-08-17  Andreas Jaeger  <aj@suse.de>
44258
44259         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44260
44261 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44262             Ian Lance Taylor  <iant@google.com>
44263
44264         * math/libm-test.inc (lround_test): New testcase.
44265         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44266
44267 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44268
44269         * Makefile: Remove support for automatic cvs check-ins.
44270         * Makerules: Likewise.
44271         * config.make.in: Likewise.
44272         * configure.in: Likewise.
44273         * intl/Makefile: Likewise.
44274         * locale/Makefile: Likewise.
44275         * po/Makefile: Likewise.
44276         * posix/Makefile: Likewise.
44277         * sysdeps/gnu/Makefile: Likewise.
44278         * sysdeps/mach/hurd/Makefile: Likewise.
44279         * sysdeps/sparc/sparc32/Makefile: Likewise.
44280
44281         [BZ #13118]
44282         * posix/Makefile (bug-regex32-ENV): Define.
44283         Patch by John Stanley <jpsinthemix@verizon.net>.
44284
44285         * misc/Makefile (headers): Add bits/select2.h.
44286         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44287         * misc/bits/select2.h: New file.
44288         * include/bits/select2.h: New file.
44289         * debug/Makefile (routines): Add fdelt_chk.
44290         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44291         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44292         FD_ISSET.
44293         * debug/fdelt_chk.c: New file.
44294
44295         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44296         * wcsmbs/test-wmemcmp.c: Likewise.
44297         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44298         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44299
44300 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44301
44302         * string/Makefile (strop-tests): Add memcmp.
44303         * string/test-wmemcmp.c: New file.
44304         * string/test-memcmp.c: Add wmemcmp support.
44305
44306 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44307
44308         [BZ #13153]
44309         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44310         2011-07-19 change.
44311
44312         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44313         garbage value in a __mach_port_mod_refs call in the cases of the
44314         task-self and thread-self ports.
44315
44316 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44317
44318         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44319
44320 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44321
44322         * elf/dl-load.c (lose): Check for non-null L.
44323
44324 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44325
44326         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44327
44328         * elf/dl-libc.c (dlerror_run): Pass back error code from
44329         dl_catch_error.
44330
44331         [BZ #13123]
44332         * elf/dl-load.c (lose): Free l_origin if it is valid.
44333
44334         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44335         names.
44336         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44337         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44338         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44339         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44340         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44341         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44342
44343 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44344
44345         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44346         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44347         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44348         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44349         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44350         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44351         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44352         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44353         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44354         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44355
44356 2011-08-15  Alan Modra  <amodra@gmail.com>
44357
44358         [BZ #13092]
44359         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44360         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44361         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44362         ppc_mcount to static-only-routines.
44363         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44364         __mcount_internal.
44365         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44366         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44367
44368 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44369
44370         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44371         for finite and infinity parameters.
44372
44373 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44374
44375         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44376         and add nop instructions for throughput optimization.
44377         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44378
44379 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44380
44381         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44382         aligned copy for power7 with vector-scalar instructions.
44383         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44384
44385 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44386
44387         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44388         AVX check.
44389
44390 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44391
44392         [BZ #13144]
44393         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44394         last change.
44395
44396 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44397
44398         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44399         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44400         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44402         clock_gettime.
44403
44404 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44405
44406         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44407         Forgot to demangle the pointer.
44408
44409         * sysdeps/i386/sysdep.h: Define atom_text_section.
44410         * sysdeps/x86_64/sysdep.h: Likewise.
44411         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44412         section with atom_text_section.
44413         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44414         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44415         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44416         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44417         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44418
44419         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44420         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44421         already be defined.  Change to take two parameters and don't assign
44422         result to variable.  Adjust all users.
44423         Define INTERNAL_GETTIME if not already defined.
44424         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44425         call.
44426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44427         HAVE_CLOCK_GETTIME_VSYSCALL.
44428         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44429
44430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44431         gettimeofday vsyscall, just use time.
44432
44433 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44434
44435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44436         <errno.h>.
44437
44438 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44439
44440         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44441         syscall on x86-64.
44442         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44443         syscall.
44444         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44445         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44446         syscall if possible.
44447
44448 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44449
44450         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44451         e_ident.  Don't pass to find_mapsXX.
44452         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44453
44454 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44455
44456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44457         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44458         * sysdeps/x86_64/multiarch/strchr.S: Update.
44459         Check bit_slow_BSF bit.
44460         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44461         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44462         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44463
44464 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44465
44466         [BZ #13134]
44467         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44468         before glibc 2.15.
44469         (tryshell): Define.
44470         (__spawni): Change last parameter to be flag.  Test
44471         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44472         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44473         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44474         * posix/spawni.c: Likewise.
44475         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44476         * posix/spawnp.c: Likewise.  Change normal version to use
44477         SPAWN_XFLAGS_USE_PATH.
44478         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44479         SPAWN_XFLAGS_TRY_SHELL.
44480
44481         [BZ #13150]
44482         * posix/glob.h: Remove gcc 1.x support.
44483
44484         [BZ #13068]
44485         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44486
44487 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44488
44489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44490         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44491         strrchr-sse2-bsf
44492         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44493         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44494         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44495         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44496         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44497         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44498
44499 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44500
44501         * sysdeps/x86_64/wcscmp.S: New file.
44502
44503         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44504         wcscmp-c wcscmp-sse2
44505         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44506         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44507         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44508         * wcsmbs/wcscmp.c: Allow renaming.
44509
44510 2011-09-05  David S. Miller  <davem@davemloft.net>
44511
44512         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44513         stack slot, rather than the struct return pointer slot.
44514         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44515         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44517         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44518
44519 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44520
44521         * po/ja.po: Update from translation team.
44522
44523         [BZ #13144]
44524         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44525         kernel in 64-bit binaries.
44526
44527 2011-09-01  David S. Miller  <davem@davemloft.net>
44528
44529         * elf/elf.h (HWCAP_SPARC_*): Move to..
44530         * sysdeps/sparc/sysdep.h: this new file and add new values.
44531         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44532         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44533         _DL_HWCAP_COUNT to 24.
44534         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44535         entries.
44536         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44537         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44538         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44540         instead of magic constants.
44541         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44542
44543 2011-08-31  David S. Miller  <davem@davemloft.net>
44544
44545         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44547         Reimplement to do errno handling inline.
44548         (SYSCALL_ERROR_HANDLER): New macro.
44549         (__SYSCALL_STRING): Do not do errno handling in asm.
44550         (__CLONE_SYSCALL_STRING): Delete.
44551         (__INTERNAL_SYSCALL_STRING): Delete.
44552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44553         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44554         (PSEUDO): Reimplement to do errno handling inline.
44555         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44556         (SYSCALL_ERROR_HANDLER): New macro.
44557         (__SYSCALL_STRING): Do not do errno handling in asm.
44558         (__CLONE_SYSCALL_STRING): Delete.
44559         (__INTERNAL_SYSCALL_STRING): Delete.
44560         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44561         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44562         i386.
44563         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44564         (inline_syscall*): Add 'err' argument.
44565         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44566         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44567         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44568         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44569
44570         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44571         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44572
44573 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44574
44575         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44576
44577 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44578
44579         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44580         directive.
44581
44582 2011-08-24  David S. Miller  <davem@davemloft.net>
44583
44584         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44585
44586 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44587
44588         * elf/Makefile: Add rules to build and run unload8 test.
44589         * elf/unload8.c: New file.
44590         * elf/unload8mod1.c: New file.
44591         * elf/unload8mod1x.c: New file.
44592         * elf/unload8mod2.c: New file.
44593         * elf/unload8mod3.c: New file.
44594
44595         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44596         it wasn't used.
44597
44598 2011-08-23  David S. Miller  <davem@davemloft.net>
44599
44600         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44601         subtract stack bias.
44602         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44603         %sp not %fp in calculations.
44604         (_JMPBUF_UNWINDS_ADJ): Likewise.
44605
44606         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44607         (aio_suspend): Call it to force an exception region around the
44608         AIO_MISC_WAIT() invocation.
44609
44610 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44611
44612         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44613         backslash.
44614
44615 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44616
44617         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44618         protection macro.
44619         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44620         and <dl-machine.h>.
44621         (Elf64_FuncDesc): Remove.
44622
44623 2011-08-22  David S. Miller  <davem@davemloft.net>
44624
44625         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44626         sigaltstack check, add missing cfi directives.
44627         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44628         missing cfi directives, and sigaltstack handling.
44629
44630 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44631
44632         [BZ #11724]
44633         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44634         object is seen twice.
44635         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44636
44637         * elf/Makefile (distribute): Add tst-initorder2.c.
44638         (tests): Add tst-initorder2.
44639         (modules-names): Add tst-initorder2a tst-initorder2b
44640         tst-initorder2c tst-initorder2d.  Add rules to build them.
44641         ($(objpfx)tst-initorder2.out): New rule.
44642         * elf/tst-initorder2.c: New file.
44643         * elf/tst-initorder2.exp: New file.
44644
44645 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44646
44647         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44648
44649         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44650         dependencies back to end of function.
44651
44652         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44653         $(elfobjdir)/ld.so.
44654
44655 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44656
44657         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44658         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44660         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44661         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44662         of __vdso_gettimeofday.
44663         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44664         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44665         attribute_hidden.
44666         (_libc_vdso_platform_setup): Remove initialization of
44667         __vdso_gettimeofday and __vdso_time.
44668
44669 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44670
44671         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44672         and fgetc_unlocked.
44673         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44674         getc_unlocked.
44675
44676         * elf/dl-open.c (add_to_global): Report additions to the global scope
44677         for LD_DEBUG=scopes.
44678         (dl_open_worker): Also print scope of newly loaded dependencies.
44679         (_dl_show_scope): Indicate if there is no scope.
44680
44681         [BZ #13114]
44682         * stdio-common/Makefile (tests): Add bug24.
44683         * stdio-common/bug24.c: New file.
44684
44685 2011-08-19  Andreas Jaeger  <aj@suse.de>
44686
44687         [BZ #13114]
44688         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44689         non-existant file when using close-on-exec mode.
44690
44691 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44692
44693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44694         the very first instruction.
44695
44696         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44697         the CFI state in the end.
44698         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44699         inclusion of dl-trampoline.h.
44700         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44701
44702 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44703
44704         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44705         expectations for long double.
44706
44707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44708         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44709
44710 2011-08-14  David S. Miller  <davem@davemloft.net>
44711
44712         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44713         artificual limit depends upon the system page size.
44714
44715 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44716
44717         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44718         * resolv/Makefile: Define CFLAGS-libresolv.
44719
44720 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44721
44722         * nss/makedb.c (compute_tables): Make variables used in nested
44723         function static.
44724
44725 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44726
44727         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44728         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44729         if buffer was too small.
44730
44731         * elf/pldd.c (main): Attach to all threads in the process.
44732         Rewrite /proc handling to use *at functions.
44733
44734 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44735
44736         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44737         specifies first scope to show.
44738         (dl_open_worker): Update callers.  Move printing scope of new
44739         object to before the relocation.
44740         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44741         * sysdeps/generic/ldsodefs.h: Update declaration.
44742
44743         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44744         string for the scope number.
44745
44746 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44747
44748         * nscd/servicescache.c (cache_addserv): Make sure written is always
44749         initialized.
44750
44751 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44752
44753         * sysdeps/i386/i486/bits/atomic.h
44754         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44755         statement expression, so as to suppress "set but not used" warning.
44756         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44757
44758         * string/strncat.c (STRNCAT): Use prototype definition.
44759
44760         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44761         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44762         -Iprograms here.
44763         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44764         (localedef-modules): Add localedef.
44765         (locale-modules): Add locale.
44766
44767         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44768         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44769         to avoid a warning.
44770
44771 2011-08-14  David S. Miller  <davem@davemloft.net>
44772
44773         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44774         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44775
44776 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44777
44778         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44779         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44780         * elf/rtld.c (dl_main): Set l_name of vDSO.
44781         Call _dl_show_scope when DL_DEBUG_SCOPES.
44782         (process_dl_debug): Recognize scopes flag and also set it for all.
44783         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44784         Declare _dl_show_scope.
44785
44786         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44787         (do_dlopen): Pass caller_dlopen to dl_open.
44788         (__libc_dlopen_mode): Initialize caller_dlopen.
44789
44790         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44791         of libc.  Make tolower call locale-independent.  Optimize a bit by
44792         using isdigit instead of isalnum.
44793         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44794
44795 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44796
44797         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44798         was a dependency or dynamically loaded.
44799
44800 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44801
44802         * intl/l10nflist.c: Allow architecture-specific pop function.
44803         * sysdeps/x86_64/l10nflist.c: New file.
44804
44805         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44806         classification.
44807
44808 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44809
44810         * include/dirent.h: Add libc_hidden_proto for scandirat and
44811         scandirat64.  Don't declare __scandirat64.
44812         * dirent/scandirat.c: Add libc_hidden_def.
44813         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44814         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44815
44816 2011-08-10  David S. Miller  <davem@davemloft.net>
44817
44818         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44819         enum.
44820         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44821         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44823
44824 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44825
44826         * Versions.def [libc]: Add GLIBC_2.15.
44827         * dirent/Makefile (routines): Add scandirat and scandirat64.
44828         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44829         GLIBC_2.15.
44830         * dirent/dirent.h: Declare scandirat and scandirat64.
44831         * dirent/scandirat.c: New file.
44832         * dirent/scandirat64.c: New file.
44833         * sysdeps/wordsize-64/scandirat.c: New file.
44834         * sysdeps/wordsize-64/scandirat64.c: New file.
44835         * dirent/opendir.c: Define opendirat.
44836         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44837         using scandirat.
44838         * dirent/scandir64.c: Adjust for scandir.c change.
44839         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44840         __scandirat64, and __scandir_cancel_handler.
44841         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44842         additional parameter and use openat instead of open (outside of ld.so).
44843         Add new __opendir as wrapper around __opendirat.
44844         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44845         here without requiring old scandirat implementation.
44846
44847 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44848
44849         * dirent/scandir.c (cancel_handler): Renamed to
44850         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44851         defined.  Adjust users.
44852         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44853         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44854
44855 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44856
44857         * string/test-string.h (IMPL): Use __STRING to expand name and then
44858         stringify it.
44859
44860         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44861         of cleanups.
44862
44863 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44864
44865         * string/Makefile: Update.
44866         (strop-tests): Append strncat.
44867         * string/test-wcscmp.c: New file.
44868         New comprehensive test for wcscmp.
44869         * string/test-strcmp.c: Update.
44870         (WIDE): New define.
44871
44872 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44873
44874         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44875         line.
44876
44877 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44878
44879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44880         encoding to ACE if AI_IDN.
44881
44882 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44883
44884         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44885         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44886
44887 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44888
44889         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44890         Fix overflow bug in strncat.
44891         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44892
44893         * string/test-strncat.c: Update.
44894         Add new tests for checking overflow bugs.
44895
44896 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44897
44898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44899         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44900         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44901         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44902         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44903         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44904         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44905         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44906         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44907
44908         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44909         (USE_AS_STRCAT): Define.
44910         Add strcat and strncat support.
44911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44912
44913 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44914
44915         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44916         __n bigger than INT_MAX+1.
44917         (__strncmp_g): Likewise.
44918
44919 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44920
44921         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44922         * libio/stido.h: Likewise.
44923
44924         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44925         (AF_NFC): Define.
44926         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44927         (AF_NFC): Define.
44928
44929         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44930         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44931         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44932         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44933         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44934
44935         [BZ #13021]
44936         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44937         installed.
44938
44939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44940         typo.
44941         (_dl_x86_64_save_sse): Likewise.
44942
44943 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44944
44945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44946         OSXSAVE.
44947         (_dl_x86_64_save_sse): Likewise.
44948
44949         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44950
44951         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44952
44953 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44954
44955         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44956         change.
44957         (_dl_x86_64_save_sse): Use correct AVX check.
44958
44959 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44960
44961         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44962         bug in strncpy/strncat.
44963         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44964
44965 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44966
44967         * string/tester.c (test_strcat): Add tests for different alignments
44968         of source and destination.
44969         (test_strncat): Likewise.
44970
44971 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44972
44973         [BZ #12852]
44974         * posix/glob.c (glob): Check passed in values before using them in
44975         expressions to avoid some overflows.
44976         (glob_in_dir): Likewise.
44977
44978         [BZ #13007]
44979         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44980         check for AVX enablement so that we don't crash with old kernels and
44981         new hardware.
44982         * elf/tst-audit4.c: Add same checks here.
44983         * elf/tst-audit6.c: Likewise.
44984
44985         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44986
44987 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44988
44989         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44990
44991 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44992
44993         * po/cs.po: Update from translation team.
44994         * po/bg.po: Likewise.
44995
44996 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44997
44998         * misc/sys/cdefs.h: Add support for const attribute.
44999         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45000         to gnu_dev_{major,minor,makedev} functions.
45001
45002 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
45003
45004         * intl/dcigettext.c (get_output_charset): Add missing bracket.
45005
45006 2011-07-20  Andreas Schwab  <schwab@redhat.com>
45007
45008         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45009         strlen results.
45010
45011 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45012
45013         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45014         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45015         register in order to avoid conflicts with the soft frame pointer
45016         being held in r11 when necessary.
45017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45018         (INTERNAL_VSYSCALL_NCS): Likewise.
45019
45020 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
45021
45022         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45023         * elf/dl-fini.c (_dl_fini): Adjust caller.
45024         * elf/dl-close.c (_dl_close_worker): Likewise.
45025         * sysdeps/generic/ldsodefs.h: Adjust declaration.
45026
45027 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45028
45029         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45030         "aux_cache->nlibs < 0".
45031
45032         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45033         in the reload-count case.
45034
45035 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45036
45037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45038         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45039         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45040         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45041         * sysdeps/x86_64/multiarch/strcat.S: New file.
45042         * sysdeps/x86_64/multiarch/strncat.S: New file.
45043         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45044         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45045         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45046         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45047         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45048         (USE_AS_STRCAT): Define.
45049         Add strcat and strncat support.
45050         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45051         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45052         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45053         * string/strncat.c: Update.
45054         (USE_AS_STRNCAT): Define.
45055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45056         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45057         and i7.
45058         * sysdeps/x86_64/multiarch/init-arch.h
45059         (bit_Prefer_PMINUB_for_stringop): New.
45060         (index_Prefer_PMINUB_for_stringop): Likewise.
45061         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45062         bit_Prefer_PMINUB_for_stringop.
45063
45064 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45065
45066         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45067         buffer64.
45068         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45069         of casting of buffer.
45070         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45071         buffer32 and buffer64.
45072         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45073         writes instead of casting of buffer.
45074         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45075         buffer32.
45076         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45077         casting of buffer.
45078
45079 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45080
45081         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45082
45083 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45084
45085         * nscd/nscd.c (termination_handler): Don't do anything for a database
45086         if it has not yet been initialized.
45087
45088 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45089
45090         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45091
45092 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45093
45094         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45095
45096 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45097
45098         * po/nl.po: Update from translation team.
45099         * po/sv.po: Likewise.
45100
45101 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45102
45103         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45104         now disallowed by GCC.
45105
45106         * configure.in (use-default-link): Default to yes if a test -shared
45107         link meets our qualifications.
45108         * configure: Regenerated.
45109
45110         * config.make.in (output-format): New variable.
45111         * configure.in: Check for ld --print-output-format support.
45112         * configure: Regenerated.
45113         * Makerules ($(common-objpfx)format.lds)
45114         [$(output-format) != unknown]: Just use $(output-format),
45115         instead of the linker-script munging.
45116
45117 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45118
45119         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45120         of $(common-objpfx)shlib.lds.
45121         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45122
45123         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45124         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45125
45126         * configure.in (-z relro check): Adjust test code to add a large
45127         writable data section after it.
45128         * configure: Regenerated.
45129
45130 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45131
45132         * configure.in (-z relro check): Fix test code to make the variable
45133         truly const.
45134         * configure: Regenerated.
45135
45136 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45137
45138         * nscd/nscd.h (struct traced_file): Define.
45139         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45140         elements.  Add traced_files.
45141         (inotify_fd): Declare.
45142         (register_traced_file): Declare.
45143         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45144         (inotify_fd): Export.
45145         (resolv_conf_descr): Remove.
45146         (nscd_init): Move inotify descriptor creation to main.
45147         Don't register files for notification here.
45148         (register_traced_file): New function.
45149         (invalidate_cache): Don't use reset_res to determine whether to call
45150         res_init, go through the list of registered files.
45151         (main_loop_poll): The inotify descriptors are now stored in the
45152         structures for the traced files.
45153         (main_loop_epoll): Likewise
45154         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45155         to __nss_disable_nscd.
45156         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45157         for a database anymore.  Check the records for all the registered
45158         files instead.
45159         * nss/Makefile (libnss_files-routines): Add files-init.
45160         (libnss_db-routines): Add db-init.
45161         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45162         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45163         * nss/nss_db/db-init.c: New file.
45164         * nss/nss_files/files-init.c: New file.
45165         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45166         __nss_lookup_function.
45167         (__nss_lookup_function): Call nss_load_library.
45168         (nss_load_all_libraries): New function.
45169         (__nss_disable_nscd): Take parameter with callback function for files
45170         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45171         used for the cached services.
45172         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45173         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45174         options for features to all the files in nscd.
45175
45176         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45177
45178 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45179
45180         * csu/elf-init.c (__libc_csu_init): Comment typo.
45181
45182 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45183
45184         * po/pl.po: Update from translation team.
45185         * po/ja.po: Likewise.
45186         * po/ru.po: Likewise.
45187         * po/ko.po: Likewise.
45188         * po/fr.po: Likewise.
45189
45190 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45191
45192         * configure.in (.ctors/.dtors header and trailer check):
45193         Use an empirical test on a built program.
45194         * configure: Regenerated.
45195
45196         * configure.in (-z relro check): Use an empirical test on a built DSO.
45197         Detect, but do not require, on ia64.
45198         * configure: Regenerated.
45199
45200         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45201         Update tests that use readelf to use $READELF instead.
45202         * configure: Regenerated.
45203
45204 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45205
45206         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45207         if the result is not used.
45208
45209 2011-07-05  Andreas Jaeger  <aj@suse.de>
45210
45211         [BZ#9696]
45212         * stdlib/tst-strtod.c: Add testcase.
45213
45214 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45215
45216         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45217         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45218         The latter has a higher limit.  Take additional parameter to pass to
45219         the new function.
45220         (__pathconf): Pass file to __statfs_link_max.
45221         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45222         __statfs_link_max.
45223         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45224         __statfs_link_max.
45225
45226         [BZ #12868]
45227         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45228         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45229         Handle Lustre.
45230         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45231         (__statfs_filesize_max): Likewise.
45232         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45233
45234 2011-07-05  Andreas Jaeger  <aj@suse.de>
45235
45236         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45237
45238 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45239
45240         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45241         `status' variable.
45242         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45243         Likewise.
45244
45245 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45246
45247         * Makefile (strop-tests): Add strncat.
45248         * string/test-strncat.c: New file.
45249
45250 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45251
45252         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45253
45254 2011-06-21  Andreas Jaeger  <aj@suse.de>
45255
45256         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45257         Copy rule from iconvdata/Makefile.
45258
45259 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45260
45261         [BZ #12922]
45262         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45263         but no long options are defined, just return 'W'.
45264
45265 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45266
45267         [BZ #9696]
45268         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45269
45270 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45271
45272         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45273         netgroups to read.
45274         (innetgr): Likewise.
45275
45276 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45277
45278         * config.make.in (install_root): Default to $(DESTDIR).
45279
45280 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45281
45282         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45283
45284 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45285
45286         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45287
45288         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45289         containing directory rather than embedding absolute directory names.
45290
45291         * scripts/check-local-headers.sh: Rewritten using awk.
45292         Match by word, not by line.  Print error messages for matches.
45293         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45294
45295         * Makerules [shlib-lds-flags empty]:
45296         ($(common-objpfx)libc_pic.opts): New target.
45297         ($(common-objpfx)libc_pic.os.clean): New target.
45298         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45299
45300         * config.make.in (OBJCOPY): New variable.
45301         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45302         * configure: Regenerated.
45303
45304         * config.make.in (use-default-link): New variable.
45305         * configure.in (use_default_link): Grok --with-default-link to set it.
45306         * configure: Regenerated.
45307         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45308         (shlib-lds, shlib-lds-flags): Define to empty.
45309
45310         * Makerules (shlib-lds): New variable.
45311         (shlib-lds-flags): New variable.
45312         (build-shlib, build-moduile, build-module-asneeded): Use it.
45313         ($(common-objpfx)libc.so): Use $(shlib-lds).
45314         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45315         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45316
45317         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45318         DT_FLAGS/DT_FLAGS_1 with zero flags.
45319
45320         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45321         linker script munging.
45322
45323 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45324
45325         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45326         as 128-bit value.
45327         * crypt/sha512.c (sha512_process_block): Perform total addition using
45328         128-bit if possible.
45329         (__sha512_finish_ctx): Likewise.
45330         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45331         as 64-bit value.
45332         * crypt/sha256.c (SWAP64): Define.
45333         (sha256_process_block): Perform total addition using 64-bit if
45334         possible.
45335         (__sha256_finish_ctx): Likewise.
45336
45337 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45338
45339         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45340         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45341         * nscd/hstcache.c (cache_addhst): Likewise.
45342         * nscd/grpcache.c (cache_addgr): Likewise.
45343         * nscd/aicache.c (addhstaiX): Likewise
45344         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45345
45346 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45347
45348         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45349         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45350         * nscd/hstcache.c (cache_addhst): Likewise.
45351         * nscd/grpcache.c (cache_addgr): Likewise.
45352         * nscd/aicache.c (addhstaiX): Likewise
45353
45354 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45355
45356         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45357         domain only when needed.
45358
45359 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45360
45361         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45362         is always restored.
45363
45364 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45365
45366         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45367         are re-adding the entry.
45368         * nscd/servicescache.c (cache_addserv): Likewise.
45369
45370 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45371
45372         * sysdeps/generic/dl-irel.h: fix protection against multiple
45373         inclusions.
45374         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45375
45376 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45377
45378         [BZ #12935]
45379         * malloc/memusage.sh: Fix quoting in message.
45380         * debug/xtrace.sh: Likewise.
45381
45382         * configure.in: Remove support for --experimental-malloc option, make
45383         it the default.
45384         * config.make.in: Likewise.
45385         * malloc/Makefile: Likewise.
45386
45387 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45388
45389         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45390         two-byte characters.
45391
45392 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45393
45394         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45395         AC_CACHE_CHECK invocation.
45396         * configure: Regenerated.
45397
45398         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45399
45400 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45401
45402         [BZ #12350]
45403         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45404         bit from old_res_options.
45405
45406         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45407
45408         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45409         value type for setfct.
45410
45411 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45412
45413         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45414         __gettimeofday instead of gettimeofday.
45415
45416 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45417
45418         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45419
45420 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45421
45422         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45423
45424         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45425         info.
45426
45427 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45428
45429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45430         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45431         strcpy-sse2-unaligned strncpy-sse2-unaligned
45432         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45433         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45434         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45435         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45436         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45437         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45438         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45439         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45440         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45441         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45442         (STRCPY): Support SSE2 and SSSE3 versions.
45443
45444 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45445
45446         [BZ #12874]
45447         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45448         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45449         kernels which artificially limit size of requests.
45450
45451 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45452
45453         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45454         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45455         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45456         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45457         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45458         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45459         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45460         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45461         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45462         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45463         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45464         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45465         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45466         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45467         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45469         Enable unaligned load optimization for Intel Core i3, i5 and i7
45470         processors.
45471         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45472         Define.
45473         (index_Fast_Unaligned_Load): Define.
45474         (HAS_FAST_UNALIGNED_LOAD): Define.
45475
45476 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45477
45478         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45479
45480 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45481
45482         [BZ #12907]
45483         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45484         until it is clear that the information is realy needed.
45485         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45486
45487 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45488
45489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45490
45491 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45492
45493         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45494         /sys/devices/system/cpu/online if it is usable.
45495
45496         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45497         reading the information from the /proc filesystem to once a second.
45498
45499 2011-06-21  Andreas Jaeger  <aj@suse.de>
45500
45501         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45502         NULL after inclusion of kernel headers.
45503
45504 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45505
45506         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45507         calls to internal_setent.
45508
45509         [BZ #12885]
45510         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45511         addresses using gethostbyname4_r ignore IPv4 addresses.
45512
45513         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45514         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45515
45516         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45517
45518 2011-06-20  David S. Miller  <davem@davemloft.net>
45519
45520         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45521         inclusions.
45522         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45523
45524         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45525         (elf_irel): Use it.
45526         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45527         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45528         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45529         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45530         * sysdeps/x86_64/dl-irel.h: Likewise.
45531
45532         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45533         * elf/dl-sym.c: Likewise.
45534
45535 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45536
45537         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45538         need to dereference resplen2.
45539
45540 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45541
45542         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45543
45544 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45545
45546         * Makeconfig: Define vardbdir and inst_vardbdir.
45547         * nss/Makefile: Add rules to install db-Makefile.
45548
45549         * nss/nss_db/db-XXX.c: Cleanup.
45550
45551         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45552         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45553         GLIBC_PRIVATE.
45554         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45555         * nss/makedb.c: Implement -g option to specify that value strings
45556         are generated and should not be added to table iterated over for
45557         get*ent calls.
45558         * nss/nss_db/db-initgroups.c: New file.
45559
45560         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45561         interface.
45562
45563         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45564         (internal_getgrouplist): Adjust to name change.
45565         Update use_initgroups_entry if this is not the first call.
45566         * nss/databases.def: Add initgroups entry.
45567
45568         * nss/makedb.c (compute_tables): Check result of multiple hash table
45569         sizes to minimize maximum chain length.
45570
45571 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45572
45573         * Versions.def: Add entry for libnss_db.
45574         * shlib-versions: Likewise.
45575         * nss/Makefile: Add rules to build libnss_db.
45576         * nss/Versions: Add libnss_db information.  Organize libnss_files
45577         entries better.
45578         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45579         makedb progra.  Some minor improvements to generate smaller files.
45580         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45581         here from...
45582         * nss/makedb.c: ...here.
45583         Improve database format to be smaller and require less memory at
45584         runtime.
45585         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45586         db anymore.
45587         * nss/nss_db/db-netgrp.c: Likewise.
45588         * nss/nss_db/db-open.c: Likewise.
45589         * nss/nss_files/flies-XXX.x: Adjust comments.
45590         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45591         * nss/nss_files/files-grp.c: Likewise.
45592         * nss/nss_files/files-hosts.c: Likewise.
45593         * nss/nss_files/files-network.c: Likewise.
45594         * nss/nss_files/files-proto.c: Likewise.
45595         * nss/nss_files/files-pwd.c: Likewise.
45596         * nss/nss_files/files-rpc.c: Likewise.
45597         * nss/nss_files/files-service.c: Likewise.
45598         * nss/nss_files/files-sgrp.c: Likewise.
45599         * nss/nss_files/files-spwd.c: Likewise.
45600         * nss/nss_db/db-alias.c: Removed.
45601         * nss/nss_db/dummy-db.h: Removed.
45602
45603 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45604
45605         * nss/makedb.c: Rewritten to not use database library.
45606         * nss/Makefile: Update to build new makedb program.
45607
45608 2011-06-14  Andreas Jaeger  <aj@suse.de>
45609
45610         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45611         memset declaration.
45612
45613 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45614
45615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45616         tmpbuf.
45617
45618 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45619
45620         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45621         * elf/Makefile ($(objpfx)ld.so): Likewise.
45622
45623         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45624         Don't list ld.so twice in dependencies.
45625
45626         * posix/bug-regex31.c: Include <stdlib.h>.
45627
45628         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45629
45630         * nis/nss_compat/compat-spwd.c
45631         (getspent_next_nss_netgr): Remove unused variable.
45632         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45633
45634         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45635         nonmembers" output to use the right array.
45636
45637         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45638
45639         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45640
45641         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45642         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45643         * catgets/gencat.c (read_input_file): Likewise.
45644         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45645
45646         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45647         variable definition inside #if's controlling its use.
45648
45649         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45650
45651         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45652
45653         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45654
45655         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45656         unreachable code.
45657
45658         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45659
45660         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45661         * configure: Regenerated.
45662
45663         * Makerules: Revert last change.
45664         * elf/Makefile: Likewise.
45665
45666 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45667
45668         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45669         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45670         (reloc-link): Likewise.
45671
45672 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45673
45674         * elf/Makefile: Add rules to build pldd.
45675         * elf/pldd.c: New file.
45676         * elf/pldd-xx.c: New file.
45677
45678 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45679
45680         * version.h: Update for 2.15 development version.
45681
45682 2011-06-07  David S. Miller  <davem@davemloft.net>
45683
45684         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45685         ifuncs.
45686         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45687         elf_machine_lazy_rel): Likewise.
45688         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45689         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45690         elf_machine_lazy_rel): Likewise.
45691         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45692         dl_hwcap via passed in argument.
45693         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45694         Likewise.
45695
45696 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45697
45698         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45699
45700 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45701
45702         [BZ #12849]
45703         * manual/fdl-1.1.texi: New file, verbatim from:
45704         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45705         * manual/lgpl-2.1.texi: New file, verbatim from:
45706         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45707         * manual/Makefile (licenses): New variable, list those new file names.
45708         (texis): Use it.
45709         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45710
45711         * manual/fdl.texi: File removed.
45712         * manual/lesser.texi: File removed.
45713         * manual/libc.texinfo (Copying, Documentation License):
45714         Use new @include file names, put @appendix directive before @include.
45715
45716 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45717
45718         [BZ #12841]
45719         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45720         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45721         (mq_open): Add __NTH.
45722
45723 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45724
45725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45726         Assume Intel Core i3/i5/i7 processor if AVX is available.
45727
45728 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45729
45730         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45731         typo.
45732
45733 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45734
45735         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45736         memory.  Use alloca_account.  Fix memory leak when retrying.
45737
45738 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45739
45740         * version.h (RELEASE): Bump for 2.14 release.
45741         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45742
45743         * config.make.in (RANLIB): Remove entry.
45744
45745 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45746
45747         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45748         (libc.pot): Work around missing support for .ksh extension in xgettext.
45749
45750         [BZ #12684]
45751         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45752         if both request failed.
45753         (send_dg): In case of server errors clear resplen or *resplen2.
45754
45755         [BZ #12454]
45756         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45757         when there are multiple maps.
45758         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45759         (_dl_fini): Remove test here.
45760
45761         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45762
45763 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45764
45765         [BZ #12350]
45766         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45767         bit from old_res_options.
45768         (gaih_inet): Likewise.
45769
45770         [BZ #11099]
45771         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45772         as signed.
45773
45774         * resolv/res_init.c (res_setoptions): Make the code more compact.
45775
45776         [BZ #11558]
45777         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45778         set RES_USEVC.
45779
45780         [BZ #11634]
45781         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45782
45783         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45784
45785         [BZ #11781]
45786         * malloc/malloc.h: Declare malloc hook variables as volatile.
45787
45788         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45789         in last patch.
45790
45791         [BZ #11799]
45792         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45793         raise in the comment.
45794         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45796         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45797
45798 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45799
45800         [BZ #12811]
45801         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45802         grow the buffers more if it already has to be sufficient.
45803         (build_wcs_upper_buffer): Likewise.
45804         * posix/regexec.c (check_matching): Likewise.
45805         (clean_state_log_if_needed): Likewise.
45806         (extend_buffers): Don't enlarge buffers beyond size of the input
45807         buffer.
45808         Patches mostly by Emil Wojak <emil@wojak.eu>.
45809         * posix/bug-regex32.c: New file.
45810         * posix/Makefile (tests): Add bug-regex32.
45811
45812         * locale/findlocale.c (_nl_find_locale): Return right away if
45813         _nl_explode_name failed.
45814         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45815
45816         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45817
45818         * debug/xtrace.sh: Unify messages.
45819         * malloc/memusage.sh: Likewise.
45820
45821         [BZ #12813]
45822         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45823         time symbol from vDSO.  Substitute with vsyscall if not available.
45824         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45825         __vdso_time.
45826
45827         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45828         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45829         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45830         Add sendmmsg and internal_sendmmsg.
45831         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45832         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45833         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45834
45835         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45836         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45837         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45838
45839 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45840
45841         [BZ #12813]
45842         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45843         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45844         available.
45845         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45846         __vdso_getcpu.
45847
45848         [BZ #12814]
45849         * iconvdata/Makefile (tests): Add bug-iconv9.
45850         * iconvdata/bug-iconv9.c: New file.
45851
45852 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45853
45854         [BZ #12814]
45855         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45856
45857 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45858
45859         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45860         (struct user_regs_struct): Change intcs field back to cs.
45861
45862 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45863
45864         * po/ja.po: Update from translation team.
45865
45866 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45867
45868         [BZ #12795]
45869         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45870         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45871
45872 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45873
45874         * stdlib/longlong.h: Update from GCC.
45875
45876 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45877
45878         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45879         parameter name.
45880         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45881         Add parameter name.
45882         (__sysconf): Pass it down.
45883
45884 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45885
45886         [BZ #12671]
45887         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45888         some situations.
45889         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45890         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45891         add in in __libc_use_alloca calls.  Adjust callers.
45892         (glob): Use malloc in some situations.
45893
45894         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45895         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45896         pltexit.
45897
45898 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45899
45900         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45901         and CLOCK_BOOTTIME_ALARM.
45902
45903         [BZ #12782]
45904         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45905         is returned.
45906
45907         * string/_strerror.c (__strerror_r): Print negative errors as signed
45908         numbers.
45909
45910         [BZ #12777]
45911         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45912         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45913         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45914
45915         * configure.in: Fix typo in redirection and correct removal of test
45916         files in two cases.
45917
45918         [BZ #12788]
45919         * locale/setlocale.c (new_composite_name): Fix test to check for
45920         identical name of all categories.
45921
45922         [BZ #12792]
45923         * libio/filedoalloc.c (local_isatty): New function.
45924         (_IO_file_doallocate): Use local_isatty.
45925         * stdio-common/perror.c (perror): In case a new stream is used
45926         forward the stream error.
45927         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45928         error flag.
45929
45930 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45931
45932         [BZ #11869]
45933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45934         alloca.
45935         * include/alloca.h (extend_alloca_account): Define.
45936
45937         [BZ #11857]
45938         * posix/regex.h: Fix comments with documentation of user-accessible
45939         fields after compilation and describe correct free'ing of pattern
45940         after re_compile_pattern.
45941         Patch by Reuben Thomas <rrt@sc3d.org>.
45942
45943 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45944
45945         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45946         and -mno-altivec to prevent the compiler from using Altivec and/or
45947         VSX instructions when the corresponding registers are not available.
45948
45949 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45950
45951         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45952
45953 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45954
45955         * libio/freopen.c (freopen): Use __dup2, not dup2.
45956         * libio/freopen64.c (freopen64): Likewise.
45957
45958 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45959
45960         [BZ #12775]
45961         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45962         * math/Makefile (tests): Add test-powl.
45963         (CFLAGS-test-powl.c): Define.
45964         * math/test-powl.c: New file.
45965
45966 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45967
45968         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45969
45970 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45971
45972         [BZ #11837]
45973         * iconvdata/gb18030.c: Update to GB18020-2005.
45974
45975 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45976
45977         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45978         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45979         Patch by Aharon Robbins <arnold@skeeve.com>.
45980
45981         [BZ #11892]
45982         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45983         on the stack.
45984
45985         [BZ #11895]
45986         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45987         through underflows.
45988
45989         [BZ #12766]
45990         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45991         point to strings before performing equality test for error_one_per_line
45992         mode.
45993
45994         [BZ #11697]
45995         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45996
45997         [BZ #11820]
45998         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45999         (struct user_fpregs_struct): Avoid __uint*_t types.
46000
46001         [BZ #6420]
46002         * malloc/mtrace.c (tr_where): Add additional parameter to point to
46003         symbol info.  Use it instead of calling _dl_addr locally.
46004         (lock_and_info): New function.
46005         (tr_freehook): Call lock_and_info and pass symbol info as additional
46006         parameter to tr_where.
46007         (tr_mallochook): Likewise.
46008         (tr_reallochook): Likewise.
46009         (tr_memalignhook): Likewise.
46010
46011         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
46012         used and couldn't be at all thread-safe.
46013
46014 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
46015
46016         * libio/freopen.c (freopen): Don't close old file descriptor
46017         before the new one is opened.  Instead dup the new file descriptor
46018         to the old one after the new stream is created.
46019         * libio/freopen64.c (freopen64): Likewise.
46020         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46021         * libio/fileops.c (_IO_new_file_close_it): Handle new
46022         _IO_FLAGS2_NOCLOSE flag.
46023         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46024         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46025         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46026         _IO_FLAGS2_NOCLOSE flag.
46027         * include/unistd.h: Add hidden_proto for dup3.
46028         Define __have_dup3.
46029         * io/dup3.c: Define hidden symbol.
46030         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46031
46032         [BZ #7101]
46033         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46034         when an incomplete long option is used.
46035         * posix/tst-getopt_long1.c: New file.
46036         * posix/Makefile (tests): Add tst-getopt_long1.
46037
46038         [BZ #10138]
46039         * scripts/config.guess: Update from autoconf-2.68.
46040         * scripts/config.sub: Likewise.
46041
46042         [BZ #10157]
46043         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46044         tests into ...
46045         (has_cpuclock): ...this.  New function.
46046         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46047         macro here based on has_cpuclock code.
46048
46049         [BZ #10149]
46050         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46051         First byte (not low byte) is now always NUL.
46052         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46053
46054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46055         Use non-cancelable interfaces.
46056
46057         [BZ #9809]
46058         * locale/iso-639.def: Add entry for Sorani.
46059
46060         [BZ #11901]
46061         * include/stdlib.h: Move include protection to the right place.
46062         Define abort_msg_s.  Declare __abort_msg with it.
46063         * stdlib/abort.c (__abort_msg): Adjust type.
46064         * assert/assert.c (__assert_fail_base): New function.  Majority
46065         of code from __assert_fail.  Allocate memory for __abort_msg with
46066         mmap.
46067         (__assert_fail): Now call __assert_fail_base.
46068         * assert/assert-perr.c: Remove bulk of implementation.  Use
46069         __assert_fail_base.
46070         * include/assert.hL Declare __assert_fail_base.
46071         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46072         mmap.
46073         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46074
46075 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46076
46077         [BZ #11952]
46078         [BZ #12453]
46079         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46080         until all modules are registered in the DTV.
46081         * elf/Makefile: Add rules to build and run tst-tls19.
46082         * elf/tst-tls19.c: New file.
46083         * elf/tst-tls19mod1.c: New file.
46084         * elf/tst-tls19mod2.c: New file.
46085         * elf/tst-tls19mod3.c: New file.
46086         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46087
46088         [BZ #12083]
46089         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46090         correctly.
46091
46092         [BZ #12601]
46093         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46094         two-byte sequence errors.
46095         * iconvdata/Makefile (tests): Add bug-iconv8.
46096         * iconvdata/bug-iconv8.c: New file.
46097
46098         [BZ #12626]
46099         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46100         buf2 definition.
46101
46102         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46103
46104         [BZ #12432]
46105         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46106         (dummy_getcfa): New function.
46107         (init): Get _Unwind_GetCFA address, use dummy if not found.
46108         (backtrace_helper): In recursion check, also check whether CFA changes.
46109         (__backtrace): Completely initialize arg.
46110
46111         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46112         storing incomplete byte sequence in state object.  Avoid testing for
46113         guaranteed too small input if we know there is enough data available.
46114
46115 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46116
46117         * Makeconfig (+link-pie): Indent.
46118         * Rules (binaries-pie): Define if $(have-fpie) and
46119         $(build-shared).
46120         (binaries-shared): Also filter out $(binaries-pie).
46121         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46122         * nscd/Makefile (others-pie): Add nscd.
46123         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46124         ($(objpfx)nscd): Remove command override.
46125         * login/Makefile (others-pie): Add pt_chown.
46126         ($(objpfx)pt_chown): Remove command override.
46127         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46128         remove command overrides.
46129
46130 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46131
46132         * libio/tst_putwc.c: Fix error messages.
46133
46134         [BZ #12724]
46135         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46136         currently writing and seek to current position when not.
46137         * libio/Makefile (tests): Add bug-fclose1.
46138         * libio/bug-fclose1.c: New file.
46139
46140 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46141
46142         [BZ #12511]
46143         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46144         don't set DF_1_NODELETE here.
46145         (do_lookup_x): When entering new entry test for copy relocation
46146         and if necessary set DF_1_NODELETE flag.
46147         * elf/tst-unique4.cc: New file.
46148         * elf/tst-unique4.h: New file.
46149         * elf/tst-unique4lib.cc: New file.
46150         * elf/Makefile: Add rules to build and run tst-unique4.
46151         Patch by Piotr Bury <pbury@goahead.com>.
46152
46153 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46154
46155         [BZ #12052]
46156         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46157
46158         [BZ #12625]
46159         * misc/mntent_r.c (addmntent): Flush the stream after the output
46160
46161         [BZ #12393]
46162         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46163         (is_trusted_path_normalize): Skip initial colon.  Append slash
46164         to empty buffer.  Duplicate is_trusted_path code but allow
46165         constructed patch to be prefix.
46166         (is_dst): Allow $ORIGIN followed by /.
46167         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46168         Correct testing of result of is_trusted_path_normalize
46169         (decompose_rpath): Fix warning.
46170
46171 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46172
46173         [BZ #11257]
46174         * grp/initgroups.c (internal_getgrouplist): When we found the service
46175         list through the initgroups entry in nsswitch.conf do not always
46176         continue on a successful lookup.  Don't always use the
46177         __nss_group_database value if it is set.
46178         * nss/nsswitch.conf (initgroups): Change action for successful db
46179         lookup to continue for compatibility.
46180
46181 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46182
46183         [BZ #11532]
46184         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46185         and CP774 modules.
46186         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46187         and CP774 modules.
46188         * iconvdata/tst-tables.sh: Likewise.
46189         * iconvdata/cp770.c: New file.
46190         * iconvdata/cp771.c: New file.
46191         * iconvdata/cp772.c: New file.
46192         * iconvdata/cp773.c: New file.
46193         * iconvdata/cp774.c: New file.
46194         * iconvdata/testdata/CP770: New file.
46195         * iconvdata/testdata/CP770..UTF8: New file.
46196         * iconvdata/testdata/CP771: New file.
46197         * iconvdata/testdata/CP771..UTF8: New file.
46198         * iconvdata/testdata/CP772: New file.
46199         * iconvdata/testdata/CP772..UTF8: New file.
46200         * iconvdata/testdata/CP773: New file.
46201         * iconvdata/testdata/CP773..UTF8: New file.
46202         * iconvdata/testdata/CP774: New file.
46203         * iconvdata/testdata/CP774..UTF8: New file.
46204
46205         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46206         END CHARMAP line.
46207         * iconvdata/gen-8bit-gap.sh: Likewise.
46208         * iconvdata/gen-8bit.sh: Likewise.
46209
46210         * locale/iso-639.def: Add ary entry.
46211
46212         [BZ #11258]
46213         * locale/C-translit.h.in: Add U20A1 transliteration.
46214
46215         [BZ #12178]
46216         * locale/iso-639.def: Add wae entry.
46217         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46218
46219         [BZ #12545]
46220         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46221         for n.
46222
46223         [BZ #12711]
46224         * locale/C-translit.h.in: Add entry for U20B9.
46225         Patch by pravin.d.s@gmail.com.
46226
46227 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46228
46229         [BZ #12713]
46230         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46231         ENAMETOOLONG use generic getcwd.
46232         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46233         in rtld.  Use *stat64.
46234         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46235         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46236         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46237         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46238         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46239         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46240         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46241         __fstatat64 macros.
46242         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46243         * dirent/rewinddir.c: Add libc_hidden_def.
46244         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46245         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46246
46247         * include/dirent.h (__alloc_dir): Add flags parameter.
46248         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46249         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46250         __alloc_dir.
46251         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46252         from fdopendir if O_CLOEXEC is already set.
46253
46254 2011-03-15  Alan Modra  <amodra@gmail.com>
46255
46256         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46257         l_tls_firstbyte_offset non-zero.  Save padding offset in
46258         l_tls_firstbyte_offset for later use.
46259         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46260         freeing static tls block.
46261
46262 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46263
46264         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46265         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46266         being defined by the kernel headers.
46267
46268 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46269
46270         [BZ #12734]
46271         * resolv/resolv.h: Define RES_NOTLDQUERY.
46272         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46273         no-tld-query and set RES_NOTLDQUERY.
46274         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46275         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46276         modern BIND to search name as TLD unless forbidden.
46277
46278 2011-05-07  Petr Baudis  <pasky@suse.cz>
46279             Ulrich Drepper  <drepper@gmail.com>
46280
46281         [BZ #12393]
46282         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46283         (is_trusted_path): ...to here.
46284         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46285         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46286         using is_trusted_path_normalize() in setuid scripts.
46287
46288 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46289
46290         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46291         __BEGIN/__END_DECLS.
46292
46293 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46294
46295         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46296         NSS_STATUS_NOTFOUND if no record was found.
46297
46298 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46299
46300         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46301         (headers-not-in-tirpc): Remove rpc/netdb.h
46302         * resolv/netdb.h: Revert last change.
46303
46304 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46305
46306         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46307         circular dependency between libgcc.a and libc.a.
46308
46309 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46310
46311         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46312         * nis/Makefile: Don't install rpcsvc/*.
46313         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46314         instead of <rpc/types.h>.
46315         (MAXHOSTNAMELEN): Define.
46316
46317 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46318
46319         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46320
46321 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46322
46323         [BZ #12714]
46324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46325         gethostbyname4_r when IPv6 results are possible.
46326
46327 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46328
46329         [BZ #12723]
46330         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46331         _PC_PIPE_BUF handling.
46332
46333 2011-04-30  Bruno Haible  <bruno@clisp.org>
46334
46335         [BZ #12717]
46336         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46337         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46338         to 'int'.
46339         * inet/getnameinfo.c (getnameinfo): Likewise.
46340
46341 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46342
46343         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46344         to groups setting in database lookup.
46345         * nss/nsswitch.conf: Add initgroups entry.
46346
46347 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46348
46349         [BZ #12685]
46350         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46351         mode string.
46352         Patch by Eric Blake <eblake@redhat.com>.
46353
46354 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46355
46356         * sunrpc/Makefile (need-export-routines): Add svc_run.
46357         (routines): Remove svc_run.
46358         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46359         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46360         * sunrpc/svc_run.c (svc_run): Likewise.
46361         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46362
46363 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46364
46365         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46366         problem in reallocation in last patch.
46367
46368 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46369
46370         * sunrpc/Makefile: Move inclusion of Rules.
46371
46372 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46373
46374         * nss/nss_files/files-initgroups.c: New file.
46375         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46376         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46377         _nss_files_initgroups_dyn.
46378
46379 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46380
46381         * elf/elf.h (R_ARM_IRELATIVE): Define.
46382
46383 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46384
46385         * po/ru.po: Update from translation team.
46386
46387 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46388
46389         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46390         dependencies.
46391
46392 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46393
46394         [BZ #12653]
46395         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46396         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46397         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46398         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46399         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46400
46401 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46402
46403         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46404         differing bytes.
46405         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46406         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46407         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46408
46409 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46410
46411         [BZ #12420]
46412         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46413         storing it.
46414         * stdlib/bug-getcontext.c: New file.
46415         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46416
46417 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46418
46419         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46420         instructions into .machine "z9-109".
46421         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46422         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46423
46424 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46425
46426         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46427         between environment variables and auxiliary vector.
46428
46429 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46430
46431         * Makefile: Add rules to build linkobj/libc.so.
46432         * include/libc-symbols.h: Define libc_hidden_nolink.
46433         * include/rpc/auth.h: Mark functions which are to be hidden.
46434         * include/rpc/auth_des.h: Likewise.
46435         * include/rpc/auth_unix.h: Likewise.
46436         * include/rpc/clnt.h: Likewise.
46437         * include/rpc/des_crypt.h: Likewise.
46438         * include/rpc/key_prot.h: Likewise.
46439         * include/rpc/pmap_clnt.h: Likewise.
46440         * include/rpc/pmap_prot.h: Likewise.
46441         * include/rpc/pmap_rmt.h: Likewise.
46442         * include/rpc/rpc_msg.h: Likewise.
46443         * include/rpc/svc.h: Likewise.
46444         * include/rpc/svc_auth.h: Likewise.
46445         * include/rpc/xdr.h: Likewise.
46446         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46447         * nss/Makefile: Likewise.
46448         * sunrpc/Makefile: Don't install headers.  Build library with normal
46449         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46450         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46451         for the compat linking library.  Remove use of INTDEF/INTUSE.
46452         * sunrpc/auth_none.c: Likewise.
46453         * sunrpc/auth_unix.c: Likewise.
46454         * sunrpc/authdes_prot.c: Likewise.
46455         * sunrpc/authuxprot.c: Likewise.
46456         * sunrpc/clnt_gen.c: Likewise.
46457         * sunrpc/clnt_perr.c: Likewise.
46458         * sunrpc/clnt_raw.c: Likewise.
46459         * sunrpc/clnt_simp.c: Likewise.
46460         * sunrpc/clnt_tcp.c: Likewise.
46461         * sunrpc/clnt_udp.c: Likewise.
46462         * sunrpc/clnt_unix.c: Likewise.
46463         * sunrpc/des_crypt.c: Likewise.
46464         * sunrpc/des_soft.c: Likewise.
46465         * sunrpc/get_myaddr.c: Likewise.
46466         * sunrpc/key_call.c: Likewise.
46467         * sunrpc/key_prot.c: Likewise.
46468         * sunrpc/netname.c: Likewise.
46469         * sunrpc/pm_getmaps.c: Likewise.
46470         * sunrpc/pm_getport.c: Likewise.
46471         * sunrpc/pmap_clnt.c: Likewise.
46472         * sunrpc/pmap_prot.c: Likewise.
46473         * sunrpc/pmap_prot2.c: Likewise.
46474         * sunrpc/pmap_rmt.c: Likewise.
46475         * sunrpc/publickey.c: Likewise.
46476         * sunrpc/rpc_cmsg.c: Likewise.
46477         * sunrpc/rpc_common.c: Likewise.
46478         * sunrpc/rpc_dtable.c: Likewise.
46479         * sunrpc/rpc_prot.c: Likewise.
46480         * sunrpc/rpc_thread.c: Likewise.
46481         * sunrpc/rtime.c: Likewise.
46482         * sunrpc/svc.c: Likewise.
46483         * sunrpc/svc_auth.c: Likewise.
46484         * sunrpc/svc_authux.c: Likewise.
46485         * sunrpc/svc_raw.c: Likewise.
46486         * sunrpc/svc_run.c: Likewise.
46487         * sunrpc/svc_simple.c: Likewise.
46488         * sunrpc/svc_tcp.c: Likewise.
46489         * sunrpc/svc_udp.c: Likewise.
46490         * sunrpc/svc_unix.c: Likewise.
46491         * sunrpc/svcauth_des.c: Likewise.
46492         * sunrpc/xcrypt.c: Likewise.
46493         * sunrpc/xdr.c: Likewise.
46494         * sunrpc/xdr_array.c: Likewise.
46495         * sunrpc/xdr_float.c: Likewise.
46496         * sunrpc/xdr_intXX_t.c: Likewise.
46497         * sunrpc/xdr_mem.c: Likewise.
46498         * sunrpc/xdr_rec.c: Likewise.
46499         * sunrpc/xdr_ref.c: Likewise.
46500         * sunrpc/xdr_sizeof.c: Likewise.
46501         * sunrpc/xdr_stdio.c: Likewise.
46502
46503 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46504
46505         [BZ #12650]
46506         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46507         * sysdeps/ia64/dl-tls.h: Likewise.
46508         * sysdeps/powerpc/dl-tls.h: Likewise.
46509         * sysdeps/s390/dl-tls.h: Likewise.
46510         * sysdeps/sh/dl-tls.h: Likewise.
46511         * sysdeps/sparc/dl-tls.h: Likewise.
46512         * sysdeps/x86_64/dl-tls.h: Likewise.
46513         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46514
46515 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46516
46517         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46518         rpath element also skip the following colon.
46519         (expand_dynamic_string_token): Add is_path parameter and pass
46520         down to DL_DST_REQUIRED and _dl_dst_substitute.
46521         (decompose_rpath): Call expand_dynamic_string_token with
46522         non-zero is_path.  Ignore empty rpaths.
46523         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46524         with zero is_path.
46525
46526 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46527
46528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46529         Make cancelable.
46530
46531 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46532
46533         [BZ #12655]
46534         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46535         Patch by Filipe David Manana <fdmanana@apache.org>.
46536
46537 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46538
46539         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46540         Maintain aligned stack.
46541         (CHECK_RSP): Remove unused macro.
46542
46543 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46544
46545         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46547
46548 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46549
46550         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46551
46552         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46553
46554 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46555
46556         [BZ #12518]
46557         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46558         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46559         * sysdeps/x86_64/memmove.c: New file.
46560         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46561         (memcpy): Renamed to ...
46562         (__new_memcpy): This.
46563         (memcpy): Provide GLIBC_2_14 memcpy.
46564         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46565         (memcpy): Provide GLIBC_2_2_5 memcpy.
46566
46567 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46568
46569         [BZ #12631]
46570         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46571
46572 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46573
46574         * misc/syncfs.c: New file.
46575         * misc/Makefile (routines): Add syncfs.
46576         * posix/unistd.h: Declare syncfs.
46577         * sysdeps/unix/syscalls.list: Add syncfs.
46578
46579 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46580
46581         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46582         open_by_handle_at.
46583         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46584         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46586         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46588         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46589         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46590
46591 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46592
46593         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46594         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46595         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46596         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46597         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46599         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46600
46601         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46602         sync_file_range.c with -fexceptions.
46603         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46604         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46605         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46606         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46607         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46608         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46609         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46610         sync_file_range as cancellation point
46611         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46612         now a wrapper around __call_sync_file_range with cancellation handling.
46613         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46614         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46615         function name to __call_sync_file_range.
46616         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46617         Add call_sync_file_range.
46618
46619 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46620
46621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46622         bits/timex.h.
46623
46624 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46625
46626         * iconv/iconv.h: Fix typo in comment.
46627         * io/fcntl.h: Likewise.
46628         * libio/stdio.h: Likewise.
46629         * posix/spawn.h: Likewise.
46630         * posix/unistd.h: Likewise.
46631         * stdlib/stdlib.h: Likewise.
46632         * time/time.h: Likewise.
46633         * wcsmbs/wchar.h: Likewise.
46634
46635         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46636         open_by_handle): Add.
46637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46638         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46639         Augment a few comments.
46640         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46641         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46642         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46644         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46645         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46646         open_by_handle.
46647
46648         * io/fcntl.h (AT_EMPTY_PATH): Define.
46649
46650 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46651
46652         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46653         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46654         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46655         to...
46656         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46657         * Versions.def: Add GLIBC_2.14.
46658         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46659         Export.
46660
46661 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46662
46663         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46664         round counter.
46665         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46666
46667 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46668
46669         [BZ #12597]
46670         * string/test-strncmp.c (do_page_test): New function.
46671         (check2): Likewise.
46672         (test_main): Call check2.
46673         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46674
46675 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46676
46677         [BZ #12587]
46678         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46679         Handle cache information in CPU leaf 4.
46680         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46681
46682 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46683
46684         [BZ #12583]
46685         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46686         character representation.
46687         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46688
46689 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46690
46691         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46692         END(__isnan) to END(__isnanf) to match function entry point/label
46693         EALIGN(__isnanf,...).
46694
46695 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46696
46697         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46698
46699 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46700
46701         [BZ #12510]
46702         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46703         copy from the symbol referenced in the relocation to initialize the
46704         used variable.
46705         Patch by Piotr Bury <pbury@goahead.com>.
46706         * elf/Makefile: Add rules to build and tst-unique3.
46707         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46708         * elf/tst-unique3.cc: New file.
46709         * elf/tst-unique3.h: New file.
46710         * elf/tst-unique3lib.cc: New file.
46711         * elf/tst-unique3lib2.cc: New file.
46712
46713         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46714
46715 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46716
46717         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46718         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46719         to _start.
46720
46721 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46722
46723         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46724         to-be-loaded object along a path to loader is ld.so.
46725
46726 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46727             Ulrich Drepper  <drepper@gmail.com>
46728
46729         * sysdeps/x86_64/memset.S: After aligning destination, code
46730         branches to different locations depending on the value of
46731         misalignment, when multiarch is enabled. Fix this.
46732
46733 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46734
46735         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46736         Set _x86_64_preferred_memory_instruction for AMD processsors.
46737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46738         Set bit_Prefer_SSE_for_memop for AMD processors.
46739
46740 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46741
46742         * libio/fmemopen.c (fmemopen): Optimize a bit.
46743
46744 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46745
46746         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46747
46748 2011-03-03  Roland McGrath  <roland@redhat.com>
46749
46750         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46751
46752 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46753
46754         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46755         __bzero_ultra1 instead of __memset_ultra1.
46756
46757 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46758             Ulrich Drepper  <drepper@gmail.com>
46759
46760         [BZ #12509]
46761         * include/link.h (struct link_map): Add l_orig_initfini.
46762         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46763         returning unsuccessfully.
46764         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46765         close of a file loaded at startup, restore the original l_initfini
46766         list.
46767         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46768         list, store the pointer.
46769         * elf/Makefile ($(objpfx)noload-mem): New rule.
46770         (noload-ENV): Define.
46771         (tests): Add $(objpfx)noload-mem.
46772         * elf/noload.c: Include <memcheck.h>.
46773         (main): Call mtrace.  Close all opened handles.
46774
46775 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46776
46777         [BZ #12454]
46778         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46779         dependencies are missing.
46780
46781 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46782
46783         Fix __if_freereq crash: Unlike the generic version which uses free,
46784         Hurd needs munmap.
46785         * sysdeps/mach/hurd/ifreq.h: New file.
46786
46787 2011-01-27  Petr Baudis  <pasky@suse.cz>
46788             Ulrich Drepper  <drepper@gmail.com>
46789
46790         [BZ 12445]#
46791         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46792         to extend_alloca().
46793         * stdio-common/bug23.c: New file.
46794         * stdio-common/Makefile (tests): Add bug23.
46795
46796 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46797             Ulrich Drepper  <drepper@gmail.com>
46798
46799         [BZ #12489]
46800         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46801         before performing relro protection.  At old place add assertion
46802         to make sure nothing changed.
46803
46804 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46805             Glauber de Oliveira Costa  <glommer@gmail.com>
46806
46807         * elf/elf.h: Add new ARM TLS relocs.
46808
46809 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46810
46811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46812         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46813         cast from r3.
46814         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46815         'tests' variable.
46816         * sysdeps/wordsize-64/tst-writev.c: New file.
46817
46818 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46819
46820         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46821         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46822         insns in _dl_start to prevent a TOC reference before relocs are
46823         resolved.
46824
46825 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46826
46827         [BZ #12469]
46828         * Makeconfig: Remove RANLIB definition.
46829         * Makerules: Don't use RANLIB.
46830         * aclocal.m4: Remove ranlib test.
46831         * configure.in: No need to check for ranlib.
46832         * elf/rtld-Rules: Don't use RANLIB.
46833
46834 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46835
46836         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46837         protection macro.
46838         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46839         inclusion protection macro.
46840
46841         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46842         SIGRTMIN and SIGRTMAX and print information in that case only when
46843         SIGRTMIN is defined.
46844
46845 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46846
46847         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46848         arginfo fn returning -1.
46849
46850         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46851         and thousands string is zero terminated.
46852
46853 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46854
46855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46856         sysdeps/unix/sysv/linux/bits/socket.h.
46857
46858 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46859
46860         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46861         (__CPU_COUNT): Remove old macros.
46862         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46863         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46864         (__CPU_ALLOC, __CPU_FREE): Add macros.
46865         (__sched_cpualloc, __sched_cpufree): Add declarations.
46866
46867 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46868
46869         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46870         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46871         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46872         (readdhstai): Return value of addhstaiX call.
46873         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46874         (addgrbyX): Return value returned by cache_addgr.
46875         (readdgrbyname): Return value returned by addgrbyX.
46876         (readdgrbygid): Likewise.
46877         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46878         (addpwbyX): Return value returned by cache_addpw.
46879         (readdpwbyname): Return value returned by addhstbyX.
46880         (readdpwbyuid): Likewise.
46881         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46882         (addservbyX): Return value returned by cache_addserv.
46883         (readdservbyname): Return value returned by addservbyX:
46884         (readdservbyport): Likewise.
46885         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46886         (addhstbyX): Return value returned by cache_addhst.
46887         (readdhstbyname): Return value returned by addhstbyX.
46888         (readdhstbyaddr): Likewise.
46889         (readdhstbynamev6): Likewise.
46890         (readdhstbyaddrv6): Likewise.
46891         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46892         (readdinitgroups): Return value returned by addinitgroupsX.
46893         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46894         (prune_cache): Keep track of timeout value of re-added entries.
46895         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46896         * nscd/nscd.h: Adjust prototypes of readd* functions.
46897
46898 2011-02-04  Roland McGrath  <roland@redhat.com>
46899
46900         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46901         (nis_stats): Likewise.
46902         * nis/nis_modify.c (nis_modify): Likewise.
46903         * nis/nis_remove.c (nis_remove): Likewise.
46904         * nis/nis_add.c (nis_add): Likewise.
46905
46906         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46907
46908         * posix/fnmatch_loop.c: Add some consts.
46909
46910         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46911
46912 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46913
46914         [BZ #12460]
46915         * config.make.in (config-cflags-novzeroupper): Define.
46916         * configure.in: Substitute libc_cv_cc_novzeroupper.
46917         * elf/Makefile (AVX-CFLAGS): Define.
46918         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46919         (CFLAGS-tst-auditmod4a.c): Likewise.
46920         (CFLAGS-tst-auditmod4b.c): Likewise.
46921         (CFLAGS-tst-auditmod6b.c): Likewise.
46922         (CFLAGS-tst-auditmod6c.c): Likewise.
46923         (CFLAGS-tst-auditmod7b.c): Likewise.
46924         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46925
46926 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46927
46928         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46929         function to the callback.
46930         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46931
46932 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46933
46934         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46935         of errno.
46936
46937 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46938
46939         [BZ #11724]
46940         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46941         of constructors.
46942         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46943         of destructors.
46944         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46945
46946         [BZ #11724]
46947         * elf/Makefile: Add rules to build and run new test.
46948         * elf/tst-initorder.c: New file.
46949         * elf/tst-initorder.exp: New file.
46950         * elf/tst-initordera1.c: New file.
46951         * elf/tst-initordera2.c: New file.
46952         * elf/tst-initordera3.c: New file.
46953         * elf/tst-initordera4.c: New file.
46954         * elf/tst-initorderb1.c: New file.
46955         * elf/tst-initorderb2.c: New file.
46956         * elf/tst-order-a1.c: New file.
46957         * elf/tst-order-a2.c: New file.
46958         * elf/tst-order-a3.c: New file.
46959         * elf/tst-order-a4.c: New file.
46960         * elf/tst-order-b1.c: New file.
46961         * elf/tst-order-b2.c: New file.
46962         * elf/tst-order-main.c: New file.
46963         New test case by George Gensure <werkt0@gmail.com>.
46964
46965 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46966
46967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46968         decoding ACE if AI_CANONIDN.
46969
46970 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46971
46972         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46973
46974 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46975
46976         * version.h (RELEASE): Bump for 2.13 release.
46977         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46978
46979         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46980
46981         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46982         MADV_NOHUGEPAGE.
46983         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46984         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46985         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46986         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46987         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46988         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46989
46990         * posix/getconf.c: Update copyright year.
46991         * catgets/gencat.c: Likewise.
46992         * csu/version.c: Likewise.
46993         * debug/catchsegv.sh: Likewise.
46994         * debug/xtrace.sh: Likewise.
46995         * elf/ldconfig.c: Likewise.
46996         * elf/ldd.bash.in: Likewise.
46997         * elf/sprof.c (print_version): Likewise.
46998         * iconv/iconv_prog.c: Likewise.
46999         * iconv/iconvconfig.c: Likewise.
47000         * locale/programs/locale.c: Likewise.
47001         * locale/programs/localedef.c: Likewise.
47002         * malloc/memusage.sh: Likewise.
47003         * malloc/mtrace.pl: Likewise.
47004         * nscd/nscd.c (print_version): Likewise.
47005         * nss/getent.c: Likewise.
47006
47007         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47008         PF_CAIF, and PF_ALG.
47009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47010
47011 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
47012
47013         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47014         (modules-names): Use them.
47015         (ifunc-test-modules, ifunc-pie-tests): Define.
47016         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47017         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47018         (test-extras): Likewise.
47019         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47020         $(compile-command.c).
47021         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47022         (all-built-dso): Define.
47023         (check-textrel.out, check-execstack.out): Depend on it.
47024
47025         * configure.in: Don't override --enable-multi-arch.
47026
47027 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
47028
47029         [BZ #6812]
47030         * nscd/hstcache.c (tryagain): Define.
47031         (cache_addhst): Return tryagain not notfound for temporary errors.
47032         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47033         failed.
47034
47035 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
47036
47037         [BZ #10563]
47038         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47039         to make the syscall.
47040         * sysdeps/unix/sysv/linux/setgroups.c: New file.
47041
47042         [BZ #12378]
47043         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47044         and fall back to matching as normal character if the string ends before
47045         the matching ']' is found.  This is what POSIX requires.
47046         * posix/testfnm.c: Adjust test result.
47047         * posix/globtest.sh: Adjust test result.  Add new test.
47048         * posix/tst-fnmatch.input: Likewise.
47049         * posix/tst-fnmatch2.c: Add new test.
47050
47051 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
47052
47053         * elf/Makefile (check-execstack): Revert last change.  Depend on
47054         check-execstack.h.
47055         (check-execstack.h): New target.
47056         (generated): Add check-execstack.h.
47057         * elf/check-execstack.c: Include "check-execstack.h".
47058         (main): Revert last change.
47059         (handle_file): Return zero if GNU_STACK is absent and
47060         DEFAULT_STACK_PERMS doesn't include PF_X.
47061
47062 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
47063
47064         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47065         in child fails because the descriptor is already closed.
47066         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47067         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47068         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47069
47070         [BZ #12397]
47071         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47072         syscall.
47073
47074         [BZ #10484]
47075         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47076         temporary buffer used to handle multi lookups locally.
47077         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47078
47079 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47080
47081         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47082         loader is ld.so.
47083
47084 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47085
47086         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47087         alignment for SSE2.
47088
47089 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47090
47091         [BZ #12394]
47092         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47093         characters.  When rounding increased number of integer digits recompute
47094         number of groups.
47095         * stdio-common/tst-grouping.c: New file.
47096         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47097
47098 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47099
47100         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47101         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47102
47103         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47104         void.
47105         * bits/select.h: Likewise.
47106
47107 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47108
47109         * po/ja.po: Update from translation team.
47110
47111 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47112
47113         [BZ #11155]
47114         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47115         implementation just like for lxstat, fxstatat, et al.
47116
47117 2010-12-27  Jim Meyering  <meyering@redhat.com>
47118
47119         [BZ #12348]
47120         * posix/regexec.c (build_trtable): Return failure indication upon
47121         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47122
47123 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47124
47125         [BZ #12201]
47126         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47127         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47128         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47129         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47130
47131         [BZ #12207]
47132         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47133
47134         [BZ #12204]
47135         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47136         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47137
47138 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47139
47140         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47141         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47142         script has SORT_BY_INIT_PRIORITY.
47143         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47144         NO_CTORS_DTORS_SECTIONS is defined.
47145         * elf/soinit.c: Likewise.
47146         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47147         NO_CTORS_DTORS_SECTIONS is defined.
47148         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47149         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47150         * sysdeps/sh/init-first.c: Likewise.
47151         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47152
47153 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47154
47155         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47156         always use the slow path.
47157
47158 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47159
47160         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47161         similar rule which adds the sysdep directories to the header search in
47162         order to pick up the correct platform stackinfo.h.
47163         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47164         perform test if it is, otherwise return successfully without testing.
47165         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47166         DEFAULT_STACK_PERMS define in stackinfo.h.
47167         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47168         defined in stackinfo.h.
47169         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47170         DEFAULT_STACK_PERMS defined in stackinfo.h.
47171         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47172         * sysdeps/ia64/stackinfo.h: Likewise.
47173         * sysdeps/s390/stackinfo.h: Likewise.
47174         * sysdeps/sh/stackinfo.h: Likewise.
47175         * sysdeps/sparc/stackinfo.h: Likewise.
47176         * sysdeps/x86_64/stackinfo.h: Likewise.
47177         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47178         PF_X for powerpc64.  Retain PF_X for powerpc32.
47179
47180 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47181
47182         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47183         accurately.
47184         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47185         GETDENTS_64BIT_ALIGNED.
47186
47187 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47188
47189         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47190
47191 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47192
47193         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47194         _GNU_SOURCE.
47195
47196         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47197         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47198         Remove __restrict.
47199         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47200         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47201
47202 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47203
47204         [BZ #11655]
47205         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47206         are initialized.
47207
47208 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47209
47210         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47211
47212 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47213
47214         * po/it.po: Update from translation team.
47215
47216 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47217
47218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47219         unused codes.
47220
47221 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47222
47223         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47224
47225 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47226
47227         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47228         specially.
47229         (gaih_getanswer_slice): Likewise.
47230
47231 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47232
47233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47234
47235 2010-05-31  Petr Baudis  <pasky@suse.cz>
47236
47237         [BZ #11149]
47238         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47239         silently even in the chroot mode.
47240
47241 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47242
47243         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47244         last patch a bit.  Pretty printing
47245
47246 2010-05-31  Petr Baudis <pasky@suse.cz>
47247
47248         [BZ #10085]
47249         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47250         initialization of skip_initgroups_dyn.
47251
47252 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47253
47254         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47255         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47256
47257 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47258
47259         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47260
47261 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47262
47263         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47264         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47265         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47266         ($(objpfx)tst-fnmatch-mem): New rule.
47267         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47268         * posix/tst-fnmatch.c (main): Call mtrace.
47269
47270 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47271
47272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47273         Support Intel processor model 6 and model 0x2c.
47274
47275 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47276
47277         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47278           signed comparison.
47279
47280 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47281
47282         [BZ #12205]
47283         * string/test-strncasecmp.c (check_result): New function.
47284         (do_one_test): Use it.
47285         (check1): New function.
47286         (test_main): Use it.
47287         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47288         Support strcasecmp and strncasecmp.
47289
47290 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47291
47292         [BZ #12194]
47293         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47294         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47295
47296 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47297
47298         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47299         IFUNC support.
47300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47301         memset-x86-64.
47302         * sysdeps/x86_64/multiarch/bzero.S: New file.
47303         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47304         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47305         * sysdeps/x86_64/multiarch/memset.S: New file.
47306         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47308         Set bit_Prefer_SSE_for_memop for Intel processors.
47309         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47310         Define.
47311         (index_Prefer_SSE_for_memop): Define.
47312         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47313
47314 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47315
47316         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47317         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47318
47319 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47320
47321         [BZ #12191]
47322         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47323         (__x86_64_raw_data_cache_size_half): Likewise.
47324         (__x86_64_raw_shared_cache_size): Likewise.
47325         (__x86_64_raw_shared_cache_size_half): Likewise.
47326
47327         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47328         (__x86_64_raw_data_cache_size_half): Likewise.
47329         (__x86_64_raw_shared_cache_size): Likewise.
47330         (__x86_64_raw_shared_cache_size_half): Likewise.
47331         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47332         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47333         and __x86_64_raw_shared_cache_size_half.  Round
47334         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47335         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47336         to multiple of 256 bytes.
47337
47338 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47339
47340         [BZ #12167]
47341         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47342         of inacessible symlinks.  Verify result of symlink before returning it.
47343         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47344         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47345
47346 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47347
47348         * math/math.h (isinf): Fix typo in comment.
47349
47350 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47351
47352         * po/da.po: Update from translation team.
47353
47354 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47355
47356         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47357         is added to the list.
47358
47359 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47360             Ulrich Drepper  <drepper@gmail.com>
47361
47362         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47363         the global list here.  Move code to...
47364         (_dl_add_to_namespace_list): ...here.  New function.
47365         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47366         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47367         * elf/dl-load.c (lose): Don't remove the element from the list.
47368         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47369         (_dl_map_object): Likewise.
47370
47371 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47372
47373         [BZ #12159]
47374         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47375         into all bytes of SSE register.
47376         Patch by Richard Li <richardpku@gmail.com>.
47377
47378 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47379
47380         [BZ #12140]
47381         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47382         perturbing.
47383
47384 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47385
47386         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47387         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47388         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47389         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47391         submachine.
47392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47393
47394 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47395
47396         * include/dlfcn.h (__RTLD_SECURE): Define.
47397         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47398         mode & __RTLD_SECURE instead.
47399         (open_path): Rename preloaded parameter to secure.
47400         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47401         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47402         * elf/dl-deps.c (openaux): Likewise.
47403         * elf/rtld.c (struct map_args): Remove is_preloaded.
47404         (map_doit): Don't use it.
47405         (dl_main): Likewise.
47406         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47407         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47408
47409 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47410
47411         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47412         (sysd-rules-targets): Remove duplicates.
47413         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47414         rtld-%.$o dependency.
47415
47416 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47417
47418         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47419         _dl_map_object do it.
47420
47421 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47422
47423         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47424         fast fma builtins, define the macros in the C99 standard.
47425         (FP_FAST_FMAF): Likewise.
47426         (FP_FAST_FMAL): Likewise.
47427         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47428
47429         * bits/mathdef.h: Update copyright year.
47430         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47431
47432 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47433
47434         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47435         builtins, define the macros in the C99 standard.
47436         (FP_FAST_FMAF): Likewise.
47437         (FP_FAST_FMAL): Likewise.
47438         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47439         multiply/add.
47440         (FP_FAST_FMAF): Likewise.
47441
47442 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47443
47444         [BZ #3268]
47445         * math/libm-test.inc (fma_test): Some new testcases.
47446         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47447         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47448         y and infinite z.  Do multiplication by C already in long double.
47449         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47451         y and infinite z.  Do bitwise or of inexact bit into u.d.
47452         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47453         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47454         * sysdeps/i386/fpu/s_fma.S: Removed.
47455         * sysdeps/i386/fpu/s_fmal.S: Removed.
47456
47457 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47458
47459         [BZ #3268]
47460         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47462         computation is not scheduled after fetestexcept.  Fix value
47463         of minimum denormal long double.
47464
47465 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47466
47467         [BZ #3268]
47468         * math/libm-test.inc (fma_test): Add some more tests.
47469         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47470         correctly.
47471
47472 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47473
47474         * scripts/data/localplt-s390-linux-gnu.data: New file.
47475         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47476
47477 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47478
47479         [BZ #3268]
47480         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47481         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47482         instead of dbl-64.
47483         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47484         inlines.
47485         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47487         if one of x and y is very large and the other is subnormal.
47488         * sysdeps/s390/fpu/s_fmaf.c: New file.
47489         * sysdeps/s390/fpu/s_fma.c: New file.
47490         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47491         * sysdeps/powerpc/fpu/s_fma.S: New file.
47492         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47493         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47494         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47495
47496 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47497
47498         [BZ #3268]
47499         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47500         fma tests.
47501         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47502         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47503         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47504         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47505         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47506         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47507         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47508
47509 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47510
47511         [BZ #12078]
47512         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47513         * posix/bug-regex31.input: Add test case.
47514
47515 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47516
47517         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47518         * posix/bug-regex31.input: New file.
47519
47520         [BZ #12078]
47521         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47522         (parse_sub_exp): Fix last change, use postorder.
47523
47524         * posix/bug-regex31.c: New file.
47525         * posix/Makefile: Add rules to build and run bug-regex31.
47526
47527         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47528
47529         [BZ #12078]
47530         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47531
47532         [BZ #12108]
47533         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47534         to have entries in sys_siglist.
47535
47536         [BZ #12093]
47537         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47538         be NULL.
47539
47540 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47541
47542         [BZ #3268]
47543         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47544         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47545         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47546         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47547         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47548         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47549         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47550         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47551         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47552         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47553         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47554         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47555         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47556         * math/ftestexcept.c (fetestexcept): Likewise.
47557         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47558         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47559         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47560         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47561         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47562         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47563         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47564
47565 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47566
47567         [BZ #12107]
47568         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47569         newline.
47570
47571 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47572
47573         * string/bug-strstr1.c: New file.
47574         * string/Makefile: Add rules to build and run bug-strstr1.
47575
47576 2010-10-05  Eric Blake  <eblake@redhat.com>
47577
47578         [BZ #12092]
47579         * string/str-two-way.h (two_way_long_needle): Always clear memory
47580         when skipping input due to the shift table.
47581
47582 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47583
47584         [BZ #12005]
47585         * malloc/mcheck.c: Handle large requests.
47586
47587         [BZ #12077]
47588         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47589         for strncmp and strncasecmp.
47590         * string/stratcliff.c: Add tests for strcmp and strncmp.
47591         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47592
47593 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47594
47595         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47596         __set_fpscr.
47597
47598 2010-09-30  Andreas Jaeger  <aj@suse.de>
47599
47600         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47601         (CGROUP_SUPER_MAGIC): Define.
47602         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47603         Handle btrfs and cgroup file systems.
47604         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47605         Likewise.
47606
47607 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47608
47609         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47610         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47611
47612 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47613
47614         [BZ #12067]
47615         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47616         trying to locate the ELF header.
47617
47618 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47619
47620         [BZ #11611]
47621         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47622         Mask out sign-bit copies when constructing f_fsid.
47623
47624 2010-09-24  Petr Baudis <pasky@suse.cz>
47625
47626         * debug/stack_chk_fail_local.c: Add missing licence exception.
47627         * debug/warning-nop.c: Likewise.
47628
47629 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47630
47631         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47632         implementing getdents64 using getdents syscall, set d_type if
47633         __ASSUME_GETDENTS32_D_TYPE.
47634
47635 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47636
47637         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47638         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47639
47640 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47641
47642         [BZ #12037]
47643         * posix/unistd.h: Undo change of feature selection for ftruncate from
47644         2010-01-11.
47645
47646 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47647
47648         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47649         detection.
47650
47651 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47652
47653         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47654         fanotify_mark.
47655         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47656
47657 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47658
47659         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47660         variables after CHECK_SP call.
47661         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47662
47663 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47664             Ulrich Drepper  <drepper@redhat.com>
47665
47666         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47667         re-relocationg ld.so.
47668         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47669         _dl_init_paths call.
47670         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47671         here anymore.
47672
47673 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47674
47675         * resolv/res_init.c (__res_vinit): Count the default server we added.
47676
47677 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47678             Ulrich Drepper  <drepper@redhat.com>
47679
47680         [BZ #11968]
47681         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47682         (____longjmp_chk): Use %ebx for saving value across system call.
47683         Add unwind info.
47684
47685 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47686
47687         * manual/Makefile: Don't mix pattern rules with normal rules.
47688
47689 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47690
47691         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47692         operation.
47693         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47694         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47695         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47696         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47697         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47698         Likewise.
47699
47700 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47701
47702         [BZ #11979]
47703         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47704         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47705
47706 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47707
47708         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47709         * sysdeps/x86_64/addmul_1.S: Likewise.
47710         * sysdeps/x86_64/lshift.S: Likewise.
47711         * sysdeps/x86_64/mul_1.S: Likewise.
47712         * sysdeps/x86_64/rshift.S: Likewise.
47713         * sysdeps/x86_64/sub_n.S: Likewise.
47714         * sysdeps/x86_64/submul_1.S: Likewise.
47715
47716 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47717
47718         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47719         Define __sched_param instead of SCHED_* and sched_param when
47720         <bits/sched.h> is included with __need_schedparam defined.
47721         * bits/sched.h [__need_schedparam]
47722         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47723         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47724         (__defined_schedparam): Define to 1.
47725         (__sched_param): New structure, identical to sched_param.
47726         (__need_schedparam): Undefine.
47727
47728 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47729
47730         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47731         (epoll_create1): Declare.
47732
47733         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47734
47735 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47736
47737         [BZ #7066]
47738         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47739         shifting retval into place.
47740
47741 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47742
47743         * nis/rpcsvc/nis.h: Update copyright notice.
47744         * nis/rpcsvc/nis.x: Likewise.
47745         * nis/rpcsvc/nis_callback.h: Likewise.
47746         * nis/rpcsvc/nis_callback.x: Likewise.
47747         * nis/rpcsvc/nis_object.x: Likewise.
47748         * nis/rpcsvc/nis_tags.h: Likewise.
47749         * nis/rpcsvc/yp.h: Likewise.
47750         * nis/rpcsvc/yp.x: Likewise.
47751         * nis/rpcsvc/ypupd.h: Likewise.
47752         * nis/yp_xdr.c: Likewise.
47753         * nis/ypupdate_xdr.c: Likewise.
47754
47755         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47756         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47757         (pmap_getport): Use __libc_rpc_getport.
47758         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47759         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47760         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47761
47762 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47763
47764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47765         fanotify_mark.
47766
47767 2010-08-27  Roland McGrath  <roland@redhat.com>
47768
47769         * sysdeps/i386/i686/multiarch/Makefile
47770         (CFLAGS-varshift.c): New variable.
47771
47772 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47773
47774         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47775         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47776
47777         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47778
47779         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47780
47781 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47782
47783         * sysdeps/x86_64/strlen.S: Unroll the loop.
47784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47785         strlen-sse2 strlen-sse2-bsf.
47786         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47787         __strlen_no_bsf if bit_Slow_BSF is set.
47788         (__strlen_sse42): Removed.
47789         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47790         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47791
47792 2010-08-25  Roland McGrath  <roland@redhat.com>
47793
47794         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47795         * sysdeps/x86_64/multiarch/varshift.c: New file.
47796         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47797         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47798         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47799         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47800
47801 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47802
47803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47804         strlen-sse2 strlen-sse2-bsf.
47805         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47806         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47807         (__strlen_sse2): Removed.
47808         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47809         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47811         bit_Slow_BSF for Atom.
47812         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47813         (index_Slow_BSF): Define.
47814         (HAS_SLOW_BSF): Define.
47815
47816 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47817
47818         [BZ #10851]
47819         * resolv/res_init.c (__res_vinit): When no server address at all
47820         is given default to loopback.
47821
47822 2010-08-24  Roland McGrath  <roland@redhat.com>
47823
47824         * configure.in: Remove config-name.h generation.
47825         * configure: Regenerated.
47826         * config-name.in: File removed.
47827         * scripts/config-uname.sh: New file.
47828         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47829         ($(objdir)config-name.h): New target.
47830
47831         * sunrpc/rpc_parse.h: Avoid nested comment.
47832
47833 2010-08-24  Richard Henderson  <rth@redhat.com>
47834             Ulrich Drepper  <drepper@redhat.com>
47835             H.J. Lu  <hongjiu.lu@intel.com>
47836
47837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47839         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47840         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47841         _mm_alignr_epi8 with _mm_loadu_si128.
47842         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47843         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47844         (__m128i_shift_right): Removed.
47845         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47846         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47847         * sysdeps/x86_64/multiarch/varshift.h: New file.
47848         * sysdeps/x86_64/multiarch/varshift.S: New file.
47849
47850 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47851
47852         * configure.in: Move assembler checks to before sysdep dir checking.
47853
47854 2010-08-20  Petr Baudis  <pasky@suse.cz>
47855
47856         * LICENSES: Sync the sunrpc license.
47857
47858 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47859
47860         * sunrpc/auth_des.c: Update copyright notice once again.
47861         * sunrpc/auth_none.c: Likewise.
47862         * sunrpc/auth_unix.c: Likewise.
47863         * sunrpc/authdes_prot.c: Likewise.
47864         * sunrpc/authuxprot.c: Likewise.
47865         * sunrpc/bindrsvprt.c: Likewise.
47866         * sunrpc/clnt_gen.c: Likewise.
47867         * sunrpc/clnt_perr.c: Likewise.
47868         * sunrpc/clnt_raw.c: Likewise.
47869         * sunrpc/clnt_simp.c: Likewise.
47870         * sunrpc/clnt_tcp.c: Likewise.
47871         * sunrpc/clnt_udp.c: Likewise.
47872         * sunrpc/clnt_unix.c: Likewise.
47873         * sunrpc/des_crypt.c: Likewise.
47874         * sunrpc/des_soft.c: Likewise.
47875         * sunrpc/get_myaddr.c: Likewise.
47876         * sunrpc/getrpcport.c: Likewise.
47877         * sunrpc/key_call.c: Likewise.
47878         * sunrpc/key_prot.c: Likewise.
47879         * sunrpc/openchild.c: Likewise.
47880         * sunrpc/pm_getmaps.c: Likewise.
47881         * sunrpc/pm_getport.c: Likewise.
47882         * sunrpc/pmap_clnt.c: Likewise.
47883         * sunrpc/pmap_prot.c: Likewise.
47884         * sunrpc/pmap_prot2.c: Likewise.
47885         * sunrpc/pmap_rmt.c: Likewise.
47886         * sunrpc/rpc/auth.h: Likewise.
47887         * sunrpc/rpc/auth_unix.h: Likewise.
47888         * sunrpc/rpc/clnt.h: Likewise.
47889         * sunrpc/rpc/des_crypt.h: Likewise.
47890         * sunrpc/rpc/key_prot.h: Likewise.
47891         * sunrpc/rpc/netdb.h: Likewise.
47892         * sunrpc/rpc/pmap_clnt.h: Likewise.
47893         * sunrpc/rpc/pmap_prot.h: Likewise.
47894         * sunrpc/rpc/pmap_rmt.h: Likewise.
47895         * sunrpc/rpc/rpc.h: Likewise.
47896         * sunrpc/rpc/rpc_des.h: Likewise.
47897         * sunrpc/rpc/rpc_msg.h: Likewise.
47898         * sunrpc/rpc/svc.h: Likewise.
47899         * sunrpc/rpc/svc_auth.h: Likewise.
47900         * sunrpc/rpc/types.h: Likewise.
47901         * sunrpc/rpc/xdr.h: Likewise.
47902         * sunrpc/rpc_clntout.c: Likewise.
47903         * sunrpc/rpc_cmsg.c: Likewise.
47904         * sunrpc/rpc_common.c: Likewise.
47905         * sunrpc/rpc_cout.c: Likewise.
47906         * sunrpc/rpc_dtable.c: Likewise.
47907         * sunrpc/rpc_hout.c: Likewise.
47908         * sunrpc/rpc_main.c: Likewise.
47909         * sunrpc/rpc_parse.c: Likewise.
47910         * sunrpc/rpc_parse.h: Likewise.
47911         * sunrpc/rpc_prot.c: Likewise.
47912         * sunrpc/rpc_sample.c: Likewise.
47913         * sunrpc/rpc_scan.c: Likewise.
47914         * sunrpc/rpc_scan.h: Likewise.
47915         * sunrpc/rpc_svcout.c: Likewise.
47916         * sunrpc/rpc_tblout.c: Likewise.
47917         * sunrpc/rpc_util.c: Likewise.
47918         * sunrpc/rpc_util.h: Likewise.
47919         * sunrpc/rpcinfo.c: Likewise.
47920         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47921         * sunrpc/rpcsvc/key_prot.x: Likewise.
47922         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47923         * sunrpc/rpcsvc/mount.x: Likewise.
47924         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47925         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47926         * sunrpc/rpcsvc/rex.x: Likewise.
47927         * sunrpc/rpcsvc/rstat.x: Likewise.
47928         * sunrpc/rpcsvc/rusers.x: Likewise.
47929         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47930         * sunrpc/rpcsvc/spray.x: Likewise.
47931         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47932         * sunrpc/rtime.c: Likewise.
47933         * sunrpc/svc.c: Likewise.
47934         * sunrpc/svc_auth.c: Likewise.
47935         * sunrpc/svc_authux.c: Likewise.
47936         * sunrpc/svc_raw.c: Likewise.
47937         * sunrpc/svc_run.c: Likewise.
47938         * sunrpc/svc_simple.c: Likewise.
47939         * sunrpc/svc_tcp.c: Likewise.
47940         * sunrpc/svc_udp.c: Likewise.
47941         * sunrpc/svc_unix.c: Likewise.
47942         * sunrpc/svcauth_des.c: Likewise.
47943         * sunrpc/xcrypt.c: Likewise.
47944         * sunrpc/xdr.c: Likewise.
47945         * sunrpc/xdr_array.c: Likewise.
47946         * sunrpc/xdr_float.c: Likewise.
47947         * sunrpc/xdr_mem.c: Likewise.
47948         * sunrpc/xdr_rec.c: Likewise.
47949         * sunrpc/xdr_ref.c: Likewise.
47950         * sunrpc/xdr_sizeof.c: Likewise.
47951         * sunrpc/xdr_stdio.c: Likewise.
47952
47953         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47954         handling.
47955
47956 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47957
47958         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47959
47960 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47961
47962         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47963         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47964         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47965         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47966         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47967         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47968         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47969         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47970         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47971         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47972         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47973         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47974         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47975         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47976
47977 2010-07-26  Anton Blanchard  <anton@samba.org>
47978
47979         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47980         * malloc/arena.c (heap_trim): Likewise.
47981
47982 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47983
47984         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47985         here.  Not...
47986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47987         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47988
47989 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47990
47991         * sysdeps/i386/elf/Makefile: New file.
47992
47993 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47994
47995         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47996         from fanotify_init.
47997         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47998         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47999
48000 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
48001
48002         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48003         of strncasecmp_l.
48004         * sysdeps/multiarch/strcmp.S: Likewise.
48005
48006 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
48007
48008         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48009         strncase_l-nonascii.
48010         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48011         Add strncase_l-ssse3.
48012         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48013         * sysdeps/x86_64/strcmp.S: Likewise.
48014         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48015         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48016         * sysdeps/x86_64/strncase.S: New file.
48017         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48018         * sysdeps/x86_64/strncase_l.S: New file.
48019         * string/Makefile (strop-tests): Add strncasecmp.
48020         * string/test-strncasecmp.c: New file.
48021
48022         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48023         warning.
48024
48025         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48026         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48027
48028 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
48029
48030         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48031
48032 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
48033
48034         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48035         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48036         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48037
48038 2010-05-01  Alan Modra  <amodra@gmail.com>
48039
48040         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48041         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48042         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48043         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48044         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48045         tidying.  Don't tail-call __sigjmp_save for static lib.
48046         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48047         save location.
48048         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48049         (CALL_MCOUNT): Add eh info, and nop after bl.
48050         (TAIL_CALL_SYSCALL_ERROR): New macro.
48051         (PSEUDO_RET): Use it.
48052         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48053         Correct save location of integer regs and cr.
48054         (_dl_profile_resolve): Correct cr save location.  Delete nops
48055         after bl when SHARED.  Reduce cfi size a little by better
48056         placement of cfi directives.
48057         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48058         make a stack frame.  Instead use parm save area as a temp.
48059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48060         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
48061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48062         Don't make a stack frame for parent, use parm save area.
48063         Increase child stack frame to 112 bytes.  Don't save unused reg,
48064         and adjust reg usage.  Set up cfi on error recovery and
48065         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48067         (__makecontext): Add dummy nop after jump to exit.
48068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48069         Use correct parm save area and cr save, reduce stack frame.
48070         Correct cfi for possible PSEUDO_RET frame setup.
48071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48072         Branch to local label emitted by PSEUDO_RET rather than
48073         __syscall_error.
48074
48075 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48076
48077         [BZ #11904]
48078         * locale/programs/locale.c (print_assignment): New function.
48079         (show_locale_vars): Use it.
48080
48081 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48082
48083         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48084         field.
48085         (struct statfs64): Likewise.
48086         (_STATFS_F_FLAGS): Define.
48087         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48088         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48089         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48090         (ST_VALID): Define locally.
48091         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48092         __statvfs_getflags, use the provided value.
48093         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48094         __ASSUME_STATFS_F_FLAGS.
48095
48096         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48097
48098         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48099         Add sys/fanotify.h.
48100         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48101         fanotify_mask for GLIBC_2.13.
48102         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48103         fanotify_init and fanotify_mark.
48104         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48105         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48106
48107         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48108         Add prlimit.
48109         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48110         prlimit64 for GLIBC_2.13.
48111         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48112         prlimit64.
48113         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48114         syscall.
48115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48117         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48118         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48120         add prlimit alias.
48121         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48122
48123         [BZ #11903]
48124         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48125         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48126
48127         * nss/Makefile: Add rules to build and run tst-nss-test1.
48128         * shlib-versions: Add entry for libnss_test1.
48129         * nss/nss_test1.c: New file.
48130         * nss/tst-nss-test1.c: New file.
48131
48132         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48133         (__nss_configure_lookup): Set appropriate entry in
48134         __nss_configure_lookup to true.
48135         * nss/nsswitch.h: Define enum with indeces of databases in
48136         databases and __nss_database_custom arrays.  Declare
48137         __nss_database_custom.
48138         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48139         to avoid using nscd when custom rules are installed.
48140         * nss/getXXbyYY_r.c: Likewise.
48141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48142
48143         * nss/nss_files/files-parse.c: Whitespace fixes.
48144
48145 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48146
48147         [BZ #11883]
48148         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48149         * posix/fnmatch_loop.c: Likewise.
48150
48151 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48152
48153         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48154         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48155         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48156         * Versions.def [GLIBC_2.13]: Add.
48157
48158 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48159
48160         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48161         Also fail if tpwd after pwuid call is NULL.
48162
48163 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48164
48165         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48166         when converting to ms.
48167
48168 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48169
48170         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48171         EOPNOTSUPP errors with ENOTTY.
48172         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48173         EOPNOTSUPP errors with ENOTTY.
48174
48175 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48176
48177         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48178         Add strcasecmp_l-ssse3.
48179         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48180         strcasecmp.
48181         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48182         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48183         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48184
48185 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48186
48187         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48188
48189         * string/Makefile (strop-tests): Add strcasecmp.
48190         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48191         strcasecmp_l-nonascii.
48192         (gen-as-const-headers): Add locale-defines.sym.
48193         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48194         * sysdeps/x86_64/strcasecmp.S: New file.
48195         * sysdeps/x86_64/strcasecmp_l.S: New file.
48196         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48197         * sysdeps/x86_64/locale-defines.sym: New file.
48198         * string/test-strcasecmp.c: New file.
48199
48200         * string/test-strcasestr.c: Test both ends of the range of characters.
48201         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48202
48203 2010-07-29  Roland McGrath  <roland@redhat.com>
48204
48205         [BZ #11856]
48206         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48207
48208 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48209
48210         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48211         for ld.so.
48212
48213 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48214
48215         * manual/memory.texi (Malloc Tunable Parameters): Document
48216         M_PERTURB.
48217
48218 2010-07-26  Roland McGrath  <roland@redhat.com>
48219
48220         [BZ #11840]
48221         * configure.in (-fgnu89-inline check): Set and substitute
48222         gnu89_inline, not libc_cv_gnu89_inline.
48223         * configure: Regenerated.
48224         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48225
48226 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48227
48228         * string/test-strnlen.c: New file.
48229         * string/Makefile (strop-tests): Add strnlen.
48230         * string/tester.c (test_strnlen): Add a few more test cases.
48231         * string/tst-strlen.c: Better error reporting.
48232
48233         * sysdeps/x86_64/strnlen.S: New file.
48234
48235 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48236
48237         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48238         lower-latency instructions.
48239
48240 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48241
48242         * string/test-strcasestr.c: New file.
48243         * string/test-strstr.c: New file.
48244         * string/Makefile (strop-tests): Add strstr and strcasestr.
48245         * string/str-two-way.h: Don't undefine MAX.
48246         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48247
48248 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48249
48250         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48251         strcasestr-nonascii.
48252         (CFLAGS-strcasestr-nonascii.c): Define.
48253         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48254         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48255         Remove unused attribute.
48256
48257 2010-07-20  Roland McGrath  <roland@redhat.com>
48258
48259         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48260         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48261         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48262         like LD_HWCAP_MASK can disable hwcaps.
48263
48264 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48265
48266         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48267
48268 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48269
48270         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48271         call in strcasestr.
48272         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48273         __strcasestr_sse42_nonascii.
48274         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48275         strcasestr-nonascii.c.
48276         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48277
48278 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48279
48280         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48281         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48282         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48283         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48284
48285 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48286
48287         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48288         fcntl.
48289
48290 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48291
48292         [BZ #11577]
48293         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48294         dl_signal_cerror.
48295
48296 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48297
48298         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48299         _PC_PIPE_BUF using F_GETPIPE_SZ.
48300
48301 2010-07-05  Roland McGrath  <roland@redhat.com>
48302
48303         * manual/arith.texi (Rounding Functions): Fix rint description
48304         implicit in round description.
48305
48306 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48307
48308         * elf/Makefile: Fix linking for a few tests to make recent linker
48309         happy.
48310
48311 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48312
48313         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48314         $(common-objpfx)libc_nonshared.a.
48315
48316 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48317
48318         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48319         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48320         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48321         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48322         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48323         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48324         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48325         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48340         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48341         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48342         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48343         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48344         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48345         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48346         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48347         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48348         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48349         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48350         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48351         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48366
48367 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48368
48369         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48370         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48371         * string/memmove.c (memmove): Renamed to ...
48372         (MEMMOVE): ...this.  Default to memmove.
48373         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48374         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48375         (END_CHK): Define.
48376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48377         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48378         mempcpy-ssse3-back memmove-ssse3-back.
48379         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48381         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48382         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48383         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48384         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48385         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48386         * sysdeps/x86_64/multiarch/memmove.c: New file.
48387         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48388         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48389         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48390         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48391         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48392         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48393         Define.
48394         (index_Fast_Copy_Backward): Define.
48395         (HAS_ARCH_FEATURE): Define.
48396         (HAS_FAST_REP_STRING): Define.
48397         (HAS_FAST_COPY_BACKWARD): Define.
48398
48399 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48400
48401         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48402         Restore proper fallback handling.
48403
48404 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48405
48406         [BZ #11701]
48407         * posix/group_member.c (__group_member): Correct checking loop.
48408
48409         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48410         OOM in getpwuid_r correctly.  Return error number when the caller
48411         should return, otherwise -1.
48412         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48413         call returning > 0 value.
48414         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48415
48416 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48417
48418         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48419         libc_nonshared.a from targets in modules-names.
48420
48421 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48422
48423         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48424         requires it.
48425
48426 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48427
48428         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48429         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48430         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48431         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48432
48433 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48434
48435         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48436
48437 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48438
48439         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48440         and F_GETPIPE_SZ.
48441         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48443         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48444         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48445         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48446         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48447
48448 2010-06-14  Roland McGrath  <roland@redhat.com>
48449
48450         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48451
48452 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48453
48454         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48455         __REDIRECT followed by __THROW.
48456         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48457         * posix/getopt.h (getopt): Likewise.
48458
48459 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48460
48461         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48462         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48463         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48464         in AT_FLAGS.
48465         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48466         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48467
48468 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48469
48470         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48471
48472 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48473
48474         [BZ #11640]
48475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48476         Properly check family and model.
48477
48478 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48479
48480         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48481
48482 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48483
48484         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48485
48486 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48487
48488         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48489         symbol reference.
48490
48491 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48492
48493         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48494         symbol reference.
48495
48496 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48497
48498         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48499         and internal_recvmmsg.
48500         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48501         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48502         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48503         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48504
48505         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48506         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48507         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48508
48509 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48510
48511         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48512
48513 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48514
48515         POWER7 optimizations.
48516         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48517         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48518
48519 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48520
48521         * version.h: Update for 2.13 development version.
48522
48523 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48524
48525         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48526         exceptions.  Return 0.
48527
48528 2010-05-07  Roland McGrath  <roland@redhat.com>
48529
48530         * elf/ldconfig.c (main): Add a const.
48531
48532 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48533
48534         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48535         (args_options): Add no-idn option.
48536         (ahosts_keys_int): Add idn_flags to ai_flags.
48537         (parse_option): Handle 'i' option to clear idn_flags.
48538
48539         * malloc/malloc.c (_int_free): Possible race in the most recently
48540         added check.  Only act on the data if no current modification
48541         happened.
48542
48543 See ChangeLog.17 for earlier changes.